Edit: It seems like I forgot a major requirement: you need to have Ubuntu (or a variant of it) installed
After two days and countless hours spent I finally figured out how to make a custom version of ClockworkMod Recovery for the OG Droid. Everything will easily be done by two bash scripts.
The first script will set up the build environment by pulling the source tree from Cyanogens github and pulling proprietary files from your phone.
The second script will compile the source code and automatically flash the recovery you just built, then reboot into it for you to test it out.
The attached zip file has both of these scripts plus ADB. All you have to do is extract them, execute setup.sh, change whatever you want, execute flash_recovery.sh and then bask in your creation! warning: the scripts above are newer, use those
Note: the setup.sh only needs to be run once, each successive time just run flash_recovery.sh
Or if you want to take the easy way out heres the image I compiled. Put it on your sdcard and acquire root access in a terminal then type flash_image recovery /sdcard/recovery.img thats it! It doesn't like to flash some zip files for some reason.
Changes from stock
1. Removed Factory Default option and replaced with a complete phone wiping option
1. Wipe all but sdcard does what it says, wipe is done twice to ensure a clean partition.
2. Removed all the extra "No's" from the confirmation screens
Known Bugs
1. Wont flash certain zips, namely those that use the amend scripting language, which is no longer supported.

LinkBack URL
About LinkBacks



Reply With Quote

