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).
Related
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.
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.
Phone specs:
Code:
RELOCKED
M8_UL PVT SHIP S-OFF
CID-11111111
HBOOT-3.16.0.0000
RADIO-1.23.213311491.05G
OpenDSP-v48.2.2-00564-M8974_FO.1211
OS-4.20.531.4 (1.54.401.5)
eMMC-boot 2048MB
So I'm trying to update my One M8, and I think I messed up pretty bad. I tried running the RUU updater for my T-Mobile variant (found on HTC's ROM Download page), but got the infamous "error 155." However, my bootloader is re-locked. Therefore, according to all the forum posts I could find, I shouldn't be getting that error. I've run a few commands since then, including fastboot oem writecid 11111111 and fastboot erase cache. Somehow, I've managed to get to the point where my phone won't even boot into recovery, it just gets stuck at the "Entering recovery..." screen. However, while stuck on this screen, the phone does respond to ADB commands. I can get root shell access, but I'm not sure what to do with it.
I've tried flashing TWRP 3.0.0.0 to no avail. I've tried running fastboot boot <twrp filename here>, also to no avail. I'm pretty much stuck with a phone that only boots into fastboot, and a weird purgatory-recovery where I can achieve shell access. The RUU file fails to update no matter what I do.
Is there a way I can fix this, or have I completely bricked my phone?
Thank you for your time.
RalphORama said:
Phone specs:
Code:
RELOCKED
M8_UL PVT SHIP S-OFF
CID-11111111
HBOOT-3.16.0.0000
RADIO-1.23.213311491.05G
OpenDSP-v48.2.2-00564-M8974_FO.1211
OS-4.20.531.4 (1.54.401.5)
eMMC-boot 2048MB
So I'm trying to update my One M8, and I think I messed up pretty bad. I tried running the RUU updater for my T-Mobile variant (found on HTC's ROM Download page), but got the infamous "error 155." However, my bootloader is re-locked. Therefore, according to all the forum posts I could find, I shouldn't be getting that error. I've run a few commands since then, including fastboot oem writecid 11111111 and fastboot erase cache. Somehow, I've managed to get to the point where my phone won't even boot into recovery, it just gets stuck at the "Entering recovery..." screen. However, while stuck on this screen, the phone does respond to ADB commands. I can get root shell access, but I'm not sure what to do with it.
I've tried flashing TWRP 3.0.0.0 to no avail. I've tried running fastboot boot <twrp filename here>, also to no avail. I'm pretty much stuck with a phone that only boots into fastboot, and a weird purgatory-recovery where I can achieve shell access. The RUU file fails to update no matter what I do.
Is there a way I can fix this, or have I completely bricked my phone?
Thank you for your time.
Click to expand...
Click to collapse
Have you flashed both stock recovery for the RUU in particular youre flashing and re-locked BL, and are you installing a version number that is equal to or higher than the one you already have installed.
Completely stock phone should flash RUU, as long as its not a version down from whats installed, ie, trying to flash LP when MM is already flashed on phone, UNLESS of course youre s-off and supercid, because with supercid you should be able to flash any RUU .
But i had similar issues, im s-on, so i had to revert to stock LP completely, then flashed HTC__001 Stock MM for my phone, failing all that there is always the option of copying a nandroid on here to ur sd card, boot into twrp and restore the Nandroid just to get it up and running again.
I would run the RUU, let it sit at first screen, goto start button and type in %temp%, find the folder inside temp that ruu just created, (sort by date), pull the rom.zip from that to ur desktop, Unzip it and get the files recovery and boot.img, flash them both to ur phone via fastboot, if it still works, then restart ur phone and it should load up, you could then try to install the RUU from windows again, failing that after flashing recovery and boot, goto ur stock recovery and wipe and reset then reboot phone.
It doesnt sound like hard brick, just soft brick, it should be ok.
If you try to flash a Android MM ruu i suggest to flash a lower ruu first. Usually the big jump from the 3.16 boot loader to a 3.19 boot loader is too much.
Or flash the standalone firmware first and then the full ruu.
The high version of TWRP doesn't work because your bootloader is too low (3.16) if you want a working TWRP then use a 2.7 version.
If you can get to the bootloader then it's just a softbrick. A hardbrick is only when the bootloader is not accessible anymore or when the phone doesn't boot up in any way anymore.
Cheers
Mr Hofs said:
Or flash the standalone firmware first and then the full ruu.
Click to expand...
Click to collapse
This is most likely the solution. In particular, if OP is trying to install MM RUU, there is a new peculiarity (requirement?) with all MM RUUs, where you need to have MM firmware in order to run the RUU, or else you will have Error 155.
Find the firmware.zip that matches the version number of the RUU, flash it; then try the RUU again.
---------- Post added at 09:42 AM ---------- Previous post was at 09:35 AM ----------
gazza35 said:
Have you flashed both stock recovery for the RUU
Click to expand...
Click to collapse
You don't need stock recovery to RUU. Folks keep saying this, and its not true.
You need stock recovery to OTA, but you do not need it for RUU. OTA and RUU are two very different things.
gazza35 said:
because with supercid you should be able to flash any RUU .
Click to expand...
Click to collapse
This is also not true. You need to match MID and CID (or SuperCID) in order to flash an RUU. SuperCID bypasses the CID check, but you still need to pass the MID check.
---------- Post added at 09:44 AM ---------- Previous post was at 09:42 AM ----------
gazza35 said:
But i had similar issues, im s-on, so i had to revert to stock LP
Click to expand...
Click to collapse
Same peculiarity with the MM RUU I mentioned above (need to flash the MM firmware if coming from LP) also applies if you try to downgrade back to LP. Meaning, you need to flash the LP firmware, then LP RUU.
Mr Hofs said:
If you try to flash a Android MM ruu i suggest to flash a lower ruu first. Usually the big jump from the 3.16 boot loader to a 3.19 boot loader is too much.
Or flash the standalone firmware first and then the full ruu.
The high version of TWRP doesn't work because your bootloader is too low (3.16) if you want a working TWRP then use a 2.7 version.
If you can get to the bootloader then it's just a softbrick. A hardbrick is only when the bootloader is not accessible anymore or when the phone doesn't boot up in any way anymore.
Cheers
Click to expand...
Click to collapse
Thank you (and everyone else) for your replies! Out of curiosity, where can I find a lower RUU? I can only find the most recent one from HTC's website.
EDIT: I flashed TWRP 2.7 and I was able to boot into recovery! I love progress.
RalphORama said:
Out of curiosity, where can I find a lower RUU? I can only find the most recent one from HTC's website.
Click to expand...
Click to collapse
You can find the links for older T-Mob RUUs here: http://forum.xda-developers.com/showthread.php?t=2714456
can i install roms and just flash boot.img afterwards and have it work with S-ON or is S-OFF mandatory i remember last HTC i romed was Htc one X and that one worked just fine and S-OFF wasnt even available for it so rom+boot.img flash was the only choice
to put simply can i flash rom with unlocked bootloader
and flash boot.img afterwards or will that mess up my phone dont want to risk it as if it wont looking for RUU for M8 is a nightmare as unlike lg or samsung you cant use any RUU
No need S-Off and no need to flash boot.img
You just need unlocked bootloader, correct version TWRP for your current firmware and custom ROM.zip to install
Most important is your device firmware must be on Marshmallow firmware to install current custom ROMs either Masrhmallow or Nougat.
wolfaas12345 said:
can i flash rom with unlocked bootloader
and flash boot.img afterwards or will that mess up my phone dont want to risk it as if it wont looking for RUU for M8 is a nightmare as unlike lg or samsung you cant use any RUU
Click to expand...
Click to collapse
Flashing boot.img after the ROM won't mess anything up, it's just redundant; since for this phone TWRP will flash boot.img along with the ROM (whether s-on or s-off).
Not all M8 versions have RUU, but if you give details about the phone, we can probably tell you if there is one. Do fastboot getvar all, and post the output (delete IMEI and serial number before posting). This will also allow us to tell you if the firmware needs to be updated, etc.
Not that you would necessarily even need an RUU. For this phone, if something goes wrong flashing a ROM, you have plenty of options. Make sure you make a TWRP backup of your current ROM (will allow you to easily revert if you have problems), plus there is an awesome stock TWRP backup collection maintained by the guy who responded above, @ckpv5.
Sorry..if it's an already solved issue.
I'm using an unlocked HTC M8 which I rooted, unlocked bootloader and installed the latest Lineage OS (Android 7.1.2).
I got a good offer for the device and would like to sell it. So I want to revert it back to stock.
The device information are :
version-main: 6.12.111.4
version-misc: PVT SHIP S-ON
modelid: 0P6B10000
cidnum: T-MOB101
I could only find a Lollipop firmware for my CID which I copied into my SD card as OP6BIMG.zip
But the bootloader gives error as "Large Image Update Failed..Press power to reboot"
This goes on until I remove my SD card.
The RUU I used is "0P6BIMG_M8_UL_L50_SENSE60_MR_TMO_DE_4.19.111.3_Radio_1.25.214500021.06G_20.68.4196t.01_F_release_449335_combined_signed.zip"
Is this because I'm trying to downgrade Android version?
Also should I try after re-locking the bootloader (which is something I'm a bit worried to do because I think I will end up in an even worse condition if it doesn't work...because in my experience with an M9 it never unlocks again after relocking in a custom rom.)
Please help.
If you can't find 6.12.111.4, restore fully stock backup
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
You don't need to relock bootloader to restore nandroid
Edit : here is RUU.zip - https://www.androidfilehost.com/?fid=24399965296001026
You need to relock bootloader to install RUU
ckpv5 said:
If you can't find 6.12.111.4, restore fully stock backup
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
You don't need to relock bootloader to restore nandroid
Edit : here is RUU.zip - https://www.androidfilehost.com/?fid=24399965296001026
You need to relock bootloader to install RUU
Click to expand...
Click to collapse
OK..will try the RUU zip after relocking bootloader.
Hope it works.
Will update about the same after.
Downloading...
So I relocked my bootloader.. downloaded the RUU zip.. renamed it to 0P6BIMG and put in my SD card.
Booted into bootloader and voila.. it flashed right away and now am back to pure stock.
Thank you..ckpv5 for all the help.
You saved my day.
[email protected] said:
I'm using an unlocked HTC M8 which I rooted, unlocked bootloader and installed the latest Lineage OS (Android 7.1.2).
I got a good offer for the device and would like to sell it. So I want to revert it back to stock.
Click to expand...
Click to collapse
Just good practice: Always make a TWRP backup before flashing a custom ROM, root, etc.
I personally never start messing with these phones, without beforehand having some strategy to get back to stock.
[email protected] said:
The device information are :
version-main: 6.12.111.4
I could only find a Lollipop firmware for my CID which I copied into my SD card as OP6BIMG.zip
But the bootloader gives error as "Large Image Update Failed..Press power to reboot"
This goes on until I remove my SD card.
The RUU I used is "0P6BIMG_M8_UL_L50_SENSE60_MR_TMO_DE_4.19.111.3_Radio_1.25.214500021.06G_20.68.4196t.01_F_release_449335_combined_signed.zip"
Is this because I'm trying to downgrade Android version?
Click to expand...
Click to collapse
Correct. You cannot "downgrade" by RUU with s-on.
[email protected] said:
Also should I try after re-locking the bootloader (which is something I'm a bit worried to do because I think I will end up in an even worse condition if it doesn't work...because in my experience with an M9 it never unlocks again after relocking in a custom rom.)
Click to expand...
Click to collapse
Typically, no problem unlocking the bootloader on the M8 again, after relocking it.
Locked or Relocked bootloader is required to RUU with s-on.
redpoint73 said:
Just good practice: Always make a TWRP backup before flashing a custom ROM, root, etc.
I personally never start messing with these phones, without beforehand having some strategy to get back to stock.
Correct. You cannot "downgrade" by RUU with s-on.
Typically, no problem unlocking the bootloader on the M8 again, after relocking it.
Locked or Relocked bootloader is required to RUU with s-on.
Click to expand...
Click to collapse
Thanks for all the information.
Will definitely keep these in mind the next time I try to mess with software;
Hello a quick question, instead of reverting to stock by RUU, can I flash a Sense-based rom via TWRP? I am presently on Lineage 15.1 with latest TWRP and S on. Thank you.
Babakkardan said:
Hello a quick question, instead of reverting to stock by RUU, can I flash a Sense-based rom via TWRP? I am presently on Lineage 15.1 with latest TWRP and S on. Thank you.
Click to expand...
Click to collapse
If you are looking to go back to stock..you can use Stock RUU zip of your model to flash via recovery.
[email protected] said:
If you are looking to go back to stock..you can use Stock RUU zip of your model to flash via recovery.
Click to expand...
Click to collapse
You can't flash RUU.zip with recovery. It will fail if you try to do so. You need to flash RUU.zip with htc_fastboot in RUUmode. Otherwise use the SD card method (auto install in bootloader). Another alternative is to flash the RUU executable (.exe).
redpoint73 said:
You can't flash RUU.zip with recovery. It will fail if you try to do so. You need to flash RUU.zip with htc_fastboot in RUUmode. Otherwise use the SD card method (auto install in bootloader).
Click to expand...
Click to collapse
Oops my bad...I actually meant the sd card method renaming the rom to OP6BIMG.
:angel:
(Thanks for correcting)