• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Guide] Re-flash stock ROM (RUU) after bricking a rooted device

CafeKampuchia

Android Expert
Dec 8, 2011
2,542
2,785
Pursat, Cambodia
Before you start, you will need to set up your computer to properly recognize the phone. You probably did this when rooting originally, but just in case... Install SDK tools for Android, Java runtime, and HTC Sync.

About HTC Sync: The only reason you need HTC Sync installed is for the USB drivers that come with it. But the program itself has been known to cause conflicts. Make sure that HTC Sync is not running in the background by opening Task Manager in Windows and killing it if you find it lurking in there.

Here we go:

1. Download the correct RUU (ROM Update Utility) for your device from androidfiles.org. Make sure you download a Marvel_C RUU for a CDMA device (no sim card) or a Marvel RUU for a GSM device (uses a sim card)!! Also make sure you get the correct RUU for your carrier.

2. Charge the battery above 50% or for at least one hour. If the battery dies during the flashing process, you could hard brick the phone!

3. Run the RUU until the wizard comes up. While the RUU wizard is open, find the temporary folder it created. (Open Explorer in Windows and type %temp% in the navigation bar.) There will be two folders with long encrypted names. In one of them you will find ROM.zip. Open it with 7zip and extract recovery.img. Put it in the location were you've installed Android SDK tools. This is the stock HTC Recovery and it is needed to run the RUU.

4. Boot the phone into bootloader (power off, hold down volume and press power) and highlight FASTBOOT using the volume rocker and pressing power. Then connect the USB cable. You should see FASTBOOT USB.

5. Open a command prompt in Windows and navigate to the folder where you installed Android SDK tools. Flash the stock recovery extracted in step 3 above using the following command:
Code:
fastboot flash recovery recovery.img
6. Relock the bootloader using the following command:
Code:
fastboot oem lock
7. Re-run the RUU. It will restore the device to it's original condition, locked (though *** RELOCKED ***) and unrooted.

Once the install is done you'll have unlock the bootloader again using the token you already have from the first time, reflash CWM Recovery and re-root. All this will be 10x easier than the first time.

If you do re-root your phone, be 100% you backup the stock ROM in ClockworkMod Recovery before making changes!
 
why isnt this working... has anyone else tried this.....

im using

RUU_Marvel_C_Sprint_WWE_VM_1.02.652.00_Radio_0.94.00.0824_NV_VM_1.25_0815

to try and redo my virgin mobile, usa, marvelc...... it starts but says its the wrong RUU....

edit: it sits on updating signature for a while..... updating rom image on your android phone... then the bootloader version error comes up. get the correct RUU and try again. error 140*

edit: tried a different one.... and it gave me error 132, its a signature error.
 
Upvote 0
If your phone is relocked I think the only way is to unlock it by going through the same procedure (minus the RUU update) beceause if you are relocked, as far as I know, you are unrooted

Oh! Sorry. I've the 'Unlock_code.bin' file Htcdev.com sent thru mail. So no problem to unlock and re-root again.

I didn't take the Nandroid backup of my Original HTC ROM.

I wanted to go for original HTC Stock ROM and proceeded all the steps correctly but couldn't pass thru RUU. I tried many times but the wizard says different error on every time.

I tried with all those RUU's:

1. RUU_Marvel_S_hTC_Asia_India_2.13.720.1_Radio_47.23a.35.3035H_7.53.39.03M_release_225848_signed
2. RUU_Marvel_S_HTC_Europe_2.13.401.3_Radio_47.23c.35.3037_7.54.39.28M_release_236989_signed
3. RUU_Marvel_HTC_Asia_WWE_1.35.707.3_Radio_47.10 .35.3029H_7.46.35.08_release_188906_signed

I don't know where i made the mistake.
or shall i need to downgrade the bootloader..??

CustomerIDError.jpg
 
Upvote 0
No there is no need to update the RUU. That part you can skip. just go straight to step 3c from Cafe's guide
3C. Unlock the bootloader
Now you’ll follow the steps starting on pg. 2 of the unlock bootloader procedure at htcdev.com. (Find the green button waaaay down at the bottom of the ROM selection page that says "Proceed to Step 1".)

This step requires you to use adb commands (SDK tools) to retrieve your phone’s oem identifier token. You will then upload that to the HTC dev bootloader unlock page. Make sure that you enter it without any spaces. After receiving it, HTC dev will respond with an email containing an image file ("Unlock_code.bin") which you will then flash to the phone to unlock your bootloader. When done successfully, the HBOOT screen will show ***_UNLOCKED_***. Success!
Or if you already have the code, skip the site's steps until you get to the next step after you get the code
 
Upvote 0
Hi Guys,

First I Thank CafeKampuchia for allowing & sharing me this here...

I just Love My HTC. Few months back I rooted my device due to internal memory problem, then flashed many ROMS (Disciplex1, WC2, CM7.2 and CM9 alpha7...a ROM Junkie).

