IMO, hooking at the kernel level is not the right approach for Android.
Please hook at the higher levels - maybe the RIL, or API/framework. Such
approach may also work better across devices.
On 02-Feb-2016 2:58 am, <pwningisnotcr...@gmail.com> wrote:

> Hello everyone,
>
> I have same issue with Nexus 4. Now, I'm hookig all system calls but i
> don't see any AT commands. Also, i wrote LKM for hook "ch_read" kernel
> function with jprobe, but i don't see any AT commands too.
>
> Any idea?
>
> Thanks.
>
> On Friday, July 19, 2013 at 5:30:18 PM UTC+3, Anirudh Gargi wrote:
>>
>> The Qualcomm MDM9216 might be using a USB HSIC type of interface to
>> communicate with the modem. The messages sent over this ( hsic device
>> driver) are often wrapped in propriety packet formats to be understood
>> between the RIL (user space) and the modem only.
>>
>> Also nowadays the AT commands might be complimented along with RPC to
>> communicate with the modem.
>> Which further makes difficult to tap the AT commands. (Refer
>> http://forum.xda-developers.com/showthread.php?t=1471241 ).
>>
>> Also i can't comment further unless i know how exactly your LKM was
>> sniffing the AT commands in goldfish setup.
>>
>> AFAIK it can be tapped (but dump might not be useful ,being vendor
>> (qualcomm) specific packets wrapped over AT commands) by reading the
>> /dev/xxx nodes the RIL uses to communicate with the bus device drivers
>> (shared mem or HSIC ) after knowing what are those /dev nodes in Nexus 4.
>>
>> i hope this is of some help.
>>
>>
>> Regards,
>> Anirudh
>>
>> On Wednesday, June 19, 2013 8:10:26 AM UTC+5:30, Shuang Liang 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/d/optout.
>

-- 
-- 
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/d/optout.

Reply via email to