How do go about unlocking and installing a custom rom on my htc one M8?
Was thinking of using the S.Team M8 Rom
I have done rooting unlocking before but not sure what to do with M8 what steps to do?
s-off s-on switch it off leave it on its more like f-off
apprently when s-on i'm supposed to fastboot oem lock at some stage
I have download TWRP-4.16.401.13.zip
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__Y13
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Thanks
TwoGoats said:
How do go about unlocking and installing a custom rom on my htc one M8?
I have done rooting unlocking before but not sure what to do with M8 what steps to do?
Click to expand...
Click to collapse
Pretty easy, if you've already unlocked a bootloader on an HTC device before.
1) Backup any personal data you want to keep (to SD card, or off phone such as PC or cloud)
2) Unlock bootloader via HTCDev.com process
3) Flash TWRP 3.0.2 by fastboot per instructions found here: https://twrp.me/devices/htconem8gsm.html
4) Put ROM on SD card or phone's internal storage
5) Boot into TWRP
6) Do default wipe in TWRP (data, Dalvik, cache)
7) In TWRP, go to install, select the desired ROM
8) Reboot and drink beer
TwoGoats said:
s-off s-on switch it off leave it on its more like f-off
Click to expand...
Click to collapse
S-off is only needed for some specific things, such as changing CID/MID, manually flashing firmware or radio, flashing modified hboots, and some other things.
You don't need s-off to unlock the bootloader, flash ROMs, root, etc. Its not worth the $25 to s-off by sunshine for most folks, if the goal is simple to flash ROMs, root, etc.
TwoGoats said:
apprently when s-on i'm supposed to fastboot oem lock at some stage
I have download TWRP-4.16.401.13.zip
Click to expand...
Click to collapse
That looks like a stock nandroid (stock ROM) in TWRP-restorable format. Its not applicable to what you want to do. Its also older than your current firmware version 6.12.401.4
Also, you don't need to fastboot oem lock, for what you want to do. You only need to reboot the bootloader if you are flashing an official RUU or signed firmware.zip. Relocking the bootloader at any point in the process will cause you major problems, as you can't flash custom recovery or custom ROMs with a locked bootloader.
Related
OK, I've been scouring the web for the entire day. (devoted my Sunday to resolving this issue and have failed.)
I have received a Verizon HTC One M7. My wife wants to use it as her daily.
It's completely stock. Locked bootloader, S-on, stock ROM, Stock recovery.
Here's the issue:
Loading the ROM it bootloops the white HTC logo. Booting recovery it does the same. Trying to Factory Reset gets the same results.
I can access the bootloader and engage fastboot and my PC detects the phone fine but I am not able to Unlock the bootloader. i believe this to be because of the Hboot version.
can't boot to ROM and can't unlock bootloader means I can't achieve S-off, therefore I can't flash a custom recovery to enable me to flash a custom ROM.
I'm not looking to necessarily have the phone unlocked, S-off and rooted. (That would be nice but not a priority)
I would be happy with it being all locked and stock IF IT WAS SIMPLY USABLE. My wife currently has a Samsung SGS4 she started using after she broke her HTC DNA. She doesn't like it and wants to go back to HTC desperately.
I would be happy to simply restore the stock recovery and ROM so that she can use it and I can have my Sundays back.
HELP!!!!
Here is the fastboot getvar all. Any suggestions are greatly appreciated.
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 1.13.41.0421
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.10.605.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA43JS905180
(bootloader) imei: **************************
(bootloader) meid: ***************************
(bootloader) product: m7_wlv
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0731000
(bootloader) cidnum: VZW__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4281mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
NFSP_SMD said:
OK, I've been scouring the web for the entire day. (devoted my Sunday to resolving this issue and have failed.)
I have received a Verizon HTC One M7. My wife wants to use it as her daily.
It's completely stock. Locked bootloader, S-on, stock ROM, Stock recovery.
Here's the issue:
Loading the ROM it bootloops the white HTC logo. Booting recovery it does the same. Trying to Factory Reset gets the same results.
I can access the bootloader and engage fastboot and my PC detects the phone fine but I am not able to Unlock the bootloader. i believe this to be because of the Hboot version.
can't boot to ROM and can't unlock bootloader means I can't achieve S-off, therefore I can't flash a custom recovery to enable me to flash a custom ROM.
I'm not looking to necessarily have the phone unlocked, S-off and rooted. (That would be nice but not a priority)
I would be happy with it being all locked and stock IF IT WAS SIMPLY USABLE. My wife currently has a Samsung SGS4 she started using after she broke her HTC DNA. She doesn't like it and wants to go back to HTC desperately.
I would be happy to simply restore the stock recovery and ROM so that she can use it and I can have my Sundays back.
HELP!!!!
Here is the fastboot getvar all. Any suggestions are greatly appreciated.
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 1.13.41.0421
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.10.605.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA43JS905180
(bootloader) imei: 990004297058814
(bootloader) meid: 99000429705881
(bootloader) product: m7_wlv
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0731000
(bootloader) cidnum: VZW__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4281mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Click to expand...
Click to collapse
You could try finding the ota zip for 4.10.605.3. NOT the newest one. Do NOT use the new one. When you get the ota zip you can pull the firmware.zip out of that. Put it in your working fastboot directory
Then do
Fastboot oem rebootRUU
Fastboot flash zip firmware.zip
Repeat the previous command if it tells you to flush immediately
Fastboot reboot
dottat said:
You could try finding the ota zip for 4.10.605.3. NOT the newest one. Do NOT use the new one. When you get the ota zip you can pull the firmware.zip out of that. Put it in your working fastboot directory
Then do
Fastboot oem rebootRUU
Fastboot flash zip firmware.zip
Repeat the previous command if it tells you to flush immediately
Fastboot reboot
Click to expand...
Click to collapse
OK upon finding an OTA zip that I thought would work, I pulled the firmware.zip and flashed. It appeared to go fine.
I did have to repeat the flash zip command but it completed with no errors.
However, phone still bootloops. Still cannot access recovery.
I currently have TWRP and CM12.1 installed, but the gps isn't working. I've heard flashing a stock rom then getting a gps lock and flashing back to CM resolves this. My question is, does flashing the stock ruu remove TWRP, or the hboot recovery option? My understanding is flashing the ruu should just flash the stock rom and I can easily flash back to CM12.1 from TWRP, is this correct?
rcb0325 said:
I currently have TWRP and CM12.1 installed, but the gps isn't working. I've heard flashing a stock rom then getting a gps lock and flashing back to CM resolves this. My question is, does flashing the stock ruu remove TWRP, or the hboot recovery option? My understanding is flashing the ruu should just flash the stock rom and I can easily flash back to CM12.1 from TWRP, is this correct?
Click to expand...
Click to collapse
flashing a stock RUU will make your phone full stock, so TWRP will be replaced with the stock recovery, its not a problem, after flashing the RUU, just unlock your bootloader again and reflash TWRP recovery, simple as that.
Seanie280672 said:
flashing a stock RUU will make your phone full stock, so TWRP will be replaced with the stock recovery, its not a problem, after flashing the RUU, just unlock your bootloader again and reflash TWRP recovery, simple as that.
Click to expand...
Click to collapse
Is there such a thing as just the stock ROM so I don't have to unlock the bootloader again? I've only seen stock RUUs.
rcb0325 said:
Is there such a thing as just the stock ROM so I don't have to unlock the bootloader again? I've only seen stock RUUs.
Click to expand...
Click to collapse
depends, are you s-on or s-off ?
there are stock roms but I doubt that will fix your issue, you will probably need to use a full RUU package, if your s-on, you will need to relock the bootloader to flash it, and therefore have to uinlock again after your finished, if your s-off then you can flash it whilst unlocked, no need to re-unlock again.
Seanie280672 said:
depends, are you s-on or s-off ?
there are stock roms but I doubt that will fix your issue, you will probably need to use a full RUU package, if your s-on, you will need to relock the bootloader to flash it, and therefore have to uinlock again after your finished, if your s-off then you can flash it whilst unlocked, no need to re-unlock again.
Click to expand...
Click to collapse
I have S-off. How do you flash with the bootloader unlocked?
rcb0325 said:
I have S-off. How do you flash with the bootloader unlocked?
Click to expand...
Click to collapse
post your fastboot getvar all without imei and serial number and we can start by seeing what you have and which RUU to flash
Seanie280672 said:
post your fastboot getvar all without imei and serial number and we can start by seeing what you have and which RUU to flash
Click to expand...
Click to collapse
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.09.20.0926
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.28.605.4
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: XXXXXXXXX
(bootloader) imei: XXXXXXXX
(bootloader) imei2: XXXXXXXXXXX
(bootloader) meid: 99000499856088
(bootloader) product: m8_wlv
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B20000
(bootloader) cidnum: VZW__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: df77f8b7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.166s
rcb0325 said:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.09.20.0926
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.28.605.4
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: XXXXXXXXX
(bootloader) imei: XXXXXXXX
(bootloader) imei2: XXXXXXXXXXX
(bootloader) meid: 99000499856088
(bootloader) product: m8_wlv
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B20000
(bootloader) cidnum: VZW__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: df77f8b7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.166s
Click to expand...
Click to collapse
here's your RUU, just run it as normal, after its finishede flashing, you will be full stock, no need to lock the bootloader as your s-off, once finished and booted, you can then reflash TWRP recovery and try your rom again
http://forum.xda-developers.com/verizon-htc-one-m8/general/official-ruu1-55-605-2-t2883845
---------- Post added at 03:51 AM ---------- Previous post was at 03:30 AM ----------
make sure the rom your trying to flash also supports Verizon devices and never ever turn this one s-on.
I updated my HTC M8 via OTA to Marshmallow (Android 6.0). Sense 7 is a letdown so I'd like to install CyanogenMod on it WITHOUT voiding my warranty by unlocking the bootloader via htcdev.com.
Therefore I tried SunShine S-Off but it can't apply a temp-root on 6.0 anymore. Afaik a perma root also can't be applied without unlocking the bootloader first.
I tried to flash TWRP via ADB but it doesn't work because of the lock.
Are there any options to gain root access/flash the ROM without voiding the warranty of my 6.0 M8?
Is there a particular reason you need to attempt to temp-root off Marshmallow (6.0)? If you want to apply a temp root / CM, why not flash an older version RUU (Kit Kat or Lolipop) so that the method you used formerly works again?
You are correct in everything else-- bootloader must be unlocked in order to flash a custom recovery or apply a perma-root as far as I know. Though, with S-OFF, you can clear the "Relocked" and "Tampered" flags without too much trouble, which would circumvent the voided warranty problem to begin with.
@Anonaru:
That's a very good idea.
However I couldn't find RUUs that don't require S-OFF. Can you point me into the right direction on how to downgrade my M8?
As far as I know, any stock RUU that matches your phone's M/CID can be flashed so long as you have either s-off -OR- a locked bootloader. The "fastboot getvar all" command ought to get what you need in this regard. I can point you in the right direction if you let me know which M8 you have
Here is the output of `fastboot getvar all`:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT49KWM03642
(bootloader) imei: 357871054068419
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__102
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Flashing an older version RUU won't work in this case. You can't downgrade unless you are S-OFF.
Why won't it work @robocuff? Anonaru said it required EITHER S-OFF or a locked bootloader.
Regardless of the locked bootloader, you have to be S-Off in order to flash an older version RUU. Without it, you can only flash your current version or a newer one.
@robocuff is this true? My fallback has been flashing a Kit Kat RUU for a long time now, up to and including after I took the Mallow OTA from Sprint and / or after a custom ROM. Am I just lucky, then?
What @robocuff stated is true. You can only run an "older" version ("downgrade) RUU if you have s-off.
Hey guys
like described in the thread title, i need a little help here, i got a HTC one M8, thats stock in fastboot.
it will not bootup to anything else than fastboot and RUU. no custom recovery is working or any rom.
i have read multiple threads by now and look 3 days and i can't find the right RUU for the device at all.
If someone could point me in the right direction here i would be grateful
here the getvar:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: [email protected]
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.21.161.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8ql_ul
(bootloader) platform: hTCBmsm8939
(bootloader) modelid: 0PKV10000
(bootloader) cidnum: VODAP102
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 7900fbfd
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) mfg-name: 0001
and ofc. a screenshot of the bootloader
for the steps to do here:
since device is S-ON, i need to relock the bootloader with fastboot oem lock
using the HTC_fastboot.exe with command prompt to get the device into RUU mode and after that flashing the correct RUU for it, after renaming the .zip itself to RUU.zip, right?
or is there any other way to get the device back to stock or at least a custom recovery / root whatever to set the device S-OFF?
i know the topic was here multiple times, but since device isn't mine and i really don't know what exactly was done before with it, i need a helping hand here.
any fitting android version, 5.0.1 or 6.0 would be fine, since the device will get root and later on S-OFF and a custom recovery and another nougat based android version.
as long as i can boot up with root, i would appreciate every help here.
Cheers
Mike
1. This device is not M8 but M8s.
2. There is no way to S-Off this device currently. Not supported by Sunshine.
3. There is no Nougat rom for M8s, only Marshmallow as current latest.
4. You shouldn't relock bootloader before you have a correct RUU in hand.
5. I know a lower RUU version is available for free but won't work on your device due to S-On
6. No same version but higher version 2.11.161.1 is available but will cost money
7. If you can unlock bootloader then you can restore 1.11.161.10 twrp backup and then OTA to current version 1.21.161.1 and OTA up to the latest.
https://www.androidfilehost.com/?fid=24591000424942287
8. Here is section for M8s - https://forum.xda-developers.com/htc-one-m8/one-m8s-general
So my htc is 2 years old and it's starting to have some problems. Right now when I tried to restart it it just got stuck on the android logo. I've read a lot on the internet but since I am entirely new to this I decided to come here so i can get a valid answer on my current options. Do i have to use ruu to make it alive and if yes which version to download? Are there any there any other options? I got adb and fastboot on my windows. Right now the phone is connected to the pc with usb in bootloader mode. Here are some pieces of info about my phone
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Also , if i install the ruu, is there anything left to do after? or can i just reboot my phone and watch it open finally?
therzvsm said:
Right now when I tried to restart it it just got stuck on the android logo. I've read a lot on the internet but since I am entirely new to this I decided to come here so i can get a valid answer on my current options. Do i have to use ruu to make it alive and if yes which version to download? Are there any there any other options?
Also , if i install the ruu, is there anything left to do after? or can i just reboot my phone and watch it open finally?
Click to expand...
Click to collapse
You can try to do factory reset, wipe cache and Dalvik, all within bootloader/stock recovery. But if that doesn't help, we see a good amount of reports like yours, where it seems like the OS has been damaged or corrupt. In which case, simply doing factory reset or wiping cache, is not going to fix it.
In that case, RUU is certainly an option, and probably the easiest. The correct RUU for your device, plus instructions how to flash, can be found here: https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
Once RUU is installed, nothing else to really do. Just boot up the phone (hopefully will boot to Android OS) and setup the phone again. Note that RUU will wipe all personal data on the phone.
Another option is to unlock the bootloader, flash TWRP, and install a stock TWRP backup (stock ROM) as outlined in the following thread: https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
But note that unlocking the bootloader also wipes all user data. So you aren't gaining anything with this method, and it is a significantly longer and more complicated process. So again, I think RUU is your best bet.