Im guessing that once your back at stock you'll get OTA updates?
Of course yes! Though I don't think you'll be denied OTAs if you at least have a stock ROM and stock recovery with S-OFF Don't quote me on it though lol
Im guessing that once your back at stock you'll get OTA updates?
Of course yes! Though I don't think you'll be denied OTAs if you at least have a stock ROM and stock recovery with S-OFF Don't quote me on it though lol
I thought I'd write this guide after doing it myself and with the lack of RUUs it may be of use to others...
This covers returning an unbranded, European One M8_UL to stock, running 1.54.401.5. It does NOT cover returning carrier-branded handsets back to stock, nor other country unbranded variants - only the EU model. It also doesn't cover adb/fastboot as you should really already know what you're doing with that if you're running a custom ROM.
Although I run 100% stock these days I wanted to be S-OFF so had to use the following to get back to 100% stock but keep S-OFF for future freedom
This guide will assume that you're using CID HTC__001 (which is my CID) because you need to reflash the FW but if you were already running on 1.54.401.5 BEFORE flashing a new ROM then it can be skipped so if you're S-ON you can still use this guide - just not the parts about resetting the unlocked/tamper flags. It also assumes you already have the latest TWRP recovery on your phone. I did this using 2.7.0.2 available here.
Other CIDs that will work are:
HTC__102
HTC__203
HTC__E11
HTC__405
HTC__Y13
HTC__304
HTC__A07
HTC__032
HTC__J15
HTC__016
HTC__M27
HTC__K18
HTC__A48
HTC__002
So lets begin...
1. Restore the phone back to stock
I used the odexed package provided by @mike1986., which is available to download here
Once downloaded, copy the file to your phone and flash as you would any other custom ROM in TWRP. Once complete, reboot the phone but when TWRP asks if you want to root it, select 'No'
2. Install SuperSU
To reset the 'unlocked' and 'tamper' flags, you need SU permissions so using the SuperSU package is ideal for this. Download it from here and flash it via recovery. Once installed, reboot the phone
3. Reset the 'tamper' flag (REQUIRES S-OFF)
To reset the tamper flag, follow this guide (thanks to @scotty1223)
4. Reset the 'unlocked' flag (REQUIRES S-OFF)
To reset the unlocked flag, follow this guide (again, thanks to @scotty1223)
5. Flash stock FW package
Now your phone is back to 100% stock, we need to get the stock recovery back on the phone. To do this, you have to flash the 1.54.401.5 FW package from here (again, thanks to @mike1986.). To flash this file, do the following:
a. Reboot phone into fastboot
b. Copy the FW file to your fastboot folder on your PC (if you don't have fastboot in your system path)
c. Rename the FW file firmware.zip (NOT firmware.zip.zip)
d. Type: fastboot oem rebootRUU and wait for device to reboot
e. Type: fastboot flash zip firmware.zip and wait for process to complete. Although you don't have to do this twice as you used to do with RUU ZIPs, it's STRONGLY recommended that you run this command a second time after the first has finished to make sure it 'takes' properly
f. Type: fastboot reboot
The phone will now reboot
6. Remove SuperSU
So, your phone should now be back to 100%, locked and have the stock recovery but you still have the SuperSU app in the app drawer. To remove this, open the app and go into the app settings and uninstall it. Once it's removed, reboot the phone to complete the process
7. All done!
Voila, you are now back to 100% stock but still S-OFF so you have the option in future to do anything you want!
Hey there.
I want to return my M8 to warranty repairs and therefore have to return to stock.
I have CID H3G_001, root, unlocked, and S-OFF.
I have found the stock H3G__001 nandroid backup and I understand that I have to flash that and so on.
What I do not understand is related to the S-OFF flag. Do I HAVE to make the phone S_ON to get warranty repair?
What happens if I make the phone S-ON? Am I not able to make it S-OFF again?
Thanks!
You can leave it S-OFF, they don't seem to care/check it anyway!
ok, but if they were to check and it would be S-OFF, would it mean that the warranty would be void?
Also, what happens if I S-ON before sending? Does it mean that I cannot S-OFF again?
Hey there.
I want to return my M8 to warranty repairs and therefore have to return to stock.
I have CID H3G_001, root, unlocked, and S-OFF.
I have found the stock H3G__001 nandroid backup and I understand that I have to flash that and so on.
What I do not understand is related to the S-OFF flag. Do I HAVE to make the phone S_ON to get warranty repair?
What happens if I make the phone S-ON? Am I not able to make it S-OFF again?
Thanks!
You can leave it S-OFF, they don't seem to care/check it anyway!
ok, but if they were to check and it would be S-OFF, would it mean that the warranty would be void?
Also, what happens if I S-ON before sending? Does it mean that I cannot S-OFF again?
1. Some phones go out S-OFF so they shouldn't care
2. If you got S-OFF once you should be able to get it again. As you don't have an unbranded phone this guide doesn't fully apply as the firmware isn't for your device. I'd use the backup available and then flash the stock recovery, lock the bootloader and remove tampered if you need to but otherwise leave it S-OFF
Can you please elaborate (or link some topics) why it doesn't always work? This is the first time I hear this.
Thanks. :good:
Well I read it somewhere that the fastboot oem writesecureflag 3 is hit or miss. It may or may not work. I haven't tried and I haven't gotten my m8 back yet to test it. It's just not guaranteed to work. That's all I know. I don't remember where I read it. Might have been m7 forums.
Sent from my One using Tapatalk
It's not that it's hit and miss, it's that if you're not 100% stock it can brick the phone. As for going back to S-ON, I didn't when I sent my Sensation and Desire to HTC for repair, both were fixed and sent back FOC under the warranty. Might be different elsewhere but a hardware fault isn't caused by S-OFF
No a hardware fault is not caused by s-off but it does void the warranty. I had to plead and beg them to replace my phone without charging me. S-off cannot cause dead pixels, but they didn't care. The person that inspected my phone took pictures of the bootloader with s-off. I think it depends on who inspects the phone. This happened just this week.
Sent from my OnePlus 7a
Must be different in the US to the UK, our Laws protect the buyer and a software change that cannot cause a hardware fault cannot be used to void warranty. HTC have never had an issue with repairing my past phones and even if they did, the retailer has a duty to replace a device not working correctly. If you can set back to S-ON confidently then by all means do so, but you then take the risk of bricking the phone (and HTC would then probably replace it as it no longer turns on!)
Amazing guide !
after complete all process still have SU ( uninstalled in app) after reboot
Me too I tried it, I give SuperSU desistalar and reboot back out, I think there's only one way to remove SuperSU and have a RUU, but not removed.
flashed stock backup file 1.54.1540.9 / changed my cid to BS_US001/ flashed firmware 1.54.1540.9 / flashed stock recovery 1.54.1540.9 and if i go into recovery it shows me phone logo with red triangle is that fine ? and I'm still S-OFF and Unlocked will i receive OTA ?