[Solved] Recovering stock boot image - G2 and Desire Z Q&A, Help & Troubleshooting

Hey,
Is there a way to revert to the stock boot image (not animation) without separately creating an .img file for that (and flashing it)?
Thanks for your time

Sorry, your posts are invisible. Could you repost them, please?

Yeah, okay, still can't see them.
USER CP -> Edit Post Type -> untick: Invisibility?

Why don't you like me ?

I think flashing it is the easiest way. You might be able to use dd to copy the image, but i don't know the details.
Ok carry on...

Yeah, yeah, sure, but where can I _get_ it then?

Extract it from an ota (try shippedroms.com) using winrar, push it via adb
Sent from my HTC Vision using XDA App

Of course.

i had once flashed virtuous sensation rom on my g2, and i had to flash the hboot from the desire z, but im running the original rom now. i have received the OTA automatically but it always gets stuck on the rom manager screen.when i try to do it manually it gives me a wrong image error.
please help.
i need to flash the original hboot from t-mo.
i do have the ota file, i took it from the cache folder, is there any way to get this from this file?
thanks in advance.

I thought that were was a thread by hispeedworm about flashing back to the G2 hboot.
Use this until you find it - http://forum.xda-developers.com/showthread.php?t=999796

Related

[Q] Stock recovery with s-off?

Now that s-off is out and we don't need the PB31IMG.zip to be signed by HTC, is there a zip that will flash the stock recovery but leave everything else intact?
Thanks.
tchebb said:
Now that s-off is out and we don't need the PB31IMG.zip to be signed by HTC, is there a zip that will flash the stock recovery but leave everything else intact?
Thanks.
Click to expand...
Click to collapse
Why do you wasn't the stock recovery? You won't be able to do a nandroid.
I know. I want to have the 2.2 update as soon as it's out because I no longer have to worry about losing root permanently, but I don't really want to have to go through configuring everything again.
EDIT: Could I just take the stock PB31IMG.zip and remove everything but the recovery?
this is a good question. lots of people are wanting to do the ota thinking that since they have s-off they will still have root / custom recovery. we should set up a guide for everyone who is planning on doing this. personally I will just wait for a modified rom to be released... will probably come out before the ota hits anyway.
As I understand it:
Flash the stock recovery using the attached file.
Install the OTA like normal.
Use this image from Unrevoked to put ClockworkMod back on.
If the OTA removed root and busybox, put busybox on the SD card, then use this update.zip from here to restore root.
EDIT: I made a PB31IMG.zip to flash only the stock recovery. I'm attaching it here. I HAVE tested this on my phone.
you think the ota is going to allow custom recovery and root?
i'm skeptical but that would be nice.
It was my impression that with s-off we could use a PB31IMG.zip with HBOOT to put on whatever recovery we wanted regardless of anything the OTA does, and once we have a custom recovery on, we can make an update.zip with su and Superuser.apk.
tchebb said:
As I understand it:
Flash the stock recovery using the attached file.
Install the OTA like normal.
Use this image from Unrevoked to put ClockworkMod back on.
If the OTA removed root, use this update.zip from here to restore root.
EDIT: I made a PB31IMG.zip to flash only the stock recovery. I'm attaching it here. I HAVE tested this on my phone.
Click to expand...
Click to collapse
Wont we still be missing busybox if we follow this.
tchebb said:
As I understand it:
...
EDIT: I made a PB31IMG.zip to flash only the stock recovery. I'm attaching it here. I HAVE tested this on my phone.
Click to expand...
Click to collapse
I flashed this, and have the stock recovery.. but the phone still boots to CM6... How to I get the OTA?
Phlarp said:
I flashed this, and have the stock recovery.. but the phone still boots to CM6... How to I get the OTA?
Click to expand...
Click to collapse
Sorry, I should have clarified. This is not for people who have flashed a new ROM, it is JUST the stock recovery for people who have Clockwork and want to be able to flash the radio. Without s-off, these people would have had to flash the HTC-signed PB31IMG.zip, wiping everything on their phone. Anyone who wants to go back to stock 2.1 and get the OTA will still have to flash the official HTC one, which WILL remove CM6 and wipe all data. You can get the HTC-signed one here.
wpbear said:
Wont we still be missing busybox if we follow this.
Click to expand...
Click to collapse
You are, of course, right. I'll update my post.
One thing I'm still worried about is that HTC might give us a new HBOOT without s-off in the OTA. What is the procedure for getting the URL of the update files once we are offered the OTA?
Ping: tchebb - Question about your stock recovery file
Can you tell me how you created your stock recovery "PB31IMG.ZIP" file?
It contains two files: recovery.img & android-info.txt
Were these files output from a compiler? I want to know how you made this ZIP file, if I may...
Thanks!
Lexus One said:
Can you tell me how you created your stock recovery "PB31IMG.ZIP" file?
It contains two files: recovery.img & android-info.txt
Were these files output from a compiler? I want to know how you made this ZIP file, if I may...
Thanks!
Click to expand...
Click to collapse
All I did was take the standard android-info for the incredible and zip it up with the recovery.img from the HTC signed PB31IMG.ZIP.
Sent from my ADR6300 using XDA App
tchebb said:
All I did was take the standard android-info for the incredible and zip it up with the recovery.img from the HTC signed PB31IMG.ZIP.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Thank you sir. I'm learning. I was curious about the android-info.txt file, and why the infomartion appears as it does in the file. You called it "standard" for the incredible. See below:
modelid: PB3120000
cidnum: VZW__001
mainver: 3.17.605.0 - comment: Just FYI, my DInc build is different: 3.16.605.0
hbootpreupdate:3
This will work with any *.img file that I choose to include in a PB31IMG.ZIP file? Do you think there will ever be a situation where these numbers would be different (for the DInc)? I ask because I'm still not sure what their purpose is in flashing. Do you know? I assume the bootloader needs them for some reason.
All I did was take the standard android-info for the incredible and zip it up with the recovery.img from the HTC signed PB31IMG.ZIP.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Thank you sir. I'm learning. I was curious about the android-info.txt file, and why the infomartion appears as it does in the file. You called it "standard" for the incredible. See below:
modelid: PB3120000
cidnum: VZW__001
mainver: 3.17.605.0 - comment: Just FYI, my DInc build is different: 3.16.605.0
hbootpreupdate:3
This will work with any *.img file that I choose to include in a PB31IMG.ZIP file? Do you think there will ever be a situation where these numbers would be different (for the DInc)? I ask because I'm still not sure what their purpose is in flashing. Do you know? I assume the bootloader needs them for some reason.
Click to expand...
Click to collapse
I don't know what these mean, but I believe they will always be the same for any IMG on the Incredible.
Sent from my ADR6300 using XDA App
tchebb said:
I don't know what these mean, but I believe they will always be the same for any IMG on the Incredible.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
That helps. Thank you!
tchebb said:
As I understand it:
Flash the stock recovery using the attached file.
Install the OTA like normal.
Use this image from Unrevoked to put ClockworkMod back on.
If the OTA removed root and busybox, put busybox on the SD card, then use this update.zip from here to restore root.
EDIT: I made a PB31IMG.zip to flash only the stock recovery. I'm attaching it here. I HAVE tested this on my phone.
Click to expand...
Click to collapse
I have been trying to use the above referenced recovery image to restore the stock recovery and it doesn't seem to be working.
I installed unrevoked forever to set S-OFF and then placed the above file in the root of my SD card, booting into recovery and trying to flash the image just returns me to the ClockworkMod menu.
How can I reinstall the original stock recovery?
skymoo said:
I have been trying to use the above referenced recovery image to restore the stock recovery and it doesn't seem to be working.
I installed unrevoked forever to set S-OFF and then placed the above file in the root of my SD card, booting into recovery and trying to flash the image just returns me to the ClockworkMod menu.
How can I reinstall the original stock recovery?
Click to expand...
Click to collapse
You do not flash this image from clockwork. Put it on the SD root, boot into HBOOT, and wait about 5 seconds. It will then ask you of you want to apply the update. Press volume up to install.
Sent from my ADR6300 using XDA App
tchebb said:
You do not flash this image from clockwork. Put it on the SD root, boot into HBOOT, and wait about 5 seconds. It will then ask you of you want to apply the update. Press volume up to install.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I tried that but it's not asking me if I want to apply the update, a message flashes by very quickly that I barely have time to read. Something like "No image or wrong Image" and then it returns to the HBOOT menu.

[Q] Restore to stock settings

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!

[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

Recovery Img for HTC Wildfire S

I have a friend who accidentally flashed a different phones ROM onto is phone and can't get past the HTC logo. I was going to try just reflashing the stock recovery.img for his MetroPCS HTC Wildfire S and was wondering if anyone could please link me to this file. I'm sure it's already been asked but I've searched online and I'm tired and want to just fix his phone and get to sleep.
Thank you in advance for any help!
jc1337 said:
I have a friend who accidentally flashed a different phones ROM onto is phone and can't get past the HTC logo. I was going to try just reflashing the stock recovery.img for his MetroPCS HTC Wildfire S and was wondering if anyone could please link me to this file. I'm sure it's already been asked but I've searched online and I'm tired and want to just fix his phone and get to sleep.
Thank you in advance for any help!
Click to expand...
Click to collapse
You could try WWW. Shipped-roms.com, look under device marvel. If you can only find ruus, download one and then run it with a process manager. Find the rom.zip that gets moved to the temporary folder. Open it, remove the hboot for good measure and then rename it pg76img.zip (I think that's it) boot to bootloader and try to update. Will leave you with a stock recovery so you'll have to reflash clockwork mod recovery via fastboot in order to do roms.
Speaking of which, have you tried to get to the recovery yet???
sent from my android powered beast!

HTC Desire 816 Stock ROM single sim Virgin Mobile Lollipop 5.0.2

Hello. I accidentally deleted my Stock ROM from my phone. I was wonder if anybody had a backup of the stock ROM for TWRP, or the actual stock ROM. I've searched everywhere on the web, and it's like, nonexistent. Plz help I'd like to use my phone again.
Neoflash said:
Hello. I accidentally deleted my Stock ROM from my phone. I was wonder if anybody had a backup of the stock ROM for TWRP, or the actual stock ROM. I've searched everywhere on the web, and it's like, nonexistent. Plz help I'd like to use my phone again.
Click to expand...
Click to collapse
Your welcome. You can extract the recovery image file from the rom.zip of the RUU. You run the exe then enter %temp% in the Windows search bar. The files that show up numbered (one of them had the rom.zip in it which contains the recovery image.) copy recovery image , unlock bootloader, flash stock recovery, lock bootloader, run RUU executable, done !
http://www.htc.com/us/support/rom-downloads.html
Doesn't work.
thoctor said:
Your welcome. You can extract the recovery image file from the rom.zip of the RUU. You run the exe then enter %temp% in the Windows search bar. The files that show up numbered (one of them had the rom.zip in it which contains the recovery image.) copy recovery image , unlock bootloader, flash stock recovery, lock bootloader, run RUU executable, done !
Click to expand...
Click to collapse
I go to extract the ROM.zip file and it says that the zip file is corrupted. So I tried running the RUU without doing that step, it puts an HTC logo on my phone, and soon after it says the update has failed.
I tried using USB debugging, I've tried booting it in Fastboot and Hboot, I've tried booting it from the Bootloader. It doesn't work. I've searched everywhere on the internet for the Stock Recovery and that doesn't exist.
Is there just a backup I can use or something?
Neoflash said:
I go to extract the ROM.zip file and it says that the zip file is corrupted. So I tried running the RUU without doing that step, it puts an HTC logo on my phone, and soon after it says the update has failed.
I tried using USB debugging, I've tried booting it in Fastboot and Hboot, I've tried booting it from the Bootloader. It doesn't work. I've searched everywhere on the internet for the Stock Recovery and that doesn't exist.
Is there just a backup I can use or something?
Click to expand...
Click to collapse
It's been awhile since I copied my stock recovery from my RUU file but I believe I used Winrar or 7zip. So you would rather flash some random persons stock TWRP backup with God knows what done to it before they even made the backup than a clean pure stock RUU ? Most people don't do the TWRP backup right after flashing TWRP. most do it days or weeks later after they have modified their system playing with root. I would never flash someone else's TWRP backup to my device unless it was an absolute last resort. We're one of the few devices (a5_chl)that HTC gives us stock RUU's for . It's all the poor dual SIM users who are having to flash these random TWRP backups and many still have issues after that. I know you think it's easier but it is not as long as you still can flash back the stock recovery. Try to extract it again using Winrar and if that doesn't work( it should) then here's a link to FoxyDrew's forum with the stock recovery for our device linked and flashing instructions ( albeit for kit Kat I believe.) Don't give up on this method cause your almost there ! First link is a step be step tutorial on getting the recovery image extracted from your RUU. Try it first because it's best to copy the RUU's recovery image. If you can't then the 2nd link below has a link to a copy.
http://androidforums.com/threads/guide-re-flash-stock-rom-ruu-after-bricking-a-rooted-device.565203/
http://forum.xda-developers.com/desire-816/general/ruu-t2952058/post57019175

Categories

Resources