[android-kernel] How Can I Debug Android native code

2010-01-06 Thread mohab shihab
Dear All: I want to debug in the android native code I attached the emulator to the gdb debugger, and put a break point in the jni asset manager but it doesn,t stop at the break point -- Best Regards Eng. Mohab Abd El Wahab IBM Certified solution designer Senior Software Developer at CITGloba

[android-kernel] Re: printk in Android

2010-01-06 Thread perumal316
Hi All, Thanks for the input. But I am currently writing a module for Android. In module programming there is only printk but is it possible to show the kernel messages to the users? Meaning the user who will be using the Android phone with the module will be shown the kernel messages. Regards, P

[android-kernel] Re: how do I load the new compiled kernel on my android dev phone 2 (htc)?

2010-01-06 Thread Chew Esmero
Hi, You can replace the 'kernel' file in /vendor/htc/sapphire-open/ with your kernel and rebuild source. The kernel will be packaged inside boot.img together with the ramdisk. You can also unpack boot.img itself and replace the kernel then repack boot.img. Then flash boot.img to your devphone. H

[android-kernel] Re: Loading modules at boot-time.

2010-01-06 Thread o0110o
Thanks for your response. I'm working with Android-x86 1.6 (donut) source, and I've found several versions of init.rc located in the sub- folders. Could you point me in the right direction please :) On Jan 6, 10:15 pm, Chew Esmero wrote: > Modify init.rc and add "insmod /.ko" > without the "". >

[android-kernel] Re: Loading modules at boot-time.

2010-01-06 Thread Chew Esmero
Modify init.rc and add "insmod /.ko" without the "". Usually modules are copied to system/lib/modules/... Hope this can help. On Jan 6, 11:07 am, o0110o wrote: > How do I load certain modules at boot-time when there is no /etc/ > modules.conf? > I apologize in advance for my inexperience, and I w

[android-kernel] How Can I Debug Android Emulator

2010-01-06 Thread mohab shihab
Dear All: I want to start the emulator in the debug mode so that I can put breakpoint at any location in android source -- Best Regards Eng. Mohab Abd El Wahab IBM Certified solution designer Senior Software Developer at CITGlobal Mobidev +(2010)6194059 - +(202)25254484 -- unsubscribe: androi

Re: [android-kernel] Porting to Andriod

2010-01-06 Thread tarek attia
Concerning question number :- Android based on the Linux kernel ,,however android applied few patches over the kernel . The differences in the parts of the Power management (Android uses the same Linux power management techniques beside the Concept of wake locks) ,the mechanism of IPC (inter proc