2-7-2012 Offline booting/charging fix 1, boot.img only.
Thanks to jerryscript for getting it worked out. This should fully reboot back into cm7 when plugged in, instead of going into the charging mode. SO check the behavior with the expected results down low.
From:
http://forums.androidcentral.com/op...423-building-your-own-rom-54.html#post1598048
"With these changes, the following behaviour occurs (crashes tested by oc to 864):
With charger plugged in:
Reboot from recovery - boots fully
Reboot from os - boots fully
Power off - boots to chargerlogo
Crash - boots fully
Without charger:
Reboot from recovery - boots fully
Reboot from os - boots fully
Power off - powers off
Crash - boots fully
Powered off > No charger > Press power button - boots fully
Powered off > Plug in charger - boots to to chargerlogo
Offline-charging > Long press power button - boots fully"
wipe cache and flash in recovery
2.7.CM7.offline.charge.booting.bootimg2.zip