Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,353 Members 47,237 Now Online
XDA Developers Android and Mobile Development Forum

Amon Ra Style Recovery for Supersonic

Tip us?
 
drellisdee
Old
(Last edited by drellisdee; 10th January 2012 at 03:40 AM.)
#1  
Recognized Developer - OP
Thanks Meter 824
Posts: 613
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Default Amon Ra Style Recovery for Supersonic

I have had several requests for a supersonic recovery from my forked Amon Ra source.

The recovery binary and several binaries have been compiled for armv7-neon so it should be faster. Also many new features have been added/updated. Capactive keys also work.

To also make it clear this recovery will restore both existing clockwork mod backups and Amon Ra backups.

Recovery Features:

ADB as root user

USB-MS Toggle :mounts sdcard as mass storage

Backup/Restore:
Nand Backup : Select Items to backup with the [X]
Nand Restore : browse to and select nandroid backup to restore
Nand Restore Clockwork : browse to and restore cwm backup

Flash Zip From Sdcard: Update.zip must be in root of sdcard or you can directory browse.
Toggle Signature Verify : Turn of signature checking on flashing zips

Wipe Menu:
Wipe data/factory reset: wipes all
Wipe cache
Wipe Dalvik cache : Wipes Dalvik cache in all possible locations if moved by apps2sd
Wipe SD:ext : Wipes Apps2sd ext partition
Wipe Battery Stats
Wipe rotate settings
Wipe data only
Wipe system
Wipe sdcard
Wipe .android secure : Wipes froyo native .android_secure on sdcard

