Root Need stock O2 UK rom HTC ONE M8


Hi all

I need to restore my phone to stock so i can update to new ViperOneM8.

Here's my bootloader info:

eMMC-boot 2048MB
Aug 4 2014,22:59:39.2456

I have s-off i just need a stock rom/ruu so i can get the OTA update so i don't get the long boot times on new rom.

fastboot getvar version-main: 2.22.401.5
fastboot oem readcid: INFOcid: O2___001
fastboot getvar all:
INFOversion: 0.5
INFOversion-baseband: 1.19.21331147A1.09G
INFOversion-cpld: None
INFOversion-microp: None
INFOversion-main: 2.22.401.5
INFOversion-misc: PVT SHIP S-OFF
INFOimei2: Not Support
INFOmeid: 00000000000000
INFOproduct: m8_ul
INFOplatform: hTCBmsm8974
INFOmodelid: 0P6B10000
INFOcidnum: O2___001
INFObattery-status: good
INFObattery-voltage: 0mV
INFOpartition-layout: Generic
INFOsecurity: off
INFObuild-mode: SHIP
INFOcommitno-bootloader: 5e4b24e4
INFOhbootpreupdate: 11
INFOgencheckpt: 0

I've tried looking on
but i haven't got a clue what i need.

Can anyone help or point me in right direction



The PearlyMon
Sorry - not trying to bicker with you - but you're s-off.

You can go directly to ViperOneM8 if your firmware is current and that's not part of the stock rom.

What am I missing?

A Viper (or any rom) install is going to overwrite anything you have in /system including anything added by an OTA.


Thread starter
OK here is where im confused cos it says:
To update your firmware, basically, you do have two basic strategies available:

#1 Go back to complete stock, grab HTC’s OTA, come back to viper.


Android Expert
As EarlyMon says you're S-off so you can do the firmware flash yourself. I found the following guide easiest to follow

You can skip the early steps and start from SuperCID step, if you want. Means you don't have to edit the Android info text file to match you're CID before flashing.

Latest firmware is also included in 3rd post, you want the 3.28.401.6 or 3.28.401.7 download if you're going for a 4.4.4 ROM.

Do double check the md5, do read the thread all the way through first, do check back through the command line results to make sure flash was successful before rebooting bootloader or the phone.

Or go with the process EarlyMon put up in second link.


Thread starter
Thanks for the info guys. I managed to find a backup on my sd card from when i had the phone i thought i lost it. Anyway after relocking bootloader i managed to install the backup. I had to unlock bootloader to put stock recovery on and relock it again so i could get all the OTA updates from stock rom. All updated unlocked bootloader again and put latest version of TWRP on and went ahead and installed ViperOneM8 3.0.0 and just used the OTA to update to 3.1.0. I just hope i never have to go through all that again with firmware and just flash new rom.