Question about firmware and relocking bootloader - One (M8) Q&A, Help & Troubleshooting

I am using the AT&T HTC One M8. I am rooted with an unlocked bootloader and s-on. I need to change back to stock (from CM11) to upgrade to CM12 because my firmware is outdated. I cannot find a working way to do this on a Mac (my computer). The only ways I found were to run an RUU in wine and extract the rom.zip from there, flash a firmware.zip (relocking bootloader bricks my phone and gives it **UNLOCKED** and **SECURITY WARNING** flags), and using a stock nandroid (put it in /data/media/0/TWRP/Backups and it didn't show up under the restore menu). If anyone has a solution, please post it here. UPDATE: The reason I dont just s-off in CM11 is because sunshine says something about a debuggable ramdisk and flashing a stock rom. Also, right after posting this, I managed to get the rom.zip from the RUU file.

Related

how to RUU with new bootloader?

I have an incredible that bootloops at the white screen that was s-on that I got to repair. I tried to flash the gingerbread RUU through hboot and the exe and it still bootlooped. I saw that the official unlock method came out so I updated to the 1.02.0000 hboot and unlocked the phone. I flashed cwm through fastboot but the phone still bootloops. Since the official unlock doesn't allow all the fastboot commands, I can't completely wipe the system or flash different radios, hboot, NV etc. I think this phone is completely bricked unless I can find an RUU that will work with the 1.02.0000 hboot. Since you can't flash RUUs while the phone is unlocked, I have to relock and then I get the main version is older error.
Try flashing this one thru hboot. Its stock GB ruu modified for new hboot.
http://dinc.does-it.net/New_Hboot/StockGB/PB31IMG.zip
And also try this. Its cwm recovery updated for the new hboot.
http://dinc.does-it.net/New_Hboot/CWM_5.2.0.2/PB31IMG.zip
thanks for the files. The RUU reads but stops after parsing. The cwm file does flash correctly, but I still cannot access recovery. I think the partitions are corrupt on the internal memory and I can't ADB in to fix them without recovery. Sucks, I spent way too much time trying to fix this phone. Its perfect condition, but its not worth my time anymore. Hopefully I can resell it for what I paid.
these files need to be stickied somewhere. I searched for around 4 hours on how to root after htcdev unlock and finally found this
the modded RUU wont flash via a locked s-on hboot if its not signed by htc. simply pulling the hboot out wont trick the phone into flashing it,as it breaks the signiture.
if flashing it unlocked,the modified RUU is not working for 1 or both of these reasons:
1)the main version may be higher than that on the android info text doccument
2)you need to also pull splash.nb0 and radio out,as htcdev only lets you access boot/system/recovery.
check your main version number in fastboot with fastboot getvar all
make yourself up an "RUU" using only the system/boot/recovery images,and the Android info text document. if your mainversion is less than 4.08.605.2,then your good to go. just realize that this is going to change it to that. if your main version is higher,then youll have to edit the android info to reflect your current main version before zipping it back up with the images. flash it with bootloader unlocked.
if you can at least get a working custom recovery via htcdev(i use fastboot flash rather than PB31IMGs) then you can flash superuser,and mount data,and rewrite your misc image to downgrade.
we are working on downgrading an htcdev hboot to the .79 in this thread: http://androidforums.com/incredible-all-things-root/495687-htc-dev-unlock-problems.html
and the adb commands and such for rewriting the misc image are in this thread: http://androidforums.com/incredible-all-things-root/427344-how-root-2-3-4-downgrade-get-s-off.html (some specific comments on recovery/adb in post #865)
if you cant get a recovery to permanently flsh,try booting it into memory with unlocked hboot and
fastboot boot <recovery name>.img
unfortunately,ive learned alot about htcdevs limitations with my rezound. holler if i can be of further assistance
cmlusco said:
Try flashing this one thru hboot. Its stock GB ruu modified for new hboot.
http://dinc.does-it.net/New_Hboot/StockGB/PB31IMG.zip
And also try this. Its cwm recovery updated for the new hboot.
http://dinc.does-it.net/New_Hboot/CWM_5.2.0.2/PB31IMG.zip
Click to expand...
Click to collapse
Thanks, I did it with this file and it worked like a charm.
Thanks guys

[Q] How to unroot htc one v

