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

Data-safe Disaster Recovery via NVFlash

OP Rusty!

22nd August 2011, 10:43 AM   |  #1  
Rusty!'s Avatar
OP Recognized Contributor
Flag Portsmouth
Thanks Meter: 1,770
 
7,974 posts
Join Date:Joined: Jan 2010
More
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 03: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, 12:10 PM   |  #2  
sibbor's Avatar
Senior Member
Thanks Meter: 333
 
652 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Downloading and keeping in my O2X stash of files. Just in case of emergency. Thank you!
22nd August 2011, 12:32 PM   |  #3  
action294's Avatar
Member
Thanks Meter: 10
 
85 posts
Join Date:Joined: Dec 2009
Great job!

Sent from my Optimus 2X using XDA App
22nd August 2011, 01:33 PM   |  #4  
salisbury_steak's Avatar
Senior Member
Flag Manila
Thanks Meter: 657
 
2,235 posts
Join Date:Joined: Oct 2010
More
Nice work. Thanks Rusty!
22nd August 2011, 04:51 PM   |  #5  
fabioccoelho's Avatar
Senior Member
Flag Manaus
Thanks Meter: 109
 
1,405 posts
Join Date:Joined: Jan 2009
Donate to Me
More
Great job man


Congratulations...
22nd August 2011, 11:42 PM   |  #6  
Senior Member
Flag Rugby
Thanks Meter: 32
 
250 posts
Join Date:Joined: Oct 2010
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, 11:56 PM   |  #7  
Rusty!'s Avatar
OP Recognized Contributor
Flag Portsmouth
Thanks Meter: 1,770
 
7,974 posts
Join Date:Joined: Jan 2010
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.
23rd August 2011, 12:46 AM   |  #8  
el_liberator's Avatar
Senior Member
Flag Collias
Thanks Meter: 1,162
 
1,130 posts
Join Date:Joined: Apr 2011
Donate to Me
@Rusty , Great Job , thanks
Last edited by el_liberator; 25th October 2011 at 09:46 PM.
23rd August 2011, 08:48 AM   |  #9  
Rusty!'s Avatar
OP Recognized Contributor
Flag Portsmouth
Thanks Meter: 1,770
 
7,974 posts
Join Date:Joined: Jan 2010
More
Seriously? It's a batch file? Double-click it and press 1,2 or X
30th August 2011, 12:16 AM   |  #10  
Senior Member
Thanks Meter: 238
 
362 posts
Join Date:Joined: Mar 2008
Donate to Me
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?

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