Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Amon Ra Style Recovery for Supersonic

OP drellisdee

9th November 2011, 08:39 PM   |  #1  
OP Recognized Developer
Flag East Coast
Thanks Meter: 825
 
617 posts
Join Date:Joined: Jan 2008
Donate to Me
More
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
Last edited by drellisdee; 10th January 2012 at 04:40 AM.
The Following 105 Users Say Thank You to drellisdee For This Useful Post: [ View ]
9th November 2011, 08:54 PM   |  #2  
Captain_Throwback's Avatar
Retired Moderator / Recognized Contributor
Flag Bensalem, PA
Thanks Meter: 10,638
 
10
11,739 posts
Join Date:Joined: Aug 2008
Donate to Me
More
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?
The Following 2 Users Say Thank You to Captain_Throwback For This Useful Post: [ View ]
9th November 2011, 08:58 PM   |  #3  
OP Recognized Developer
Flag East Coast
Thanks Meter: 825
 
617 posts
Join Date:Joined: Jan 2008
Donate to Me
More
Quote:
Originally Posted by Captain_Throwback

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
The Following 2 Users Say Thank You to drellisdee For This Useful Post: [ View ]
9th November 2011, 09:46 PM   |  #4  
latingonzo86's Avatar
Senior Member
Flag P Town Colorado
Thanks Meter: 86
 
334 posts
Join Date:Joined: Feb 2011
Do we just change to PC36IMG.zip and update thru bootloader?

Sent from my PC36100 using Tapatalk
9th November 2011, 09:55 PM   |  #5  
fitz420's Avatar
Senior Member
Flag Pittsburgh
Thanks Meter: 333
 
990 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by latingonzo86

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: [ View ]
9th November 2011, 09:57 PM   |  #6  
Captain_Throwback's Avatar
Retired Moderator / Recognized Contributor
Flag Bensalem, PA
Thanks Meter: 10,638
 
10
11,739 posts
Join Date:Joined: Aug 2008
Donate to Me
More
I used Android Flasher to do it.
The Following User Says Thank You to Captain_Throwback For This Useful Post: [ View ]
9th November 2011, 10:08 PM   |  #7  
latingonzo86's Avatar
Senior Member
Flag P Town Colorado
Thanks Meter: 86
 
334 posts
Join Date:Joined: Feb 2011
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
9th November 2011, 10:11 PM   |  #8  
OP Recognized Developer
Flag East Coast
Thanks Meter: 825
 
617 posts
Join Date:Joined: Jan 2008
Donate to Me
More
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
Last edited by drellisdee; 9th November 2011 at 10:26 PM.
The Following 2 Users Say Thank You to drellisdee For This Useful Post: [ View ]
9th November 2011, 10:13 PM   |  #9  
piscesjoey's Avatar
Senior Member
Flag Newark, DE - originally from Baltimore
Thanks Meter: 257
 
1,132 posts
Join Date:Joined: Apr 2008
More
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
The Following User Says Thank You to piscesjoey For This Useful Post: [ View ]
9th November 2011, 10:18 PM   |  #10  
Senior Member
Flag Boston, MA
Thanks Meter: 385
 
993 posts
Join Date:Joined: Oct 2008
More
Quote:
Originally Posted by latingonzo86

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!
Last edited by mercado79; 11th November 2011 at 07:02 AM. Reason: better instructions

The Following 19 Users Say Thank You to mercado79 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes