Categories
adb android service shell sms

Send SMS via adb shell service call isms Android 4.1.2

Currently I send SMS by this command:

adb shell service call isms 6 s16 “phoneNumber” i32 0 i32 0 s16 “smsText”

in Android 2.3.6 and works perfectly.

Now I want to use the same command in Android 4.1.2 but when I send the command I received this output in Logcat

> 12-11 14:17:37.97 1626-2182/? D/PhoneRestrictionPolicy﹕ SmsRestrictionPolicy.canOutgoingSms >>>>

Anyone Can help me to remove this “SmsRestrictionPolicy” please?

Thanks