yashsingh1/xdaforums huggingface dataset:
[One (M8) General] elchin_ea:
It is unlocked.

---------- Post added at 03:45 PM ---------- Previous post was at 03:39 PM ----------

From TWRP Manager i could to open fastboot.

Here is code:

C:\Users\Admin\Desktop\ADB Android platform-tools>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.12G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.12.401.4

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__J15

(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: 76df2b54

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.186s

---------- Post added at 03:45 PM ---------- Previous post was at 03:45 PM ----------

From TWRP Manager i could to open fastboot.

Here is code:

C:\Users\Admin\Desktop\ADB Android platform-tools>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.12G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.12.401.4

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__J15

(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: 76df2b54

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.186s
[One (M8) General] elchin_ea:
So any idea how can fix my power button issue. As i understood i can install stock rom with S-ON. Is it right? I know it will not help me to fix HBoot's issue but anyway want to try.
[One (M8) General] redpoint73:
Yes, you can return to stock ROM with s-on. But if the power button is not working properly in hboot

and

also within OS, I have to suspect it's a hardware issue.
[One (M8) General] elchin_ea:
How can I know which stock rom should I install?

What about power button issue, if it is a hardware issue then it should not anymore work,but it does when i press and hold it.

I guess i should HBoot reinstall but for that,as i understood i need S-Off. I'll try to install stock rom if it does not help, will search how to do s-off but without sunshine =) In russian web pages i found some tutorials maybe it will help.
[One (M8) General] EddyOS:
I would think so! Might be worth a try :)
[One (M8) General] ekkelon:
If My ROM 1.54.401.10 is made after OTA update Can I use The same procedure and install The Last FW?
[One (M8) General] EddyOS:
Yep, just flash it as the instructions say! :)
[One (M8) General] snoof:
Hello,

I just received my M8, and it's CID T-MOB009 (WTF for a supposed unbranded version !)

Just wonder if possible from this topic to go back to 100% wwe stock fw ?

Thx for your help
[One (M8) General] b0gd4n:
will this work on H3G__001 ?

following this exact guide? or do I need to find the specific firmwares/recoveries for my CID?

if so, could someone please point me in the right direction, as I have been searching for the for 2 weeks now with not success...
[One (M8) General] newstar:
If you are s-off u cant be 100% stock untill u s-on , because htc spying u with s-off ...

Posted From HTC 1 M8 via TapaTalk Pro .
[One (M8) General] BerndM14:
No this won't work for what you have in mind.

You'll need to go S-OFF(If you haven't yet) and then "convert" your device to an unbranded international version. Don't ask me how though, I never had the need to do it so I haven't really read up on it, also pretty new to HTC devices as a whole so I'm learning as I go...

[MENTION=3437245]scotty1223[/MENTION] made a thread here in the general section on how to change MID, you'll probably need to do that in order to convert too, if I can remember correctly(Sure I saw it somewhere in that thread). Then you'll have to change your CID too and flash the firmware for the MID/CID you changed to / want to change to from within RUU. At least that's how I think it works, don't know the steps though.

Perhaps someone with a bit more experience in that can help you, sorry. :fingers-crossed:
[One (M8) General] snoof:
Hey,

After fighting with some tutos, drivers, recoveries here i am with a M8 unbranded :)

So, what has been done :

HTC Dev unlock

flash TWRP

Root

S-OFF (firewater)

Change to super CID

flash stock firmware => http://xdaforums.com/showthread.php?t=2696282

flash TWRP

flash stock ROM => http://xdaforums.com/showthread.php?t=2696282

flash stock recovery => http://xdaforums.com/showthread.php?t=2696282

OTA (!)

And now i have a stock HTC One M8 except i'm S-OFF but able to receive OTA's (that was the most important point for me)

