[Q] Restore to stock settings - G2 and Desire Z Q&A, Help & Troubleshooting

I have rooted and SOFF'd my phone and need to return it to HTC for a repair.
I want to return the phone to it's stock settings and can only do it by placing the stock .img file on the SD card and booting to fastboot as this is the only thing that works properly...
I did this with my Nexus ages ago but can't recall how I obtained the .img file.
I am currently downloading the HTC vision RUU - can I obtain the .img file from this?
Can someone point me in the right direction?

ok, how did you S-OFF your phone ? Because if you did it via the engineering bootloader, you need to be very careful about flashing a stock .img so you don't brick your phone.
What ROM version are you running now and what do you want to flash ?
Have you tried just restoring factory settings from within the phone, before you go through a re-flash ?

yep, I used the engineered bootloader.
I am trying to use the RUU from HTC but I can't turn on my phone so I don't think ti will work...
Is there a way I can do it from the fastboot menu?

What ROM version did you have on the phone when it went wrong, and what ROM are you trying to flash now exactly ?

Really, all I want to do is return my phone to as close as stock as possible before I return to HTC.
I can't turn it on beyond the fastboot menu but can sometimes access Clockwork recovery for 10min or so.
I am currently running Cyangenmod 6.01 RC4 but have performed a full wipe.
Someone please help! I'm happy to donate!

To answer your question, I am attempting to flash RUU_Vision_HTC_WWE_1.34.405.5_Radio_12.28b.60.140e_26.03.02.26_M_release_155556_signed
Is there anyway I can flash this from recovery or fastboot? I can't switch on my phone and let it fully boot, that's all.

I'm not sure how the ROM versions work with Cyanogen. This is important, because with the eng hboot, if you try and flash an *older" ROM than you're currently running, you can end up bricked.
To be on the safe side, use the "debranding" guide at http://forum.xda-developers.com/showthread.php?t=832503 and that should let you flash the ROM safely.
Which HTC RUU are you downloading ? I have the European PC10IMG file (1.34.405.5) at http://dl.dropbox.com/u/9728800/PC10IMG.zip
You can extract the PC10IMG.zip file from the RUU if you run the RUU, but then don't press any of the buttons that it pops up, just leave it and go back to your desktop. Then if you navigate to where your OS version has its temp files for your user, you'll find it in there.
Edit - ok, so that's the same ROM that I have there

stuart.q said:
Is there anyway I can flash this from recovery or fastboot? I can't switch on my phone and let it fully boot, that's all.
Click to expand...
Click to collapse
I don't know if it's safe to do that with the eng hboot when running Cyanogen, that's why I suggested the debranding (gold card) method. Then once you've done that you can flash it from hboot.

all restored
The charging light even now shows up when plugged in which it didn't do before... I'm hoping this is fixed!

Related

[SOLVED] Restoring stock bootloader, recovery and ROM

I've flashed the oxygen 0.2.2 ROM on my Desire and have ROm manager recovery installed. I want to go back to stock recovery and ROM. I've downloaded stock RUU but when I try to install it, it errors about bootloader verification failed. What should I do? Thank you in advance.
Which RUU did you download and which were you on when you first got the phone?
I've downloaded this RUU:
RUU_Bravo_Froyo_HTC_WWE_2.09.405.8_Radio_32.43.00.32U_5.09.00.20_release_140022_signed.exe
I don't remember on which I was when I got the phone, because it did the automatical upgrade the first day I turned it on. I just know that it was on Android 2.1. Should I try with the latest available stock RUU?
You could try getting 2.29.405.2 but you need to make a note of the exact error as there might be a chance you're on a branded handset.
This is why I stress to make a note of the ROM on your phone out the box before doing anything. I wish people would add it to rooting threads as it would make life a lot easier
I don't think that it is branded. Downloading the newest RUU. i'll post after I try it.
Ok. the newest one passed. Thank you for your help. Did this install the stock recovery as well?
Try it and find out
(Yes, an RUU puts EVERYTHING back to stock)
Hehehe I've tryed to enter the recovery but all i got was a picture of sign with exclamation mark. What does this mean?
Caspian3011 said:
Hehehe I've tryed to enter the recovery but all i got was a picture of sign with exclamation mark. What does this mean?
Click to expand...
Click to collapse
Stock roms don't come with a recovery, you need to pull the batteries out or you can't use your phone. If you wan't a recovery installed use unrevoked3, you can also use a custom recovery (AmonRA) in the unrevoked3 setup. unrevoked3 comes standard with clockworkmod, and that one is not working correctly on my device.
Yes they do, that IS the stock recovery!!!
At the ! just hold volume up and press power and you'll get the stock recovery menu
Ok, thank you. marking this as solved.
Read my last post as MichelN gave you incorrect information...
I just did. Thank you very much, you've been very helpful.

[Q] Back to stock / S-On for warrenty

I've been having some issues with my screen recently, probably due to a cable being loose or something like that so I want to send my phone back to be repaired. I have S-OFF and am running CM6.1.1. I have a nandroid backup for the original stock rom, but this is obviously rooted. So have to i get to back to S-On with the original stock room un-rooted so my warranty isn't technically void??
edit: Its a EU desire z,
Restore the backup of the stock ROM that you have.
If you have S-OFF via gfree then you need to un-do that via "gfree -s on".
If you have the eng hboot then you need to dd back the stock hboot (get it out of a PC10IMG.zip file.
Finally you can remove root. Removing the Superuser app will almost certainly be enough, no-one is going to notice anything more.
I flashed a hboot to get s-off, how exactly do i dd back to stock hboot? Do i extract the file from the PC10IMG zip?
jakbjak said:
I flashed a hboot to get s-off, how exactly do i dd back to stock hboot? Do i extract the file from the PC10IMG zip?
Click to expand...
Click to collapse
Yes, extract the stock hboot from the correct PC10IMG.zip file, then you can dd it to your hboot partition just like you originally did with the eng boot.
Or if you just flash a complete stock ROM over the top (the same version as your backup, once the backup has been restored), it will install the stock hboot anyway.
ok still, just to be certain (last thing i want is to brick my phone!!) restore rooted stock rom from the nandroid backup, then get a copy of the original rom i have a flash it? and do i flash it through cwm or the other menu?
jakbjak said:
ok still, just to be certain (last thing i want is to brick my phone!!) restore rooted stock rom from the nandroid backup, then get a copy of the original rom i have a flash it? and do i flash it through cwm or the other menu?
Click to expand...
Click to collapse
If that stock ROM is the same version as your rooted backup that you restored, then yes, that should be fine because the stock ROM will include the stock hboot, to put you back to S-ON via hboot.
If however the stock ROM is an earlier version than your backup, you will have to go through an additional downgrading procedure to safely be able to flash an earlier ROM (or you could end up bricked).
No, you don't flash it via Clockwork. You put the ROM image (not RUU) onto the root folder of your SD card, called "PC10IMG.zip", then boot into hboot (with the phone powered off, hold Volume Down and then press Power until it switches on) and it will open the ROM and ask if you want to flash it.
Cool, that makes sense. Thanks
is this safe to flash on ANY Desire Z?
RUU_Vision_HTC_WWE_1.34.405.5_Radio_12.28b.60.140e_26.03.02.26_M_release_155556_signed.exe
(This RUU is exactly the one used in the 1.72 root procedure to downgrade to 1.34)
Like I plan to just execute it on the computer and let it do its thing.
My baseband version:
12.28b.60.140eU_26.03.02.26_M
My rooting route was exactly as the XDA wiki, but stopped short of flashing ENG HBOOT.
I know I can restore my backup ROM, and s-off using gfree. My problem is with CWM recovery because if the people at the shop try to charge it with the power down, they will know I've rooted before due to the phone booting into recovery.
djfoo000 said:
is this safe to flash on ANY Desire Z?
RUU_Vision_HTC_WWE_1.34.405.5_Radio_12.28b.60.140e_26.03.02.26_M_release_155556_signed.exe
Like I plan to just execute it on the computer and let it do its thing.
My baseband version
12.28b.60.140eU_26.03.02.26_M
My rooting route was exactly as the XDA wiki, but stopped short of flashing ENG HBOOT.
I know I can restore my backup ROM, and s-off using gfree. My problem is with CWM recovery because if the people at the shop try to charge it with the power down, they will know I've rooted before due to the phone booting into recovery.
Click to expand...
Click to collapse
I belive this is the RUU for the Europe Vision only, so if your Desire Z is not the Europe Vision I would not run this RUU.
Edit: I found this thread on your RUU, I would check it out first before flashing:
http://forum.xda-developers.com/archive/index.php/t-822908.html
In skimming the thread I see someone flashed this on a Bell Desire Z, but they super-cid with gfree first.
Edit 2:Cant you just find the stock recovery.img and then flash it to your phone using the flash_image method from terminal emulator? Since you dont have fastboot. Then re-run gfree with the -s option to get S-on again.
Heres the link to the Flash_image method:
http://forum.xda-developers.com/showthread.php?t=902493&highlight=flash_image
i was thinking of a pseudo-one click method. hahaha
I've just finished downloading the RUU i mentioned.
How do I go about extracting the recovery.img? I tried extracting with 7zip and it says cannot open file.
djfoo000 said:
i was thinking of a pseudo-one click method. hahaha
I've just finished downloading the RUU i mentioned.
How do I go about extracting the recovery.img? I tried extracting with 7zip and it says cannot open file.
Click to expand...
Click to collapse
Just download it myself, good question, not quite sure myself on an RUU since it wants to exe. , thought it might be a simple a unzipping it but ?
Edit : found this:http://lukasz.szmit.eu/2010/04/extracting-rom-files-from-htc-android.html
there's nothing dangerous about it, right? As in the recovery.img extracted from any RUU is not baseband specific or anything? My radio is stock.
djfoo000 said:
there's nothing dangerous about it, right? As in the recovery.img extracted from any RUU is not baseband specific or anything? My radio is stock.
Click to expand...
Click to collapse
Im not gonna lie, I really dont know if the G2 and the Desire Z recovery.img are the same, I know theres a link to the stock G2 recovery image here:
http://forum.xda-developers.com/showthread.php?t=834545&highlight=unroot
hrmm... Just a thought, is that issue worthy of a thread? That whether stock recoveries of G2 and Desire Z are the same, regardless of location of origin (ie Asian/European etc).
You just need to run the RUU but then not press any buttons on the screen, then find the folder where the RUU has extracted temporary files. There will be a standard location on this that depends on your exact OS. Look for the most newly-created folders at this location, and a couple of levels down from there you will find the extracted files, including rom.zip.
Sent from my HTC Desire Z
The same version of Clockwork recovery is used on the G2 and all Desire Zs. So I would have thought you'd be absolutely fine to flash the stock recovery from that DZ RUU onto your own DZ.
Sent from my HTC Desire Z

[Q] Can't Restore Backup it just says No files found

When I buckup my stock rom 3.70.651.1 I use ClockworkMod recovery 2.6.0.1. to backup it. Now im on ClockworkMod recovery 5.0.2.2 when I need to go back to stock rom it just says there is No files found . I really need to go back to stock rom and unroot this phone to take it for some repairs to sprint. I dont know if this will help I use this old root method unrevoked 3.3.1 on that time to root3.70.651.1 pls help hardware version 0004
SuperAndroidman said:
When I buckup my stock rom 3.70.651.1 I use ClockworkMod recovery 2.6.0.1. to backup it. Now im on ClockworkMod recovery 5.0.2.2 when I need to go back to stock rom it just says there is No files found . I really need to go back to stock rom and unroot this phone to take it for some repairs to sprint. I dont know if this will help I use this old root method unrevoked 3.3.1 on that time to root3.70.651.1 pls help hardware version 0004
Click to expand...
Click to collapse
The new clockwork uses .tar instead of .img files like the old one, so it wont detect old backups, all you need to do is downgrade to version 3 again and it'll detect your backup
What radio version do you have?
Jlallman said:
The new clockwork uses .tar instead of .img files like the old one, so it wont detect old backups, all you need to do is downgrade to version 3 again and it'll detect your backup
Click to expand...
Click to collapse
You need the attached file to downgrade clockwork.
Place it on the root of your SD card, then boot into your bootloader (volume down + power button) and accept the update.
shortydoggg said:
You need the attached file to downgrade clockwork.
Place it on the root of your SD card, then boot into your bootloader (volume down + power button) and accept the update.
Click to expand...
Click to collapse
At that point, restore your old backup, the install the updated clockwork and make a backup.
thanks guys it work
now i need to unroot but this come up when i flash
unrEV0KED Forever S on patch v1.3
verifying system type...
E: unsupported radio version
E: Update failed. check/sdcard/ soff .log.
E: Error in /sdcard/unrevoked-forever-son.zip
(status 42)
Installation aborted.
I dont know what to do i have latest version do i downgrade All my Radio, WiMAX, PRI, NV & HBoot versions or is there a new version of unrEV0KED Forever S on patch
Correction from 9:02 PM
Generally, you need to do three things before you turn S-ON.
1. (YOU PROBABLY ALREADY DONE THIS SO YOU CAN SKIP). You need to flash a custom recovery. You can use the same PC36IMG file that I gave you the first time.
2. You need to downgrade your radio (baseband only). Use the file from this link.
http://www.mediafire.com/?xlhm124ur4bnxln
Flash this file from your recovery and let it do its thing. Also, it is very important not to pull the battery during the flash, or it is a sure way to brick your phone permanently.
3. Then try the S-ON tool again.
Your phone may likely still read S-OFF. In that case, you will also need to update with the attached PC36IMG file (once you change the name) to turn S-ON.
Next you will need this PC36IMG file (once you change the name) to finish the unroot.
http://www.fileserve.com/file/nEZX7G4
thanks I got the s on back but the PC36IMG file doesn't work it just not leting me flash it on bootloader it finds it but it doesn't not let me updat it just shows it then goes back PC36IMG file then to bootloader
SuperAndroidman said:
thanks I got the s on back but the PC36IMG file doesn't work it just not leting me flash it on bootloader it finds it but it doesn't not let me updat it just shows it then goes back PC36IMG file then to bootloader
Click to expand...
Click to collapse
EDIT: From 2:11 PM
If that didn't work, then go to this link to download the fastboot drivers, then install them to your computer.
http://unrevoked.com/rootwiki/doku.php/public/revolutionary
Boot your phone into the operating system, plug the phone to your computer, then turn on USB Debugging under Applications/Development.
Then download the RUU to your computer from this link
http://www.fileserve.com/file/TzDP8Je
Turn off the phone, then hold the volume down + power buttons at the same time. Hit the power button once the phone powers up and FASTBOOT is highlighted. It should now read FASTBOOT USB in red. Run the RUU from your computer and see if this works.
how do you run the RUU from the computer?
SuperAndroidman said:
how do you run the RUU from the computer?
Click to expand...
Click to collapse
It's an exe file. Just double click on it.
thanks guys for all your help they told me they are going to send me a new one for free
A whole new phone? :-x
Sounds to me like you just got a bad file. Reflashing the linked above should've fixed your problem right up.
Sent from my PC36100 using XDA App

[Q] Unbranded ROM for HOX

Hi,
Just followed bagocrap24's excellent step-by-step guide for unlocking the bootloader on the One X and am about to install Clockworkmod Touch Recovery 5.8.2.7.
I'm on branded T-Mobile ROM at the moment (v.1.26.110.5). I have downloaded this ROM posted by rogersnm here: http://forum.xda-developers.com/showpost.php?p=25310993&postcount=518
Once I've got the CWM recovery installed, is it a simple case of installing the stock 1.28 ROM or have I missed something? There seems to be so much information spread across so many threads, I don't know what I need to know and what I don't, if that makes sense.
I really don't want to screw up my phone, and would just like to be running stock v1.28 ROM.
Thanks for your help folks.
Hello there,
I flashed the InsertCoin ROM, it works very well and stock 1.28 with tweak options up to your choice!
Download the Rom.zip, copy the boot.img from within the download and put it in the same folder where u have the fsstboit and cwm files according to the noon guide u just followed, copy the zip of the ROM to the root of your HOX storage...
Power down the HOX and boot into hboot, select fastboot, connect your HOX, open a cms window on your computer type in
cd c:\fastboot
then
fastboot flash boot boot.img
You can flash first the zip from within cwm and then the boot.img as you have only your (backed up in cwm) shipped Rom on it, right? Take good care of the backup....
So, put the zip on HOX, boot into cwm, choose zip, install zip follow on screen guide, boot into hboot, select fastboot, do the cmd as above, re-boot and you good to go!
Be aware to not let the battery drain as in OFF mode it won't charge for the time being...
Let me know how you got on...happy flashing
Sent from my HTC One X using xda premium
Thanks for your reply. I've updated to the latest CWM Recovery and am now just looking for a stock, unbranded HTC 1.28 ROM.
I'm weird in that I actually like 'Sense', I'd just like to be rid of the T-Mobile crap they shoe-horned in (for no apparent reason or benefit). Would be nice to be network-unlocked too.
Is there a stock HTC 1.28 RUU for download yet?
Edit:
Am I being dim? Further reading suggests I may need to be on stock recovery and locked bootloader to install RUU_ENDEAVOR_U_ICS_40_HTC_Europe_1.28.401.9_Radio_ 1.1204.103.14_release_256469_signed?
edited. CWM was updated. ;p
Updated again? I'm on 5.8.3.1 which seems to be the latest.
I'm still being dim. How do I remove the T-Mobile RUU (1.26.110.x) and flash 1.28.401.9 which I've downloaded?
Folks, I'm still a little confused as to what I need to do to get the unbranded ROM on my phone. Do I need to flash a stock recovery, re-lock the bootloader, wipe the phone and then install the unbranded ROM?
Many thanks, I just don't want to delete the ROM on my phone without knowing I've understood what I need to do next...
Edit: With stock recovery and relocked bootloader, attempting to enter recovery brings up the red triangle with the exclamation mark.
Anyone...? I was really hoping someone might be able to help me out.
Funkmeisterdude said:
Anyone...? I was really hoping someone might be able to help me out.
Click to expand...
Click to collapse
Start by following the Everything HTC One X link in my signature and deciding what you want to do. Come back if you have further questions.
Thanks pdagenius, I've already read through that thread.
As I understand it, I have two options:
1) install a stock, unbranded HTC ROM. This requires a relocked bootloader and stock recovery. When I reset to stock recovery and relocked the bootloader, I couldn't get into the recovery to flash the unbranded ROM. I get the red triangle with the exclamation mark.
2) I can use a different ROM such as Android Revolution HD (which I like the look of as it looks stock). However, there seems to be conflicting information wrt to whether or not to flash new firmware (seems this isn't possible with S-ON?). Additionally, the boot.img link for download in the OP is broken.
As great a community as this is, I've found that often there is simply so much information out there that it's overwhelming, and difficult to find what I need to know and what I don't need to worry about. I think to think I have a little savvy about me but tbh it's a little bit 'information overload'.
With the phone being so new, I really can't afford to brick it....
OK, I've gone with ARHD now..
Thanks to those who offered advice, this thread can now be closed.

I F*cked up (GPE 5.0 to Sense) Help!

I originally had a stock sense M8 (bought it first day) but since October, I changed my phone to GPE (GPE Firmware and everything) and have been using 5.0 eversince using SkyDragon rom. Ran into issues a few weeks ago, and i've been waiting hard to go back to sense and use the newer 5.0 sense version.
However, today I ran into multiple issues, I thought installing the latest Sense Lollipop firmware and installing the latest ARHD 5.0 rom would do the trick, sadly that did not work.
I flashed the latest sense firmware and the ROM only for it to boot saying my Data is corrupt and i have to reset my phone, i say okay(was going to do that anyway) but then I access my recovery (TWRP) and my Internal storage/Cache/Data will not mount. I tried going back to GPE (atleast so my phone would work) but I cant do that either because even with the GPE firmware, the data partition wont mount and my internal storage shows 0 MB in TWRP, now im just stick in a bootloop/bricked device for hours. Any help would really be appreciated...thanks a lot.
Dev Edition RUU is what I would recommend. Partitioning is different on GPE versus Sense. So I'm guessing running the firmware only, since its not a complete image, did not change the partitioning back to the Sense partition scheme.
Converting from GPE back to Sense is not trivial, and not to be taken lightly. It seems like you tried to make up your own process instead of following any definitive guide or advice, which I do not recommend.
redpoint73 said:
Dev Edition RUU is what I would recommend. Partitioning is different on GPE versus Sense. So I'm guessing running the firmware only, since its not a complete image, did not change the partitioning back to the Sense partition scheme.
Converting from GPE back to Sense is not trivial, and not to be taken lightly. It seems like you tried to make up your own process instead of following any definitive guide or advice, which I do not recommend.
Click to expand...
Click to collapse
Thanks for your reply, to get this clear:
I should flash the Dev Edition RUU from (http://forum.xda-developers.com/htc-one-m8/development/ruu-m8-developer-edition-sense-1-54-t2884777) (3.28.1540.5) and then update the firmware to 4.16.1540.8 by just flashing that separate zip. However, if I flash the RUU wouldn't it relock my bootloader and put me on S-On and lose root and the custom recovery(Im terribly sorry if this sounds dumb, but my phone is soft bricked and I really need to get everything right this time), Is that the case if I flash the dev edition RUU? Thanks again.
Austin3161337 said:
However, if I flash the RUU wouldn't it relock my bootloader and put me on S-On and lose root and the custom recovery
Click to expand...
Click to collapse
No, RUU will not relock the bootloader. The only way the bootloader gets locked/unlocked is if you do so yourself.
Same with s-off, there is nothing that can change that aside from you making it s-on yourself.
Yes, you will lose custom recovery, as RUU will install stock recovery. So just flash stock recovery by fastboot after RUU. Then flash the ROM you want, which should already be rooted (so losing root is a moot point).
Official firmware.zip will also write stock recovery. So doing so would have caused the loss of TWRP anyway (unless it was a user modified firmware zip).
redpoint73 said:
No, RUU will not relock the bootloader. The only way the bootloader gets locked/unlocked is if you do so yourself.
Same with s-off, there is nothing that can change that aside from you making it s-on yourself.
Yes, you will lose custom recovery, as RUU will install stock recovery. So just flash stock recovery by fastboot after RUU. Then flash the ROM you want, which should already be rooted (so losing root is a moot point).
Official firmware.zip will also write stock recovery. So doing so would have caused the loss of TWRP anyway (unless it was a user modified firmware zip).
Click to expand...
Click to collapse
So I downloaded the RUU from (http://www.htc.com/us/support/htc-one-m8/news/) but its an .exe which requires me to plug my phone in which my computer cannot recognize because the phone won't boot at all, is there anyway I can install the RUU by not really needing to connect the phone to the computer? (Put the file in the external SD and install it via the bootloader maybe?) Any tips on that? Thanks
Austin3161337 said:
So I downloaded the RUU from (http://www.htc.com/us/support/htc-one-m8/news/) but its an .exe which requires me to plug my phone in which my computer cannot recognize because the phone won't boot at all
Click to expand...
Click to collapse
The phone doesn't need to boot into OS to run the RUU. It just needs to be able to get into bootloader/fastboot mode, which it can if the screen comes on.
If the device doesn't show on your PC, its a different issue. USB connectivity issue is almost always a driver issue. Install HTC Sync and HTC drivers, if you haven't already. Or uninstall and install them again.
I have a similiar issue. I had a tombile ruu.zip that a flashed as a 0P6Bimg.zip a kitkiat sense version for tmobile. Everything is cool and it runs fine. When I change cid and mid then flashed the sense lollipop firmware I lost my internal memory and twrp read storage as 0mb.
So idk
I flashed the Dev RUU as recommended by redpoint73, booted up and now it says that its updating to the latest firmware android 5.0 (OTA Update) However, I am going to install a custom recovery (TWRP) and put on ARHD instead, thanks for the help, and pretty much unbricking my device, lol.
Austin3161337 said:
I flashed the Dev RUU as recommended by redpoint73, booted up and now it says that its updating to the latest firmware android 5.0 (OTA Update) However, I am going to install a custom recovery (TWRP) and put on ARHD instead, thanks for the help, and pretty much unbricking my device, lol.
Click to expand...
Click to collapse
You're very welcome. Happy to help.
Did you have to do anything to get the RUU to run (like install drivers), or did you just end up running the RUU exe, and it worked?
redpoint73 said:
You're very welcome. Happy to help.
Did you have to do anything to get the RUU to run (like install drivers), or did you just end up running the RUU exe, and it worked?
Click to expand...
Click to collapse
I already had HTC Sync installed, had to boot into Fastboot USB for the thing to get recognized.

Categories

Resources