I didn't try the speed, memory and MANY features of the original HTC STOCK ROM after ROOTED with Superuser and Link2sd etc.., I thought to do a try. I didn't take the Nandroid Backup (of Original HTC ROM) so was a NOOB.

However I followed this guide, couldn't get back to STOCK and confused of my mistake or what went wrong. Finally referred so many guides (thanks also to Crossfire on XDA) and got thru it.

[WARNING: PLEASE DON'T TRY THIS WITHOUT HAVING GOOD ENOUGH KNOWLEDGE !!! I TRIED WITH EXTREME CAUTION & HOPELESS... BE SURE TO CHOOSE THE RIGHT RUU OR THIS MAY HARM/BRICK YOUR DEVICE . I tried with running the RUU but can't get it. So decided to flash Recovery, boot and system img's by fastboot commands.]

RUU_Marvel_S_hTC_Asia_India_2.13.720.1_Radio_47.23a.35.3035H_7.53.39.03M_release_225848_signed
So, I Choose this RUU and got 'ROM.zip' from %temp% folder while run on PC, and opened it with 7zip, copied System, boot and recovery img's to SDK dir.

HTC%20STOCK%20ROM.jpg


As you see, Successfully flashed. Powered off device and switched ON. displayed 'HTC quitely brilliant' logo with alarm but INITIALLY GOT BOOT LOOPED. Tried 1 hr but no result.

Finally gone to Hboot menu and did a FACTORY RESET!!. That's all.

Now the phone booted normally on STOCK ROM!!! [Now BOOTLOADER IS UNLOCKED but not Rooted]

I Tried for a FOTA UPDATE and IT WORKED!! Downloaded about 25mb and got updated succesfully. Can't believe???!!

So, Now I try to ROOT then Install CWM to make a Backup.

Hope this method useful for someone.
 
Upvote 0
Hi,

Here is my experience after flashed STOCK ROM....(sorry for so loooong...)

Since the Bootloader is ***UNLOCKED*** I thought to root with HTC SuperTool(as I already done first) then to flash ClockworkMod 5.0.2.8. When I Run HTCSuperTool it showed 'ROOTED' but originally not done. Tried again and again but same happend. (Not reliable!)

So I flashed CWM 5.0.2.8 and put the 'Root.zip' on SD Card and got NOW "ROOTED" with CWM.

Installed Link2sd but couldn't mount the 2nd partition Since it was ext4. [GB2.3.5 couldn't accept ext4 Partition which had for CM9Alpha7 previously]. Then modified it with MiniTool Partition Wizard to ext2 and GOT MOUNTED NOW!!.

I removed unwanted apps (Like Facebook, Email, Stocks, Plurk, etc..) and now having around 105MB free because of LINK2SD.

Got My GPS, YouTube, HD Video, Internet Tethering & Pass thru, WiFi, etc... all back.

Installed extra apps: (example few)

'LockScreen' to lock the screen but save the <Power> button.
'aScreenshot' to take screenshot simply by pressing long on 'search' key.(Navigator).
etc...

Anyway, Stock rom is always STOCK ROM!

Quietely Brilliant !!.....



I Changed My User Name from 'Selvan1975' to 'senthamil' as on XDA from Today. (pls no confuse!)
 
Upvote 0
Hi Guys,

First I Thank CafeKampuchia for allowing & sharing me this here...

I just Love My HTC. Few months back I rooted my device due to internal memory problem, then flashed many ROMS (Disciplex1, WC2, CM7.2 and CM9 alpha7...a ROM Junkie).

I didn't try the speed, memory and MANY features of the original HTC STOCK ROM after ROOTED with Superuser and Link2sd etc.., I thought to do a try. I didn't take the Nandroid Backup (of Original HTC ROM) so was a NOOB.

However I followed this guide, couldn't get back to STOCK and confused of my mistake or what went wrong. Finally referred so many guides (thanks also to Crossfire on XDA) and got thru it.

