[android-kernel] Re: About AT Command in Linux System Calls of Nexus 4

2013-07-19 Thread Anirudh Gargi
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

Re: [android-kernel] Bad TCP Performance

2013-07-19 Thread Anirudh Gargi
Try changing the values of TCP and UDP buffers manually by echo the values on the sys file entries and see if the situation is improved. Later these tweaks can be added in the init.rc . rmem and wmen are the buffers : */proc/sys/net/ipv4/tcp_wmem* and */proc/sys/net/ipv4/tcp_rmem* * * Also tw

Re: [android-kernel] missing Kernel prints

2013-07-19 Thread Anirudh Gargi
Adding to that sometimes during boottime if the cpu activity is high sometimes some logs are jumbled or missed...Its often better to ( i always) do a # cat /proc/kmsg to see total logs when on adb shell,specially when dmesg is unsatisfactory. Also in serial logs make sure ur serial bus is at 1

[android-kernel] Re: kernel can't boot

2013-07-19 Thread Anirudh Gargi
It can be that the kernel boot but failed or it can be that bootloader didnt start the uncompressing of kernel... This can be seen with the Serial (UART) logs.. search hot it can be seen.. often to see kernel logs over UART.. the CMDLINE variables of the bootloader has to be set (right ttyxxx

[android-kernel] Re: detecting system suspend/resume failure

2013-07-19 Thread Anirudh Gargi
Doing a dmesg or cat /proc/kmsg over adb after few seconds (considering no screen task is there) after screen has hit off (this is called ealy suspend). Note : you will not hit suspend if you connected over adb (usb is active) so connect after suspend might have hit and got failed. Check for the