Hi, Real devices unlike the emulator don't issue AT commands to the modem over serial devices. The Android userland vendor part of the radio interface layer (RIL) is using proprietary interface to talk to the modem. E.g. Samsung uses shared memory or USB protocols to talk to their modems.
If you want to capture commands sent to the modem there is generic way to do this in the kernel. Many kernel drivers that implement the interface logic to talk to the modem are open source, but the protocols aren't. -Kolja Kolja Dummann Sulzbacher Str. 27 90489 Nürnberg M: 0176 840 39 172 On Wed, Jun 19, 2013 at 4:40 AM, Shuang Liang <co.liang...@gmail.com> wrote: > Dear Android Engineers, > I am doing a research about monitoring SMS and Phone Call activities by > hooking the kernel system calls. The version of Android I am using is 4.2.2 > JellyBeans and the kernel version is 3.4. > > My hooking program runs as LKM (loadable kernel module) and it works > pretty well with the goldfish emulator. When I send the SMS messages, the > program can capture the corresponding "AT+CMGS=" AT command. > > However, when I moved all my work from emulator to nexus 4, I can not > capture any AT commands any more. I searched and got to know nexus 4 uses > Qualcomm MDM9215 modem. I was wondering if anyone had some experience with > the AT command on specific devices like nexus 4. > > Any suggestions on why it didn't work when I moved to nexus 4 would be > appreciated! > > Thanks folks for your time! > > -- > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > --- > You received this message because you are subscribed to the Google Groups > "Android Linux Kernel Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-kernel+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel --- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-kernel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.