• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Htc one m8 stock rom and recovery

Can anyone guide me how to return to stock rom and recovery. I have an s-off cid - 11111111 mid - op6b700 device.
 

Attachments

  • IMG_20171029_194902.jpg
    IMG_20171029_194902.jpg
    452.9 KB · Views: 603
That is a Spring M8 (from the M8_WHL and OP6B700 numbers), so I think that following the "manual update" instructions here will give you stock software for that device. You will still be S-Off and have the "super cid", but those won't affect functionality (and if you want to really return to stock state and reset them too then it is much safer to put the rest in a well-defined stock state first).

This process will wipe the phone, so back up anything important first.

Note that being S-Off and having that CIDnum means that the phone would let you flash any HTC software. However, only software for the Spring M8 will work with that hardware, so it's important not to try to use those abilities to flash something incompatible (the "super cidnum" you have is more useful for the more common M8_UL model, where there are different regional/carrier ROMs that are all compatible with the hardware. It's frankly of little if any use with a Sprint model, as only Sprint firmware is safe to use with the hardware).
 
That is a Spring M8 (from the M8_WHL and OP6B700 numbers), so I think that following the 'manual update' instructions here will give you stock software for that device. You will still be S-Off and have the 'super cid', but those won't affect functionality (and if you want to really return to stock state and reset them too then it is much safer to put the rest in a well-defined stock state first).

This process will wipe the phone, so back up anything important first.

Note that being S-Off and having that CIDnum means that the phone would let you flash any HTC software. However, only software for the Spring M8 will work with that hardware, so it's important not to try to use those abilities to flash something incompatible (the 'super cidnum' you have is more useful for the more common M8_UL model, where there are different regional/carrier ROMs that are all compatible with the hardware. It's frankly of little if any use with a Sprint model, as only Sprint firmware is safe to use with the hardware).

Currently i live in India so if i flash the sprint version software will it support the indian 2g/3g/4g bands?
 
Flashing the firmware won't change what bands it supports. This also means that flashing Indian firmware wouldn't give you support for Indian bands, it would just break the phone (because Sprint use different radio hardware).

The Sprint M8 should work on most Indian networks, but to differing degrees. If you visit the site willmyphonework.net you can see how compatible it is with your network.

All that said, I can't guarantee no adverse effect of returning it to stock in your situation (i.e. using it for a different network), because I've no experience of using Indian SIMs in stock Sprint phones (I'm not American, so have never owned a Sprint handset). Why do you want to do this? If the phone is working ok at the moment there may be other ways of solving it.
 
Flashing the firmware won't change what bands it supports. This also means that flashing Indian firmware wouldn't give you support for Indian bands, it would just break the phone (because Sprint use different radio hardware).

The Sprint M8 should work on most Indian networks, but to differing degrees. If you visit the site willmyphonework.net you can see how compatible it is with your network.

All that said, I can't guarantee no adverse effect of returning it to stock in your situation (i.e. using it for a different network), because I've no experience of using Indian SIMs in stock Sprint phones (I'm not American, so have never owned a Sprint handset). Why do you want to do this? If the phone is working ok at the moment there may be other ways of solving it.

Actually i am bit annoyed with the custom rom and wanted to return to full stock. With the resurrection remix i cant use the full functionality of the phone like the dual camera settings. Also i have no experience with flashing htc phones, they are bit complicated other than the stock Android phones.

If i flash the stock rom through sideload or ruu will it replace the twrp with stock recovery or will i have to flash the stock recovery too? I want to move to 100% stock with s-on, locked bootloader. I am not able to find a proper thread for the process.
 
Following the instructions linked from my first post will return the phone to full stock software, including the recovery (i.e. replacing TWRP). You may have to relock the bootloader to do this (normally running an RUU requires the bootloader to be locked, but as you are S-Off I'm not sure that restriction will apply to you).

That package is called a "ROM Upgrade Utility" (RUU), but it actually contains a full set of firmware: ROM, recovery, baseband and other bits. And you can't flash it through TWRP: it's a Windows .exe (though there is a way of extracting a package from it which can be flashed using fastboot, but you need Windows to run the RUU part way to do that).

As for the rest, you can relock the bootloader using a computer with "fastboot" installed on it. Just connect the phone to the computer, boot into the bootloader, select fastboot mode if it doesn't do that automatically, then on the computer use the command "fastboot oem lock". I normally test fastboot is communicating with the phone by typing "fastboot devices" first (should return the phone's serial number), but that's just me.

Returning to S-On is possible, but I have to ask "why?". Being S-Off doesn't affect the function of the phone in any way, it just gives you more options, so anything you are unhappy with is not related to being S-Off. You can return to S-On using the fastboot command "fastboot oem writesecureflag 3", but it's more work to go S-On again afterwards if you change your mind. More importantly, the phone must be 100% stock before you do this, so do not do this unless you have already run the RUU (I don't think you need to reset the cidnum, but you might consider that just to be safe). The reason is that this is turning the software security flag back on: if the phone firmware is not stock then when you turn security back on it will detect this on boot-up and refuse to boot! Now you can flash recovery and ROM when S-On, so they must be OK, but if the phone has been made S-Off that might have been to make other changes and you don't want a brick on your hands. So to be safe I wouldn't touch consider S-On without running the RUU first.

To be honest I've always found HTC rather simple to modify. The security flag (S-On vs S-Off) is the one complication, but you don't need to worry about that if you just want to flash ROMs. As long as you don't buy phones where a carrier has locked-down the bootloader (as Sprint do) it's really easy to unlock an HTC, flash a recovery and a ROM (whereas recent Samsung models are much more effort). That one being a Sprint phone may be where a lot of complication comes from (harder to unlock, not all ROMs will support it).
 
Following the instructions linked from my first post will return the phone to full stock software, including the recovery (i.e. replacing TWRP). You may have to relock the bootloader to do this (normally running an RUU requires the bootloader to be locked, but as you are S-Off I'm not sure that restriction will apply to you).

That package is called a 'ROM Upgrade Utility' (RUU), but it actually contains a full set of firmware: ROM, recovery, baseband and other bits. And you can't flash it through TWRP: it's a Windows .exe (though there is a way of extracting a package from it which can be flashed using fastboot, but you need Windows to run the RUU part way to do that).

As for the rest, you can relock the bootloader using a computer with 'fastboot' installed on it. Just connect the phone to the computer, boot into the bootloader, select fastboot mode if it doesn't do that automatically, then on the computer use the command 'fastboot oem lock'. I normally test fastboot is communicating with the phone by typing 'fastboot devices' first (should return the phone's serial number), but that's just me.

Returning to S-On is possible, but I have to ask 'why?'. Being S-Off doesn't affect the function of the phone in any way, it just gives you more options, so anything you are unhappy with is not related to being S-Off. You can return to S-On using the fastboot command 'fastboot oem writesecureflag 3', but it's more work to go S-On again afterwards if you change your mind. More importantly, the phone must be 100% stock before you do this, so do not do this unless you have already run the RUU (I don't think you need to reset the cidnum, but you might consider that just to be safe). The reason is that this is turning the software security flag back on: if the phone firmware is not stock then when you turn security back on it will detect this on boot-up and refuse to boot! Now you can flash recovery and ROM when S-On, so they must be OK, but if the phone has been made S-Off that might have been to make other changes and you don't want a brick on your hands. So to be safe I wouldn't touch consider S-On without running the RUU first.

To be honest I've always found HTC rather simple to modify. The security flag (S-On vs S-Off) is the one complication, but you don't need to worry about that if you just want to flash ROMs. As long as you don't buy phones where a carrier has locked-down the bootloader (as Sprint do) it's really easy to unlock an HTC, flash a recovery and a ROM (whereas recent Samsung models are much more effort). That one being a Sprint phone may be where a lot of complication comes from (harder to unlock, not all ROMs will support it).



I tried to run the ruu.exe with s-off and relocked bootloader but its giving me an error 102 saying battery is 30% less than required although my battery is 90% charged.

Then i again tried to flash the ruu.zip file through command prompt then it giving an error target reported max download size of 1826418688 but i have 17 gb of empty space.

Then i tried to flash the ruu.zip with twrp but it failed.

Do i need to unlock the bootloader again ? What should i do?
 

Attachments

  • IMG_20171031_190810.jpg
    IMG_20171031_190810.jpg
    275.2 KB · Views: 226
You can't flash an ruu zip using twrp.

How exactly did you try to flash it from the command prompt? Precisely what commands? You can't just use "fastboot flash <partition> zip file", there's a multi-step process, starting with putting the phone into "ruu mode". It's a bit awkward to search up from a phone, but I'll try to dig the procedure out later when I have a computer.
 
You can't flash an ruu zip using twrp.

How exactly did you try to flash it from the command prompt? Precisely what commands? You can't just use 'fastboot flash zip file', there's a multi-step process, starting with putting the phone into 'ruu mode'. It's a bit awkward to search up from a phone, but I'll try to dig the procedure out later when I have a computer.

These are the steps which i followed

No worries u can give me the procedure later :)
 

Attachments

  • Screenshot_20171101-203144.jpg
    Screenshot_20171101-203144.jpg
    383.8 KB · Views: 285
Hmm, from memory that looks plausible. You have to do the last command twice (the first basically just updates the bootloader) and then the progress bar stops at 90%, leaving you to check for errors and tell it to reboot if not. If that's what the rest of the recipe says then it's probably the right one.

Did it say anything after the "target reported download size" message? I have a feeling that that may be normal and what came next would be the answer.
 
Hello guys help me out

I have an s-off cid - 11111111 mid - op6b700 device , in India.

Unfortunately build.prop got deleted ( by my friend) , after restarting it stucked in bootloop.

Main problem is usb port is not working, (battery charging is working fine)
But can't connect to pc.

Some how i installed twrp( by 0P6BIMG.zip) & lineage os.

But i need stock htc rom.

I need exact rom
Through twrp backup or 0P6BIMG.zip
 
Last edited:
Back
Top Bottom