Thanks Pavan. This is what I have done: Added "disabled" and "oneshot" to the zygote process.
Added a "property_set("charge_critical_battery.done","1")"; in charge_critical_battery. And added these 2 lines in the init.rc: "on charge_critical_battery.done=1 start zygote" Works fine... Can it cause any problems? Thank you Gil On Jun 25, 3:52 am, pavan m <pavan8...@gmail.com> wrote: > All userspace ( Android Stuff ) processes like zygote are started by the > init process ( main() function in init.c ). It does this by parsing through > init.rc. My making appropriate changes in these 2 files you can prevent > Android from loading and do whatever else you wanna do! But the time control > has come to main() in init.c Kernel is completely up and running! > > > > > > > > On Sat, Jun 25, 2011 at 4:45 AM, Gil Zhaiek <gilzha...@gmail.com> wrote: > > Hi, > > > To clarify - I would like to boot up to Kernel, and in kernel, either > > pause Zygote or any other service in the Android VM that will pause > > the loading of the Android VM. > > Basically, bootup only the kernel and then, by demand, boot up > > Android. > > > Thank you > > > On Jun 24, 11:36 am, Gil Zhaiek <gilzha...@gmail.com> wrote: > > > Hi, > > > > I am trying to create a situation, where when the Android device is > > > turned off, and the user is plugging a USB cable, the Android VM > > > wouldn't turn on. > > > So basically charging will be done in Kernel, and the HW is setup to > > > recognize a USB inseration, but I don't want the Android to appear... > > > Meanwhile, I can turn off the screen, but the user will not be able to > > > see any splash screen (like battery picture)... > > > Any ideas? > > > > Thank you > > > Gil > > > -- > > unsubscribe: android-kernel+unsubscr...@googlegroups.com > > website:http://groups.google.com/group/android-kernel -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel