[Recovery] CDMA Sprint [07-Mar-2010] RA-heroc-v1.6.2 - Hero CDMA Android Development

This recovery is NOT yet fully compatible with the new apps2sd method! (as implemented in CM5.0.7)
This is a custom recovery based on Cyanogen's v1.4 recovery.
The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.
This recovery if for the HTC Sprint Hero only, if you have an :
- HTC Hero you should go here.
- HTC Dream/G1 you should go here.
- HTC Magic/MT3G you should go here.
This recovery is for the CDMA based Hero from Sprint only!
Ext4 is NOT supported because we don't have the kernel Source of the HTC Sprint Hero yet... Sorry
Use the trackball (up+down) to navigate through the menu, press the trackball to select items.
You can also use the volume keys (vol-up + vol-down) to navigate, and the CALL-ANSWER key to select items (in case your trackball is broken).
Always check recovery.log before posting your issues!
Please make sure that your ROM supports apps2sd if you plan to use the ext-features! (/system/sd MUST be available in the ROM)
Features
full ADB access in recovery mode
Awesome Care-Bear version! (Blame packetlss for talking me into it )
Busybox v1.15.3
HW-Key navigation (volume keys + CALL-ANSWER) option
Extended menu :
Reboot system now :: reboot your phone
USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
Backup/Restore (recovery partition not included!)
Nand backup :: Make a Nand backup
Nand + ext backup :: Make a Nand + ext backup
Nand restore :: Restore a Nand backup
BART backup :: Make a BART backup (Nand + ext)
BART restore :: Restore latest BART backup
Flash zip from sdcard :: Flash a zip update file from your sdcard
Wipe
Wipe data/factory reset :: Wipe /data and /cache
Wipe Dalvik-cache :: Wipe Dalvik-cache both on /data and ext
Wipe SD:ext partition : Wipe the ext partition on your sdcard
Wipe battery stats : Wipe the battery stats in /data
Wipe rotate settings : Wipe the sensor settings in /data
Partition sdcard
Partition SD :: Interactive SD partitioning
Repair SD:ext :: Repair the ext partition
SD:ext2 to ext3 :: Convert ext2 to ext3
SD:ext3 to ext4 :: Convert ext3 to ext4
Other
Fix apk uid mismatches :: Does extacly that
Move apps+dalv to SD :: Moves all apps and Dalvik-cache to sdcard (This will NOT enable apps2sd!)
Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
Power off :: Powers off your phone
Scripts available from console :
Nandroid v2.2.1 : enter "nandroid-mobile.sh" to start.
BART v1.0.1 (Backup and Restore Tool) : enter "utility" to start.
switchrom.sh V1.1 : enter "switchrom" or "u" to start.
sdparted v0.6 : enter "sdparted" to start.
Install
There are several ways to install a custom recovery, choose the one that suits you most (I probably forgot a few).
via adb -> Requires a custom recovery (with test-keys)
Code:
Copy recovery-RA-heroc-v1.6.2.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your Hero via usb to your pc/mac/...
adb shell
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2.img
via fastboot + adb -> In case you don't have a custom recovery, so when you get signature fail errors
Code:
adb shell reboot bootloader
fastboot boot recovery-RA-heroc-v1.6.2.img
adb shell mount /sdcard
adb push recovery-RA-heroc-v1.6.2.img /sdcard/recovery-RA-heroc-v1.6.2.img
adb shell flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2.img
adb shell reboot
Download
Latest :
recovery-RA-heroc-v1.6.2.img (Click here to download from a Mirror) - MD5Sum: 8382266e4cea526c3cd49d9610f083e0
recovery-RA-heroc-v1.6.2-green.img (Click here to download from a Mirror) - MD5Sum: 41d833b6489aec0617eda0fd4415af8a
recovery-RA-heroc-v1.6.2-blue.img (Click here to download from a Mirror) - MD5Sum: 7ab7e13bbd3e0ad7d84398760398bb77
recovery-RA-heroc-v1.6.2-pink.img (Click here to download from a Mirror) - MD5Sum: c9d4d456acfd1440adddc6d989847219
Old versions :
recovery-RA-heroc-v1.5.2.img (Mirror) - MD5Sum: ccaff51d3a28861240fa9d455924a50f
Change-log :
v1.6.2
Code:
- Added power off menu item
- New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore
- New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue.
[COLOR="Red"][B](This will not fix old corrupted Nandroid backups! Please make new backups!!)[/B][/COLOR]
- New mkyaffs2image binary
- New flash_image binary
- Updated busybox to v1.5.3
- Nandroid menu options will NOT backup or restore recovery, cache, misc, splash1+2 (to avoid issues)
- Fixed wipe option not wiping when ext was not present
- Created carebear versions after the idea of packetlss
- Switched the Nexus logo to a Green Carebear with Nexus One logo (Thanks Montalbert!)
Special thanks to :
packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
Koushik Dutta for the unyaffs binary code fix and help ^^
pensive for adding awesome features to Nandroid
Bkmo for his utility script!
Devsk for his switchrom script!
51dusty for his sdparted script!
k4str0 for his fix_permissions v2.03 update.
Devsk, Dumfuq, Overground for creating BART
Androidappcritics for the reboot idea in BART
rikupw for the ideas and toggle_ums script.
MLIGN for the idea to port my recovery to the Dream.
http://www.androidspin.com for hosting ^^
http://theunlockr.com for all the awesome video’s ^^
Cyanogen for his dedicated work! , buy him a beer!
JesusFreke for his awesome JFv1.43's recovery , donate

Quick shoutout to the_miker and jmanley69 for helping with the testing.

i love you... In a non homo way. But seriously, you are great. Thanks for helping us CDMA users.

Agreed. Thank you all so much. Now is it possible to include apps2sd in the image or do we have to wait for a Rom foe this?

chuckhriczko said:
Agreed. Thank you all so much. Now is it possible to include apps2sd in the image or do we have to wait for a Rom foe this?
Click to expand...
Click to collapse
Apps2SD is usually part of a modded rom, it's possible to do now that you guys have root, but the recovery is not involved in any of that though (except making it easier to fiddle with the phone).

Yes but I know the latest recovery image for the dream had an apps2sd option. I just figured that would be easier.

how do you root cdma hero?
edit: i found info.. thanx amon_ra for the recovery

@Amon_RA - well done mate this is great news for all our American cousins and a major break though in my opinion.

The image works like a charm! I tried installing MoDaCo's 2.9 Image and it just hung at the HTC screen but the nandroid backup from the image restored fine and dandy.

thecodemonk said:
The image works like a charm! I tried installing MoDaCo's 2.9 Image and it just hung at the HTC screen but the nandroid backup from the image restored fine and dandy.
Click to expand...
Click to collapse
you have to wait for ROMs with a CDMA kernel

mopodo said:
you have to wait for ROMs with a CDMA kernel
Click to expand...
Click to collapse
Yeah I figured...just thought it was worth trying to see if something might just happen to work out of the box.

ive been trying for like 2 hours to install this rom to my sprint hero and i cant get it someone help

how do you get it to not stick on the htc screen on reboot after flash?

Do I load this the same way as other recovery images? Like I did with my myTouch and my G1? Thanks. Just confirming before I **ck up my friend's Hero.
I tried to adb into recovery but I can't, as I do on the G1, hit Alt-L by the triangle. I hate to be a n00b about this but this one seems to be entirely new to me.

thorracing1 said:
ive been trying for like 2 hours to install this rom to my sprint hero and i cant get it someone help
Click to expand...
Click to collapse
This isn't a ROM, it's just a recovery image used to INSTALL a ROM (and perform backups and other things).
Can you walk us through what you did, step by step, so we can figure out where the problem may be?

AndroidAppCritic said:
Do I load this the same way as other recovery images? Like I did with my myTouch and my G1? Thanks. Just confirming before I **ck up my friend's Hero.
I tried to adb into recovery but I can't, as I do on the G1, hit Alt-L by the triangle. I hate to be a n00b about this but this one seems to be entirely new to me.
Click to expand...
Click to collapse
I don't know how the myTouch did it but there's a guide you can follow to get it in the CDMA forum: (root AND flashing the recovery image)
http://forum.xda-developers.com/showthread.php?t=581577
(If you're on a Mac: http://forum.xda-developers.com/showthread.php?t=581686)
OR you can follow that guide or perform the flashrec method:
http://theunlockr.com/2009/08/27/how-to-root-your-htc-hero-in-one-click/
(substitute the newest version of flashrec from http://zenthought.org/content/project/flashrec and use the Recovery image from this thread instead of the one mentioned in the link above)
The flashrec doesn't give you root but you can just drop the image in I believe still.

thecodemonk said:
I don't know how the myTouch did it but there's a guide you can follow to get it in the CDMA forum: (root AND flashing the recovery image)
http://forum.xda-developers.com/showthread.php?t=581577
(If you're on a Mac: http://forum.xda-developers.com/showthread.php?t=581686)
OR you can follow that guide or perform the flashrec method:
http://theunlockr.com/2009/08/27/how-to-root-your-htc-hero-in-one-click/
(substitute the newest version of flashrec from http://zenthought.org/content/project/flashrec and use the Recovery image from this thread instead of the one mentioned in the link above)
The flashrec doesn't give you root but you can just drop the image in I believe still.
Click to expand...
Click to collapse
Yeah, I realized I was being a n00b and didn't bother to search too much before asking. But I figured someone else was going to ask anyway so I'd take any flaming if need be. Thanks a lot. I had it rooted when I asked but wanted busybox and the other goodies from the recovery. The easiest root ever.

uses for recovery image
This is my first phone root and I've gotten everything done and complete and just want to learn a little more. I searched but probably not for the correct terms but I'm wondering what for/when some of these options on the recovery image are needed. If there is an explanation somewhere, just point me, otherwise, I appreciate the help with answers! Thanks!
o Wipe data + cache (factory reset) DO YOU LOSE ROOT/RECOVERY IMAGE FLASH?
o Wipe ext partition on SD-card WHAT FOR/WHEN?
o Wipe Dalvik-cache on SD-card (NOT on /data !) WHAT FOR/WHEN?
o Repair ext filesystem WHAT FOR/WHEN?
o Convert ext2 to ext3 THIS IS FOR APP2SD TO WORK RIGHT? **nevermind found answer to this one
o Fix package UID mismatches WHAT ARE UID MISMATCHES?
o Fix auto-rotate issues WHAT ISSUES?

jirafabo said:
This is my first phone root and I've gotten everything done and complete and just want to learn a little more. I searched but probably not for the correct terms but I'm wondering what for/when some of these options on the recovery image are needed. If there is an explanation somewhere, just point me, otherwise, I appreciate the help with answers! Thanks!
o Wipe data + cache (factory reset) DO YOU LOSE ROOT/RECOVERY IMAGE FLASH?
Click to expand...
Click to collapse
This formats the data and cache partition on the phone. Data is where the installed applications and system settings are stored normally. Basically it factory resets the phone back to an unconfigured state. You do not lose root or recovery.
o Wipe ext partition on SD-card WHAT FOR/WHEN?
Click to expand...
Click to collapse
Often we used an ext2/3/4 partition on the SD card to store applications (instead of storing them on the data partiton in the phone) This is what's called Apps2SD that you're seeing all over the forum, it allows us to install much more applications since the ext partition can be much bigger than the internal data partition. Wipeing this means that the entire ext partition is cleared.
o Wipe Dalvik-cache on SD-card (NOT on /data !) WHAT FOR/WHEN?
Click to expand...
Click to collapse
Dalvik is the program that runs all the Android applications (written in Java). It needs to store a cache of the compiled versions of that somewhere so it doesn't have to compile them every time they run. This is normally done on the data partition, but some people choose to move this to other places (like the SD cards ext partition). This option lets them wipe it easily. At this time I don't think there are any Hero customs roms that use this feature.
o Repair ext filesystem WHAT FOR/WHEN?
Click to expand...
Click to collapse
Sometimes the filesystem can become corrupt (for example if the battery runs out just as the phones write to the filesystem). This option tries to repair it.
o Fix package UID mismatches WHAT ARE UID MISMATCHES?
Click to expand...
Click to collapse
On android each installed application is assigned it's own userid (uid) in the operating system. This is for security purposes. If you have your apps on an ext partition on your card (apps2sd), and you install a new rom, there will be a mismatch between the uid assigned to the files/directories on the card and what the Android OS thinks the apps uid is. This option runs a script to try and correct that.
o Fix auto-rotate issues WHAT ISSUES?
Click to expand...
Click to collapse
Some phone (mostly G1s and Sapphires) sometimes have issues with the calibration of the accelormeter. The calibration data is saved in a specific file. This option just removes that file to reset the calibration to factory value. I've never heard of the Hero having these issues and the option is there just in case basically.

packetlss said:
This formats the data and cache partition on the phone. Data is where the installed applications and system settings are stored normally. Basically it factory resets the phone back to an unconfigured state. You do not lose root or recovery.
Often we used an ext2/3/4 partition on the SD card to store applications (instead of storing them on the data partiton in the phone) This is what's called Apps2SD that you're seeing all over the forum, it allows us to install much more applications since the ext partition can be much bigger than the internal data partition. Wipeing this means that the entire ext partition is cleared.
Dalvik is the program that runs all the Android applications (written in Java). It needs to store a cache of the compiled versions of that somewhere so it doesn't have to compile them every time they run. This is normally done on the data partition, but some people choose to move this to other places (like the SD cards ext partition). This option lets them wipe it easily. At this time I don't think there are any Hero customs roms that use this feature.
Sometimes the filesystem can become corrupt (for example if the battery runs out just as the phones write to the filesystem). This option tries to repair it.
On android each installed application is assigned it's own userid (uid) in the operating system. This is for security purposes. If you have your apps on an ext partition on your card (apps2sd), and you install a new rom, there will be a mismatch between the uid assigned to the files/directories on the card and what the Android OS thinks the apps uid is. This option runs a script to try and correct that.
Some phone (mostly G1s and Sapphires) sometimes have issues with the calibration of the accelormeter. The calibration data is saved in a specific file. This option just removes that file to reset the calibration to factory value. I've never heard of the Hero having these issues and the option is there just in case basically.
Click to expand...
Click to collapse
Really appreciate the reply. Know it wasn't a short one!
One more... for uids, the uid stays the same if I just reinstall the same ROM? The ROM determines the uid correct? I played with my phone so much yesterday that by the end of the day I had flashed my backup and modaco over top 3 times in all. Didn't have any problems with apps and apps2sd looks to be running well, so I assume the uid's stay the same if you stick with the same rom.

Related

[Recovery] [32A & 32B] [16-May-2010] RA-sapphire-v1.7.0

This is a custom recovery based on Cyanogen's recovery source with a lot of things added by me. The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.
All source code is available at github.
This recovery if for the HTC Magic/MT3G only, if you have an :
- HTC Dream/G1 you should go here.
- HTC Hero you should go here.
- HTC Sprint Hero you should go here.
- HTC Eris you should go here.
- HTC Tattoo you should go here.
- HTC Nexus One you should go here.
Important notes
32A users with SPL 1.76.x should flash the Hero version! (Will be updated to v1.7.0 soon!!)
Always check recovery.log before posting your issues!
You can do this by doing :
"cat /tmp/recovery.log" OR "cat /cache/recovery/log" right after you had the issue.
Use the "move log to sd" option in the "others" menu right after you had the issue. This will move the log to /sdcard/recovery.log so you can easily open it with a text editor.
Features
Use the trackball (up+down) to navigate through the menu, press the trackball to select items.
You can also use the volume keys (vol-up + vol-down) to navigate, and the CALL-ANSWER key to select items (in case your trackball is broken).
full ADB access in recovery mode
Busybox v1.15.3
HW-Key navigation (volume keys + CALL-ANSWER) option
Extended menu (with keyboard-shortcuts):
Reboot system now :: reboot your phone
USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
Backup/Restore (recovery partition not included!)
Nand backup :: Make a Nand backup
Nand + ext backup :: Make a Nand + ext backup
Nand restore :: Restore a Nand backup
BART backup :: Make a BART backup (Nand + ext)
BART restore :: Restore latest BART backup
Bck Google files :: Makes a backup of the Google proprietary system files in /cache/google
Rst Google files :: Restores the Google proprietary system files from /cache/google
Flash zip from sdcard :: Flash a zip update file from your sdcard
Wipe
Wipe data/factory reset :: Wipe /data and /cache
Wipe cache :: Wipe /cache only
Wipe Dalvik-cache :: Wipe /cache/dalvik-cache
Wipe SD:ext partition : Wipe the ext partition on your sdcard
Wipe battery stats : Wipe the battery stats in /data
Wipe rotate settings : Wipe the sensor settings in /data
Partition sdcard
Partition SD :: Interactive SD partitioning
Repair SD:ext :: Repair the ext partition
SD:ext2 to ext3 :: Convert ext2 to ext3
SD:ext3 to ext4 :: Convert ext3 to ext4
Other
Fix apk uid mismatches :: Does extacly that
Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
Power off :: Powers off your phone
Scripts available via adb :
Nandroid v2.2.1 : enter "nandroid-mobile.sh" to start.
BART v1.3.1 (Backup and Restore Tool) : enter "utility" or "u" to start.
switchrom.sh V1.1 : enter "switchrom" to start.
sdparted v0.6 : enter "sdparted" to start.
Install
There are several ways to install a custom recovery, choose the one that suits you most (I probably forgot a few).
You don't need to enter "mount -a" if your partitions are already mounted.
Use the H/G version if your Magic is HTC branded (PVT 32A board)/Google branded (PVT 32B board).
via fastboot :
Requires engineerings SPL!
Code:
Copy recovery-RA-sapphire-v1.7.0G.img to a location where fastboot can find it.
Boot your G1 into fastboot mode (boot while holding BACK)
Connect your G1 via usb to your pc/mac/...
fastboot devices (to make sure that fastboot "sees" your device)
fastboot flash recovery recovery-RA-sapphire-v1.7.0G.img
via adb :
Requires a custom recovery (with test-keys) like Cyanogen's v1.4 or my previous recovery
Do NOT follow these steps from a terminal application on the phone, make sure that you've booted into a custom recovery first!!!
Code:
Copy recovery-RA-sapphire-v1.7.0G.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your G1 via usb to your pc/mac/...
adb shell
#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)
#flash_image recovery /sdcard/recovery-RA-sapphire-v1.7.0G.img
via terminal application installed on the phone :
Requires root
[*]DO NOT use this method with CM5.0.7, there are currently some memory issues while flashing, use the above methods (preferably the fastboot method) instead until the issue is fixed in CM5.0.7!
Code:
Copy recovery-RA-sapphire-v1.7.0G.img to the root of your sdcard
start the terminal app
#flash_image recovery /sdcard/recovery-RA-sapphire-v1.7.0G.img
Download
ALWAYS check the md5sum to make sure the zip isn't corrupted.
Click on the Mirror-link if you don't like rapidshare
Use the H/G version if your Magic is HTC branded (PVT 32A board)/Google branded (PVT 32B board).
recovery-RA-sapphire-v1.7.0G.img - MD5Sum: 8b3b5ff90575eba0c5bfc13c0fa6b8ea
recovery-RA-sapphire-v1.7.0G-cyan.img - MD5Sum: 8846b53e3184d688e3e8a628ad81074f
recovery-RA-sapphire-v1.7.0H.img - MD5Sum: f78bc0ff51f233666a9a5f72b56aabec
recovery-RA-sapphire-v1.7.0H-cyan.img - MD5Sum: 1ed8363e05b3515d7f976a8764cfad51
Change-log :
v1.7.0
Code:
- Fixed some minor bugs
- Recovery and scripts use /sd-ext instead of /system/sd as mountpoint to support the new apps2sd method (implemented mostly by Chris Soyars)
- Added an option to backup/restore Google proprietary Android system files (backuptool.sh written by Cyanogen)
- Removed "move apps2sd"-option as it's not needed anymore with the new apps2sd method
- Updated BART to v1.3.1 (updated by Dumfuq to support /sd-ext)
- Added a wipe cache only option
- Nandroid now backups/restores /cache again by default
- Dalvik-cache wipes /cache/dalvik-cache now
- Removed SDCARD: prefix in output when chosing zip to flash
- Added Cyan version (There's no difference with the normal version, only the wallpaper and textcolor changed)
v1.6.2
Code:
- Added power off menu item
- New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore
- New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue.
[COLOR="Red"][B](This will not fix old corrupted Nandroid backups! Please make new backups!!)[/B][/COLOR]
- New mkyaffs2image binary
- New flash_image binary
- Updated busybox to v1.5.3
- Nandroid menu options will NOT backup or restore recovery, cache, misc, splash1+2 (to avoid issues)
- Fixed wipe option not wiping when ext was not present
- Created carebear versions after the idea of packetlss
- Switched the Nexus logo to a Green Carebear with Nexus One logo (Thanks Montalbert!)
Special thanks to :
packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
Koushik Dutta for the unyaffs binary code fix and help ^^
pensive for adding awesome features to Nandroid
Bkmo for his utility script!
Devsk for his switchrom script!
51dusty for his sdparted script!
k4str0 for his fix_permissions v2.03 update.
Devsk, Dumfuq, Overground for creating BART
Androidappcritics for the reboot idea in BART
rikupw for the ideas and toggle_ums script.
MLIGN for the idea to port my recovery to the Dream.
http://theunlockr.com for all the awesome video’s ^^
JesusFreke for his awesome JFv1.43's recovery , donate
Boots on a Rogers Magic with SPL.0009
skittleguy said:
Boots on a Rogers Magic with SPL.0009
Click to expand...
Click to collapse
Excellent, feel free to post your nandroid dumps so we can enable root on it !
Okay, here's a Nandroid backup of a wiped state:
http://rapidshare.com/files/248999555/Rogers-Wiped.zip
so amazing.
thanks
EDIT: i think i did it wrong. lol i cant seem to get back the modded recovery.
so does this mean i now have root? or have i mistaken.
mack said:
so amazing.
thanks
just wanna confirm that it works on my Rogers Magic with .0009, 32A, CPLD-11
so does this mean i now have root? or have i mistaken.
Click to expand...
Click to collapse
Yes , I'll soon create an update package based on skittleguy dump, with root enabled.
I see that HBOOT-1.33.0004 (SAPP10000) : Sapphire PVT 32B SHIP S-ON G : CPLD-10 (Voldafone NL + UK + Australia)
but i have H not a G and is from Vodafone UK with Google branding on the back
I know its got PVT 32B but was not sure which one because of the letters
RAv1.0H : Use this image if your Magic is HTC branded (PVT 32A board)
RAv1.0G : Use this image if your Magic is Google branded (PVT 32B board)
so i know i have a H so i fastboot the RAv1.0H (Locks on Vodafone logo)
so i now know that even though i got a H i fastboot with RAv1.0G and works fine
working great now and thanks, just letting people know
B
forgive my bad English. Acknowledge the great work you do for us all. Thanks !!...
Re: Mine is Vodafone and I've installed the Google.
skittleguy said:
Boots on a Rogers Magic with SPL.0009
Click to expand...
Click to collapse
Got the same rogers here... any advantages over daldroid's rom?
so i f i use this can i md it to run superhero v2 on the rogers magic?
EDIT from my post above. So the before i just did fastboot boot recovery-RAv1.0H.img and it booted to the recovery. thats fine.
then i tried to flash it using adb shell flash_image recovery /sdcard/recovery-RAv1.0H.img (after pusing the recovery image to my sd card)
but i get Permission denied.
^ is it because we dont have root?
I think its because the stock spl has signiture checking on. Change the spl though and...
skittleguy said:
I think its because the stock spl has signiture checking on. Change the spl though and...
Click to expand...
Click to collapse
possibly. I'm no expert but what i can say is my rogers magic is different from my friends. I have S-OFF (signature off? maybe) while he has S-ON. I have CPLD-11 while he has CPLD-12.
I am afraid to flash my SPL to 2005 though.
Odd...I had no problem flashing the 2005 spl...
mack said:
EDIT from my post above. So the before i just did fastboot boot recovery-RAv1.0H.img and it booted to the recovery. thats fine.
then i tried to flash it using adb shell flash_image recovery /sdcard/recovery-RAv1.0H.img (after pusing the recovery image to my sd card)
but i get Permission denied.
^ is it because we dont have root?
Click to expand...
Click to collapse
Try this :
1. Boot the device in fastboot mode.
2. Connect the device to your machine over USB.
3. $fastboot boot recovery-RAv1.0H.img
Wait for a minute or two..
$adb shell mount -a
Ignore the failed mounts...
$adb push recovery-RAv1.0H.img /system/recovery.img
$adb push recovery-RAv1.0H.img /sd-card/recovery-RAv1.0H.img
$adb shell flash_image recovery /sd-card/recovery-RAv1.0H.img
4. Reboot
If it doesn't work you might need to flash your SPL :
- 32A board : apply this update from your sd-card after fast booting with this recovery.
- 32B board : apply this update from your sd-card after fast booting with this recovery.
Amon_RA said:
Try this :
1. Boot the device in fastboot mode.
2. Connect the device to your machine over USB.
3. $fastboot boot recovery-RAv1.0H.img
Wait for a minute or two..
$adb shell mount -a
Ignore the failed mounts...
$adb push recovery-RAv1.0H.img /system/recovery.img
$adb push recovery-RAv1.0H.img /sd-card/recovery-RAv1.0H.img
$adb shell flash_image recovery /sd-card/recovery-RAv1.0H.img
4. Reboot
If it doesn't work you might need to flash your SPL :
- 32A board : apply this update from your sd-card after fast booting with this recovery.
- 32B board : apply this update from your sd-card after fast booting with this recovery.
Click to expand...
Click to collapse
thanks, so i just tried that. successful until the last one. it gives me /sbin/sh: flash_image: not found.
However I did get /sbin/sh: -c requires an argument when i did adb shell -a
I will try to flash SPL 2005 now. can i just fastboot boot recovery-RAv1.0H.img then apply update.zip from there?
For those who need root on their Rogers Magic :
I quickly enabled root and added busybox to the Rogers Magic boot image:
1. Copy this update to your SD-card.
2. Boot the device in fastboot mode.
3. Connect the device to your machine over USB.
4. $fastboot boot recovery-RAv1.0H.img
wait a few minutes and unplug your device from USB
5. Choose option "Apply sdcard:update.zip" from the menu
Enjoy
amazing. you did it again amon. i now have root =)
mack said:
amazing. you did it again amon. i now have root =)
Click to expand...
Click to collapse
You're welcome, you can now update your signature
My Ion came with what appears to be a G1 recovery image - It was a 3d ! triangle with no menu options. I flashed it to use the Smartphone France image (same thing but with a trackball-accessible menu).
http://wiki.smartphonefrance.info/public/upload/android/backup-magic.png
Did your Ion come with the green HTC logo and a trackball-accessible menu?

[Recovery] [15-May-2010] RA-dream-v1.7.0 (also for the Rogers Dream)

This is a custom recovery based on Cyanogen's recovery source with a lot of things added by me. The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.
All source code is available at github.
This recovery if for the HTC Dream/G1 only, if you have an :
- HTC Magic/MT3G you should go here.
- HTC Hero you should go here.
- HTC Sprint Hero you should go here.
- HTC Eris you should go here.
- HTC Tattoo you should go here.
- HTC Nexus One you should go here.
Important notes
Always check recovery.log before posting your issues!
You can do this by doing :
"cat /tmp/recovery.log" OR "cat /cache/recovery/log" right after you had the issue.
Use the "move log to sd" option in the "others" menu right after you had the issue. This will move the log to /sdcard/recovery.log so you can easily open it with a text editor.
Features
Use the trackball (up+down) to navigate through the menu, press the trackball to select items.
You can also use the volume keys (vol-up + vol-down) to navigate, and the CALL-ANSWER key to select items (in case your trackball is broken).
full ADB access in recovery mode
Busybox v1.15.3
HW-Key navigation (volume keys + CALL-ANSWER) option
Extended menu (with keyboard-shortcuts):
[HOME+Back] Reboot system now :: reboot your phone
[Alt+X] Go to console :: bring up the console
[Alt+T] USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
[Alt+B] Backup/Restore (recovery partition not included!)
[Alt+0] Nand backup :: Make a Nand backup
[Alt+1] Nand + ext backup :: Make a Nand + ext backup
[Alt+2] Nand restore :: Restore a Nand backup
[Alt+3] BART backup :: Make a BART backup (Nand + ext)
[Alt+4] BART restore :: Restore latest BART backup
[Alt+5] Bck Google files :: Makes a backup of the Google proprietary system files in /cache/google
[Alt+6] Rst Google files :: Restores the Google proprietary system files from /cache/google
[Alt+F] Flash zip from sdcard :: Flash a zip update file from your sdcard
[Alt+W] Wipe
[Alt+0] Wipe data/factory reset :: Wipe /data and /cache
[Alt+1] Wipe cache :: Wipe /cache only
[Alt+2] Wipe Dalvik-cache :: Wipe /cache/dalvik-cache
[Alt+2] Wipe SD:ext partition : Wipe the ext partition on your sdcard
[Alt+4] Wipe battery stats : Wipe the battery stats in /data
[Alt+5] Wipe rotate settings : Wipe the sensor settings in /data
[Alt+P] Partition sdcard
[Alt+0] Partition SD :: Interactive SD partitioning
[Alt+1] Repair SD:ext :: Repair the ext partition
[Alt+2] SD:ext2 to ext3 :: Convert ext2 to ext3
[Alt+3] SD:ext3 to ext4 :: Convert ext3 to ext4
[Alt+O] Other
[Alt+0] Fix apk uid mismatches :: Does extacly that
[Alt+1] Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
[ALT+Q]Power off :: Powers off your phone
Scripts available from console :
Nandroid v2.2.1 : enter "nandroid-mobile.sh" to start.
BART v1.3.1 (Backup and Restore Tool) : enter "utility" or "u" to start.
switchrom.sh V1.1 : enter "switchrom" to start.
sdparted v0.6 : enter "sdparted" to start.
Install
There are several ways to install a custom recovery, choose the one that suits you most (I probably forgot a few).
You don't need to enter "mount -a" if your partitions are already mounted.
via fastboot :
Requires engineerings SPL!
Code:
Copy recovery-RA-dream-v1.7.0.img to a location where fastboot can find it.
Boot your G1 into fastboot mode (boot while holding BACK)
Connect your G1 via usb to your pc/mac/...
fastboot devices (to make sure that fastboot "sees" your device)
fastboot flash recovery recovery-RA-dream-v1.7.0.img
via adb :
Requires a custom recovery (with test-keys) like Cyanogen's v1.4 or my previous recovery
Do NOT follow these steps from a terminal application on the phone, make sure that you've booted into a custom recovery first!!!
Code:
Copy recovery-RA-dream-v1.7.0.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your G1 via usb to your pc/mac/...
adb shell
#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)
#flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img
via console :
Requires root
Do NOT follow these steps from a terminal application on the phone, make sure that you've booted into a custom recovery first!!!
Code:
Copy recovery-RA-dream-v1.7.0.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
select console from the menu
#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)
#flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img
via terminal application installed on the phone :
Requires root
[*]DO NOT use this method with CM5.0.7, there are currently some memory issues while flashing, use the above methods (preferably the fastboot method) instead until the issue is fixed in CM5.0.7!
Code:
Copy recovery-RA-dream-v1.7.0.img to the root of your sdcard
start the terminal app
#flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img
Download
ALWAYS check the md5sum to make sure the zip isn't corrupted.
Download the R version if you have a Rogers Dream EBI1 phone!
v1.7.0
recovery-RA-dream-v1.7.0.img - MD5Sum: 4b9f198aa8ada3ca1ed5537e9c25e427
recovery-RA-dream-v1.7.0R.img - MD5Sum: f1a061c572e3514800e3bbe65f210afe
recovery-RA-dream-v1.7.0-cyan.img - MD5Sum: 11ae63afee9813a9b76cb3f7fd5ac2ad
recovery-RA-dream-v1.7.0R-cyan.img - MD5Sum: ba2bf2d1c27e1bee009de2f66ac977e7
Change-log :
v1.7.0
Code:
- Fixed some minor bugs
- Recovery and scripts use /sd-ext instead of /system/sd as mountpoint to support the new apps2sd method (implemented mostly by Chris Soyars)
- Added an option to backup/restore Google proprietary Android system files (backuptool.sh written by Cyanogen)
- Removed "move apps2sd"-option as it's not needed anymore with the new apps2sd method
- Updated BART to v1.3.1 (updated by Dumfuq to support /sd-ext)
- Added a wipe cache only option
- Nandroid now backups/restores /cache again by default
- Dalvik-cache wipes /cache/dalvik-cache now
- Removed SDCARD: prefix in output when chosing zip to flash
- Added Cyan version (There's no difference with the normal version, only the wallpaper and textcolor changed)
v1.6.2
Code:
- Added power off menu item
- New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore
- New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue. [COLOR="Red"][B](This will not fix old corrupted Nandroid backups! Please make new backups!!)[/B][/COLOR]
- New mkyaffs2image binary
- New flash_image binary
- Updated busybox to v1.5.3
- Nandroid menu options will NOT backup or restore recovery, cache, misc, splash1+2 (to avoid issues)
- Fixed wipe option not wiping when ext was not present
- Created carebear versions after the idea of packetlss
- Switched the Nexus logo to a Green Carebear with Nexus One logo (Thanks Montalbert!)
Special thanks to :
packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
Koushik Dutta for the unyaffs binary code fix and help ^^
pensive for adding awesome features to Nandroid
Bkmo for his utility script!
Devsk for his switchrom script!
51dusty for his sdparted script!
k4str0 for his fix_permissions v2.03 update.
Devsk, Dumfuq, Overground for creating BART
Androidappcritics for the reboot idea in BART
rikupw for the ideas and toggle_ums script.
MLIGN for the idea to port my recovery to the Dream.
http://theunlockr.com for all the awesome video’s ^^
JesusFreke for his awesome JFv1.43's recovery , donate
Looks awesome, flashing now
I gotta try this out!
Great recovery image!! Comes in really handy when away from the pc!! Thx!!
nice work.. gonna check this out in a few
Flashed, no issues, so many options... Still has terminal... Awesome man, thank you so much...
Nice. Any chance of a mirror at like mediafire or something? I can't use rapidshare...
I typed "mount -a" and it says no such file or directory
gtrplr71 said:
I typed "mount -a" and it says no such file or directory
Click to expand...
Click to collapse
I'm sure that step isn't needed, to be honest. I flashed without, like a normal .img flash
it works even if "mount -a" doesn't.
Just use the "flash_image recovery" command in terminal emulator and it should work just fine.
Awesome recovery RA, thanks.
who needs pc now to flash a rom.. .now i can switch back and forth from hero / donut without having to be near a pc !!!!
this kicks donkey !!!
great job, i think you covered everything cyanogen was looking to cover in 1.5
lol, getting a loooooong list now. just a recommendation, in your next release, add backing up google apps. ik there are how-tos everywhere, but ive yet to see an easy way to do it just from your phone.
Miiiiiiiiiiiiiiiiiiiiiiint!
This is pure genius! Thanks a lot dude. I've mastered the console work but honestly this will make life 100x easier, thanks again.. Flashing now, will update with results.
Edit: Works as advertised! A must have for all!
Can some upload to a diff host. Not near a computer atm!
Dude...very nice! I don't post on here much, but I had to give you kudos!
I seen your recovery for the mytouch and have waited for someone to release one for the dream with partitioning options or waiting for someone to add a recovery to your mytouch image.
thanks!
jmotyka said:
Can some upload to a diff host. Not near a computer atm!
Click to expand...
Click to collapse
i put a mirror at my blog as well for no hassle download
there is a lot to choose from. Life just got a little easier. THANK YOU great recovery works great!
thanks a lot man, works great!
works great thank you!

[Recovery] [09-Feb-2011] RA-supersonic-v2.3

[ Description ]
This is a custom recovery based on Cyanogen's recovery source with a lot of things added by me. The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.
[ Features ]
Detailed description of every menu item
[ Known Issues ]
v2.3.3 has some screen tearing/color weirdness going on. This is just a graphical bug in the recovery kernel, nothing to worry about. I'll try to fix it in a next version.
[ Download ] - ALWAYS check the md5sum to make sure the file isn't corrupted!
recovery-RA-supersonic-v2.3.img - MD5Sum: c00243750cc79e4a1dd4888db175b19f
PC36IMG.zip - MD5SUM: 6dbb98f9cfa35033982c3803d2520466
Mirror to all my recoveries (Click a few adds to keep it up and running - Thanks DrMacinyasha ^^)
[ Install ] - There are several ways to install a custom recovery, feel free to pick the one that suits you best :
- the Bootloader way - - Thanks Tiffany84 ^^
Place PC36IMG.zip on the root of your sd card.
Boot the phone into the bootloader by powering the phone down, then press the power and the volume down buttons at the same time.
Once the phone boots into the bootloader the phone will automatically recognize the zip file. It will ask if you would like to update, select yes and let it do it's thing and you will be good to go
- via Rom Manager - - STILL NEEDS TO UPDATED TO v2.3!!
Download "Rom Manager" from the Android market
Start "Rom Manager"
Select "Flash ClockworkMod Recovery" and wait for it to finish
Select "Flash Alternate Recovery" and wait for it to finish -> this will install the latest version of RA recovery.
- via terminal app or adb - (Make sure your rom contains flash_image!!)
Copy recovery-RA-supersonic-v2.3.img to the root of your sdcard
start the terminal app or launch adb
su(press enter)
flash_image recovery /sdcard/recovery-RA-supersonic-v2.3.img(press enter)
reboot recovery(press enter)
[ Important notes ]
Don't restore wimax nandroids between different phones! If you still plan to do it make sure to remove the wimax image from the nandroid backup before restoring!!
I'll only answer to posts with a real problem description and a pastebin log. All other "issues" will be skipped/ignored.
Make sure have enough free space available on your sdcard when making a nandroid backup!!
Always check recovery.log before posting your issues!
You can do this by doing :
"cat /tmp/recovery.log" OR "cat /cache/recovery/log" right after you had the issue.
Use the "move log to sd" option in the "others" menu right after you had the issue. This will move the log to /sdcard/recovery.log so you can easily open it with a text editor.
[ Special Thanks ]
http://www.androidspin.com for hosting ^^
Tiffany84 for the PC36IMG's ^^
DrMacinyasha for the mirror ^^
jhansche for the initial port of the evo recovery and his menu navigation and verification code.
joncfoo for the menu loop code.
toastcfh for testing and all his awesome work on the Evo (root, unlocked nand, ..) Thanks ^^ Buy him a coffee!!
flipzmode for testing, screenshots and feedback, Thanks ^^
packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
Koushik Dutta for his awesome work on recoveries and ROM manager ^^
Cyanogen for his dedicated work! , buy him a beer!
Chris Soyars for the new Apps2SD method ^^
JesusFreke for his awesome JFv1.43's recovery , donate
pensive for adding awesome features to Nandroid
51dusty for his sdparted script!
k4str0 for his fix_permissions v2.03 update.
rikupw for the ideas and toggle_ums script.
Change-log
v2.3
Nandroid will skip sd-ext backup when it's not present.
Nandroid will not check the battery percentage anymore.
Switched off signature check by default (Stop asking now, ok?).
Cache is not selected as part of a default Nandroid backup anymore.
Added wipe Boot, System and sdcard to the wipe menu.
Re-ordered some items in the wipe menu.
Switched to a CM android-msm-2.6.35-unified kernel (should stop the endless dots).
v2.2.1
Fixed Nandroid ext backup/restore. It now backups/restore the entire ext.
v2.2
Nandroid backup is now selective, boot/system/cache/data are selected by default.
Nandroid checks if there's at least 500MB free on SDcard before starting a backup.
Kernel min freq is set to max freq to speed up things (tip of toastcfh).
Added/updated error/warning messages.
v2.1.1
Updated kernel to 2.6.32.17 , this should fix the partition issues on newer hboots
Nandroid now backups the entire content of /sd-ext , not just the apps. This fixes bootloops of certain restored roms.
Moved the "Toggle signature verification"-option from the Other- to the main flash-submenu.
Re-ordered the wipe menu.
Added SDEXT support for update scripts.
Added "filebrowser" support when you select a zip to flash.
Added "/.." support to the filebrowser so you can navigate up.
Added a mount menu so you can manually (u)mount stuff.
Added a toggle verification switch so you can flash those awesome unsigned winrar rom releases...
Fully re-wrote the wipe menu (it's not using a script anymore), added a few new wipe options.
Added "/sdcard/.android_secure" support , nandroid now backups/restores .android_secure (Froyo a2sd apps) by default.
Added a few new Google apps to the Google app backup script.
v1.8.0
updated Nandroid so it also backups and restores the wimax partition.
made the recovery 400kb smaller so it fits most recovery partitions with bad blocks.
added a return option (instead of pressing vol-up+down) to the menu (by jhansche).
completely ignore verification (by jhansche).
added menu loop (by joncfoo).
v1.7.0.2
Reduced the overall size so it can still be flashed when having lots of bad blocks.
v1.7.0.1
Initial release (port from my Nexus One recovery)
awesome I was waiting for this i was tired of having to go home to change roms!
Nice, i'm going to try this out right now and report back if there are any problems.
It works nicely. I don't like having to press both volume-keys to go back to the previous menu, but it's not a deal breaker. Good job Amon_RA. =]
trying to flash the image its telling me not found when i tried every which way to flash it any ideas? Ugh sorry maybe i need to read...a little more next time sorry!
Arthur101 said:
trying to flash the image its telling me not found when i tried every which way to flash it any ideas? Ugh sorry maybe i need to read...a little more next time sorry!
Click to expand...
Click to collapse
How are you flashing it? the fastboot method worked fine for me
Edit:
1) Get fastboot.exe here
2) Place recovery-RA-evo-v1.7.0.1.img in the same dir as fastboot
3) boot your phone into fastboot (Volume Dwn+ Power) Select fast boot
Then follow
fastboot devices(press enter) (to make sure that fastboot "sees" your phone)
fastboot flash recovery recovery-RA-evo-v1.7.0.1.img(press enter)
I keep getting a error opening /sdcard/recovery-RA.img no such file or directory.
Fixter said:
I keep getting a error opening /sdcard/recovery-RA.img no such file or directory.
Click to expand...
Click to collapse
It's recovery-RA-evo-v1.7.0.1.img , not recovery-RA.img ...
Amon_RA said:
It's recovery-RA-evo-v1.7.0.1.img , not recovery-RA.img ...
Click to expand...
Click to collapse
I got the error with both names. I renamed the file to see if I was making mistakes with the file name since it was so long.
Hey, Ra, you do realize we ARE going to need Care Bears on our Evo recoveries just like you spoiled us with on our MT3G's... I'm just saying!
I've tried downloading the file a couple of times to make sure it wasn't corrupted but I keep getting "sending 'recovery' (5032 KB)... OKAY
writing 'recovery'... FAILED (remote: image update error)"
Also thanks for the new recovery, was hoping you'd release one for our Evo's
And I know I have flash_image because I did Toasts Nand Unlock yesterday. And I checked and the file is on the root of the SD Card.
Fixter said:
And I know I have flash_image because I did Toasts Nand Unlock yesterday. And I checked and the file is on the root of the SD Card.
Click to expand...
Click to collapse
it should be in /data
once you restore a rom that didn't have it, it's no longer on the phone where it should be. if you put it back in /data and chmod 755 it you should have no problem.
Cordy said:
it should be in /data
once you restore a rom that didn't have it, it's no longer on the phone where it should be. if you put it back in /data and chmod 755 it you should have no problem.
Click to expand...
Click to collapse
Yup. I just did. I was thinking about this and went ahead. Thanks for the information though.
PS: I get a Build Not Set on the End of the Recovery.
Amon_RA said:
Features
Fix apk uid mismatches :: Does extacly that
Click to expand...
Click to collapse
thanks for this great recovery! im excited to try it!
two quick questions:
does the fix apk uid mismatches uses the common fix_permissions.sh script?
do you have a github or location where the source code is viewable?
thanks again!
Fixter said:
I got the error with both names. I renamed the file to see if I was making mistakes with the file name since it was so long.
Click to expand...
Click to collapse
How are you flashing? Fastboot, flash_image? Are you sure you mounted /sdcard? Do an "ls /sdcard/recovery*" to make sure the sdcard is mounted and that the recovery image can be found.
Cordy said:
I've tried downloading the file a couple of times to make sure it wasn't corrupted but I keep getting "sending 'recovery' (5032 KB)... OKAY
writing 'recovery'... FAILED (remote: image update error)"
Click to expand...
Click to collapse
Did you unlock NAND?
joeykrim said:
thanks for this great recovery! im excited to try it!
two quick questions:
does the fix apk uid mismatches uses the common fix_permissions.sh script?
do you have a github or location where the source code is viewable?
thanks again!
Click to expand...
Click to collapse
Erm, I'm using the same fix_permissions.sh script as in my other recoveries, check github :
Scripts : http://github.com/packetlss/amonra_recovery_scripts
Recovery : http://github.com/packetlss/amonra_bootable_recovery
Still need to push the evo recovery.
Amon_RA said:
Did you unlock NAND?
Click to expand...
Click to collapse
Yes, I'm able to flash toasts recovery.img through fastboot no problem.
How do I check if I loaded the recovery correct? I get a Build : Not Set when I entered the recovery on the lower end where its suppose to say the build number.
You should work together with Koush and make one great recovery. He has some features such as the ability to flash a zip from ANYWHERE on the SD Card. The two of you should be able to work some miracles.
Ceger

[Recovery] [14-Nov-2010] RA-desire-v2.0.0 [GSM]

This is a custom recovery based on Cyanogen's recovery source with a lot of things added by me. The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.
This recovery is for the HTC GSM Desire only, if you have a :
- HTC Dream/G1 you should go here.
- HTC Magic/MT3G you should go here.
- HTC Hero you should go here.
- HTC Sprint Hero you should go here.
- HTC Eris you should go here.
- HTC Tattoo you should go here.
- HTC N1 you should go here.
Important notes
Always check recovery.log before posting your issues!
You can do this by doing :
"cat /tmp/recovery.log" OR "cat /cache/recovery/log" right after you had the issue.
Use the "move log to sd" option in the "others" menu right after you had the issue. This will move the log to /sdcard/recovery.log so you can easily open it with a text editor.
Features
Use the trackball (up+down) to navigate through the menu, press the trackball to select items. Use the Back-key to go back to a previous menu.
full ADB access in recovery mode
Alternative CyanogenMOD version with Cyan colors and CM Logo
Busybox v1.15.3
Kernel (2.6.35.7) with ext3 + ext4 support
SLCD and AMOLED support
HW-Key navigation (Trackball + back-key) option
Extended menu :
Reboot system now :: reboot your phone
USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
Backup/Restore
Nand backup :: Make a Nand backup (/sdcard/.android_secure included), the following partitions are NOT included :
Recovery (to avoid restoring old version)
Misc (no need to backup imo + restore issues on some phones)
Splash1+2 (no need to backup imo + restore issues on some phones)
Nand + ext backup :: Make a Nand + ext backup
Nand restore :: Restore a Nand backup
Backup Google proprietary system files :: Makes a backup of the Google proprietary system files in /cache/google
Restore Google proprietary system files :: Restores the Google proprietary system files from /cache/google
Flash zip from sdcard :: Flash a zip update file from any (sub)-directory on your sdcard
Wipe
Wipe ALL userdata :: wipes /data + /cache + entire ext partition + all apps installed on your sdcard (froyo a2sd).
Wipe only /data :: wipes /data.
Wipe only /sd-ext :: wipes the entire ext partition on your sd (if present).
Wipe only /sdcard/.android_secure :: wipes all apps installed on your sdcard (froyo a2sd).
Wipe only /cache :: wipes /cache.
Wipe only Dalvik-cache :: wipes the dalvik-cache located in /cache + /data + /sd-ext is present.
Wipe only battery stats :: reset the battery calibration.
Wipe only rotate settings :: reset the sensor calibration.
Partition sdcard
Partition SD :: Interactive SD partitioning
Repair SD:ext :: Repair the ext partition
SD:ext2 to ext3 :: Convert ext2 to ext3
SD:ext3 to ext4 :: Convert ext3 to ext4
Mounts
(Un)Mount /system
(Un)Mount /cache
(Un)Mount /data
(Un)Mount /sd-ext
(Un)Mount /sdcard
Other
Fix apk uid mismatches :: Does extacly that
Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
Toggle Signature Verify :: Toggles the signature verification for zip files.
Power off :: Powers off your phone
Scripts available via adb :
Nandroid v2.2.1 : enter "nandroid-mobile.sh" to start.
sdparted v0.6 : enter "sdparted" to start.
Install
Unrevoked
http://www.unrevoked.com/recovery/ to flash it.
Be aware that unrevoked flashes an Superuser app... so any issues related to su use are out of my control!
If you already have S-OFF (via http://alpharev.nl/)
fastboot flash recovery recovery-RA-desire-v2.0.0.img
Download
ALWAYS check the md5sum to make sure the zip isn't corrupted.
Latest version :
recovery-RA-desire-v2.0.0.img - MD5Sum: 4d6d17dcddc632579dcf88af6fbde0e1
"Themed" versions :
Only the background and colors are changes compared to the default one.
CyanogenMOD version : recovery-RA-desire-v2.0.0-CM.img - MD5Sum: 835b2f180869b00116d1e5b9a430ed4d
Change-log :
v2.0.0
Some things in v2.0.0 were kanged with a twist from the Clockworkmod recovery.
Updated kernel to 2.6.35 (SLCD and AMOLED are now both supported).
Added SDEXT support for update scripts.
Added "filebrowser" support when you select a zip to flash.
Added "/.." support to the filebrowser so you can navigate up.
Added a mount menu so you can manually (u)mount stuff.
Added a toggle verification switch so you can flash those awesome unsigned winrar rom releases...
Fully re-wrote the wipe menu (it's not using a script anymore), added a few new wipe options.
Added "/sdcard/.android_secure" support , nandroid now backups/restores .android_secure (Froyo a2sd apps) by default.
Added a few new Google apps to the Google app backup script.
Special thanks to :
packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
Koushik Dutta for all his recovery work ^^
Cyanogen for his dedicated work! , buy him a beer!
Chris Soyars for the new Apps2SD method ^^
JesusFreke for his awesome JFv1.43's recovery , donate
pensive for adding awesome features to Nandroid
Bkmo for his utility script!
Devsk for his switchrom script!
51dusty for his sdparted script!
k4str0 for his fix_permissions v2.03 update.
Devsk, Dumfuq, Overground for creating BART
rikupw for the ideas and toggle_ums script.
http://www.androidspin.com for hosting ^^
Reserved for future use
first .....
good job, i'll give it a try
Woow...Great...Thank you very much...the best recovery...
P.S: Great works and so nice CM ver....
Thanks . Great work
Thank you!
we like the newest things ...
thanx Amon_RA ...
Thank you!
Been waiting for this!
Thanks!
can I flash it via fastboot ???
Wohoo, thanks Amon_RA!
(Yup, flashable through fastboot if you have s-off)
l3zawi said:
can I flash it via fastboot ???
Click to expand...
Click to collapse
Works perfect
fastboot flash recovery C:\PATH_TO_RECOVERY
Thanks . Great work
Latty said:
Wohoo, thanks Amon_RA!
(Yup, flashable through fastboot if you have s-off)
Click to expand...
Click to collapse
Twau said:
Works perfect
fastboot flash recovery C:\PATH_TO_RECOVERY
Click to expand...
Click to collapse
alright ... tnx guys
Don't forget about the Desire HD
I like your recovery, but am personally using psfMod recovery.
Awesome, I never thought we'd see the day... thought you were busy with N1
Thanks a lot for this!
bemymonkey said:
...Thanks a lot for this!
Click to expand...
Click to collapse
+100...awesome work. also thought we were stuck on 1.7.0.5 which was working just perfectly by the way...just the flash unsigned files was the big missing function for me.
You may want to add to OP that its also possible to flash this using a certain small but greatly effective tool called Android Flasher!
thanks a lot AmonRa
Moe5508 said:
just the flash unsigned files was the big missing function for me.
Click to expand...
Click to collapse
With recovery 1.7.0.1 , there was a function to disable the verification of signature
Flashed, working perfectly!
ty very much!
nespresso33 said:
thanks a lot AmonRa
With recovery 1.7.0.1 , there was a function to disable the verification of signature
Click to expand...
Click to collapse
Toggle Signature Verify is in "Other"

{ROM} Arabic htc chacha 1.57 root and app2sd ext4

This ROM is custom build based on OTA update -> 1.57.415.3
Android version 2.3.5 - build (1.57.415.3)
Zipaligned
Busybox
Busybox scripts run-parts enabled
Zipalign
Updated kernel support for ext4 and swap
and full rooted su
Nothing removed or deleted (Application)
apps moved from system/app to data/app:
facebook
gmail
Maps
YouTube
talk
Apps added:
a2sd
Cube calculator
Android_Terminal
Thanks to
dsixda for Kitchen
Install all ROMs using clockworkmod recovery: (Install at own risk)
Download ROM
http://www.mediafire.com/?dbs7v9wf7zislxv
Same as Above but Sense UI and all dependent widgets removed and ADWLauncher added
http://www.mediafire.com/?si2s5828zjuisak
Awesome! Good job
hello,
can you explaint what does this Rom gives you?
1. full arabic menus?
2. support fo arabic keys?
thanks
stayfidz said:
1. full arabic menus?
2. support fo arabic keys?
Click to expand...
Click to collapse
Both full Arabic menu and Arabic keys support and any function that stock Rom support...
It is based on official Arabic Stock Rom.
thanks for the rom
I installed it but I don't know how to activate app2sd if you can show us it will be great
thanks again
Hello,
1. My chacha is rooted with an European RUU, can i reflash it with this rom?
2. Does this rom offer both menus, English and Arabic,or only arabic?
how to activate app2sd
ts3010 said:
thanks for the rom
I installed it but I don't know how to activate app2sd if you can show us it will be great
thanks again
Click to expand...
Click to collapse
Do you want to check??
- (root needed) Use the app Rootexplorer or ES File Explorer and browse to the places (/system/sd) if you see directories app, app-private and any-other directories a2sd is working. you can check which app has been moved to ext partition in app directory. If you do not see directories follow bellow steps.
I am not be held responsible for any lost data or turning your phone into a brick.
partitioning your SD card will format it and you will lose all data on the card. Please do yourself a favor and backup all contents of your SD card to your PC!
Typically it’s best to have a2sd setup before you flash a ROM
Back up all your data from the SD card to your PC
Clockwork -?creates ext3 partitions by default, if you are using latest ClockworkMod Recovery v5.0.2.8 port for the HTC Chacha by adlx.xda's, I believe it creates ext4 partitions by default & limited size choices. I believe the options are 512, 1024, 2048, respectively
Boot into recovery.
Main menu in recovery scroll down to advanced press the enter button.
Now in the advanced menu scroll down to the Partition SD card option and press the enter button
When asked for the ext size, I recommend using 512mb or 1GB. There can be stability issues going over 1.5GB
When asked for the swap size 0mb, 128mb or 250mb, its your choice if you want to use swap otherwise select 0mb. (This Rom support swap)
Time to flash ROM.
To view the help of a2sd you need to have terminal emulator for android, Evey time you run terminal emulator you will need to type this command “su” (without the ” ) hit enter this gives terminal super user access.
Type a2sd check and hit enter again, It will display the settings for apps, private apps, dalvik, swap, zipalign, & low memory killer settings, it will also display suggested commands for each parameter. You can also type a2sd help for a list of all supported commands. It is very easy to use.
If you had already installed Rom, you may need to issue this command in Terminal Emulator in order to enable it
a2sd reinstall
Moves all current and future non-system apps to the sd card & performs a full reboot
stayfidz said:
Hello,
1. My chacha is rooted with an European RUU, can i reflash it with this rom?
2. Does this rom offer both menus, English and Arabic,or only arabic?
Click to expand...
Click to collapse
Yes you can Flash
This ROM offer both menus, English and Arabic
Install all ROMs using clockworkmod recovery
Click to expand...
Click to collapse
1. so my next step is clockworkmod, then your flash?
2. where i can get the latest cwm?
thank you.
stayfidz said:
1. so my next step is clockworkmod, then your flash?
2. where i can get the latest cwm?
thank you.
Click to expand...
Click to collapse
latest CWM is by adlx.xda...
If any query regarding CWM installation instruction and using it follow these links..
http://forum.xda-developers.com/showthread.php?t=1481135
http://forum.xda-developers.com/showthread.php?t=1164468
How did you add ext4 and swap support to the kernel? I want to do that on an European ROM that i'm cooking, but it only supports ext2,ext3 and no swap (it's stock HTC kernel)
you will have to build a new kernel to support ext4 and swap.
just Google it how to build kernel for android..
I think it is only possible in Linux.
faizkalwar said:
you will have to build a new kernel to support ext4 and swap.
just Google it how to build kernel for android..
I think it is only possible in Linux.
Click to expand...
Click to collapse
Yes I know... but maybe you have patched HTC kernel sources for ChaCha, and added the code to support ext4 and swap... just want to know if I'm correct what patches you have applied.
absolutely correct.
faizkalwar said:
Do you want to check??
- (root needed) Use the app Rootexplorer or ES File Explorer and browse to the places (/system/sd) if you see directories app, app-private and any-other directories a2sd is working. you can check which app has been moved to ext partition in app directory. If you do not see directories follow bellow steps.
I am not be held responsible for any lost data or turning your phone into a brick.
partitioning your SD card will format it and you will lose all data on the card. Please do yourself a favor and backup all contents of your SD card to your PC!
Typically it’s best to have a2sd setup before you flash a ROM
Back up all your data from the SD card to your PC
Clockwork -?creates ext3 partitions by default, if you are using latest ClockworkMod Recovery v5.0.2.8 port for the HTC Chacha by adlx.xda's, I believe it creates ext4 partitions by default & limited size choices. I believe the options are 512, 1024, 2048, respectively
Boot into recovery.
Main menu in recovery scroll down to advanced press the enter button.
Now in the advanced menu scroll down to the Partition SD card option and press the enter button
When asked for the ext size, I recommend using 512mb or 1GB. There can be stability issues going over 1.5GB
When asked for the swap size 0mb, 128mb or 250mb, its your choice if you want to use swap otherwise select 0mb. (This Rom support swap)
Time to flash ROM.
To view the help of a2sd you need to have terminal emulator for android, Evey time you run terminal emulator you will need to type this command “su” (without the ” ) hit enter this gives terminal super user access.
Type a2sd check and hit enter again, It will display the settings for apps, private apps, dalvik, swap, zipalign, & low memory killer settings, it will also display suggested commands for each parameter. You can also type a2sd help for a list of all supported commands. It is very easy to use.
If you had already installed Rom, you may need to issue this command in Terminal Emulator in order to enable it
a2sd reinstall
Moves all current and future non-system apps to the sd card & performs a full reboot
Click to expand...
Click to collapse
A2SD can be confirmed by just using Titanium Backup.. Simplest Way..
can pls post a different mirror, i cant download from mediafire
does this ROM support Farsi/Persian characters too? many people are looking for Farsi/Persian support out there
tOz666 said:
Yes I know... but maybe you have patched HTC kernel sources for ChaCha, and added the code to support ext4 and swap... just want to know if I'm correct what patches you have applied.
Click to expand...
Click to collapse
See https://github.com/adumont/htc-kernel-msm7227/commit/877407bf1c32536e9059f03f642f7e6c3764a91f
What is the recommended microsd class speed if I want to use app2sd and move all my apps/apps data/dalvik cache to sdcard? I don't know what is the limitation of the implemented app2sd in this rom. For what I know app2sd+ does that.
Thanks.
Hello,
I am new to this cha cha business...
Just want to try out this rom and want to flash but do I have to go through all those cumbersome unlocking and rooting activity mentioned in the [Unlock ] Official Unlock via HTCdev!
Pls advice.

Categories

Resources