FORUMS

Analysis & Opinion

Top Forum Discussions

Data-safe Disaster Recovery via NVFlash

8,019 posts
Thanks Meter: 1,800
 
By Rusty!, Recognized Contributor on 22nd August 2011, 09:43 AM
Post Reply Subscribe to Thread Email Thread
OK so on Sunday whilst pissing about, I flashed a broken recovery to my phone. This resulted in a near brick, the phone wouldn't boot at all, and wouldn't even enter Smartflash. I didn't have a recent backup, so needless to say I was pissed.

However, this presented me with a challenge, could I recover my phone without losing anything? Turns out the answer was yes

I was able to NVFlash (battery out, hold both vol keys and plug in USB) over a good recovery, and the phone booted straight to it, from there I restored the old boot.img that I had, rebooted and held my breath.

Success! OK, so wifi didn't work due to the old kernel, but whatever, quick CM reflash fixed that (in hindsight, I could probably have just done that straight away anyway).

I created a little batch menu system to handle the command and let you pick from an internal or external recovery (depending on what you normally use) and a couple scripts for Linux users. Hopefully anyone that has bust their phone to the point of NVFlashing will be able to do this instead and keep all their stuff

http://www.mediafire.com/file/t0casp...ecovery_v5.rar
Last edited by Rusty!; 1st November 2011 at 02:37 PM. Reason: Updated included version of CWM
The Following 41 Users Say Thank You to Rusty! For This Useful Post: [ View ]
 
 
22nd August 2011, 11:10 AM |#2  
sibbor's Avatar
Senior Member
Thanks Meter: 334
 
Donate to Me
More
Downloading and keeping in my O2X stash of files. Just in case of emergency. Thank you!
22nd August 2011, 11:32 AM |#3  
action294's Avatar
Senior Member
Thanks Meter: 20
 
More
Great job!

Sent from my Optimus 2X using XDA App
22nd August 2011, 12:33 PM |#4  
salisbury_steak's Avatar
Senior Member
Flag Manila
Thanks Meter: 665
 
More
Nice work. Thanks Rusty!
22nd August 2011, 03:51 PM |#5  
fabioccoelho's Avatar
Senior Member
Flag Manaus
Thanks Meter: 113
 
Donate to Me
More
Great job man


Congratulations...
22nd August 2011, 10:42 PM |#6  
Senior Member
Flag Rugby
Thanks Meter: 32
 
Donate to Me
More
You can flash entire partitions with the nvflash download command.. There's even a guide to flash clockwork recovery using it on the G2x forums.. I assume you'd just change the 5 to a 7 to compensate for the different partition layouts but don't quote me on it.

Sent from my Optimus 2X using XDA Premium App
22nd August 2011, 10:56 PM |#7  
Rusty!'s Avatar
OP Recognized Contributor
Flag Portsmouth
Thanks Meter: 1,800
 
More
Yeah you don't wanna be quoted on that, you change 5 to 14

It's the same thing, only it's never been mentioned for O2X before, clearly useful though.
22nd August 2011, 11:46 PM |#8  
el_liberator's Avatar
Senior Member
Flag Collias
Thanks Meter: 1,162
 
Donate to Me
More
@Rusty , Great Job , thanks
Last edited by el_liberator; 25th October 2011 at 08:46 PM.
23rd August 2011, 07:48 AM |#9  
Rusty!'s Avatar
OP Recognized Contributor
Flag Portsmouth
Thanks Meter: 1,800
 
More
Seriously? It's a batch file? Double-click it and press 1,2 or X
29th August 2011, 11:16 PM |#10  
Senior Member
Thanks Meter: 242
 
Donate to Me
More
Question
Quote:
Originally Posted by Rusty!

Seriously? It's a batch file? Double-click it and press 1,2 or X

battery out, hold both vol keys and plug in USB and start flash-recovery.bat but don't work.

I see this on cmd:

Quote:

-------------------------------
Russ' NVFlash Recovery Flasher

1. CWM 4.0.1.5 Internal
2. CWM 4.0.1.5 External
X. Exit
-------------------------------

Please pick a recovery, or exit [1,2,X]?2
Attempting to flash external recovery...
Nvflash started
USB device not found
-------------------------------
Program will now exit

What I've to do?
29th August 2011, 11:44 PM |#11  
Rusty!'s Avatar
OP Recognized Contributor
Flag Portsmouth
Thanks Meter: 1,800
 
More
Did your PC pick up the device? APX drivers are included in the zip
The Following User Says Thank You to Rusty! For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread

Tags
no wipe, nvflash, recovery
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes