yashsingh1/xdaforums huggingface dataset:
[One (M8) General] ring_GT:
Hi

Never mind.

I tried supercid and it flashed fine.

I think I really need Supercid. Thanks

**************************************

Hi EddyOS

I took your advice and set my CID to HTC__001

I followed the steps to the tee, except relocing the bootloader.

However when I try to run flash the firmware.zip I get an error:

C:\adb> fastboot flash zip firmware.zip

target reported max download size of 1830711296 bytes

sending 'zip' (50706 KB)...

OKAY [ 2.836s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

FAILED (remote: 41 model id check fail)

Do I have to change my ModelID as well? My getvar is:

C:\adb>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.0000

(bootloader) version-baseband: 1.15.2133156.UA14G

(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: 0P6B11000

(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: ab0efa49

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

finished. total time: 3.244s

---------- Post added at 10:27 PM ---------- Previous post was at 09:30 PM ----------

Did you poot the firmware.zip in the same folder as your fastboot?
[One (M8) General] ring_GT:
Its weird but i cannot uninstall superuser. I only have the option to reinstall it from playstore. I tried select reinstall, so it removed the superuser icon from the app drawer. I rebooted but with no superuser icon in the drawer i still have root access! I had to reinstall the app and select full unroot and reboot to remove root.
[One (M8) General] voz79:
Are you sure the firmware flashed properly? Sounds to me like you never succesfully flashed the firmware and are therefore still rooted?

---------- Post added at 11:14 AM ---------- Previous post was at 10:47 AM ----------

Hmm well forget I said that. I finished the procedure and am also still rooted. I checked my MID and I have a EU phone.

Question to the TS, would it maybe be better to unroot after resetting Tampered & Unlock flags and BEFORE flashing the firmware?
[One (M8) General] leon8.8:
stucked in Red Triangle Screen when try recovery

Hello Guys,

:cowboy:

I've done all the single steps of the guide (actually only the point nr.1 and 5 cause I was S-on).

Even the last 2 steps

d. Type: fastboot oem rebootRUU and wait for device to reboot

e. Type: fastboot flash zip firmware.zip and wait for process to complete.

No long story but short, now I have the Original stock firmware 1.54.401.5 (updated to 1.54.401.10)without SuperSU(unroot).

The problem is that I get stucked in Red Triangle Screen when try recovery from Hboot.

Seem's that the phone don't recognize the original stock recovery :confused: :(

I've got the english ver. CID HTC__001

TEMPERED

RELOCKED
[One (M8) General] ekkelon:
I have follow this tutorial ... but when it's time to write the firmware.zip a error appear:

writing 'zip'...

(bootloader) signature checking...

FAILED (remote: 12 signature verify fail)

Same help?

Thnx.
[One (M8) General] leon8.8:
try with adb

Did you already try with adb instead of fastboot to flash the firmware.zip?

PS remember that your fw need to be 50.707 kb,not all the fw.
[One (M8) General] ekkelon:
Sorry ... I don't understand what you mean "your fw need to be 50.707 kb,not all the fw"

I follow the tutorial ... but not via adb ... can you give me the command via adb?

My installed ROM is the 1.54.401.5 with root.

Can you explain please?

Thnx.
[One (M8) General] EddyOS:
That IS the stock recovery, press volume up + power to enter the menu (or might be volume down + power, can never remember!)
[One (M8) General] ekkelon:
.... Nothing can help me Please? :(

---------- Post added at 07:41 PM ---------- Previous post was at 06:59 PM ----------

My original CID IS HTC_304
[One (M8) General] ring_GT:
Are u s-off?

Can you post your getvar all?
[One (M8) General] ekkelon:
No ... actually I'm S-ON, I have also relocked the bootloader, installed the stock recovery and insert the original CID HTC_304.

Why the other user inform me that I don't must use the complete ROM file (1.4Gb) but only the file of 50707Kb?

Thnx.
[One (M8) General] ring_GT:
Step 5 is only to flash firmware.zip on fastboot. You do not flash the whole rom from here. Firmware.zip is only a part of the package and only contains recovery.img, radio.img etc.

The rom part is already done when you install the stock rom from step 1.

Read the op again. The firmware file is under firmware collection link in the arhd page.

---------- Post added at 06:13 AM ---------- Previous post was at 06:06 AM ----------
[One (M8) General] ekkelon:
Sorry ... but I have a big confusion now ...

Pratically via fastboot in RUU mode I must flash only a part of ROM, not all the ROM but only that? http://xda7.androidrevolution.org/db_mirror/Firmware/index.php?dir=HTC/HTC_One_M8/

And in any case if I already have the stock with root, can I flash only the last part of ROM (507070Kb?)
[One (M8) General] ring_GT:
Yes just flash that one. That is the file in step 5 in OP
[One (M8) General] Rjev07:
Yes..mate go ahead start from 3rd.

Supercid would do.
[One (M8) General] dinkk007:
Help

Hi,

Can anybody help me with this one? My MID is version-main: 4.16.401.9, I do not see this Ruu anywhere, does this mean that I have to update to Firmware 4.16.401.10 first before I can go flash this Ruu and go back to stock?
[One (M8) General] Rjev07:
Yes you can flash 4.16.401.10 RUU..to get the stock.
[One (M8) General] Einwod:
See this post: http://xdaforums.com/showpost.php?p=61527304&postcount=5393

4.16.401.10 RUU.
[One (M8) General] Anoubis282:
question about recovery

Hi i want to ask if i can run the commands to lock the bootloader and reset tampered in fast boot without twrp with stock recovery .And i want to ask also when we do the s-on when the bootloader is locked? or we s-on and then do the commands from recovery to lock and reset tampered. I want to be fully stock with s-on and lock boot loader..I just dont know what is the correct order to do it. I gues first s-on with writesecureflag 3 command ant the lick boot loader and reset tampered ant the ruu and back to stock.Please correct me if i am wrong

thanks in advance
[One (M8) General] EarlyMon:
Bad link.
[One (M8) General] Einwod:
http://xdaforums.com/showthread.php?p=61527304

It works.
[One (M8) General] karoltom:
Firmware file from 1st post is corrupted and I can't install it. Do you have any other download source?
[One (M8) General] Einwod:
There is no firmware in the first post, so it cannot be corrupted. Read the first post again.
[One (M8) General] kalel77:
Delete
[One (M8) General] karoltom:
"4.16.401.10 RUU ZIP -drive.google.com/file/d/0B17...B3NWxoNnM/view (renamed to ruu.zip - not ruu.zip.zip!)" - this file.

I've found a working file now, so nvm about this

But I still have one problem left: during first configuration of the phone I keep getting message that this is a test device. Do you know how to get rid of it? I think that I need to re-lock bootloader...
[One (M8) General] kalel77:
With unlocked bootloader it's normal.

Do you have my some problem in recovery mode?

Inviato dal mio HTC One_M8 utilizzando Tapatalk
[One (M8) General] karoltom:
I have to relock bootloader to make this "test device message" dissappear?

And is there any chance that i can remove TWRP recovery and flash it with stock recovery?
[One (M8) General] PromaneX:
THANK YOU! I've been trying for so long to go back to stock. I've had nothing but problems with custom roms and now with this guide I'm back at stock and the phone is performing like it should rather than like a slug in glue. Thanks :D
[One (M8) General] Anoubis282:
Question about correct order

Hi i want to ask if i can run the commands to lock the bootloader and reset tampered in fast boot without twrp with stock recovery .And i want to ask also when we do the s-on when the bootloader is locked? or we s-on and then do the commands from recovery to lock and reset tampered. I want to be fully stock with s-on and lock boot loader..I just dont know what is the correct order to do it. I gues first s-on with writesecureflag 3 command ant the lock boot loader and reset tampered ant the ruu and back to stock.Please correct me if i am wrong

thanks in advance
[One (M8) General] Einwod:
Why would you want to go back to S-ON? It's not necessary for warranty work and they would never know whether the phone shipped S-OFF or not. Some say returning to S-ON can be "dangerous" as well.
[One (M8) General] Anoubis282:
Because i want to get rid the test device message in sent repprt to htc. To sell the phone...its foul official software with unlock bootloader and soff.i read somewhere thta if i s-on the test device message in the sent report to htc will gone....
[One (M8) General] Einwod:
You probably just need the right hboot and firmware. Search for it. S-ON is not a good idea, and that's from the people that gave you S-OFF in the first place.
[One (M8) General] mk1080:
Hi. When I follow the instructions, I get a problem with installing the ruu. It complains about the modelid. (Fail 41, model id check fail).

I wanted to change my mid back to the original with the command

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x34\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

but the mid now is 0P6B6400000 instead of 0P6B64000. Strangely, these two zeros are added with all the echo commands for other mids I tried.

Any suggestions how to get rid of the two zeros at the end or how to get around this would be much appreciated.

I already tried to add this mid to the android-info.txt, but that didn't work. In winrar the file is classified as corrupted.
[One (M8) General] Einwod:
Try changing to superCID. Only a suggestion.
[One (M8) General] mk1080:
Found the answer in another thread ( http://xdaforums.com/showpost.php?p=59519771&postcount=288 )
[One (M8) General] ptrsr7:
the RUU for my CID is a .exe and not .zip. How can i do?
[One (M8) General] Einwod:
Plug in phone via USB cable and run the RUU. It should work. If not, go into fastboot and try again.
[One (M8) General] ptrsr7:
With RUN you mean from windows?
[One (M8) General] Einwod:
Yes.
[One (M8) General] galexman:
Hello,

Can I skip some steps from this guide if I just wish to install the stock rom without locking the bootloader again? Thanks in advance.
[One (M8) General] Einwod:
The guide is here for a purpose. If you skip steps as you see fit, you are liable to miss something important and possibly brick your device. Your call.
[One (M8) General] SheLikeTheMango:
Need help returning VODAP001 UK back to stock.

I have locked (not relocked) bootloader, stock recovery, stock ROM, and still S-ON.

I used Kingroot app and it turned my software status to modified. I need that to be official incase I need to send it in to warranty. I think I have 2 year warranty which is very generous so I would like to be able to use that. I dont want the phone to be rejected just because of a software tag :(

Would appreciate help :)
[One (M8) General] Einwod:
If you have not unlocked the bootloader and are still on stock ROM, why aren't you still on stock? That makes no sense whatsoever. It says modified because you rooted the phone. That shouldn't be a warranty issue.
[One (M8) General] SheLikeTheMango:
Yeah sorry, that didn't make sense. The system now says on bootloader 'Software status modified' so I feel like it would be rejected in a warranty claim. So I want to turn that back to 'Software status: official'. That's what I meant by returning back to stock.
[One (M8) General] Einwod:
Only way is with S-OFF, I think. And that costs $25. Read the first post carefully. It's all there.
[One (M8) General] SheLikeTheMango:
There is no RUU for my CID 'VODAP001' so not sure what to do after I get to step 3 as it relies on a RUU :/
[One (M8) General] Einwod:
This is for the European wwe version of the M8, not carrier branded, as you are. You are as close as you'll get to stock.
[One (M8) General] SheLikeTheMango:
Okay so the only way to reset that flag is to get S-OFF and do your first step? Then it will become software status official? I'll probably keep it as S-OFF, all I want is the Software modified bit to be gone as that looks like a bigger flag.
[One (M8) General] Einwod:
I honestly don't see what the problem is. I doubt very much that having rooted the phone, you'll have a problem. Why spend $25 for nothing? Of course, s-off is a wonderful thing.
[One (M8) General] dj-basher:
Hi. Will this work with my UK htc one m8? I have it rooted, custom rom and its super cid? Thanks
[One (M8) General] Einwod:
Yes
[One (M8) General] redpoint73:
I already told you how to return to the stock ROM and recovery in the thread you started. I even offered to help you determine which exact stock nandroid to use, if you were to answer the questions I posed to you (which you did

not

answer): http://xdaforums.com/htc-one-m8/help/software-status-modified-t3112517/page3

Hard to help someone that refuses to try to help themselves.

If your version has no RUU; and you want to run the 401 (unbranded Euro) RUU; the only way to do that is by changing the phone's CID and MID, and

s-off is required

for that.

If you are asking whether relocking the bootloader will reset the "software modified" flag, you

do not want to do this

. Relocking the bootloader will delete the OS and render the phone unable to boot, as relocked bootloader expects an RUU to be run. Since your version has no RUU, you will be

stuck with no OS

!!!!
[One (M8) General] dj-basher:
Can i still use cid as 11111111? or do iu have to change it back to something else? I cant remember my normal cid
[One (M8) General] Einwod:
Try with SuperCID. If it doesn't work, then choose one from the first post. Simple as that.
[One (M8) General] SheLikeTheMango:
I wanted to reset it incase for warranty purposes. Although I have heard of people still getting warranty with rooted phones.
[One (M8) General] Einwod:
Exactly. You are worrying about nothing. I'm sure half the braindeads working in shops like Vodafone, EE etc. have no idea what we are talking about, never mind checking it. Carry on as you are, there's no problem. just because you rooted the device, doesn't mean to say you did anything else to it.
[One (M8) General] X46X:
Hi, I getting error when I try flash stock RUU, my CID is HTC_102 and my phone is S-ON, i try it many times, md5 matched but I still getting this error.

C:\adb>htc_fastboot flash zip ruu.zip

sending 'zip'... (46605 KB) OKAY

sending time = 5.425 secs

writing 'zip'... (bootloader) adopting the signature contained in this image...

(bootloader) zip header checking...

(bootloader) zip info parsing...

FAIL99 unknown fail

FAILED (remote: 99 unknown fail)

Execution time is 5(s)
[One (M8) General] Einwod:
Are you executing this command first? fastboot oem rebootRUU
[One (M8) General] X46X:
of course, I tryed, format internal memory too, but without luck.
[One (M8) General] Einwod:
Why don't you try the full RUU instead of a zip file? https://drive.google.com/file/d/0B2rPZYX0QKP-THZSNkx1ck5kUjg/view
[One (M8) General] iDpC1:
Finally got s-off, thanks to sunshine s-off tool, not bad prize (25€) And very happy btw. ??
[One (M8) General] Einwod:
Enjoy your new found device. Don't forget to update your signature, LOL.
[One (M8) General] iDpC1:
Yep, thanks Einwod. I update my signature :D
[One (M8) General] X46X:
I get error 155 with that..
[One (M8) General] Einwod:
Then there has to be another reason for it. Are you absolutely sure you have the right CID and MID numbers? You also need to relock the bootloader for the RUU to work.
[One (M8) General] X46X:
Thats it, I forgot relock bootloader. Thank you
[One (M8) General] ned4spd8874:
Can I use these steps for the US T-Mobile version? Seems I should be able to follow the instructions but change the CID to t-mob010 instead of the ones listed?
[One (M8) General] Einwod:
You have to have the US T-mobile RUU as well, of course. You will be OK.
[One (M8) General] ned4spd8874:
Okay, awesome! Looking into it, it did seem like these steps should work for me, but I was hesitant to do it and brick my phone!

For reference for anyone else wanting to do what I'm about to, here is the HTC link with the RUU: http://www.htc.com/us/support/htc-one-m8-t-mobile/news/
[One (M8) General] buzcro:
Hi guys I need your help, I'm new at this. I downloaded an official update from HTC yesterday and it failed in the middle of the install and now the device won't boot. My HTC is fully stock so it's S-ON. Can I use this guide to fix my problem and what should I pay most attention to?
[One (M8) General] Einwod:
As long as you are wwe and have the right cidnum. See first post.
[One (M8) General] XskipperX:
thanks alot. this helped me revive my m8. :good::good:
[One (M8) General] MaggiMag363:
Hi man. This is died link. Could you fix it please?
[One (M8) General] fectivi:
+1
[One (M8) General] Einwod:
Try here:
[One (M8) General] MaggiMag363:
ohhh.

[IMG="thank you"]http://ursispaltenstein.ch/blog/images/uploads_img/thank_you.jpg[/IMG] :)
[One (M8) General] serhiy1:
RUU link is gone

hey man the link for your RUU does not work any more, can you please give me an updated link?

I am willing to donate £10 if you can help me
[One (M8) General] Einwod:
You will find the link two, yes just TWO posts above yours. Three if you count this one.
[One (M8) General] inferol:
Where can i find 4.4.4 RUU? I need to revert to 4.4.4 stock (s-on) but most threads said i need s-off to revert to 4.4.4 and some said it can still be done with S-ON with a ruu? They haven't said anything about how to revert to 4.4.4 stock with S-ON.
[One (M8) General] Einwod:
To go backwards with RUU, you must be S-OFF. You cannot use an RUU that does not match or is less than what you currently have on your device. With S-OFF, you can go backwards with firmware and RUU.
[One (M8) General] inferol:
Yes i know that but why is it required to have S-OFF? As long as CID/MID match (HTC_001), can i not do it with RUU to go backward to 4.4.4, some people said they have done it but did not provide instructions how they did it :/

If S-OFF is the only way then what about this:

Flash nandroid backup of 4.4.4

flash stock image

Will that do too?
[One (M8) General] Einwod:
You can go back with a Nandroid, yes, but not a RUU. You will still have the updated firmware, but that won't cause any problems.
[One (M8) General] popoyaya:
Forgive me if this is the wrong place to ask... (new to flashing HTC devices). I'm about to flash a custom recovery, rom and kernel etc, but before i do anything I feel I should do a complete backup that can easily restore me back to stock. Is there a guide I can follow? I've unlocked the bootloader, but I haven't rooted or S-Offed or anything yet.
[One (M8) General] Imotep95:
Download adb and fastboot drivers, download latest TWRP, make sure you have everything installed by typing following commands in CMD:

adb devices --> it shoold look like this, random numbers.

adb reboot bootloader --> white screen should pop up

fastboot devices ---> it should look like this, random numbers.

If everything is ready, type following command to flash custom recovery and make a full nandroid backup.

" (your TWRP.img must be in folder where fastboot and adb files are).

fastboot flash recovery twrp-2.8.7.0-m8.img

fastboot reboot

done, you have many yt videos, one of them https://www.youtube.com/watch?v=9HWj_1KHbuY
[One (M8) General] new-noob:
hey :)

but which one of the zips should I download for my HTC one M8s ?

0P6BIMG_M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.9_R_Radio_1.22.21331147A1.29G_20.67.4196.01_release_402839_signed.zip ?

or

RUU_M8_UL_L50_SENSE60_MR_HTC_Europe_4.16.401.10_Radio_1.25.214500021.06G_20.68.4196t.01_F_release_417003_signed.exe ?

. . . I'm going back to stock :( have an issue with "SIM card not signed" which disconnects calls,

Thanks in advance!
[One (M8) General] Einwod:
Take a close look at the name of this thread. It is for European M8 NOT M8S.
[One (M8) General] new-noob:
hi Einwod, yes M8s its bought in europe
[One (M8) General] Einwod:
They are two different phones:

http://www.gsmarena.com/htc_one_(m8)-6074.php

http://www.gsmarena.com/htc_one_m8s-7165.php

Can you not see the difference?
[One (M8) General] ckpv5:
European M8 and European M8s

are two different device.

All you need for M8s are here : http://xdaforums.com/htc-one-m8/help/make-custom-recovery-htc-one-m8s-t3114245

Anything .. ask there, not in any other thread as that is the only thread for M8s general Q&A
[One (M8) General] new-noob:
wanted to confirm , thanks anyway , will keep googling ;)
[One (M8) General] new-noob:
Thank you !
[One (M8) General] pmathis:
Hi guys,

Returning my htc m8 to stock ready to sell but concerned about the htc_fastboot.exe as I have a mac and can't seem to locate a mac alternative. Anyone able to advise as the RUU won't flash using regular fastboot commands.
[One (M8) General] SteakerMeaker:
RUU Not Found

Hello,

I am fairly new to the whole modding thing in Android, rooting and installing CM 12 on my HTC One M8 being the first time I've ever done anything close to modding an Android phone.

Since I was new to the topic, and didn't understand better than to make a full backup of the rom and everything else before I started to unlock the bootloader and install CM 12 on the phone. Now I'm here on this thread because I want to go to the store of which I bought the phone and ask about some dead pixels, but I suspect that if I do that with something that looks like stock Android on a phone that shouldn't have that, I'll not get any help.

Now the problem I have is that my CID number does not correspond to any of those on the list, and I have searched everywhere for an RUU compatible to my CID number. My CID number is '02___102'. Now what I'm wondering is if i can use the RUU anyways or if I can change my CID number like instructed above and if that will affect the phone in any way and if that is the case, how? If I just have to find the correct RUU and you might happen to know where I can do that, I would highly appreciate a link to that.

Thank You in advance,

Victor
[One (M8) General] SteakerMeaker:
Oh and a few more things:

I will gladly post any information needed in order to help me. I don't quite understand how the whole CID thing works so any help about the subject would be greatly appreciated. I have tried to change the CID number but an error pops up. I anyone has any idea about what "INFO[JAVACARD_ERR] SD/USBDISK Init error" means, some help would mean the world.

Thank you once again in advance.
[One (M8) General] wahla21:
Can't return to Stock from GPe Marshmallow

Hi all,

I am struggling to go back to my European M8.

I've got GPe Marhmallow installed.

I'm S-Off, Unlocked

TWRP installed

Following the advice doesn't work for me as I am not rooted.

I can't flash SuperSu as the phone goes in to bootloop.

So, I am stuck on what to do?

How do I get the phone back to Stock without installing SuperSu?

I have the stock RUU and firmware but not sure what to do.

Any help would be greatly appreciated. :good:
[One (M8) General] Einwod:
Why can you not just run the RUU file and go back to stock? It should also install whatever firmware is in it. Did you fully convert to GPE or just flash the ROM?
[One (M8) General] wahla21:
I think I converted to GPe but not 100% sure.

How shall I flash the RUU?

With ADB?

Do o need to do anything before?

Thanks