Send AT Commands to Android Phone

first you have to root the phone then
in adb shell

su

echo -e “AT\r” > /dev/smd0

if you want to see answer use

cat /dev/smd0

i’ve test this command in samsung mini,cooper,s+ and it works.

if you use htc (htc rhyme tested) try to adb shell and type this command “radiooptions 13 AT”
if you want to see answer type “logcat -b radio”

try echo to /dev/smd0 for other devices

*you can use this command in sdk java code by using Runtime.exec (require su)

Leave a Comment