yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M8)] utnick:
Hey folks. It's been a while since I've done anything to my phone and I tend to forget a lot and have to re-learn. The re-learning isn't so much a problem, but I've replaced my old Win 7 laptop with a Win 8.1 and the hassling with drivers and the re-learning has tested my patience for the day. So instead of using fastboot for firmware and recovery updates I was going the sd-card option and the 0P6BIMG and using the TWRP app to update my recovery.

I have used the TWRP app before to successfully update recoveries, but today I hit a wall with anything older than 2.8.1.0. It says successful install, but it just clocks when I try to restart into recovery through the app or through HBOOT. I am assuming I am running an older version of something that isn't allowing me to update successfully so help in this area would be truly appreciated.

Now on the firmware side. I downloaded the firmware without the boot, but I am guessing I shouldn't have gone that route anyway. I will try the firmware with boot now, but I will go ahead and describe my issue since my fingers are already here. I chose the HK version on my non-HK phone because it's what I've been running. I've been s-off, but I am getting the cid is incorrect error. I assumed s-off meant cid did not matter, but I am thinking I was wrong to assume so. If anyone could clarify I'd appreciate it. In the meantime I am gonna go and use the firmware and boot for the non-hk version and see how things pan out. Thanks ahead of time.
[Sprint HTC One (M8)] OMJ:
I always use fastboot to flash new recoveries...

fastboot flash recovery nameofrecovery.img

to flash any firmware/ruu that is meant for another device, you have to be superCID, being s-off is not enough

fastboot oem writecid 11111111
[Sprint HTC One (M8)] djjozo:
That thanks was just to see u at 10k thanks
[Sprint HTC One (M8)] DTHC:
Hello people.

I have just yesterday bought used HTC One M8 , which i found out that is Sprint Edition, a little bit late .Haven't been using android for some time already , but partitialy i am familliar with some of the things about rooting .Except........I have a small situation now.

I bought the phone and it had 651.8 version of software, 3.16 bootloader and it is S-OFF, i unlocked the bootloader using HTC DEV.CID is SuperCID 11111111. I am using it in Vietnam, so no Sprint network here :). It functioned normaly , but anyway i knew that it will not be change to S-On if i update to latest version of Android. I used paralels desctop and tryed updating with 1540.10 version of software with RUU counting on SuperCID. But it blocked me , kinda small softbrick or maybe just a small mistake that i didn't use on start rebootRUU , after messing around whole morning i succeded to make it functioning again,but on latest version 651.14 it has lost root but i will tonight root it if i succed.. Now it is making me problems with radio, it doesn't see network and only after few minutes it transfers to global mode and accepts the local network here.Plus asks for activation, while before updating when it had 651.8 it was on stock preroted version of rom , and it didn't ask for activation at all , nor it had that option for activation.

Any kind of advice can i transfer it to international or what to do and with what order to do.What possibilities do i have.?
[Sprint HTC One (M8)] iamrafic:
Hi,

I have bought a used HTC M8 HK edition from ebay. But they mobile is already with lollipop flashed with NON HK firmware 4.25.651.14.

But when i try to flash the HK RUU (Sprint_HTC_One_M8_HK_4.25.654.14_RUU), its not allowing me to flash it.

The phone is S-ON.

Kindly help.
[Sprint HTC One (M8)] Captain_Throwback:
What makes you say that it's an HK Edition?
[Sprint HTC One (M8)] tuxattack80:
Yeah it sounds like someone may have listed the phone wrong. What color is the phone? Gold or gunmetal? Believe that's the only options with Sprint. Gold and black back is hk and

Gunmetal is boomsound. Not sure if there was ever a gold boomsound model or vice versa that I'm aware of. Being s-on you can always go by the CID 001=boomsound 004=Hk.
[Sprint HTC One (M8)] Zacarolando:
help

i do not know to do it. not my version of htc i if harman kardon or not. please help i am beginner
[Sprint HTC One (M8)] OMJ:
-download this batch tool, Extract to folder & run Tasker_1.2.8.bat

*this is for m9, but most options will work for m8, the M9 specific cmds are listed in the option, just don't choose that option :)

-so what you want to choose is #12, fastboot getvar all, then take the output, erase the IMEI & serial #'s & post the output here, this will give us the info needed to help u

http://xdaforums.com/showpost.php?p=59909825&postcount=3
[Sprint HTC One (M8)] utnick:
Thanks for the reply. I read that and then forgot and then went back to re-read and remembered it again. I've been having problems with fastboot and Windows 8.1 so I gave up and flashed via SD. I am gonna find a Win 7 machine and try again.
[Sprint HTC One (M8)] utnick:
Forgot to mention that I got the recovery updated through the TWRP app by installing them in steps. Older to newest. And I appreciate your help.

Now back to firmware if we could.

I got the CID changed to 11111111 and am now able to flash either firmware. I had already successfully flashed the non-HK firmware so I went ahead and flashed the HK firmware hoping that will fix my Wi-Fi not working after flashing the latest Bad Boyz ROM. Since I couldn't get my Wi-Fi working before I just restored the backup I created. Now what I don't get is why after flashing the HK firmware my phone seems to just stop on the HTC splash screen and won't load Android. I went back and flashed the non-HK firmware (which I was running previously) and it still hangs on that HTC splash screen. Any ideas?
[Sprint HTC One (M8)] utnick:
I seem to be having the same wifi problems after trying to install the latest firmware and ROM. Did you have success going to the latest Bad Boyz ROM after you did the RUU? And which RUU did you use? The one from this thread?
[Sprint HTC One (M8)] Zacarolando:
Help

but if not , if I have the harman kardon version or normal

I can flash from the recovery ?
[Sprint HTC One (M8)] iamrafic:
Mine is a amber gold front with Black back. On the back it written as Harmon Kardon edition .
[Sprint HTC One (M8)] draymond1987:
Thanks guise!!

Hey Captain, and other devs on here. It's been a long time since I played with this device. This isn't a help post (yet) LOL.

I wanted to sincerely take out the time and thank each and every one of you, that has helped me in the past. So many feels right now, but I honestly can't thank you all enough! I know that Mr Captain has helped me multiple times.

Hats off to you incredible developers, seriously! :) :D :victory:
[Sprint HTC One (M8)] pillopoulos:
Hi, I have tried to unlock the european lte bands on my m8 h/k sprint version, and now, despite what I have done, I don't have signal. I even flashed an RUU and it doesn't work. Have I bricked my device?
[Sprint HTC One (M8)] OMJ:
it's rare to actually brick a device...it's only bricked if it wont boot....what did u do to try to unlock the lte bands?
[Sprint HTC One (M8)] pillopoulos:
[RUU][Firmware]Sprint HTC One M8 | 4.25.65x.14 | 4.20 Stock Rooted ROMs | Upd...

I followed this guide http://xdaforums.com/showpost.php?p=55673438&postcount=475 but I'm now facing this problem. I selected all the gsm and wcdma bands. Is it logic to run RUU and still not having signal? To be accurate, I was trying to enable 3g again.
[Sprint HTC One (M8)] OMJ:
if u changed NV values, I don't think RUU'ing will fix it.

you will probably need someone to partially repeat those steps to get the default values, so then you can write them back

I would do it, but I no longer have a M8

also, so I assume you had SIM unlocked?
[Sprint HTC One (M8)] pillopoulos:
[RUU][Firmware]Sprint HTC One M8 | 4.25.65x.14 | 4.20 Stock Rooted ROMs | Upd...

I have the default value that was in the RV manager and was showing on 1877 RV value. If I place it again there will my cell start to work again?
[Sprint HTC One (M8)] OMJ:
whichever values u changes, I would write them back...I would think this will get your cell working again
[Sprint HTC One (M8)] pillopoulos:
That's the only value I interfered with. If I put the first value, what else should I do next? If I give you this value , will you know what I should do next?
[Sprint HTC One (M8)] OMJ:
just reverse what you did...that's all I can tell you
[Sprint HTC One (M8)] pillopoulos:
I really don't have a clue of what to do. Everything I'm doing from watching relative forums is doing it every time a little bit worse
[Sprint HTC One (M8)] DTHC:
Hello . You could try this because i had similar situation, if you can get in to bootloader and root flash custom recovery and root, change mid back to Sprint version , through fastboot first flash firmware (important- through rebootRUU) , and after that also through rebootRUU flash RUU.EXE , i had M8 which was from Sprint after updating to 5.0.2 it lost capability of 3G-HSPA so i returned it and tomorrow i am taking M9. Sprint is CDMA so it can make you some problems with data connection.
[Sprint HTC One (M8)] pillopoulos:
I have done all of these steps but nothing changed
[Sprint HTC One (M8)] OMJ:
sorry, I cant help you, as I've never messed w/ NV

my only suggestion if u have the original values that u changed is, CHANGE THEM BACK lol...if you have done that & it's still not working, I guess you're SOL
[Sprint HTC One (M8)] pillopoulos:
I have the previous value of nv 1877 but isn't changing. What is SOL?
[Sprint HTC One (M8)] OMJ:
Sh*t out of Luck
[Sprint HTC One (M8)] OMJ:
[MENTION=5687120]pillopoulos[/MENTION] go to this thread and see if [MENTION=4428363]stifilz[/MENTION] can help you...he has a nice tutorial for editing network bands...though it's intended for the M9

http://xdaforums.com/one-m9/general/how-to-change-network-bands-gsm-devices-t3135401
[Sprint HTC One (M8)] pillopoulos:
[MENTION=506238]OMJ[/MENTION] I'll try it tomorrow. If it succeeds, really man, I'm gonna try so hard to send you a donation somehow. Our PayPal accounts in Greece are blocked because we have capital controls. But I will donate somehow!!! [emoji2]
[Sprint HTC One (M8)] OMJ:
No worries, good luck!
[Sprint HTC One (M8)] Traxx999:
I updated to the latest firmware and stock rooted ROM after a long while, but now WiFi doesn't work! I read that it may be related to a mismatch of ROM version and firmware? Can anyone shed some light on this? Thanks!
[Sprint HTC One (M8)] pillopoulos:
Hello there! I've added the 3g and 4g bands that I needed , but when I restarted the phone, I couldn't change the device's network. It was stuck in WCDMA preferred and I hadn't signal. Although, I changed the 1877 value with the stock one and I have my reception back, 3g activated, but no 4g. The forum that you provided me was very helpful but they don't answer to questions.

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Sprint HTC One (M8)] OMJ:
glad to hear you got 3g back at least...I don't have any experience modifying bands (no need to), so I can not be of help...I would post again asking for help & also tag stifilz
[Sprint HTC One (M8)] codyray324:
OMJ when do you think an eta is on the newest update? Or is it safe to take the ota?
[Sprint HTC One (M8)] OMJ:
I haven't had the M8 for some time now....I'm on M9...I'm sure it's ok to take to OTA...

I will not be posting stock ROMs, and I see HTC does not have the RUU's on their site. I'll update this thread if the RUU becomes available or once I get the firmware
[Sprint HTC One (M8)] bevoosted:
I need some help...I purchased a m8 HK edition for a friend, I realized (after I sent the phone to her) shortly thereafter it was running a custom rom, twrp, s-on... (info below)...I believe the person flashed a version of the rom w/o the hk software and its causing the audio on music to be distorted when only played from the sd card/ and or phones memory....streaming music plays fine, and the speakers are perfectly fine. So Ive been trying to flash a stock rooted hk rom ..I tried several times to download the one on post 2 but it fails every time..

Goal: To flash a stable rooted HK rom(close to stock preferably) Btw, Im open to any custom hk rom, basically whichever one requires the least possibility of messing the phone up, as I will be talking her through it.

Its been a long time since I flashed custom roms and I never had to flash the different firmwares which is where Im getting hung up on...can some one please let me know exactly:..Do I need to flash a firmware? Can i just flash the rom? If so which HK version from the OP/ or otherwise? I will donate too for the help, it will be greatly appreciated..

(I can go s-on if needed....I wanted to just return the phone to bone stock, but its seeming like it may be easier to just flash a stock rooted hk rom....But returning to stock is definitely an option also if easier.....Sorry,.but i'm afraid I have just enough experience that its going to get me in trouble ;) and I dont want to mess her phone up.

Sprint m8 HK

Android Version: 5.0.1

Fluent Rom v4.0.1

Build: 4.20.651.10 (shouldnt this be .654 ??)

Twrp: 2.8.4.0

s-on

hboot: 3.19.0.000

OS: 3.31.654.2

Thanks again!
[Sprint HTC One (M8)] dopy25:
If it is the HK edition it should be 654, yes.

But not all of the custom stock based roms are made from the HK edition. You can flash Bad Boyz and then flash the HK menu stuff zip and you would have a rooted stock based rom with some customization. Or you can relock the bootloader and run the HTC RUU which would completely return the phone to stock. After that you can unlock it again and install an updated TWRP. 2.8.4 is old at this point. They are now on 2.8.7 and up.

My suggestion would be to relock the BL and run the HTC ruu. it really is the easiest.

After that you would need to follow the instructions on the HTCdev website to obtain your unlock token identifier (there are instructions on this) and then they will email you the unlock bin that you flash through fastboot.

This process would ensure you are up to date. HTC lets us unlock the BL at any time, but it will wipe the device's storage unless you use sunshine for 20$ (gives you s-off and BL unlock) one time fee per device.

after you unlock and flash TWRP you can flash the latest SU from TWRP and have root. From there you can customize stuff via various methods. I would suggest running the RUU and booting the device, taking the OTA that supposedly fixes the stagefright vulnerability, then unlocking the BL and flashing TWRP, SU, Custom ROM. although custom roms already have the fix from google, but they're built with regular sources and not HK. There are some custom ROMS that have good sound as well lately.
[Sprint HTC One (M8)] bevoosted:
Which HTC RUU?

I already had downloaded a HTC Sprint m8 HK RUU off their website....Is this one ok? Or is there a specific one I should use? I was told that the RUU has to be equal or greater to the current build?? There was only one RUU on the HTC site so Im not sure if its older (4.4.4) or a newer one? Thats the last thing I'll ask and I should be good to go...just dont want to use the wrong HTC RUU.........Thank you so much for your help....(btw...I am familiar with unlocking bootloaders so locking it will be no problem....again thanks a lot)
[Sprint HTC One (M8)] Sloth:
Non HK Version

4.25.651.18 Full Firmware

4.25.651.18 Modified Firmware **S-OFF Users Only** (boot.img and recovery.img removed)
[Sprint HTC One (M8)] hoesnaps:
Is there s radio update in this?
[Sprint HTC One (M8)] Sloth:
Just looked there is not a radio.img in the new firmware.
[Sprint HTC One (M8)] OMJ:
There is no new radio with this update, the new firmware is pretty much worthless
[Sprint HTC One (M8)] jwigley24:
Just for my personal knowledge, did u just extract the firmware.zip from the ota file, then delete the recovery.img and boot.img files from it? All the times when I was waiting for someone to "modify the firmware" for a new update, could I have just done that all along? Then rename the zip to 0P6BIMG to flash in bootloader?
[Sprint HTC One (M8)] EVOuser94:
That is what is being done yep, Absolutely you can be doing this stuff yourself!
[Sprint HTC One (M8)] Robbie_G:
And on a somewhat related note, is there an easy way to extract and flash the software update? I'm assuming I shouldn't take the OTA because I'm rooted and have TWRP recovery.
[Sprint HTC One (M8)] DaveO88888:
RUU Sprint HTC One M8 4.25.651.18

I tried to run Sprint OTA 4.25.651.18 zip but got abort message in stock recovery which said that "system/bin/linker" has unexpected files in this folder???

Can you please post RUU (Zip or Exe) for the latest non-HK Sprint update? If this update is available elsewhere, please post link.

Thank you!
[Sprint HTC One (M8)] tuxattack80:
Follow the steps in the OP, you don't flash via recovery.
[Sprint HTC One (M8)] DaveO88888:
OP

Hi tuxattack80, Thanks for your help. I wasn't able to flash update. I renamed OTA.zip to 0P6BIMG.zip and tried to flash in bootloader via custom recovery. Got a "failed" message in custom recovery. What OP steps you recommend to update Sprint HTC One M8 to 4.25.651.18? I am S-ON (but can go back to S-OFF with SunShine method) CID is stock. ROM is stock. Thanks for any help!
[Sprint HTC One (M8)] tuxattack80:
You shouldn't be flashing in recovery. Follow these steps from op:

-rename firmware to*0P6BIMG.zip

-copy 0P6BIMG.zip to ext_sd card

-boot into bootloader

-make sure*hboot*is highlighted, press power button

-it will scan your ext_sd card, then ask if you want to start the update

-press volume up & let it do it's thing...(copied from op).

If you're still having problems you may want to s-off. Haven't actually tested the firmware myself because I'm running CyanogenMod and it's already patch against stage fright.
[Sprint HTC One (M8)] ckvisme:
So the new 4.25.651.18 update is JUST for the Stage Fright bs?

I'm s-off so I guess I could fastboot it without much trouble... But if I'm running custom roms that already incorporate the fix... is there any reason to update it?

TIA

PS if I want to fix partitions (if I suspect that I have partition issues) I need to do a full RUU correct?
[Sprint HTC One (M8)] tuxattack80:
Not sure about the partition issues(what are you experiencing) as for the firmware update it's just a security patch for stage fright. If you Google the firmware number it seems that the patch is inconsistent with stage fright and still leaves you at risk also it seems from a couple of users out there that it's causing issues with the infamous itson garabage that sprint pushed onto our phones. Best bet if your going to flash use a custom ROM that doesn't include itson or a ROM that's already patch correctly for stage fright.
[Sprint HTC One (M8)] ckvisme:
Thanks for the info... Lol, I'll stay away from the update.. For now at least.

As far as partition issues.. I'm not sure if I really do or not... Just having some issues with certain roms not flashing to secondary (internal) slot with multirom.

It may be on the multirom or recovery or rom side...

I was just thinking if I made sure it wasn't partition problems it would help narrow it down. Thanks again.
[Sprint HTC One (M8)] DaveO88888:
op

tuxattack80 Thanks again for your help! I S-Off'd using Sunshine (my phone already was rooted). Then I booted into bootloader by pressing power + volume down and my device automatically scanned 0P6BIMG.zip in ext_sd card but instead of asking if I want to start the update, then press volume up, I see hboot scanned and found 0P6BIMG.zip but I got sort of a weird message that says "Press <POWER> to reboot." Should I change the CID to 11111111? Any suggestions why bootloader won't run 0P6BIMG.zip?

Thank you for your help!!!
[Sprint HTC One (M8)] tuxattack80:
reboot back in to bootloader and see what your os version is. normally it will give you the message to reboot by pressing power once the update is completed. Your CID shouldn't matter as long as your flashing the firmware on a non hk edition m8 or havent changed the CID before to flash hk firmware in the past.
[Sprint HTC One (M8)] DaveO88888:
op

Hello Tuxattack80 I checked my os version and it is still 4.25.651.14. I can't seem to get my os updated to 4.25.651.18 using the 0P method. By the way, the last ROM update I did was here on xda developers, I used RUU.exe method, Sprint_HTC_One_M8_non-HK_4.25.651.14_RUU, which is available at http://xdaforums.com/showthread.php?t=2729173. Thanks for all of your guidance.

---------- Post added at 04:09 AM ---------- Previous post was at 03:48 AM ----------

Okay, finally!!! Thanks to all of your help Tuxattack80, I was able to get this update applied to my Sprint HTC One M8 non-HK. What I did was went to xda developers Sloth's link to download "4.25.651.18_modified_firmware.zip" which is the one I think is best for S-Off users. Then I renamed the zip file to 0P6BIMG.zip and booted into the bootloader, I got the message you said I would get, and I pressed volume up, the firmware update to 4.25.651.18 was successful!!! Thank you very much. Your help was vital for my success!!! Thanks again.

---------- Post added at 04:21 AM ---------- Previous post was at 04:09 AM ----------

Oh man, bad news. I just checked my os version and it's still 4.25.651.14. I jumped to fast because hboot went so smoothly, I thought for sure the os was updated. Well, I am sort of out of options unless someone posts a RUU update. I can't figure out why 0P method in hboot won't work.
[Sprint HTC One (M8)] Brakiss:
Dude... It's a useless update. There is modem, so you don't need to worry
[Sprint HTC One (M8)] DaveO88888:
I also tried Sloth's update 4.25.651.18_full_firmware.zip. It loaded perfectly in hboot and firmware update was applied but os version still shows 4.25.651.14.
[Sprint HTC One (M8)] Sloth:
OS version won't change unless you flash a rom based off the update.
[Sprint HTC One (M8)] DaveO88888:
Hi Sloth!!! Thanks also for your reply. Yes, I see what you mean. I checked in the bootloader and everything was updated in the firmware, it also shows OS 4.25.651.18. Do you have a ROM version I can flash to update the OS version in Android? I'll check your URL too. I don't want to change it manually. I'd prefer to flash the OS. Thanks for all your help on this issue.
[Sprint HTC One (M8)] Sloth:
I don't think we will be getting a stock rom for this update...OMJ no longer has the device.

Only way to get update would be to take the OTA, unless someone else makes a stock rom for us.
[Sprint HTC One (M8)] DaveO88888:
Thank you Sloth, I am bummed that OMJ won't be developing for us anymore on the M8. Can you tell me the best way to take the OTA? Should I relock the bootloader? (Then of course I will wipe my phone data when I unlock it). I use Titanium to restore my data saved to ext_sd. Can I leave S-Off? Thanks for any help on this. I still shows in my OS that my phone is vulnerable to StageFright even after updating the firmware to latest version, I think because my Android OS is still the previous version. Thanks for your help!!!
[Sprint HTC One (M8)] dallasstars:
So, is this at all recommended or useful to flash on custom roms? I'm s-off and was thinking of flashing in fastboot
[Sprint HTC One (M8)] OMJ:
I'm looking at buying a cheap M8, in the meantime, I'll put together a stock rooted ROM if someone wants to test it...

*edit* need a tester...https://www.androidfilehost.com/?fid=24052804347795759
[Sprint HTC One (M8)] jwigley24:
when i tried to do this, i got an error. it's not letting me delete the recovery.img nor boot.img from the firmware.zip file after i extract it from the OTA file. i'm using winRAR to do this, as this is what i've always used to modify .zip files. any suggestions or reasons?
[Sprint HTC One (M8)] 63sammo1:
Downloading now.
[Sprint HTC One (M8)] OMJ:
use 7zip...if u still get an error, extract all the files to a folder, delete what u want, then zip back up w/ 7zip...just make sure the there is no folder in the zip.
[Sprint HTC One (M8)] jwigley24:
downloaded and clean flashed in twrp but after it gets to "Installing busybox", the following appears:

set_perm: some changes failed

E:Error executing updater binary in zip.......

Failed

any thoughts?