[WARNING: PLEASE DON'T TRY THIS WITHOUT HAVING GOOD ENOUGH KNOWLEDGE !!! I TRIED WITH EXTREME CAUTION & HOPELESS... BE SURE TO CHOOSE THE RIGHT RUU OR THIS MAY HARM/BRICK YOUR DEVICE . I tried with running the RUU but can't get it. So decided to flash Recovery, boot and system img's by fastboot commands.]

RUU_Marvel_S_hTC_Asia_India_2.13.720.1_Radio_47.23a.35.3035H_7.53.39.03M_release_225848_signed
So, I Choose this RUU and opened with 7zip, copied System, boot and recovery img's to SDK dir.

HTC%20STOCK%20ROM.jpg


As you see, Successfully flashed. Powered off device and switched ON. displayed 'HTC quitely brilliant' logo with alarm but INITIALLY GOT BOOT LOOPED. Tried 1 hr but no result.

Finally gone to Hboot menu and did a FACTORY RESET!!. That's all.

Now the phone booted normally on STOCK ROM!!! [Now BOOTLOADER IS UNLOCKED but not Rooted]

I Tried for a FOTA UPDATE and IT WORKED!! Downloaded about 25mb and got updated succesfully. Can't believe???!!

So, Now I try to ROOT then Install CWM to make a Backup.

Hope this method useful for someone.
brother can u provide me ruu for bmy htc wildfire s
hboot 7.57.39.10m
radio: 47.23e.35.3038
 
Upvote 0
brother can u provide me ruu for bmy htc wildfire s
hboot 7.57.39.10m
radio: 47.23e.35.3038

Hi Rajesh,

If you are (or your device is purchased) in India, then this wouldn't be the HBoot Version. Check it one more.... Press <power> + Vol Down, say what's displayed on Hboot Menu.

Hboot you typed would suffix the radio version. It's not HBOOT VERSION.

On that case this same RUU might well suit for you. You can download it on HTCdev.com

I'll see & put it here, if any other links available.
 
Upvote 0
Hi Rajesh,
Here it was in my bookmark bank.

http://www.shipped-roms.com/index.php?category=android&model=Marvel

Shipped ROMs

They say as 'Worlds Largest Collection of Shipped ROMs'.

I downloaded it from here and thought it might be useful for others.
(on Football's collection "RUU_Marvel_S_hTC_Asia_India" is not available !)


________________________________________________________
Hope this may be useful to you or others (If really press 'Thanks'). :)
 
Upvote 0
mine is 2.26.720.3 where can i find the ruu i hav tried many roms but stock roms is stable and fast pls help me
My WFS has also the same version[2.26.720.3] since i updated thru FOTA option. So you can proceed with the same RUU : (and then update.) RUU_Marvel_S_hTC_Asia_India_2.13.720.1_Radio_47.23a.35.3035H_7.53.39.03M_release_225848_signed which is available on the above post of this.
 
Upvote 0
My WFS has also the same version[2.26.720.3] since i updated thru FOTA option. So you can proceed with the same RUU : (and then update.) RUU_Marvel_S_hTC_Asia_India_2.13.720.1_Radio_47.23a.35.3035H_7.53.39.03M_release_225848_signed which is available on the above post of this.

ya but i tried but ruu shows image version is wrong..???
how can done tat...any way advance in thanks:thinking::thinking::thinking::thinking::thinking::thinking:
 
Upvote 0
ya but i tried but ruu shows image version is wrong..???
how can done tat...any way advance in thanks:thinking::thinking::thinking::thinking::thinking::thinking:
Where does RUU shows image version is wrong...???

Did you try while running RUU, copy the ROM.zip from your %temp% folder...?

Then extract the ROM.zip with 7zip, you will get system.img, boot.img and recovery.img

Please go thru again...
 
  • Like
Reactions: gow tham
Upvote 0
Where does RUU shows image version is wrong...???

Did you try while running RUU, copy the ROM.zip from your %temp% folder...?

Then extract the ROM.zip with 7zip, you will get system.img, boot.img and recovery.img

Please go thru again...

really no but mine is 2.26.720.3 but the ruu shows image version is wrong because the ruu is 2.13.720.1
i getting unknown errors..on the ruu

i m new step by step procedures pequired help pls...thanks in advance:):):):):):):):):)
 
Upvote 0
really no but mine is 2.26.720.3 but the ruu shows image version is wrong because the ruu is 2.13.720.1
i getting unknown errors..on the ruu

i m new step by step procedures pequired help pls...thanks in advance:):):):):):):):):)

I Think you are confused too much. If you are not sure don't try.

1. Download RUU and run it on PC. Proceed it first 2 steps.
2. Open Explorer on PC and type '%temp%' without quotes on navigator.
3. Find a folder with long name within { }. There in a sub folder you can find ROM.zip
4. Copy ROM.zip to somewhere on PC.(now you can cancel the RUU wizard).
5. Extract the ROM.zip in a folder and copy only boot.img, recovery.img and system.img to you SDK folder. (c:\Android). That' all. Now you can flash as in the pic above.
6. Now your Software ver will be 2.13.720.1 goto 'Settings', 'About phone' and select 'Software update'. Probably you can download about 25mb and install it. No your software version will be 2.26.720.3

Hope you get a clear IDEA.
 
Upvote 0
I Think you are confused too much. If you are not sure don't try.

1. Download RUU and run it on PC. Proceed it first 2 steps.
2. Open Explorer on PC and type '%temp%' without quotes on navigator.
3. Find a folder with long name within { }. There in a sub folder you can find ROM.zip
4. Copy ROM.zip to somewhere on PC.(now you can cancel the RUU wizard).
5. Extract the ROM.zip in a folder and copy only boot.img, recovery.img and system.img to you SDK folder. (c:\Android). That' all. Now you can flash as in the pic above.
6. Now your Software ver will be 2.13.720.1 goto 'Settings', 'About phone' and select 'Software update'. Probably you can download about 25mb and install it. No your software version will be 2.26.720.3

Hope you get a clear IDEA.

but mine is already 2.26.720.3 ....??????
i got clear idea but confused on the ruu ,..:rolleyes::thinking:
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones