andreasgal / B2G

Boot to Gecko aims to create a complete, standalone operating system for the open web.
https://wiki.mozilla.org/B2G
909 stars 158 forks source link

Use Clockworkmod-recovery #293

Open arky opened 12 years ago

arky commented 12 years ago

Please use clockworkmod-recovery instead of standard ASOP recovery.

https://github.com/cyanogenmod/android_bootable_recovery

arky commented 12 years ago

@shianyow @codeworkx What do you reckon ?

michaelwu commented 12 years ago

For SGS2 we already use cwm based recovery. On other devices, recovery is separate from boot so the recovery images available at clockworkmod.com should work.

codeworkx commented 12 years ago

For otapackages (update.zip) we need the update-binary compiled from clockworkmod-recovery sources, because it has more functionallity to support the galaxys2 fully. the aosp one only supports nexus/mtd devices.

fczuardi commented 12 years ago

Not sure if this should be a separated bug or not, but the current flash-only option on the Makefile does a "fastboot flashall" (Nexus S) at the end and that wipes out the recovery partition that the device is using. So, someone that is already using clockworkmod-recovery on his phone will have to install it again after flashing B2G according to the wiki instructions.

Should I open a new bug/feature request asking for a "make flash-only-donttouchmyrecovery" option?

arky commented 12 years ago

@fczuardi Thank God I never used 'flashall' . AFAIK it might be good idea to file a bug about that.