Hellloo xda...is there anyone who can gimme a proper step to step guide for unrooting my htc one v.
1. Download the HTC Asia India RUU from Football's collection in the development section
2. While that's downloading, relock your bootloader using the command
Code:
fastboot oem lock
3. Open the RUU. Find the temp folder it created and open ROM.zip from inside it with 7Zip. Extract the recover.img and flash it
Code:
fasboot flash recovery recovery.img
4. Run the RUU and your phone's status will be *** RELOCKED *** and unrooted.
So why do you want to unroot?
Whenever I install custom Rom my sd card and WiFi doesn't work...soo I installed custom Rom without having a nandroid.backup.that's y I was asking.neways thanks a lot for replying.this. is my second one v(replacement)
sent from my sexoo one v
My build number is1.56.720.2 and the ruu is 1.58.707.3.what should i do now??
how do i find the temp folder??..
What is the use of other images???in rom folder..does this stock ruu flashing fixes error?
So what exactly are you trying to do now? Before you said unroot the phone, then you said install custom ROM in a later post.
could you also please find a way to help me? my htc one v freeze forever after i turn it on, please help me
Assuming you're on stock rom, have you try factory reset in bootloader ?
Do you know your software version or cid no. ?
He sent a pm telling me that his phone is rooted and he flashed a zip file that supposedly increases the SD card speed, and apparently causes soft bricks too
I think the only thing to do is re-flash the RUU because I don't think he did a backup in CWM Recovery.
Roxas84, please confirm.
I see.. if he can send the file, sometimes do a revert.zip will help. The easiest is reflash the same rom.zip with wipe cache & system. It should correct the error.
Hey dudes,
I was going to start the same thread but since this is open I want to ask you one question:
If I root the phone, flash cwm, and then I want to return to stock (for warranty purposes) how can I 'uninstall' cwm? Because for unroot I know how to do it, but uninstall custom recovery I never done that even on my older phone - Htc hero.
I'm not new to recoveries, custom roms, flashing and all this kind of stuff, but this is a problem that I don't know how to handle it since I didn't needed to uninstall the custom recovery in the past.
TIA!
L.E: To Answer my own question:
D) ROM is stock, bootloader unlocked, CWM recovery and rooted
- download OTA Rootkeeper from Play Store
- run the OTA Rootkeeper and click protect root
- no need to relock bootloader
- boot to bootloader and fastboot flash the stock recovery
- run the OTA update
- Once done, run OTA Rootkeeper and click restore root
Thanks @ckpv5 for these awesome guides
I just summarized this thread in the following tut but with much more detail:
[TUT] Re-flash stock ROM (RUU) after bricking a rooted device (for noobs)
Roxas84, follow this tut if ckpv5's suggestion above doesn't work.
1ceb0x, it will also show how to revert to stock recovery.
1ceb0x said:
Hey dudes,
I was going to start the same thread but since this is open I want to ask you one question:
If I root the phone, flash cwm, and then I want to return to stock (for warranty purposes) how can I 'uninstall' cwm? Because for unroot I know how to do it, but uninstall custom recovery I never done that even on my older phone - Htc hero.
I'm not new to recoveries, custom roms, flashing and all this kind of stuff, but this is a problem that I don't know how to handle it since I didn't needed to uninstall the custom recovery in the past.
TIA!
Click to expand...
Click to collapse
relock bootloader flash stock ruu
bt i dnt think ul get ur warranty back as. the bootloader will not show locked
it will show relock
i dnt think there is any way to get factory bootloader lock
dont just say thanks hit thanks if i helped
sent from my awesome HTC One V using xda premium
i need help cause mine is a koodo one can sombody link me to a thread to unroot the htc one v
Just restore the nandroid backup you made before rooting your phone.
Hello guys, I want to unroot my One V but I have a problem. I don't find my RUU. HBOOT says:
*** UNLOCKED ***
PRIMOU PVT SHIP S-ON RL
HBOOT-1.18.0000
Radio-3831.18.00.282
eMMc-boot
Which ruu should I use?
Thx!
Dude you don't look here you look at your software number in settings
Oh! My device says 2.19.666.3 and again, there's not RUU with this mention...

Outdated Bootloader causing script abort

Hi guys,
I went to update my M8 earlier from Cyanogenmod 11 to 12, but I got this error when updating...
script aborted: This package supports bootloader(s): 3.18.0.0000, 3.19.0.0000; this device has bootloader 3.16.0.0000.
I have an international M8 and I am unsure what steps I have to take to be able to update the bootloader?
I'm guessing I need to flash a stock RUU and then OTA update and then run firewater root all over again?
If anyone could supply me with an RUU for Vodafone UK for the M8, I'd very much appreciate it.
Thanks in advance.
DesireRoss said:
Hi guys,
I went to update my M8 earlier from Cyanogenmod 11 to 12, but I got this error when updating...
script aborted: This package supports bootloader(s): 3.18.0.0000, 3.19.0.0000; this device has bootloader 3.16.0.0000.
I have an international M8 and I am unsure what steps I have to take to be able to update the bootloader?
I'm guessing I need to flash a stock RUU and then OTA update and then run firewater root all over again?
If anyone could supply me with an RUU for Vodafone UK for the M8, I'd very much appreciate it.
Thanks in advance.
Click to expand...
Click to collapse
There are no RUU's available for devices outside the US. AT&T, Sprint, T-Mobile, Developer Edition and Verizon(I think) all have RUU's. Then there is a RUU for European International(401) but not really widely available.
Easiest way to update Hboot would be to go with OTA's, else if you're S-OFF(You mentioned firewater so I assume you are) you could just flash the latest 4.x firmware for your device or even convert your device to a more up-to-date version(Developer edition is good).
Going SuperCID and flashing Firmware should be easy as well so... There are guides out there to flash firmware. However if you're S-ON then you might have to go with OTA updates so you'll have to go back to stock(EVERYTHING) for OTA's.
On a side note, firewater wasn'tfor root, it was for S-OFF. Besides, firewater doesn't work anymore.
Thanks for the quick reply pal.
Yes I'm S-OFF.
Where would I find a file to flash the latest firmware? I'm assuming you mean through ClockworkMod?
How do I go back to stock if there aren't any RUU's available?
EDIT: I've got a HTC One M8 GPE (File name: RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip) can I just flash this through ClockworkMod and then be good to go?
DesireRoss said:
Thanks for the quick reply pal.
Yes I'm S-OFF.
Where would I find a file to flash the latest firmware? I'm assuming you mean through ClockworkMod?
How do I go back to stock if there aren't any RUU's available?
EDIT: I've got a HTC One M8 GPE (File name: RUU-HTC_One_M8_GPE_5.0.1-3.11.1700.5.zip) can I just flash this through ClockworkMod and then be good to go?
Click to expand...
Click to collapse
That RUU will convert your device to a Google Play Edition. There is a thread showing how to convert if you want:
[RUU] M8 Google Edition Conversion. 5.0.1
But no, you don't flash it through a custom recovery. The RUU.zip's gets flashed through RUU mode fastboot oem rebootRUU it'll take you to a screen with HTC Logo on background, then you flash it with fastboot flash zip name_of_zip.zip you'll have to flash it twice, first time around it only updates the Hboot but nothing else then you'll have to flash again to update the rest.
For going back to stock(No RUU's): RUUs, OTAs, Stock TWRP Backups, Firmware & More Collection Grab your nandroid backp from that thread, restore it through custom recovery, flash back stock recovery and proceed with OTA updates as normal.
If you just want to stay stock(Sense) for custom ROMs then it might be better to just run the Developer Edition RUU.
[GUIDE] [S-OFF] Update from Almost Anything to Official Developer Edition Lollipop
BerndM14 said:
That RUU will convert your device to a Google Play Edition. There is a thread showing how to convert if you want:
[RUU] M8 Google Edition Conversion. 5.0.1
But no, you don't flash it through a custom recovery. The RUU.zip's gets flashed through RUU mode fastboot oem rebootRUU it'll take you to a screen with HTC Logo on background, then you flash it with fastboot flash zip name_of_zip.zip you'll have to flash it twice, first time around it only updates the Hboot but nothing else then you'll have to flash again to update the rest.
For going back to stock(No RUU's): RUUs, OTAs, Stock TWRP Backups, Firmware & More Collection Grab your nandroid backp from that thread, restore it through custom recovery, flash back stock recovery and proceed with OTA updates as normal.
If you just want to stay stock(Sense) for custom ROMs then it might be better to just run the Developer Edition RUU.
[GUIDE] [S-OFF] Update from Almost Anything to Official Developer Edition Lollipop
Click to expand...
Click to collapse
As long as my bootloader gets updated so I can flash CM12, I'm happy!
Really struggling with this...
Can anyone link me to a thread that will get me from CM11 (S-OFF 3.16 HBOOT) to CM12 (S-OFF 3.19 HBOOT)?
Can I not just fastboot flash the Google Edition, then redo root and S-OFF and then flash CM12 through ClockworkMod?
And how do you S-OFF these things nowadays? Sunshine?

T-mobile Firmware issue help required

i have a t-mobile version of htc one m8 but when flashing ROMs , i flash international version of the ROM which i'm flashing. The phone is sim-unlocked.
Lately i'm having problem of my phone getting stuck on boot and only way out is wipe cache and dalvik on every time i reboot. And also GPS is not working (tried every fix but no avail) I'm guessing his is some firmware problem.
So the thing is I want to get back to Android 4.4.4 version ( on which it was earlier before i flashed any Lollipop rom , so that i could flash T-mobile's OTA to Lollipop back ( for firmware update ) and after reading and some research , i have understood that i have to be stock recovery and relock the bootloader and get T-mobile RUU ( very confused about RUU thing)
Could someone confirm if this is the correct procedure and explain what steps i need to follow IN ORDER to get this done ( and if links to corresponding guides i will be really helpful) .
I AM S-ON.
Hboot - 3.19
Radio - 1.22.213311491.08G
Please help , really frustrated by these issues and apparently previous threads of mine have gone unanswered.
Unfortunately, if you want to revert to KK (or any older version), you will have to be S-off to do so. So, pay the $25, get S-off (which will helpfully unlock your bootloader at the same time), run T-Mobile RUU for desired version.
However, even if you are S-on, you should be able to use a current or newer RUU to get the firmware up to date, then move on to installing the ROM of your choice. You are probably better off going to the latest firmware and running an alternate ROM, but that's just me.
jshamlet said:
However, even if you are S-on, you should be able to use a current or newer RUU to get the firmware up to date, then move on to installing the ROM of your choice. You are probably better off going to the latest firmware and running an alternate ROM, but that's just me.
Click to expand...
Click to collapse
So if i were to follow S-on steps , i will have to first flash stock recovery , relock bootloader and run t-mobile RUU for firmware upgrade ?
When i relock bootloader everything will be wiped , right ?
So i connect my phone to pc with relocked bootloader and stock recovery and run t-mobile latest RUU on windows ?
Is this the correct procedure?
rahulsethi said:
So if i were to follow S-on steps , i will have to first flash stock recovery , relock bootloader and run t-mobile RUU for firmware upgrade ?
When i relock bootloader everything will be wiped , right ?
So i connect my phone to pc with relocked bootloader and stock recovery and run t-mobile latest RUU on windows ?
Is this the correct procedure?
Click to expand...
Click to collapse
That is all true; except you do not need to install stock recovery to RUU.
Stock recovery is only needed to OTA, not for RUU.

Request at&t 6.20.502.5 stock recovery.img

Hi i have s-on with unlocked bootloader iam trying to restore back to stock using this guide here https://forum.xda-developers.com/htc-one-m8/general/guide-restore-european-htc-one-m8-to-t3072235
But iam unable to find stock recovery.img for at&t in order to proceed, Can anyone help out?
To return to "full" stock, just relock the bootloader and flash the 6.20.502.5 RUU (will wipe all user data on the phone). I don't know why that guide is advising to flash the boot.img and recovery.img before flashing the RUU. It isn't necessary.
redpoint73 said:
To return to "full" stock, just relock the bootloader and flash the 6.20.502.5 RUU (will wipe all user data on the phone). I don't know why that guide is advising to flash the boot.img and recovery.img before flashing the RUU. It isn't necessary.
Click to expand...
Click to collapse
Will this work even though the device is s-on?
David_UK said:
Will this work even though the device is s-on?
Click to expand...
Click to collapse
Yes. RUU that is intended for your specific device version (AT&T) will work just fine with s-on. As long as it's equal or greater to version number on the phone (no "downgrading" by RUU is allowed with s-on).
S-off is only needed to run RUU for another version (need s-off to change CID, MID), or to run an older version RUU (downgrade).

Categories

Resources