How to Build kernel with android build system?

by Jackie Wu » Wed, 18 Feb 2009 03:11:55 GMT

Sponsored Links
 Android doesn't use udev to handle the uevent from kernel but directly
use the init process to handle. By default, it will create the device
file under /dev with infor from uevent. There is no udev descriptor
and you have to specify the device file path in source code directly.

You can refer to system/core/init/init.c and deviced.c. That's code to
handle that.

Jackie (Weihua) Wu

If your driver and device have no problem, the device file should be created.



How to Build kernel with android build system?

by Greg KH » Tue, 10 Mar 2009 18:21:55 GMT


udev is not on the android system image, so unless you added it, nothing
is catching the uevents.


greg k-h



Sponsored Links

How to Build kernel with android build system?

by Manish Sharma » Sat, 14 Mar 2009 06:52:43 GMT

 Hi Greg,
Thanks for your response. I know udev is not there in Android rather init is
taking care of handling uevent. Actually on my system the init was stucking
in forever loop. When I checked the process status flash_recovery and
netstart were going in Z state.

After commenting following 2 services in init.rc the hotplug is working

#service flash_recovery /system/bin/flash_image recovery
#    oneshot
#service netstart /system/bin/netcfg eth0 dhcp
#    user root
#    oneshot

But still the system is not stable. Like when I try to play music/video it
gives an error "Application not responding" and init again goes in forever
loop. The process status of "app_process" goes to Z state.




Other Threads

1. Android VNC server

I put together a vnc server for Android. It is based on some existing
source scattered around like fbvncserver.c, but didn't really work. I
have fixed up a few issues like missing frames, keyboard and mouse
input support, and made it a bit faster.

Can anyone try it and give me some feedback on any issues that you may
find? The source/doc is hosted on



2. Pending Intent Problem

Hi all,

I have created a widget with 3 Image buttons & placed on the home
screen. All three buttons can launch the activity & on one button I
need to change Images as the right end of the image is clicked.

Now the problem is, Some times the click on the buttons does not
responds & no activity is launched & when I take logs I seen as
"Cannot send pending intent".

Plese tell me the solution or guide me.



3. Singleton Observable List Objects - Tutorial

4. Soft Keyboard appears when activity starts

5. Can we have monthly subscription using Licensing?

6. how to enable sound in android emulator

7. Any Droid owners received Froyo yet?