Default language is french because of french SIM (not Polish anymore (i have nothing with polish but i don't speak it !)) my sim card is able to configure APN...

Voila !

Thx to this thread because it was helpfull (ressources...)

Hopefully i was not so noob with HTC (see signature :p)
[One (M8) General] EddyOS:
Here's the Nandroid backup you need - 1.54.771.5 (this is a backup taken using Philz recovery so you have to use that)

Here's the recovery you need - 1.54.771.5

I'm gonna assume you've not flashed any different firmware packages at any point?
[One (M8) General] TheMathMan:
Is this the only way to revert to stock? Is there a HTC__001 RUU anywhere? What about if I wanted to S-On as I'm moving the phone on
[One (M8) General] b0gd4n:
thanks!

what I've done was flash a custom recovery (TW...), then flashed the ViperRom, after that I just S-OFFed.

So, I would need to use the files provided, and follow the guide on the first post?

Thanks a lot!!!
[One (M8) General] BerndM14:
I would think that the guide should work for everyone, provided that they use the correct firmware/nandroid backups, the steps should all be the same if you're s-off. The backups/firmware that EddyOS provided in the first post is of course only for those with international variants using same CID, no reason to think that it might not work for the rest if they use THEIR correct backups, recoveries etc.

If there is an issue regarding the tampered banner and going from unlocked to locked, you can always ask over at the thread links provided.
[One (M8) General] b0gd4n:
OK, what about the S-OFF flag?

In the guide it is specified that it is recommended to leave S-OFF. Is there a reason to reset the S-OFF flag before sending the phone to warranty?

Will I not be able to S-OFF again afterwards?

Thanks!
[One (M8) General] BerndM14:
http://xdaforums.com/showthread.php?t=2729139

There's a discussion about it in that thread. Thread was created by Scotty(The one that gave the guide to removing tampered flag etc). Might want to read up on it in there and see what you decide then.
[One (M8) General] EddyOS:
I, personally, have never set a phone back to S-ON when I've sent it to HTC - and I've done it with my old Desire and Sensation phones. The guide can be roughly followed using a branded backup/firmware package but I'd need to find all the files in question and it's just too much to do which is why I just covered my EU unbranded handset (which is the most common)
[One (M8) General] mushages:
after flashing the firmware

In Hboot I'm getting

RADIO_Invalid_ver_num

OPENDSP_Invalid_ver_num

is this how the stock firmware look like? i want to send my phone back to HTC
[One (M8) General] nickrule1896:
I have a HTC_044, can someone help me? I am really new to the HTC community(having played with every other brands samsung, lg, sony etc), and after searching for so long, i still don't quite understand the process to 100% stock, since it is like so complicated as compared to just flashing a whole new firmware when it comes to LG Samsung or Sony. Mine is an international version if i am correct?
[One (M8) General] mushages:
[MENTION=2258271]EddyOS[/MENTION] you need to relock bootloader before you flash the firmware. Mention that in your first post.
[One (M8) General] EddyOS:
Not if you're S-OFF (which this guide requires) ;)
[One (M8) General] BerndM14:
What don't you understand about the process to getting back to stock?

Just grab the correct backup/recovery and follow the guide as given by EddyOS, shouldn't have any problems if you follow it 100%.

You can get your backup/recovery from this thread just scroll down a little bit until you find the nandroid backup for HTC__044 there is a CWM Philz nandroid backup and a TWRP nandroid backup, both are 1.54.707.7 versions. Scrolling down a little more and you can also grab the 1.54.707.5 recovery(IF the recovery isn't in the nandroid backup which might be the case with TWRP), that recovery should still work as the main version is the same 1.54 as was stated by [MENTION=4252827]Mr Hofs[/MENTION] in the very next post. Probably even more so seeing as it is 1.54.707.* should work.

:good:
[One (M8) General] redpoint73:
I don't see why you would think that. Hardware doesn't have to be entirely broken. It can be working intermittently due to a hardware fault.

If you really want to do that, you can restore a stock TWRP backup (which is the stock ROM) 6.12.401.4 using the guide and files from here: https://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

But folks also use the word "ROM" very loosely. You can also try to flash the RUU 6.12.401.4. While RUU stands for "ROM update utility" it is in fact much more than just the ROM (that term usually just refers to 2 partitions, system and boot), the RUU will restore all partitions to "stock/factory" condition, and that is something like 41 partitions, including hboot.

The RUU is here: https://xdaforums.com/showpost.php?p=64926626&postcount=6

And you can't do the fastboot install method, and you have a microSD card, you can alternately rename the file to 0P6BIMG.zip, put it on SD, insert into phone, and reboot to bootloader, and it will (hopefully) install the RUU automatically.

But keep in mind, that since you are s-on, you will need to relock the bootloader to flash RUU. I'm not sure that will work the way you are doing fastboot (through TWRP). Also, relocking the bootloader will render the phone unable to boot to OS. So if for some reason, you can't get the RUU to flash, there is potential you can be stuck with no OS.

That isn't entirely true. You only need s-off to flash hboot manually. With s-on, you can flash hboot as part of the RUU process as previously described, or flash signed firmware (both those methods are possible with s-on).

I also think your idea of findig a "free" s-off method is a pipe dream. Nobody has done that, to my knowledge. I don't know about any Russian website. But if it refers to firewater, that method was disabled 3 year ago, and will

not

work.
[One (M8) General] lsvignesh:
unable to flash twrp nor any other file. There is No OS as well. please help out !!!
[One (M8) General] Einwod:
You're not supposed to quote the entire first post. Please edit your post and shorten or remove the large quantity of text.

You have supercid and s-off. You have no OS showing because you probably have a very old version of TWRP installed. We need to see the results of fastboot getvar all. Please post it after removing your serial and IMEI numbers. When you update TWRP and flash a firmware package, the OS version will return. What ROM do you have on the device now? While you are having these problems, try unlocking the bootloader again. It was unlocked before.
[One (M8) General] endaod:
Hi,

Could I ask that the link to the RUU be 'repaired'?

Many thank for all of your effort.
[One (M8) General] redpoint73:
You realize the top post is almost 4 years old, and not actively being maintained by the OP?

If it is merely the zip version Euro RUU you want, I can post you the link for the Marshmallow one.
[One (M8) General] messuphard:
i cant find the right ruu

info to my device:

S-off

unlocked

HBoot. 3.19.0.0000

Radio. 1.24.23131147A1.09G

can i flash another RUU or can anybody give an advice?

should i try the HTC ROM Update Utility (RUU), is that capable of finding the correct ruu?
[One (M8) General] redpoint73:
What does it say for OS number in bootloader? Or is it blank?

If you know how, do fastboot getvar all, and post the output. Remove the serial number and IMEI before posting.

You can flash

some

other RUUs. But using another RUU will also change your specific radio band support, so I would not recommend randomly trying other RUUs without prior instruction from us. Some RUU (such as for CDMA variants) will also radio brick the phone. So I would not advise trying another RUU until you provide the details requested above.

ROM Update Utility and RUU are the same thing. If it is the wrong version (depending on your current carrier ID) it will fail. It won't "find" the correct RUU for you.
[One (M8) General] messuphard:
OS number is blank.

I will post the fastboot output asap.. dont have the device right now right here.
[One (M8) General] messuphard:
bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.24.21331147A109G

(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: 0P6B1****

(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

thanks for all your help!
[One (M8) General] redpoint73:
Tough to determine what M8 version (carrier/region) the device originally was; since the MID and CID have been modified, and the OS number (main version in getvar) is blank (frequent bug due to using old version TWRP or some AOSP ROMs).

Might make more sense to ask:

1) What region located, and what is your carrier?

2) What reason are you looking for the RUU? Were you having a problem you are trying to solve? Or just want to update (your radio number indicates you are on an older Android version, and can probably update to Marshmallow)?
[One (M8) General] messuphard:
i bought it via ebay, came from HongKong. I use it in germany. carrier is some prepaid (vodafone)..

the reason why i need to flash a newer ruu is because i am having problems with lineage (15.1 and 14) the "phone-function" is notnworking properly. with 15.1 it didnt work at all. with 14 it did work from time to time.

Sadly i missed making a backup of the original rom. otherwise i guess nobody wants to use that anyway ;)
[One (M8) General] redpoint73:
I agree you should update the firmware in order to run the recent Lineage builds. Your old firmware (as signified by the radio baseband number - I can only tell from existing knowledge) will definitely cause a number of problems. Not sure if your voice call issue is specifically a result of that, but it's possible.

I would suggest running the "unlocked" Euro version Marshmallow RUU using the following link, which contains the required files and instructions.

https://xdaforums.com/htc-one-m8/help/help-htc-one-m8-bricked-t3298412

No need to relock the bootloader to RUU, since you are s-off. But all data on the phone will be wiped by the RUU, so plan ahead accordingly, if you want to keep any personal data.

There are some Vodaphone specific M8 versions, but don't know where you could find those RUUs, if they are even available. And probably doesn't make much difference. Radio bands are fairly standard in most of Europe, and the "unlocked" RUU should be suitable. And that is the main factor. You may need to enter your carrier APN info to get it working on your carrier. But if you are running custom ROMs, you may already be familiar with that process.
[One (M8) General] messuphard:
i did download the mentioned RUU zip (here : https://www.androidfilehost.com/?fid=24369303960687057)

i went into bootloader mode and entered:

- fastboot oem rebootRUU

then

fastboot flash zip ...(filename)

but i get an error installing the zip:

(bootloader) zip header checking ...

(bootloader) shift signature_size for header checking ...

FAILED (remote: 32 header error)

...

what could this mean?

i found that, i have to use the htc_fastboot command. i will post if it works with an updated linux environment
[One (M8) General] nikolasokol:
Hi,

two months ago I have changed my M8 battery. After that, my rear camera doesn't work.

I have read on the internet that when disconnecting camera from motherboard, that is needed to flash RUU, because neither of ROMS's does not support duo camera , and that's way it need to be calibrated. If that's true, I will flash RUU, but...

1. I have S-OFF, do I need to make it S-ON?

2. I have super cid, do I need to reset it to factory CID?

3. Bootloader is unlocked, do I need to relocked it? Because I have S-OFF.

4. Will RUU fix my camera? :)

Thank you.
[One (M8) General] ckpv5:
1. No

2. No

3. No

4. Most probably No but no harm trying.

Believe it is hardware issue, maybe something is not properly connected when you put in everything back.
[One (M8) General] nikolasokol:
Thank you.

But I don't know if it is hardware issue.

I did not touch the camera when i was changing the battery, only motherboard, and daughterboard were disconnected from the battery.

I have bought another camera module, it's OEM so it should work, but it doesn't. Camera app recognize only front camera. Some 3rd party camera apps recognize small camera but not the main one.

Daughterboard it's also ok, because everything else is working: front camera, SD, SIM, sensors...
[One (M8) General] redpoint73:
It's clearly stated in the instructions from the post where the RUU is linked, that you need to use htc_fastboot. Don't know why you would try differently.
[One (M8) General] TheMadKing:
So, a friend of mine recently bought a second hand M8, and I tried to convert it to European stock. Everything went well, but no matter what RUU.zip I tried, they all failed, some with a 32 error, and others with FAILED (remote: project does not have sa key to decrypt rom).

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.12G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.12.401.4

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

(bootloader) serialno: FA45NSF04643

(bootloader) imei: 990004996973339

(bootloader) imei2: Not Support

(bootloader) meid: 99000499697333

(bootloader) product: m8_wlv

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(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: 76df2b54

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

This it, could you please tell me which RUU I should use in order to successfully flash it?
[One (M8) General] Einwod:
The device is from Verizon. Even though you have changed the MID, the CID and firmware, the device is STILL Verizon branded with the line highlighted in RED. You DO NOT have a European M8, therefore you cannot restore it to the European model. Change all back to original MID, CID etc and then see this site. Use Chrome to translate the page, it's in Vietnamese and you have everything there to restore your Verizon M8 to stock MM.
[One (M8) General] TheMadKing:
Thank you very much, I will try.

I am a little confused, but I think that I get it.

I have to use that adb shell command first, then I have to reboot to RUU mode, I have to flash that firmware file twice, then I have to return to the bootloader, check something, return to the RUU mode where I should flash the no red text file.
[One (M8) General] redpoint73:
Main version shown indicates that the 6.12.401.4 RUU or firmware flashed, or at least partially flashed, and broke the radio.

You have the Verizon version M8, which is not compatible with other M8 versions' RUU or firmware. You should not try to change to another CID/MID and flash other version RUU/firmware, otherwise radio brick is a known result. Try to revert to stock Verizon RUU as instructed in response to your post in another thread.
[One (M8) General] messuphard:
I finally found time to do the correct htc_flash (on windows7). and it worked fine instantly.

before i go ahead, i wanted to ask if i can be hopefull that calls work fine with custom ROMS (now based on this RUU) ?

i would like to try

https://xdaforums.com/htc-one-m8/development/rom-lineageos-15-0-htc-one-m8-t3669070

or

https://xdaforums.com/htc-one-m8/development/romthe-worlds-first100-m9-port-m8upload-t3064838

can someone recommend a AOSP or as close as possible, that also support the special HTC Sound?

thanks a lot!
[One (M8) General] messuphard:
i still have the same problem (noaudio/mic during calls) with the mentioned RUU, which i could install without any signs of wrongsgoings (https://www.androidfilehost.com/?fid=24369303960687057)

any ideas please!? ?
[One (M8) General] redpoint73:
If you are still having audio/mic issues after successful RUU, then unfortunately it may be a hardware issue.
[One (M8) General] YahyaChagri:
I need to get S-OFF

FIREWATER is not working

SUNSHINE says that there is a problem with my rom : lineage os 14

Please help im stuck
[One (M8) General] Einwod:
Firewater hasn't been available for years. Go back to stock and then Sunshine will work. Why do you NEED s-off? Are you sure you need it?
[One (M8) General] YahyaChagri:
I need S OFF to get to stock ... as the thread said

i need to rewrite my cid so i can use RUU from htc site

please tell me that there is a better way
[One (M8) General] Einwod:
If you never had s-off before, you certainly don't need it now and have no need to change your CID to go back to stock. Post the results of fastboot getvar all after removing your serial and IMEI numbers. We'll be better able to point you in the right direction.
[One (M8) General] YahyaChagri:
(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.12G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno: xxxxxxplzhlp

(bootloader) imei: xxxxxxxxxxxxx

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__001

(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: 76df2b54

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

thank youuu
[One (M8) General] Einwod:
Have a read at this thread. https://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860

Everything you need is in the first 5 posts. Read carefully, read it again and then follow the instructions to the letter. If you follow the instructions you cannot fail.