Answer the question
In order to leave comments, you need to log in
SMS is sent from ADB, but does not allow in the shell on the device. What's the matter?
Device: ANDROID 5.1
Mat part and examples: Here , here and here
service call isms 9 s16 "com.android.mms" s16 "+71112223344" s16 "" s16 "HELLO"
Result: Parcel(00000000 '....')
service call isms 9 s16 "com.android.mms" s16 "+71112223344" s16 "" s16 "HELLO"
error: Sending SMS message: uid 10090 does not have android.permission.SEND_SMS
<b>su 0</b> service call isms 9 s16 "com.android.mms" s16 "+71112223344" s16 "" s16 "HELLO"
Result: Parcel(
0x00000000: fffffffc 00000073 00740041 00650074 '....s...A.t.t.e.'
0x00000010: 0070006d 00200074 006f0074 00720020 'm.p.t. .t.o. .r.'
0x00000020: 00610065 00200064 00720066 006d006f 'e.a.d. .f.r.o.m.'
0x00000030: 00660020 00650069 0064006c 00270020 ' .f.i.e.l.d. .'.'
0x00000040: 0061006a 00610076 006c002e 006e0061 'j.a.v.a...l.a.n.'
0x00000050: 002e0067 00740053 00690072 0067006e 'g...S.t.r.i.n.g.'
0x00000060: 00610020 0064006e 006f0072 00640069 ' .a.n.d.r.o.i.d.'
0x00000070: 0063002e 006e006f 00650074 0074006e '..c.o.n.t.e.n.t.'
0x00000080: 0070002e 002e006d 00610050 006b0063 '..p.m...P.a.c.k.'
0x00000090: 00670061 00490065 0066006e 002e006f 'a.g.e.I.n.f.o...'
0x000000a0: 00610070 006b0063 00670061 004e0065 'p.a.c.k.a.g.e.N.'
0x000000b0: 006d0061 00270065 006f0020 0020006e 'a.m.e.'. .o.n. .'
0x000000c0: 00200061 0075006e 006c006c 006f0020 'a. .n.u.l.l. .o.'
0x000000d0: 006a0062 00630065 00200074 00650072 'b.j.e.c.t. .r.e.'
0x000000e0: 00650066 00650072 0063006e 00000065 'f.e.r.e.n.c.e...')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question