5

I was doing what suggested here: Sending AT Commands Via ADB Android

So after I rooted my Samsung S5, I found my modem with this command: getprop rild.libargs and I got this result: -d /dev/smd0

Then I typed into my adb shell: echo -c "AT\r\n" > /dev/smd0

But nothing is returned.

I don't understand, any idea ?

I also tried other commands like: AT+CREG or AT+COPS=?, still nothing.

Burkhard
  • 14,596
  • 22
  • 87
  • 108
mric750
  • 183
  • 8
  • I don't know if after three years makes still sense, but according to AT commands specification each command is terminated by a `\r`, not by an `\r\n`. – Roberto Caboni Dec 28 '19 at 15:34
  • 1
    Furthermore, you should send first `cat /dev/smd0 &`, in order to catch any data from modem's port. – Roberto Caboni Dec 28 '19 at 15:36

0 Answers0