Partition Sdcard:
Partition SD: Partition's sdcard for apps2sd (this formats card so all non backed-up data is lost)
Repair Sd:ext
SD:ext2 to ext3 : coverts apps2sd ext2 partition to ext3
SD:ext3 to ext4 : same as above but ext3 to ext4 (

Mounts:
Gui mounts to avoid typing in terminal to mount and cd into a dir to mount system, data, cache, sd-ext (if exists), sdcard

Other:
Fix Permissions
Move recovery log to SD
Key Test : Output keycodes for debugging recovery
Check Battery Lvl

Developer menu:
Make and flash boot from zimage : This makes a mkboot folder on sdcard and mounts sdcard as mass storage then you copy a zImage and kernel modules into this folder and it will create a new boot like anykernel and flash it.

Install su & superuser: Installs or fixes su & superuser install (removes old if exists)
Install eng (unguarded) su: Installs engineering su that doesn't use superuser (removes old su & superuser if exists)
Reboot to bootloader: reboots to bootloader/hboot
Reboot recovery : reboots phone back into recovery

I have included flash_eraseall binary to recovery which can be used to fix/erase corrupted partitions that will not mount correctly to nandroid restore to.
Useage from adb shell is : flash_eraseall /dev/mtd/mtd4 (where mtd4 is the number of the partition from "adb shell cat /proc/mtd" you want to erase)

Trouble Shooting:
Use option under Other menu to move recovery log to sd. Mount your sdcard to pc and read that file called recovery.log. It should have detailed cause of error.

Special Thanks:
Thanks to :
Amon Ra
Koush
Testers

Latest v3.11 is here http://forum.xda-developers.com/show...&postcount=383

Changelog 3.07:
As per captain throwback's suggestion this one allows a selective restore of backup items on a nandroid restore.

PC36IMG-AmonRA-3.07-gnm.zip
MD5 =940b7d56701473731da2fb58bbaae9a6 PC36IMG-AmonRA-3.07-gnm.zip

recovery-ra-supersonic-3.06-gnm.img
MD5= 2976958267bb43c5c15a18739f90ace4 recovery-ra-supersonic-3.06-gnm.img
Current toys :
LG G2
Acer Iconia A500

PayPal USD Donations
The Following 105 Users Say Thank You to drellisdee For This Useful Post: [ Click to Expand ]
 
Captain_Throwback
Old
#2  
Captain_Throwback's Avatar
Retired Moderator / Recognized Contributor
Thanks Meter 8968
Posts: 10,341
Join Date: Aug 2008
Location: Bensalem, PA

 
DONATE TO ME
Well done, sir!

Capacitive Back button works, ability to restore CWM backups, and no graphical anomaly on Reboot.

This one's definitely a winner, and my new recovery .

Any known bugs at this time?
Device 1: HTC One (M8)/831C | Hardware Version: 0005

Baseband: 1.08.20.0612_4 | PRI: 2.62_003 | PRL: 56019
Recovery: TWRP 2.7.1.0

Device 2: HTC Jewel/PJ75100 (EVO 4G LTE) | Hardware Version: 0003

Baseband: 1.13.11.1105 | PRI: 3.02_003 | PRL: 56018
Recovery: TWRP 2.7.1.0b

Device 3: HTC Shooter/PG86100 (EVO 3D) | Hardware Version: 0002
Baseband: 1.09.00.0108 | PRI: 1.55_003 | PRL: 22100
Recovery: TWRP 2.7.1.0

Device 4: HTC Supersonic/PC36100 (EVO 4G) | Hardware Version: 0004
Baseband: 2.15.00.01.15 | PRI: 2.33_003 | PRL: 40460
Recovery: TWRP 2.7.1.0
The Following 2 Users Say Thank You to Captain_Throwback For This Useful Post: [ Click to Expand ]
 
drellisdee
Old
#3  
Recognized Developer - OP
Thanks Meter 824
Posts: 613
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Quote:
Originally Posted by Captain_Throwback View Post
Well done, sir!

Capacitive Back button works, ability to restore CWM backups, and no graphical anomaly on Reboot.

This one's definitely a winner, and my new recovery .

Any known bugs at this time?


Nope none at all
Current toys :
LG G2
Acer Iconia A500

PayPal USD Donations
The Following 2 Users Say Thank You to drellisdee For This Useful Post: [ Click to Expand ]
 
latingonzo86
Old
#4  
latingonzo86's Avatar
Senior Member
Thanks Meter 85
Posts: 326
Join Date: Feb 2011
Location: P Town Colorado
Do we just change to PC36IMG.zip and update thru bootloader?

Sent from my PC36100 using Tapatalk
" You gonna learn today." - Kevin Hart

Help me get some more drop box space. Just click here-----> http://db.tt/scUzY6S
 
fitz420
Old
#5  
fitz420's Avatar
Senior Member
Thanks Meter 316
Posts: 967
Join Date: May 2011
Location: Pittsburgh
Quote:
Originally Posted by latingonzo86 View Post
Do we just change to PC36IMG.zip and update thru bootloader?

Sent from my PC36100 using Tapatalk
Yeah, I was wondering too. I tried to do it through terminal with the "flash_image recovery" command as SU and kept getting denied.
The Following User Says Thank You to fitz420 For This Useful Post: [ Click to Expand ]
 
Captain_Throwback
Old
#6  
Captain_Throwback's Avatar
Retired Moderator / Recognized Contributor
Thanks Meter 8968
Posts: 10,341
Join Date: Aug 2008
Location: Bensalem, PA

 
DONATE TO ME
I used Android Flasher to do it.
Device 1: HTC One (M8)/831C | Hardware Version: 0005

Baseband: 1.08.20.0612_4 | PRI: 2.62_003 | PRL: 56019
Recovery: TWRP 2.7.1.0

Device 2: HTC Jewel/PJ75100 (EVO 4G LTE) | Hardware Version: 0003

Baseband: 1.13.11.1105 | PRI: 3.02_003 | PRL: 56018
Recovery: TWRP 2.7.1.0b

Device 3: HTC Shooter/PG86100 (EVO 3D) | Hardware Version: 0002
Baseband: 1.09.00.0108 | PRI: 1.55_003 | PRL: 22100
Recovery: TWRP 2.7.1.0

Device 4: HTC Supersonic/PC36100 (EVO 4G) | Hardware Version: 0004
Baseband: 2.15.00.01.15 | PRI: 2.33_003 | PRL: 40460
Recovery: TWRP 2.7.1.0
The Following User Says Thank You to Captain_Throwback For This Useful Post: [ Click to Expand ]
 
latingonzo86
Old
#7  
latingonzo86's Avatar
Senior Member
Thanks Meter 85
Posts: 326
Join Date: Feb 2011
Location: P Town Colorado
Well I just tried thru hboot and no dice. It started to parse the package then it said not zipped correctly. Could u maybe zip it for us bro?

Sent from my PC36100 using Tapatalk
" You gonna learn today." - Kevin Hart

Help me get some more drop box space. Just click here-----> http://db.tt/scUzY6S
 
drellisdee
Old
(Last edited by drellisdee; 9th November 2011 at 09:26 PM.)
#8  
Recognized Developer - OP
Thanks Meter 824
Posts: 613
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Should be able to add your android-info.txt from an ruu and rename to recovery.img and zip it up as PC36IMG.zip or flash via fastboot flash recovery nameofrecovery.img if you have it or via flash_image.


To clarify the android-info.txt and recovery named recovery.img are what you zip to make a PC36IMG.zip
Current toys :
LG G2
Acer Iconia A500

PayPal USD Donations
The Following 2 Users Say Thank You to drellisdee For This Useful Post: [ Click to Expand ]
 
piscesjoey
Old
#9  
piscesjoey's Avatar
Senior Member
Thanks Meter 257
Posts: 1,132
Join Date: Apr 2008
Location: Newark, DE - originally from Baltimore
I'm on the 3D now, but I gave you a thanks anyway man, used to use your work all the time back in the WM days!

Infected in 3D
Nexus 5 16GB



The Following User Says Thank You to piscesjoey For This Useful Post: [ Click to Expand ]
 
mercado79
Old
(Last edited by mercado79; 11th November 2011 at 06:02 AM.) Reason: better instructions
#10  
Senior Member
Thanks Meter 380
Posts: 983
Join Date: Oct 2008
Location: Boston, MA
Quote:
Originally Posted by latingonzo86 View Post
Well I just tried thru hboot and no dice. It started to parse the package then it said not zipped correctly. Could u maybe zip it for us bro?
hboot and fastboot commands didn't work for me either. i grabbed an old amon-ra PC36IMG file and replaced that recovery image with this new one. worked for me. here it is. no promises that your phone won't blow up.

http://www.mediafire.com/?n8yafvl318ulv39

Just make sure you rename it to PC36IMG.zip and place it on the root of your SD card. Reboot into Bootloader/Hboot. Once it scans your memory card, it'll automatically ask you if you want to flash the new recovery. Follow on-screen prompts.

Glad to see it works for you guys!
Moto X
Stable ROM: Eclipse 3.2.1 via Safestrap (Kit Kat 4.4.2)

Google Nexus 7 FHD
Stable ROM: Rastakat
Alt ROM: Stock Rooted

The Following 19 Users Say Thank You to mercado79 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes