yashsingh1/xdaforums huggingface dataset:
[One (M8) General] erizk:
hello,

i am using "One_M8_All-In-One_Kit_v2.0" and i ran the getvar_All and i got the following:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.22.21331147A1.29G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.29.118.9

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: SH456WM03114

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: T-MOB009

(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: 26b322e5

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.008s

does the above information help you for supporting me?

my software update informed me about a new update, i have downloaded it "OTA_M8_UL_L50_SENSE60_MR_TMO_PL_4.19.118.2-3.29.118.9_R_release_41700614gu164aa4tc255j.zip" but i cannot install it on my rooted HTC.

what's the problem?
[One (M8) General] EddyOS:
Your problem isn't covered by this guide so please open a new thread in Q&A. This guide covers unbranded devices and you have a T-Mobile device
[One (M8) General] RayJ68:
problems

Hi all,

I am having problems getting back to stock.

Im on an unbranded uk M8 and Ive followed the OP using the same files.

When I get to the FW flash it comes up with FAILED: remote not allowed.

At the top of the fastboot screen it says ' Software status official' and Locked

Can anybody help.

Many thanks.

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.22.21331147A1.29G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.28.401.9

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B12000

(bootloader) cidnum: HTC__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!
[One (M8) General] EddyOS:
The guide is quite out-of-date (I need to re-do it I think!)

It's easier to do the following (this will wipe everything). First thing is to download the following and place in your fastboot folder:

4.16.401.10 RUU ZIP - https://drive.google.com/file/d/0B17smFr95pleU2NqcVB3NWxoNnM/view (rename it ruu.zip - not ruu.zip.zip)

htc_fastboot.exe - https://www.androidfilehost.com/?fid=95897840722646249

1. Reboot the phone to RUU mode - fastboot oem rebootRUU

2. Once in RUU mode, use the HTC package to flash the ZIP - htc_fastboot flash zip ruu.zip

3. Once it finishes, reboot to the bootloader - fastboot reboot-bootloader

4. Once in the bootloader, go into the stock recovery and do a factory reset

5. Once finsihed, reboot the phone! You're now on Lollipop and 100% stock
[One (M8) General] RayJ68:
Thanks Eddy, but can this be done on a mac?
[One (M8) General] EddyOS:
Not with the files I gave, that's Windows-only. The other option is to try and use a microSD card...rename the RUU.zip to 0P6BIMG.zip, put it on the root of the microSD card and boot into the HBOOT and it should detect the ZIP and give further instructions. Otherwise you'll need to use a Windows PC
[One (M8) General] RayJ68:
OK thanks, Ill give that a try :good:
[One (M8) General] erizk:
hello,

Please note that we are unable to download the RUU file, it tries to download and after ~2 it return to the initial page without any action

thank you
[One (M8) General] EddyOS:
Which RUU file? The 4.16.401.10 RUU ZIP downloads fine (just done it now)
[One (M8) General] EddyOS:
OP updated with new guide for flashing the RUU
[One (M8) General] RayJ68:
Hi eddy,

I managed to sort it (changed my mid to europe version) but when I go to set up , I get in red letters about it being a test device (with the help htc check box). I never had this originally.How do I get it removed? Do I need to relock my boot ?

Having managed to find the answer, I think the only way to remove it is to go back to S-ON

Can anyone confirm this?

Thanks
[One (M8) General] EddyOS:
Yep, it's cause you're S-OFF. It's fine to leave it, I've still got it. If you've followed my guide completely since I rewrote it you should be locked, not relocked
[One (M8) General] RayJ68:
Yes I've left mine 'unlocked'

Is there an easy way to get S-ON?

I am going to be selling my phone hence the reason for removing the Help HTC.

Many thanks
[One (M8) General] EddyOS:
I'd leave it S-OFF, if you're now on lollipop you won't be able get it again unless Sunshine is updated and the buyer may wish to have it
[One (M8) General] gsusx:
worked like an absolute dream
[One (M8) General] pks4510:
Sir, Can I reconvert my M8 back to sense from GPE 5.0.1(converted from sense) after changing the CID & MID by this method ? Thanks
[One (M8) General] EddyOS:
You need to first use the ZIP in the 'Back to Sense' thread in General but once you've done that this works fine
[One (M8) General] iJekyll:
This thread is awesome. Thank you so much.

I've looked the previous pages but didn't see anyone ask this: If I want to keep my phone unlocked and S-OFF, can I just simply begin this guide from step 2? (And if so, will I still get regular OTA updates?)

Thanks in advance, and sorry if someone asked this already, I gave up after 10 pages of searching :)
[One (M8) General] EddyOS:
If you just wanna flash the RUU then just go ahead, especially if you're already with the right CID. OTAs should be fine too
[One (M8) General] iJekyll:
I converted my device to fully GPE edition and I want to go back to stock firmware and software with OTA updates, and want to keep the S-OFF and the unlocked bootloader, so the first step is useless for me.

Thank you for the comment! I will change my CID back to the European one and flash the RUU. :D
[One (M8) General] EddyOS:
You should really flash the ZIP from the 'Back to Sense' thread first and then the RUU but I did read someone just flashed the RUU straight from GPe and it sorted out the partitions so it's up to you
[One (M8) General] iJekyll:
Thank you for the quick replies, I will do so.

One last question please (I do use the search function but didn't see any answers): What languages does this RUU have? Someone said there's no French. Is it only English?
[One (M8) General] EddyOS:
This is what I get...not sure how much of this is down to my SIM card or not, though
[One (M8) General] snwman:
Quick question i used the guide to get back to stock. Was changing phone and giving it to the girlfriend. Everything worked perfect on getting back to stock and still maintaining s off.

But her phone not not recieve the ota foe lollipop at all. Thats the whole reason I changed it back as i thought it would do this. Cid is Htc_001 and on stock euro firmware
[One (M8) General] EddyOS:
If you used the RUU in the OP you're already on Lollipop ;)
[One (M8) General] snwman:
No i done it about 3 months ago

---------- Post added at 10:45 PM ---------- Previous post was at 10:13 PM ----------

All i really want to know is why the phone wasn't receiving ota for lollipop. But I know i can update through updating from the sd card card through the bootloader. I can use the zip from the first page.
[One (M8) General] Kevin336:
hello,

i want my one m8 to root. i am currently on Lollipop and have the CID VODAP102. i am not shure if i can return to stock because i didnt find any firmware for this CID. in the worst case, can i SOFF my phone and use this guide to get unbranded stock one m8 ? am i right ?

greetings kevin
[One (M8) General] EddyOS:
Yep, so long as Sunshine works with your phone (I don't think it works with Lollipop yet)
[One (M8) General] Czarny *:
if I have ruu (4.19 t-mobile brand), i don't need backup of this stock, right?
[One (M8) General] EddyOS:
If you have your own RUU then use that as opposed to the one in this guide (with the right CID, of course)
[One (M8) General] cez10:
Hi Eddy,

I am wishing to return to stock and flash 5.0 viperrom however due to using TWRP 2.7.xx I am unable to find my firmware version, using fastboot getvar all I got this

will it be safe to follow your guide to flash to 5.0 and then root it to install viper? I got confused as i've read here http://venomroms.com/htc-one-m8/ in the attention section that i need to be on 4.4.4 while im on 4.4.2...

thanks

/////////E

went for it and I think its working :) got confused slightly as i havent installed stock recovery and when I did factory reset, the phone went to the recovery 3e and it looked similar to the custom recovery, guess they've updated it as well in 5.0
[One (M8) General] mrew42:
Just wanted to say a big thanks Eddy.

my M8 had been running GPe Lollipop for a couple of months now, when all of a sudden (for no obvious reason) I was getting wi-fi problems and in the past couple of days I couldn't even get Phone calls received as it 'Phone' kept crashing. I like to think i'm no novice but no end of factory resets, firmware updates, recovery flashes, or RUU updates would fix it. Always the same problem regardless of the rom.

Burning it back to the ground to start from scratch has sorted it, using your guide.

Brilliant. Thanks again mate

Cheers

Mike
[One (M8) General] youngchaos:
Guys i don't wanna do errors, that's why i'm posting.

I've a branded TIM ITALY HTC M8 CID TIM__401

I would like to change CID to install Unbrand software directly from HTC without waiting long time.

At the moment i've KK 4.4.4 , software number 3.28.401.9

What are the correct steps to change CID but be able to return 100% stock in case i need Warranty or Resell it?

I should backup Stock Recovery.img and Stock Rom, but how?

Can you tell me the steps?

I've found a old OTA is that good ? or what?

OTA_M8_UL_K44_SENSE60_MR_TIM_IT_2.22.901.5-1.54.901.10_release_387941apg8q73qjmdc9gc8.zip

Should be okey, so can i use it to return to stock after changing the CID?
[One (M8) General] EddyOS:
That's the stock recovery :)
[One (M8) General] EddyOS:
No worries, glad it worked out! :D
[One (M8) General] hellshinoda:
Can you tell what process you follow? I'm currently on GPE (not fully converse because I have Google MID but SuperCID). I'd expect that the right way to do is to following instruction in the "Going back..." topic to flash the 1.54.xxx.xxx firmware I then continue with this thread instructions. Do I need to change my CID/MID back to what specify in 1st post? Does the 1st step (relocking / reset tamper) prequesite for the following steps to work properly since I want to keep my bootloader unlock for later flashing custome roms.

Could you please advise me on this? It will be a great help

Cheers mate,
[One (M8) General] EddyOS:
If you changed your MID then you need to change that back first as per step 1, but I'm going to assume your phone wasn't an EU handset originally?
[One (M8) General] hellshinoda:
Is there any way to know such thing? I bought a resell device and forgot to note down the orginal CID/MID. Does it affect much?
[One (M8) General] EddyOS:
On the back of the phone, at the bottom, it should list the model. This is your MID. Post that up and we can hopefully go from there. Also, if you can, post the output from fastboot getvar all (but don't post the IMEI or serial number)
[One (M8) General] hellshinoda:
Thanks for your support, mates. My MID: 0P6B100

fastboot getvar all

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.21.213311491.A04G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.11.1700.5
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B17000
(bootloader) cidnum: 11111111
(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: c88f4560
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
[One (M8) General] EddyOS:
OK, your original MID was 0P6B10000, so you first need to change that back using this guide from [MENTION=3437245]scotty1223[/MENTION]

http://xdaforums.com/showthread.php?t=2708581

Then continue using Step 2 to set the CID, flash the ZIP from the 'Back to Sense' thread and then follow Step 3 in this guide and you should be OK :)

Bear in mind, though, that this will change it back to the European M8 so might not have Chinese language in it
[One (M8) General] hellshinoda:
Thanks alot mate. No worries on the Chinese language, I'm not Chinese :victory:. To confirm, I should change to the CID listed in the 1st post, right?
[One (M8) General] EddyOS:
I'd use HTC__001 to be on the safe side but any of the CIDs listed in the OP are fine
[One (M8) General] mike964:
Kitkat 4.4.4 RUU

Hello

In your OP the link of the RUU is for the 5.0.1. This is ok if you want to return to stock sense lollipop. But can you also provide me a link of 4.4.4 kitkat RUU, so I can downgrade my phone?

My CID is HTC_032, east europe variant, carrier unlocked.

Thanks
[One (M8) General] Isotopes:
Look at this Post and use mirror for 3.28.401.9 ;)
[One (M8) General] EddyOS:
There isn't one, but why would you want to go back to KitKat?
[One (M8) General] mike964:
The phone works like a charm, except for one thing. Battery life. I could fully use and enjoy my phone with kitkat, while with Lollipop I have to turn off location, turn on power saver etc. just to make it through the day.

I tried every solution possible. It didn't work.

This is the reason why I want to downgrade.

If you have other ideas that could help fix this problem, I'm open to them.

P.S. Any advice on the ElementalX kernel and app? Thanks
[One (M8) General] vkass:
Will the command to lock the bootloader work on any gsm m8?

I have one from bell Canada, a pixel died within two weeks so I can get a new one.

And will it remove the red text? I didnt see anything about it.

Edit: NVM it did
[One (M8) General] b0gd4n:
Hey guys,

I am trying to get my device re-stocked for a warranty repair.

So, I am S-ON, Lollipop (ViperRom) and I used this guide to re-stock.

However, when I got to the RUU zip (401 zip ~1.5gb) flash, I was getting the verification error 12. I googled a bit and found that I needed to flash the 401 firmware pack (~50mb), which I did and it seemed to work ( I repeated the flash command, just to make sure). Afterwards, I did a factory reset and rebooted.

Phone rebooted in ViperRom 4.3 still with baseband 1.25.21....and build number 4.16.401.10.

Now, I re-downloaded the 1.5gb ruu zip to try to flash again, but whatever I do, I cannot get the device to get detected in windows. I did say DETECTED, as I do not even get the device-plugged-in windows sound. This happens both when the device is booted, in the os, and in the bootloader. It says Fastboot, instead of Fastboot USB.

When I an booting to recovery, I am getting the stock recovery, not the TWRP and when booting to bootloader it says on the top Software status: Modified and Relocked.

How can I get the device to get detected again?

Again, I want to return the device for a warranty repair, so I need to remove that Modified text.

EDIT: when I am plugging the device in the computer, I am getting the slow charge notification, but nothing else.
[One (M8) General] EddyOS:
I answered you in Q&A
[One (M8) General] ..alee:
My CID isn't listed here (VODAP001) so can i use this guide to back to original stock ? Currently I am VenomROM (Android 5) with upgraded firmware. Here is my getvar details

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.25.214500021.06G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: 11111111
(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: 3aa067db
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.037s
[One (M8) General] EddyOS:
Yes, but you won't be on the Vodafone build so won't do for a warranty claim
[One (M8) General] Allan4kiting:
HTC__622 Hong Kong

Hi All

I am rooted, S-ON, CID HTC__622, Asia Hong Kong, TWRP and running [ROM] [5.0.1] [Multi-Carrier] M8-GPE-3.11.1700.5 - 03-02-2015

Tried reading a number of these pages but can't find the answer. I have downloaded M8_CID_HTC__622_3.32.708.4.7z to get it back to stock and 4.4.4.

Do I need to lock bootloader first then, then flash this zip file using TWRP or fastboot oem rebootRUU?

The reason why i am going back to stock is that I can upgrade to 5.0.1 as still on 4.4.4. modem etc. Will I be able to get the OTA update or do I need to flash stock recovery or will this zip do it for me above? Where do I find stock recovery for this version of M8, tried searching and can't find stock recovery for 3.32.708.4?

I presume I will still have the red text when booting after all this cause read that you have to be S-OFF to change that. Both S-OFF methods didn't work for Hong Kong phones?

Sorry got this zip file from http://xdaforums.com/showthread.php?t=2701376 and it was a TWRP backup, so that answers the question I asked, therefore if I flash this through TWRP, will it change recovery to stock?

Look forward to your response , thanks in advance
[One (M8) General] EddyOS:
Unfortunately, your post is nothing to do with the topic of this thread so it might be better for you to ask in the Backups thread or start a new thread in Q&A. This thread is for EU users to go back to stock with the RUU available in the OP
[One (M8) General] sampink69:
Htc one m8 HTC_001

Will this work on my htc one m8 htc_001
[One (M8) General] EddyOS:
Have you even read the first post?
[One (M8) General] sampink69:
e​

Yes but it doesn't mention_001
[One (M8) General] EddyOS:
It does, in the CID list and in step 2. But in short, yes it's works on that CID (that's the main one for unbranded EU M8s)
[One (M8) General] :
Um... No, you didn't. The HTC_001 is the first version to be listed in the working list at the very beginning.
[One (M8) General] RedLamp:
Does this work on mac?
[One (M8) General] :
No, RUUs are Windows only. And for Fastboot and ADB, try this
[One (M8) General] EddyOS:
It would be if the htc_fastboot file was available for Mac. As it happens, it's Windows-only. Sorry!
[One (M8) General] Acill:
Would this work on a GPE with S-Off to convert mine to an international sense version? I would think just doing a CIS change to 001 would allow it. Does anything else need to be done if so?
[One (M8) General] EddyOS:
You also need to change the MID but in theory it would work. 5.1 should be out with the GPe anyway soon so I'd stick with it for now
[One (M8) General] Acill:
Thats what I was worried about. Since they took down the GPE version I have a bad feeling we will no longer see support.
[One (M8) General] EddyOS:
I have no doubt 5.1 will come out, future version I don't know tho...
[One (M8) General] RedDevils88:
when trying to lock my bootloader using the command, i got an error where it says 1|shell@htc_m8:/ $ echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796

lock/mmcblk0p2 bs=1 seek=33796 <

/dev/block/mmcblk0p2: cannot open for write: Permission denied

anyone can help me with this?
[One (M8) General] EddyOS:
Are you S-OFF?
[One (M8) General] RedDevils88:
Yes I'm
[One (M8) General] Isotopes:
your not root .... type su before you use the command ... at prompt you must see #
[One (M8) General] RedDevils88:
after typing "su", i got a message /system/bin/sh : su: not found
[One (M8) General] Isotopes:
you must root your device first or use this commands at a custom recovery :p
[One (M8) General] RedDevils88:
only on a custom recovery? i have been running this command on the Bootloader. damn...
[One (M8) General] Isotopes:
you wrote that your device is s-off ... why are you unlock the bootloader ... thats not possible when you s-off

read this post for more info
[One (M8) General] EddyOS:
This is why the OP says you need to run the commands in TWRP...
[One (M8) General] rush1903:
hello

ı have serious problem with htc m8 right now

when I tried to flash RUU.zip I have received "FAILED <REMOTE:32 HEADER ERROR>

I HAVE custom recovery cwm plizz

can you help me pls

thank you

My device is S off

locked

tempered

CID-HTC__001

HBOOT:3.16.0.0000

RADİO:1.25.214500021.06G
[One (M8) General] EddyOS:
Are you using htc_fastboot as highlighted in the OP?
[One (M8) General] rush1903:
hello

first I have used fastboot flash zip ruu.zip then I got error code "FAILED <REMOTE:32 HEADER ERROR>

then ı am trying to code htc_fastboot ıt gave "C:\Fastboot>htc_fastboot flash 'htc_fastboot' is not recognized operable program or batch file."

do you have any ide for this :(
[One (M8) General] EddyOS:
You have to put the htc_fastboot file in the same place as the ZIP file. It's not that hard
[One (M8) General] rush1903:
hello

ı fixed now thank you so much but just last think Turkish language is missing now and it will be trouble when I sent to guaranty

how can ı add
[One (M8) General] Leon:
I still don't get it... After this guide, the phone will still shows S-OFF instead of S-ON right? So if even the bootloader says LOCKED If there is S-OFF the service will know that u touched the bootloader.
[One (M8) General] ChronoWerX:
Someone has an o2 ruu.zip?
[One (M8) General] EddyOS:
Nope. Some phones leave HTC S-OFF and they can't prove you did it ;)
[One (M8) General] edgarzin:
does the process apply for a HTC Desire 820 too, except the files i must download must match with my device?
[One (M8) General] EddyOS:
Not a clue, never used one. I'd say don't follow this unless you are OK with potentially bricking your phone
[One (M8) General] Ashray_Vk:
Hi, i have an Indian HTC one m8 , s-offed and using custom roms and custom kernels.

Can i be guided on how to go completely stock so that i can give back my phone to HTC for repairs ?

Any help would be greatly appreciated.

Thank you.
[One (M8) General] EddyOS:
This thread is for EU handsets. If your device isn't an EU one then probably best to ask in Q&A
[One (M8) General] timbohobbs:
Hi I'm hoping for advice. Have a one month old unbranded UK m8 from carphone warehouse, rooted, bootloader unlocked via HTC dev and recent s off with sunshine 3.

Noticed today a crack on the rear camera lens, or lens cover. HTC have offered to collect it and assess. Was told it would be reset before they would check to see if damage was within warranty.

Should I use this guide ? Was thinking about running this guide and leaving s off. They know I've unlocked though so is it all necessary for a hardware issue ?
[One (M8) General] EddyOS:
Yep, this guide and leave S-OFF and you'll be good. Even if it comes back S-ON so long as the IMEI is the same you can just use Sunshine to S-OFF it again as you'll have already paid
[One (M8) General] colthekid:
md5

Can we have the md5 for the ruu please, so I can check my download.

Thanks

Edit: Nevermind, I found it.... 4e03845aeab375746b4553e610047680
[One (M8) General] EddyOS:
It's not my link so I don't have the md5, but it won't flash if it's corrupt so you should be fine
[One (M8) General] colthekid:
Edited my post anyway as I found the md5. Worth putting in the OP?