FORUMS
Remove All Ads from XDA

[HELP THREAD] HTC One M8S - Back to Stock - HOWTO

342 posts
Thanks Meter: 557
 
By voidzero, XDA Ad-Free Recognized Developer on 30th August 2015, 11:16 PM
Post Reply Email Thread
HOW TO get your HTC One M8S back to Factory / stock.

Attention 1: This is NOT for the regular HTC One M8.
Attention 2: This is for the HTC One M8S also known as the M8_QL_UL

(The One M8S does not have a separate subforum on XDA.)

Hi everyone! I saw that many people who have a HTC One M8S have problems with restoring the stock HTC RUU. It is a little bit difficult. So here I'll supply you again with steps that worked for me.
Most of this is a copy from a post I made earlier. But I saw that many of you still have some problems. So here is a dedicated thread.

I have used this method multiple times to restore my phone back to factory defaults. I hope it works for you too!

Warning. You will lose your settings. Everything will be reset to the defaults.


Read these important notes before you begin!
  1. When you need fastboot: only HTC's own fastboot program will work. You will use fastboot, for example, when you want to flash a custom recovery.
    Other fastboot applications will not work correctly in my experience! So be sure you use HTC's.
    If you need it: HTC will send you a link when you unlock your bootloader. But you can also find fastboot via the same page as where you can find the RUUs.... see below.
  2. Do you have an SDCard ready? You must have one to get this to work and it must be big enough. ADB sideload will NOT work!
  3. Is your phone relocked? It must be! If not, relock it, then come back.
  4. Most of the problems happen because people read too fast. This stuff just takes a long time.. so don't do it if you are in a hurry. And do read carefully.

Are you ready? Ok! Here we go.
  1. Download the RUU zip you want to use. I have used ...HTC_Europe_1.16... BUT later I found this did not allow the newest OTA update (as of august 30th, 2015). Maybe I will test 1.11 some day later.
    However, I think that 1.11 is the right version. Not sure where to download the RUU or fastboot? Click the button.

    For me, I downloaded the RUU zip via the generous hosting by @El-Conkistador. You can find it via his post here. On his page there is a directory called Firmware (Expert). In there is a directory called Firmware Crypted (Original HTC). In that directory are multiple directories containing RUUs. Choose one for your device, download it, then come back here.
  2. Open your sdcard. It must be fat32 or exFAT formatted.
  3. Copy the RUU zip file onto the root of the sdcard. Do NOT extract it. Just copy it.
  4. You must now rename it to: 0PKVIMG.zip. The first character is the number 0 (zero), not the letter O!
  5. If you know how to do this, take the md5sum from the RUU zip on your computer, and 0PKVIMG.zip on your SDcard. They must be the same! If not, there can be a problem with your SDCard.
  6. Safely unload and remove the SDCard from your computer.
  7. Power off your phone.
  8. Are you sure you want to continue? Then insert the SDCard into the phone..
  9. Take a deep breath..
  10. Boot the phone to the bootloader: hold Volume Down. Press the power button. Release both buttons when you are inside the bootloader.
  11. When you are in the bootloader, press power once to enter fastboot mode.

The restoration process should will now start. Confirm on the screen when it's asked. Then wait patiently, it takes a long time!
Nice detail: there is a small sidebar at the top right side of the screen that will show you progress. Sometimes it will go back to 0; it will fill up more than once.

In case of failure

In my case it failed the first time. Probably because a sector on my SDCard was faulty. I found out by verifying the md5sum of the file on the sdcard, it was not the same as the RUU zip on my computer, but it has to be.
To fix it, I copied the RUU zip to the sdcard for the second time, *then* deleted 0PKVIMG.img, and *then* renamed the RUU zip to 0PKVIMG.zip. Then I looked at the md5sum again. Now it was the same as on my computer... and then the restoration worked.

Still need help?

If you have questions, ask and wait patiently. I am not on this page 24/7, no one is. Just don't panic. Don't demand help. Maybe read this stuff again and see if you made a mistake somewhere.
It is logical that you are annoyed if this stuff doesn't go how you want, sure, it is not the easiest thing to do. I have tried to make it easier, but again, if it still fails, just ask your questions and wait patiently. Treat others like how you want to be treated yourself.

Good luck!
-voidzero.
The Following 15 Users Say Thank You to voidzero For This Useful Post: [ View ]
 
 
31st August 2015, 01:03 AM |#2  
voidzero's Avatar
OP Recognized Developer
Flag The Netherlands
Thanks Meter: 557
 
Donate to Me
More
(reserved)
The Following 3 Users Say Thank You to voidzero For This Useful Post: [ View ]
18th September 2015, 08:35 PM |#3  
Senior Member
Thanks Meter: 16
 
More
Quote:
Originally Posted by voidzero

(reserved)

Exactly what RUU do you need and when i click hboot in the bootloader it fails finding the 0PKVIMG.zip. so idk what to do
19th September 2015, 01:45 AM |#4  
voidzero's Avatar
OP Recognized Developer
Flag The Netherlands
Thanks Meter: 557
 
Donate to Me
More
Quote:
Originally Posted by Alex-M8

Exactly what RUU do you need and when i click hboot in the bootloader it fails finding the 0PKVIMG.zip. so idk what to do

The exact filename of the RUU I used:
Code:
0PKVIMG_M8_QL_UL_L50_SENSE60_HTC_Europe_1.11.401.1_Radio_1.0.U20410.1@50311_15.00_016_F_release_430101_signed.zip
Do you see a few green lines that say "searching for 0pkvimg.zip" when you go to hboot? They disappear pretty quickly.
19th September 2015, 10:48 AM |#5  
Senior Member
Thanks Meter: 16
 
More
Quote:
Originally Posted by voidzero

The exact filename of the RUU I used:

Code:
0PKVIMG_M8_QL_UL_L50_SENSE60_HTC_Europe_1.11.401.1_Radio_1.0.U20410.1@50311_15.00_016_F_release_430101_signed.zip
Do you see a few green lines that say "searching for 0pkvimg.zip" when you go to hboot? They disappear pretty quickly.

Yeah i saw the green lines but nothing happend after they disappear
19th September 2015, 03:02 PM |#6  
voidzero's Avatar
OP Recognized Developer
Flag The Netherlands
Thanks Meter: 557
 
Donate to Me
More
Quote:
Originally Posted by Alex-M8

Yeah i saw the green lines but nothing happend after they disappear

Is it a fat32 or exfat sdcard? Is the md5sum for 0pkvimg.zip correct? It should be 70eece34781f0b1449f98f03e842f249
19th September 2015, 04:04 PM |#7  
Senior Member
Thanks Meter: 16
 
More
Quote:
Originally Posted by voidzero

Is it a fat32 or exfat sdcard? Is the md5sum for 0pkvimg.zip correct? It should be 70eece34781f0b1449f98f03e842f249

i checked and it is fat32 and i still don't get where the md5sum is located and where i should put it .-.
19th September 2015, 04:21 PM |#8  
voidzero's Avatar
OP Recognized Developer
Flag The Netherlands
Thanks Meter: 557
 
Donate to Me
More
the md5sum is a long string of characters called a checksum. It scans a file and calculates what number it should get. Other types of checksums are SHA-1, SHA-256, RIPE-MD160 and so on.

MD5 is fairly lightweight so that's why we usually choose md5 for files.

md5sum itself is a program that you can run from the command line. If you use linux, it should be on your computer already, so just do 'md5sum 0pkvimg.zip'. On windows, well, you need md5sum.exe and run that from a command line. But I have not used Windows in so many years that I don't know where to find md5sum.exe. I'm sure you can find it easily... I would google for this, but you can do that too so I'll leave that part up to you.

So: you don't put the md5sum anywhere.. you calculate an md5sum and compare it with the number I gave you previously. Hope this makes sense, keep asking if you need more help.
The Following User Says Thank You to voidzero For This Useful Post: [ View ]
1st October 2015, 05:02 AM |#9  
Junior Member
Thanks Meter: 1
 
More
Hi guys,

Im new to all this I just want to ask for little help here my m8s has unlocked bootloader and modified (unofficial) software (says in bootloader)

Im running 5.0.2 soft ver
Soft number 1.16.401.10
Custom recovery TWRP

Phone is rooted but i need to send it back to htc as its dropping calls randomly within 25secs. All i need is the right ruu so its stock again and says relocked (i know how to relock) official soft and that OTAs would work.

Also do i leave this custom recovery there or before the ruu will i put in the stock one, relock the BL and then the ruu?

Any help is much appreciated.

Sent from my HTC One M8s using XDA Free mobile app
1st October 2015, 09:54 AM |#10  
voidzero's Avatar
OP Recognized Developer
Flag The Netherlands
Thanks Meter: 557
 
Donate to Me
More
Just relock. The Ruu does the rest! I used 1.11, the exact filename is in my OP. If you have a vendor phone I'm not sure but I think you can still use the same RUU as I have; if not, you will be notified from hboot. Does that answer your question?
The Following User Says Thank You to voidzero For This Useful Post: [ View ]
1st October 2015, 10:10 AM |#11  
Junior Member
Thanks Meter: 1
 
More
Yes thank you.

Sent from my HTC One M8s using XDA Free mobile app
Post Reply Subscribe to Thread

Tags
m8s

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes