That depends on the kernel, many Android devices use a Lower Power Mode which loads lpm.rc from the ramdisk instead of the usual init.rc If that's the case for your device you can try modifying lpm.rc to boot into android. But some devices don't load the kernel at all while charging, the bootloader handles it, so try unpacking the kernel and see if you find something there.
On Tuesday, 29 May 2012 11:46:29 UTC+5:30, giovanni wrote: > > Hello all, > > I am looking for a way to keep an ONDA 5" tablet always on when > receiving power. So I want it to boot up whenever the USB is plugged > in. It shouldn't only charge, it should boot into android, no matter > how much the battery is charged. > > Can this done via the android kernel? It is using an AXP209 chipset > for power management. > > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel