Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,412 Members 45,240 Now Online
XDA Developers Android and Mobile Development Forum

[Recovery] Amon Ra Style Recovery for Incredible 2 vivow

Tip us?
 
drellisdee
Old
(Last edited by drellisdee; 9th November 2011 at 08:16 PM.)
#1  
Recognized Developer - OP
Thanks Meter 824
Posts: 612
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Default [Recovery] Amon Ra Style Recovery for Incredible 2 vivow

Recovery Features:

Updated nandroid and recovery to support newer HTC devices using emmc instead of mtd.

Full support of Amend, Edify, & Busybox Mount Update(r) scripts

Correct auto detection of file system types on sd-ext, system, cache, and data.

Capacitive keys function. V3.0.3

Unlike clockwork you can wipe and not lose your file system type. On clockwork wiping resets your fs to ext3 on /system, /cache, and /data. This one will leave an ext4 file system intact after a wipe.

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 3x, 4x, 5x backups

Flash Zip From Sdcard: Update.zip must be in root of sdcard or you can directory browse. Use the "../" to move back a directory
Toggle Signature Verify : Turn of signature checking on flashing zips

Wipe Menu:
Wipe data/factory reset: wipes all (minus full sdcard)
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 Sdcard
Wipe .android secure : Wipes .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

Other:
Fix apk uid mismatches
Move recovery log to SD
Key Test : Output keycodes for debugging recovery
Check battery level

Ext3|4 menu: Formatting and reformating of partitons

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.
Toggle full ext wipe: Toggles full or quick wipe of ext partitions
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

Trouble Shooting:
1. 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.

Navigation:
Vol-up & Vol-dn = move up & down
Power = select
POWER+VOLUP+VOLDN will auto reboot you out of recovery.
Back = backup or use the -Return menu item

Special Thanks:
Amon_RA for his source code Buy him a redbull
Team Unrevoked & AlphaRev for the s-off
Koush source code
worstenbrood source code for modded desire recovery
Teamwin recovery
jhansche for 3 button navigation on ra recovery.

Github Source

Developer's note: This can easily be ported to any other Emmc HTC's with minimal effort. For mecha, vision, lexikon etc. only change of kernel and default.prop is needed. Recovery binary and scripts will fully work. For devices like shooter the partitions in roots.c will need to be updated as well as fstab.

Changelog: 3.06
Clockwork restore option
Compiled for armv7a-neon so its faster
Added developer menu
Ext3|4 menu using C instead of script now.

Changelog : 3.0.3
Enabled capacitive keys and back now functions to backup one menu.
Re-added Mounts menu

Changelog : 3.04
Signature Checking is off by default
Fixed critcal error in nandroid that caused fail of boot.img restore

Changelog : 3.05
Added ability to restore CWM backups 3x-5x.
Cleaned up some code that could produce an error in the ext3 - ext4 upgrade/downgrade causing script to fail.
Attached Thumbnails
Click image for larger version

Name:	rsz_1ra_rec_vivow.png
Views:	1625
Size:	34.3 KB
ID:	704096  
Current toys :
Htc Rezound
Acer Iconia A500

PayPal USD Donations
The Following 8 Users Say Thank You to drellisdee For This Useful Post: [ Click to Expand ]
 
drellisdee
Old
(Last edited by drellisdee; 9th November 2011 at 08:17 PM.)
#2  
Recognized Developer - OP
Thanks Meter 824
Posts: 612
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Download Section:

fastboot version :

Current recovery-ra-vivow-3.06-gnm.img
MD5= c2e2f9af9607e9334b5e268c7b23e050

old recovery-ra-vivow-3.03.img.zip
MD5 = 2f8ed4661c86f03b7e410c7b0511b2c4 recovery-ra-vivow-3.03.img.zip

old recovery-ra-vivow-3.02.img.zip
MD5 = 47efcf557dc8e233ab9213636f88426b recovery-ra-vivow-3.02.img.zip

Unzip and flash via fastboot with command
Code:
Select Code
fastboot flash recovery NAMEOFRECOVERY.img
Hboot version : PG32IMG-ra-vivow-3.04.zip
MD5 = c8f95411729ef74fc03bcb679cab857d

old PG32IMG_recovery-ra-3.03.zip
MD5 = d174c23abdf85f99a0233d11c4beda27 PG32IMG_recovery-ra-3.03.zip

old PG32IMG_recovery-ra-vivow-3.02.zip
MD5 = 9f4792175d007bdf151bcce9b21e7f2b PG32IMG_recovery-ra-vivow-3.02.zip

rename above file to PG32IMG.zip and place on root of sdcard and boot to hboot to flash.
Current toys :
Htc Rezound
Acer Iconia A500

PayPal USD Donations
The Following 4 Users Say Thank You to drellisdee For This Useful Post: [ Click to Expand ]
 
mbh87
Old
#3  
mbh87's Avatar
Senior Member
Thanks Meter 1538
Posts: 6,472
Join Date: Jun 2010
Location: Idaho

 
DONATE TO ME
Havent tried it yet but flashed it. Would it be possible to make an easier way to go back? Instead of having to select the return or ../ option. Anyways thanks for this.
 
drellisdee
Old
#4  
Recognized Developer - OP
Thanks Meter 824
Posts: 612
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Quote:
Originally Posted by mbh87 View Post
Havent tried it yet but flashed it. Would it be possible to make an easier way to go back? Instead of having to select the return or ../ option. Anyways thanks for this.
Not with only 3 mapable keys. If we had a 4th hardware key yes but we don't. Navigation is same as clockwork unfortunatly.
Current toys :
Htc Rezound
Acer Iconia A500

PayPal USD Donations
 
mbh87
Old
#5  
mbh87's Avatar
Senior Member
Thanks Meter 1538
Posts: 6,472
Join Date: Jun 2010
Location: Idaho

 
DONATE TO ME
Quote:
Originally Posted by drellisdee View Post
Not with only 3 mapable keys. If we had a 4th hardware key yes but we don't. Navigation is same as clockwork unfortunatly.
The soft keys work in clockwork though which is nice. Like the layout of this recovery better so I guess I just gotta pick which things bug me less lol.
 
drellisdee
Old
#6  
Recognized Developer - OP
Thanks Meter 824
Posts: 612
Join Date: Jan 2008
Location: East Coast

 
DONATE TO ME
Quote:
Originally Posted by mbh87 View Post
Havent tried it yet but flashed it. Would it be possible to make an easier way to go back? Instead of having to select the return or ../ option. Anyways thanks for this.
Quote:
Originally Posted by mbh87 View Post
The soft keys work in clockwork though which is nice. Like the layout of this recovery better so I guess I just gotta pick which things bug me less lol.
Good suggestion. I added it. Version 3.0.3 has the capacitive keys working and the option to use the menu item -Return or the capacitive back key to backup a menu.
Current toys :
Htc Rezound
Acer Iconia A500

PayPal USD Donations
 
mbh87
Old
#7  
mbh87's Avatar
Senior Member
Thanks Meter 1538
Posts: 6,472
Join Date: Jun 2010
Location: Idaho

 
DONATE TO ME
Quote:
Originally Posted by drellisdee View Post
Good suggestion. I added it. Version 3.0.3 has the capacitive keys working and the option to use the menu item -Return or the capacitive back key to backup a menu.
Awesome, thank you!
 
TheValk
Old
#8  
Member
Thanks Meter 4
Posts: 64
Join Date: Aug 2010
Sweet, Amon Ra works great on my old LG Ally.

Welcome to the Dinc2 club Drellisdee. I'm happy you're here.
 
mmmthmtskier
Old
#9  
Junior Member
Thanks Meter 0
Posts: 19
Join Date: Apr 2011
^^^^^
x2, but used this recovery with my Droid Eris.
Good to see this recovery as another option vs. CWMR...
 
phillybizzle
Old
#10  
phillybizzle's Avatar
Senior Member
Thanks Meter 10
Posts: 505
Join Date: Sep 2010
Location: Brew City, WI, 414

 
DONATE TO ME
I LOVE IT!! Anyway to fix permissions ?

Sent from my ROOTED Incredible 2.
Samsung Galaxy Note 2 Rooted.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes