yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M8)] OMJ:
you'll need to use the fastboot cmd:

fastboot oem lock

you'll want the signed firmware....full firmware is the same but not signed
[Sprint HTC One (M8)] EarlyMon:
Forgot my manners - many thanks for such a complete collection. Certainly made my life easier, you rock!
[Sprint HTC One (M8)] DaveO88888:
OMJ you are the best!

Thank you OMJ!!! I used 2.65 and my HTC One M8 is back to superuser and working perfect now!

You are a great contributor to XDA, we couldn't do these updates without you!

DaveO
[Sprint HTC One (M8)] batsuuri:
Invalid SIM Card

Hello OMJ,

I have updated my Sprint HTC One M8 to 6.20.651.3 .

My phone is S Off, Unlocked, flashed Custom Recovery Twrp 2.8.7.0, SuperSU 2.54.

But cannot receive cellular connection, shows 'Invalid SIM Card, Contact Customer Care Service' message when network mode is GCM.

Changing network mode to Automatic then shows '4g services are unavailable as the sim/uicc is invalid'.

Reboot, Removed sim card & reinserted, resettled, using different sim all not effect.

Any ideas to fix this issue?

Thanks,

Batsuuri
[Sprint HTC One (M8)] batsuuri:
Flashed twrp v3.0 and Bad Boyz Sprint ONE M8 ROM 6.0 Sense 7 v4.0. Still gets same error.

Attached some screen shots and fastboot getvar all result.

*********************Fast boot getvar all ********************

C:\ADB\platform-tools>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.09.20.1112

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.20.651.3

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

(bootloader) serialno: Mod Edit

(bootloader) imei: Mod Edit

(bootloader) imei2: Not Support

(bootloader) meid: Mod Edit

(bootloader) product: m8_whl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B70000

(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: 205bdca3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.031s

***************************************
[Sprint HTC One (M8)] barclays:
Are you using a sim-unlocked sprint one m8 outside US?

Looks like you got your phone sim relocked by updating the firmware
[Sprint HTC One (M8)] batsuuri:
Yes i'm, sim-unlocked sprint one m8 using outside US.

So,i need to re unlock sim?

Year ago i sim-unlocked using this link: http://www.sieempi.eu/blog/2011/09/22/universal-sim-unlock-for-s-offed-htc-devices-536

May i need to try it again?

Thanks for your help.
[Sprint HTC One (M8)] barclays:
don't know

I nearly flashed the new firmware, then I saw your post, which lead me to a little bit of a rethink.

I thought the sim unlock was permanent. Apparently, it's not.

I suggest you try sim unlock it again, see if that works. If it doesn't, go back to 4.25 for now I guess...
[Sprint HTC One (M8)] batsuuri:
Okey, i'll try and notify result here soon
[Sprint HTC One (M8)] batsuuri:
Trying sim unlock but no luck. Also downgraded to 4.25, no luck same error :(

What i should do? Everyone please help me, please.
[Sprint HTC One (M8)] OMJ:
2 options...

I would try this 1st: http://xdaforums.com/sprint-one-m9/general/nv-unlock-sim-t3314755

or this: http://xdaforums.com/sprint-one-m9/general/sim-unlock-thanks-to-gcprokey-t3166761
[Sprint HTC One (M8)] kevin3688:
Use 4.25 RUU downgrade, the use http://xdaforums.com/sprint-htc-one-m8/general/guide-sim-unlock-lollipop-htc-one-m8-t3074469 to sim unlock.
[Sprint HTC One (M8)] barclays:
Is there any unlock method working on 6.20 fw?
[Sprint HTC One (M8)] Sloth:
Folks remember this is a development thread please keep the off topic questions in Q&A.

Thanks,

Sloth
[Sprint HTC One (M8)] batsuuri:
Thank you OMJ,

You saved my life. 1 option are worked perfectly for me!
[Sprint HTC One (M8)] sdwyz74:
im on your older ROM just want ot use the New one but Not sure if i flash the RUU or jus the Firmware ? im Sprint M8 NO HK rooted s-off ??? Please Advise
[Sprint HTC One (M8)] OMJ:
no need to quote the OP lol...

personally I would RUU....but if u dont want to, just flash the modified firmware w/o recovery, then flash new M ROM
[Sprint HTC One (M8)] barclays:
Wonder if this works for MM firmware...
[Sprint HTC One (M8)] sdwyz74:
can i do it from sd card and you said just flash the one with no recovery but with BOOT ?

---------- Post added at 09:23 PM ---------- Previous post was at 09:20 PM ----------

also does the updated ROM still have the Jtether App as thats the only net i have right Now even though i never got it to work with 4g LTE the 3g works and its better than having to run to the library and sit in the parking lot and jack there WiFi thanks
[Sprint HTC One (M8)] OMJ:
Yes you can use sdcard to flash the firmware.

No need for jtether, native hotspot working on BadBoyz ROM
[Sprint HTC One (M8)] sdwyz74:
i could get the Native hotspot to work on the older version but ill give this a try and let you Know! but if it does not work is there way to add jtether ??? thanks and Please Advise
[Sprint HTC One (M8)] OMJ:
I talking specifically about our BadBoyz ROM, which is in a different thread....dont know about jtether, I havent used in yrs
[Sprint HTC One (M8)] sdwyz74:
im so sorry i swore i was on your bad boy rom but i am not! somewhere along the line i end up on ViperOneM8 4.3.0 weird Cause i have not flash this thing in months and Swore i was on BB ROM soory and thanks

---------- Post added at 01:26 PM ---------- Previous post was at 01:21 PM ----------

just tried to up date with FUU utility and it says CAN NOT CONNECT OT ANDROID PHONE ??? but i am connected with proper Drivers and it does this After it shows the loading bar ???
[Sprint HTC One (M8)] OMJ:
I havent used FUU in a long time.....fastboot is the preferred method, or use the sdcard method
[Sprint HTC One (M8)] sdwyz74:
ok so i got it done but now i cant boot cause Viper doesnt like the firmware so its stuck at VIPER screen and i forgot to PUT the ROm on my Sd ? so now i am in recovery but none of my roms will boost and i tried to mount sd but i dont know if im doing it right ???
[Sprint HTC One (M8)] sdwyz74:
OK so I got it working and I'm on your older rom but when I flashed TWRP the latest it ask if I want to keep system read Only ??? I'm not sure but it also say something about asking me to root phone when I change roms either way sorry 3rd o ask so much questions
[Sprint HTC One (M8)] OMJ:
u need to update twrp
[Sprint HTC One (M8)] Vcek:
Same thing happened with me, install 3.30 RUU, and flash Viper 1.5(Android 4.4.4 and later don't work) , then retry sim unlock method.
[Sprint HTC One (M8)] batsuuri:
---------- Post added at 04:30 PM ---------- Previous post was at 04:30 PM ----------

Aahhh,

When phone battery is running out and phone power off, then connect to charge and power on: Simlock error appear again.

I think simlock is permanently, but this case don't understood why simlock error appear again.

Any ideas what is going on?

Tanks, Batsuuri
[Sprint HTC One (M8)] popthosegaskets:
Have you tried using the unlock method that works on Lollipop firmware? My phone remains permanently unlocked even after I upgraded from Lollipop to Marshmallow.
[Sprint HTC One (M8)] barclays:
confirmed, flashed 6.20 no boot, not recovery yesterday. Didn't get sim locked
[Sprint HTC One (M8)] Sloth:
Folks

again

this in not a sim unlock thread please move your issues to Q&A or a sim unlock thread.

Thanks again,

Sloth
[Sprint HTC One (M8)] daviddozal:
Hi good morning friends, I have an M8 with bootloader unlocked, custom recovey and root, but now I have some problems with my cell, I delete apps that I don’t use but now my M8 doesn’t work good so I want back to stock but I have some questions before start, my M8 have the cid 651, in the last I put the informacion that I get in fastboot:

1.- I saw two ruu's one .exe and other .zip, which is the difference between this two kind of ruu’s?

2.- If I just want back to stock I need to flash the firmware too or not, in which case I need to flash the firmware and which one I need to choose?

3.- The ruu with root have the same effect like without? I can flash for back to stock?

4.- Ofter flash the ruu I need flash something more like bootloader, recovey or something like that or the ruu it’s ok?

5.- I have my M8 in Mexico Telcel, if a flash I will keeping my service here, like calls, internet, etc?

I hope can aswer my questions, thanks a lot.

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.09.20.1112

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.20.651.3

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

(bootloader) serialno: Mod Edit

(bootloader) imei: Mod Edit

(bootloader) imei2: Not Support

(bootloader) meid: Mod Edit

(bootloader) product: m8_whl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B70000

(bootloader) cidnum: SPCS_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: 205bdca3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.008s
[Sprint HTC One (M8)] shamL II:
HTC M8 upgrade not proceeding

Hello,

I used the RUU provided at HTC support and was stuck at the very beginning as seen in the attachment. Stuck at 0%. Is it safe to remove the USB connection?
[Sprint HTC One (M8)] OMJ:
should be..it is stuck at sending, so it was not flashing anything at the time
[Sprint HTC One (M8)] Munkeymon:
Did anyone ever figure out how to get fastboot working on Windows 8+ or are you on 7?
[Sprint HTC One (M8)] Captain_Throwback:
fastboot works fine on all Windows versions. I have 7, 8.1 & 10 and have no issues. Have you tried installing HTC Sync Manager to get the latest HTC drivers and then uninstalling it?
[Sprint HTC One (M8)] gscarborough:
Does the hk mod have the same sound quality as having the hk edition?
[Sprint HTC One (M8)] Munkeymon:
No, the advice I got way back when rooting it was to avoid HTC Sync Manager, so that's what I've been doing. I'll give it a shot since the drivers I found elsewhere on the forms seem to have broken ADB as well :(

E: Thanks! ADB is back but no joy on fastboot. Oh well - there's always the file renaming dance.
[Sprint HTC One (M8)] playaz1:
I'm on Windows 8.1 and my driver's worked without installing sync manager. Although I reinstalled twice before succession
[Sprint HTC One (M8)] rkahoi:
Update M8 fail....

So I have a problem updating to lollipop…this guide is the closest I’ve got to a resolution..I followed it and tried to update it to through adb 6.20.654.3 Full Firmware...(fastboot flashable).. I also tried 6.20.654.3 Signed Full Firmware...(fastboot flashable)… and in both instances it seems loads everything and reboots but essentially bricks the phone…I flashed it back to 4.25.654.18 Full Firmware from RUU (fastboot flashable).. and this seems to be working ok…I have tried the OTA update and it starts the process and gets to this point..(see picture 1)…I have tried the RUU method from the htc website and it gets to a point where its "checking Header" then after a few minutes gives me an error...."the Rom update utility cannot update your android phone, Please get the correct Rom update utility and try again.."

I have The sprint Htc one M8 HK edition… s-off, rooted, relocked bootloader…

So I have a few questions…

1.	I relocked the bootloader it says “ Relocked” not “Locked” could this be preventing the update especially the OTA update…?

2.	Assuming yes…how can I lock it so I can update..?

3.	Will I lose S-off after the update…?

4.	Lastly and most importantly..what do I need to do to update…?

View attachment 3666345
[Sprint HTC One (M8)] OMJ:
Forget about I stalling the ota, only way to successfully install ota is to be 100% stock with untouched system img.

Flashing firmware is only the 1st step... Flash the M firmware again, then either flash M RUU or stock rooted M rom. RUU is best...
[Sprint HTC One (M8)] playaz1:
I had the same issue and ended up flash 654.3 through hboot. Fixed that issue first try. Give that a go. As far as the "relocked" situation. Your good that's not your issue. Hboot is it easiest and sure fire solution. If not I'll gladly give you the files I used for my HK edition (Sprint). Hope it goes well for you

---------- Post added at 08:04 PM ---------- Previous post was at 08:02 PM ----------

As for losing S-OFF I'm not to sure as I'm still S-ON but have ROMS from KITKATT to MARSHMALLOW up and working.
[Sprint HTC One (M8)] Magnum_Enforcer:
You won't lose S-off by updating.
[Sprint HTC One (M8)] rkahoi:
Awesome info thanks to eveyone...

So I'm gonna go ahead and admit here that I'm a rookie at this and probably shouldn't be screwing around with this...if anybody had maybe a step by step as with what the OP has in terms of flash to (link) or (version) then do this then that kind of a deal.....I've bricked it 3 times already and with s-off...afraid I'm gonna have an expensive paper weight pretty soon...

Thanks again...
[Sprint HTC One (M8)] OMJ:
I've already mentioned this...

1. Flash M firmware, any of them

2. Backup internal storage

3. Install M RUU

You're s-off, so no need to lock bootloader
[Sprint HTC One (M8)] Munkeymon:
Well this isn't good. Updated the firmware first using the one with recovery removed. Phone wouldn't boot but would respond to ADB, so rebooted into recovery to see if the new stock rooted image would fix that but I get an error when trying to install it that 'This package is for "htc_m8whl" devices; this is "m8whl"'. 'Kaaay, so how do I fix that?

E: ah, by updating the recovery, which I forgot to do first. Hope this fixes the boot issue, heh

New TWRP looks slick as heck - nice work, guys.
[Sprint HTC One (M8)] dragonflame8712:
i m on 4.4.4 custom rom and i have to upgrade os to 5.0 but there isnt any option to update coz its custom rom.

so i have to go back to stock and update the firmware to atleast 5.0?

i m s-off and should i just flash deodexed 4.4.4 rom provided above to get stock and start updating?
[Sprint HTC One (M8)] Munkeymon:
I don't think the ROM version is going to affect your ability to update the firmware since you can do that with the HBOOT (rename firmware to 0P6BIMG.zip, power down, hold volume down button while powering back on). You might have to look into whether the new frimware is compatible with the ROM version you're using and make sure you've got a replacement on hand if it's not.
[Sprint HTC One (M8)] dragonflame8712:
so since im s-off can i directly install 5.0 firmware with ruu? or should i go in steps?
[Sprint HTC One (M8)] Captain_Throwback:
Why 5.0? Why not 6.0?

If you use the full firmware (minus boot & recovery is fine), no need to go in steps. But you'll definitely need to have a compatible ROM ready for flashing.
[Sprint HTC One (M8)] m03sizlak:
YES. So annoying. Did you find a fix?

---------- Post added at 12:19 AM ---------- Previous post was at 12:17 AM ----------

OMJ I also have this issue on M9. Changing that checkbox doesn't fix it. Any other idea?
[Sprint HTC One (M8)] jwigley24:
Modifying settings within the call settings doesn't make a difference, unfortunately. Have u removed any files from system\app folder?
[Sprint HTC One (M8)] BaCkkk:
guyz i have m8 sprint on andoird 4.4..can i flash MM based custom rom after flashing MM based firmware or do i have to flash LP Ruu first and then have to flash firmware and rom??
[Sprint HTC One (M8)] hans109h:
Just flash directly to Marshmallow.
[Sprint HTC One (M8)] OMJ:
for those wanting the Spark icons and have a HK, use the attached zip...
[Sprint HTC One (M8)] GoodOneSam:
any reason why i'm getting this error?

target reported max download size of 1826418688 bytes

sending 'zip' (1606854 KB)...

OKAY [ 44.716s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

FAILED (remote: 32 header error)

finished. total time: 44.856s

---------- Post added at 11:50 PM ---------- Previous post was at 11:47 PM ----------

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.09.20.0209

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno: FA46DSF08930

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid:

(bootloader) product: m8_whl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B70000

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

(bootloader) commitno-bootloader: 0f94b3b7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

---------- Post added 9th March 2016 at 12:00 AM ---------- Previous post was 8th March 2016 at 11:50 PM ----------

nevermind, flashed the wrong zip file lol
[Sprint HTC One (M8)] MeltdownSpectre:
Remove your IMEI and MEID.

Sent from my HTC One M8
[Sprint HTC One (M8)] dopy25:
If you want to help them, you might want to remove it from your quote as well. [MENTION=4609217]Sloth[/MENTION] maybe you could help.
[Sprint HTC One (M8)] rudachmed:
Can i back to KitKat after Marshmallow update, it feels lag and battery drain is worse :crying:

note: I'm S-On, Unlocked Bootloader and currently using VenomRom 5.0.2
[Sprint HTC One (M8)] rottwiellerkills:
Anyone out there please tell me whether updating firmware and RUU will make my device carrier locked again?

And also tell me after flashing RUU will my twrp be lost and again I have to flash it?

The main concern is whether it will run my Indian gsm sims.. because I live in india.

---------- Post added at 08:00 AM ---------- Previous post was at 07:52 AM ----------

I have few more questions please clear those. Please **note** this My phones name is m8_whl , which means I have a Harmon/kordon version.

1 - So if my phone will be back to the stock then after flashing the latest firmware and RUU still my phone would be unlocked? I m stressing on this question because some noobs here have said me that it would again become locked.

2 - How will I flash BAD BOYZ ROM then? I will have to flash TWRP recovery again?

3. This is the Rom what I want to install - [/URL][/URL] http://xdaforums.com/showthread.php?t=2729170

4- This is the firmware and RUU what I want to flash. Can you please tell which will be best to installed http://xdaforums.com/showthread.php?t=2729173

5 - I have done SuperCID, some people said that I will be able to flash any rom in my device now. Is it true?
[Sprint HTC One (M8)] Magnum_Enforcer:
Sure, just flash a KK ROM.
[Sprint HTC One (M8)] MeltdownSpectre:
Back when I had the piece of crap M8_WHL, I was S-OFF with SuperCID, absolutely useless IMO.

1) I flashed the 6.20.651.3 RUU from stock KitKat, phone didn't get locked.

2) Yes, the RUU will replace any custom recovery with stock HTC recovery. You will have to flash TWRP again (I recommend Captain Throwback's 2.8.9.0 build)

3) Boot into recovery and flash the ROM.

4) Flash the 6.20.651.3 (ZIP) RUU and the Full firmware with the same build number. M8_WHL does not mean HK edition, it is the codename on both ordinary and HK M8 devices. Your device is most probably a normal M8, so stick to the 651 builds, only flash 654 if you know for sure that your device is HK edition.

5) Not international ROMs, just different RUUs for the Sprint M8. Main reason why I sold my Sprint one and got an EU version instead.
[Sprint HTC One (M8)] rottwiellerkills:
Thank you soo much murtaza02,

But let me know whether to flash RUU first , firmware first or ROM first??
[Sprint HTC One (M8)] MeltdownSpectre:
First the firmware.

1) fastboot oem rebootRUU

2) fastboot flash zip firmware.zip

3) fastboot reboot-bootloader

Technically if you want a Custom ROM, RUU isn't necessary.

Just firmware will include stock recovery, hboot and other crap.

After firmware is flashed, type this:

4) fastboot flash twrp.img (rename file to twrp)

5) Boot into TWRP.

6) Press mount.

7) Connect to PC, transfer Bad Boyz ROM.

8) Wipe data and flash it.

9) Reboot.

Sent from my Nexus 6
[Sprint HTC One (M8)] rottwiellerkills:
Thank you soo much again. Then why there is a need to compulsorily install the sprint rom on a sprint phone.?

---------- Post added at 10:20 AM ---------- Previous post was at 10:17 AM ----------

Sir, I have a lots of questions to ask. Can you ping me on whatsapp? Network here is sucking.. whatsapp will be convenient for me as well as you I guess.. +919531953775 here is my whatsapp no. please text me a 'hi'
[Sprint HTC One (M8)] MeltdownSpectre:
Not compulsory to install the RUU.

Just the firmware will do the job. It will upgrade the HBOOT version and your OS to 6.20.651.3 to support MM based Custom ROMs.

