[android-kernel] Re: Battery Charging - Android boot delay

2011-07-12 Thread alexyu
Hi, Will that more easy to do it in bootloader? alexyu On Jun 25, 2:36 am, Gil Zhaiek 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 don

Re: [android-kernel] Re: Battery Charging - Android boot delay

2011-07-06 Thread Pavan Manjunath
Hi Gil, Don't add oneshot to zygote! Generally zygote has to be re-started when it is killed!! Infact if zygote is killed then there is some major bug! Regards, Pavan On Tue, Jun 28, 2011 at 5:05 AM, Gil Zhaiek wrote: > Thanks Pavan. > This is what I have done: > Added "disabled" and "oneshot

[android-kernel] Re: Battery Charging - Android boot delay

2011-06-27 Thread Gil Zhaiek
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

Re: [android-kernel] Re: Battery Charging - Android boot delay

2011-06-25 Thread pavan m
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 h

[android-kernel] Re: Battery Charging - Android boot delay

2011-06-24 Thread Gil Zhaiek
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 wrote: >