Sent from my Nexus 6
[Sprint HTC One (M8)] rottwiellerkills:
Sir please give me your whatsapp no. or just ping me on my no. +919531953775
[Sprint HTC One (M8)] MeltdownSpectre:
Don't have WhatsApp right now.

What do you need help with?

Sent from my Nexus 6
[Sprint HTC One (M8)] rottwiellerkills:
Sir, is this sure that my phone wont become carrier locked again?
[Sprint HTC One (M8)] MeltdownSpectre:
Yes I'm sure.

I had a Sprint M8, it was on 4.4, upgraded to MM RUU and the phone was still unlocked.

Sent from my Nexus 6
[Sprint HTC One (M8)] rottwiellerkills:
Which rom is best for now?
[Sprint HTC One (M8)] MeltdownSpectre:
Never used Bad Boyz so can't comment on that.

The updated version of ViperOne M8 has Sprint support.

Sent from my Nexus 6
[Sprint HTC One (M8)] rottwiellerkills:
On the BAD BOYZ ROMz forum, it is written that I need to install firmware, then ruu.. IS it neccesory for that rom?

And if I flash firmware, the if something goes wrong, How will I restore my nandroid backup?

---------- Post added at 10:42 AM ---------- Previous post was at 10:39 AM ----------

How will I restore my nandroid backup if anything goes wrong after firmware flashing? Because that time I wont have TWRP

---------- Post added at 10:46 AM ---------- Previous post was at 10:42 AM ----------

My MID is 0P6B7000 . How will I check the exact model ?
[Sprint HTC One (M8)] MeltdownSpectre:
Flash RUU then, it barely takes 5 mins.

You can flash TWRP if you're in bootloader and restore your nandroid backup.

Sent from my Nexus 6
[Sprint HTC One (M8)] rottwiellerkills:
Yes, exactly. Thanks a lot murtaza01 . Will tell you When I do these things
[Sprint HTC One (M8)] rottwiellerkills:
Murtaza02, can I use the official MM RUU also? Will it be unlocked?
[Sprint HTC One (M8)] saadmanna:
How did you fix this issue?
[Sprint HTC One (M8)] playaz1:
Did you every try flashing the sprint CDMA connect zip?
[Sprint HTC One (M8)] rottwiellerkills:
I also face the same issue. Does that mean my phone relocked carrier?
[Sprint HTC One (M8)] playaz1:
Not really. In any case. did you find/try the zip first? if not. its right there for you. (in NO WAY is this mine). Just stumbled across it and kept for a the same matter i went looking for it about. TRY that and come back in anything :good:
[Sprint HTC One (M8)] OMJ:
what issue are u having?
[Sprint HTC One (M8)] playaz1:
Apparently he's not getting a proper mobile connection after flashing...
[Sprint HTC One (M8)] OMJ:
sigh...another international user...
[Sprint HTC One (M8)] playaz1:
Well... that sounded like hardship is on the way for this fix. GOOD LUCK!