yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M9)] l2icky:
EDIT:

C:\adb>fastboot flash unlocktoken Unlock_code.bin

target reported max download size of 800000000 bytes

sending 'unlocktoken' (0 KB)...

OKAY [ 1.005s]

writing 'unlocktoken'...

(bootloader) flash unlocktoken

(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp

(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock

(bootloader) [KillSwitch] oem unlock Turn Off!

OKAY [ 0.010s]

finished. total time: 1.015s

I was getting this when trying to unlock the bootloader.

For those that run the RUU, and are S-on, I don't remember this being the case when I first unlocked the bootloader.

You'll need to go into developer options and select the option.
[Sprint HTC One (M9)] OMJ:
2.6.651.11 firmware added to OP
[Sprint HTC One (M9)] Slagathor01:
I would just like to confirm, it's been a while, dont wanna break anything...

I am s-off, so I just plug the phone in and run the RUU correct??
[Sprint HTC One (M9)] pinky059:
^^ Yes :)
[Sprint HTC One (M9)] ReproOne:
OMJ:

I boot into download mode, after copying and renaming the modified firmware to my sd card, but it states at the bottom the SD NOT MOUNTED. I'm under the impression this is the correct way to apply the modified firmware in prep of your ROM. I could do it by fastboot, but what might I be doing wrong with this SD method?
[Sprint HTC One (M9)] jllbenson:
I cant flash firmware with fastboot method. I couldn't do it with last firmware either. "Can't determine the image filename for firmware.zip" is the error I get. Guess i'll just do the bootloader with SD-card method...

edit.

hmm. while in download mode at the bottom of the screen it shows that it sees the file but i get no prompt to install.
[Sprint HTC One (M9)] OMJ:
if s-off, try from bootloader

personally I have RUU'd the last 2 updates so I haven't flashed the firmware...twrp only
[Sprint HTC One (M9)] Captain_Throwback:
You can only use this method if your card is formatted FAT32. Are you using an exFAT-formatted card?
[Sprint HTC One (M9)] volk9029:
That is good point. Mine is exFat formatted card. It didn't work. Will try with FAT32 card later. Thanks Captain.
[Sprint HTC One (M9)] ReproOne:
That may be it, good catch! I'm sure it is exFAT as I needed the larger filenames. I will check, and if so, use a different card with FAT32 and try. I will post back the results. However, OMJ now suggests waiting until his ROM is updated to correspond with the firmware...
[Sprint HTC One (M9)] repl1ca:
I didn't relock my bootloader before the RUU, and it completed successfully. I don't think it was already locked before I applied the RUU....
[Sprint HTC One (M9)] l2icky:
I think you only have to relock it if you are S-on.
[Sprint HTC One (M9)] OMJ:
stock rooted ROMs are uploading, will probably take awhile....I wont be around most of the day so just keep an eye on my ROMs folder @ AFH...

https://www.androidfilehost.com/?w=files&flid=28787

I tested the odex ROM, didn't have time to test deodex
[Sprint HTC One (M9)] asacado:
Is it true that the throttle from 2ghz to 1.5 was reverted? Someone on the sprint community site said it was.
[Sprint HTC One (M9)] deakelem:
yes its true, i mentioned it in the OTA thread.

http://xdaforums.com/showpost.php?p=61644011&postcount=135
[Sprint HTC One (M9)] asacado:
It's weird, I have tried several kernel editors and it shows a max of 1.5ghz.
[Sprint HTC One (M9)] mswlogo:
What is the difference between "Stock (from RUU) rooted with TWRP" and your "Stock Rooted Odex" ROM?

So far I've Nandroided, applied the RUU, installed latest Captain TWRP and I let TWRP "root it".

Note: When I was in bootloader and ran RUU it said my battery was below 30% (it was 80%). So I ran the RUU from booted stated and it ran fine. Just FYI for anybody.

Note: RUU also triggers hands free activation.
[Sprint HTC One (M9)] repl1ca:
I can see it in Kernel Toolkit....big cores only though. Little will never reach 2.0
[Sprint HTC One (M9)] itsachirpthing:
You probably need a smaller sd card. I had the same thing happen on the previous firmware update. Took out the 64g, replaced with a 32g with the image and it flashed perfectly. I would but read my 64g card. Try that.
[Sprint HTC One (M9)] tx_jaycee:
Can we flash M9 Intl 1.40 Kernel's with this update? Are they compatible? I know off topic but I can ask in Kernel Threads if necessary.

Thanks in advance
[Sprint HTC One (M9)] thicklizard:
Probably but camera won't work
[Sprint HTC One (M9)] P_M_G:
Damn I want to flash this to test the radio since I've heard some good reports...but can't get my stinking work PC to recognize phone in ADB and phone won't recognize the firmware on my ext_sd (64gb and likely exFAT) so gotta wait until tonight.

DAMN.
[Sprint HTC One (M9)] OMJ:
deodex failed while I was gone...just upped it...anyone care to test? :)

*EDIT* again...deodex ROM back up... https://www.androidfilehost.com/?fid=24052804347767738

umm, nothing really, just more work for me...actually I might nix stock rooted odex in the future
[Sprint HTC One (M9)] schmeggy929:
Hurry up! Tested all day, B41 and B25 not one issue all day driving. Looks like LTE is back to being awesome.
[Sprint HTC One (M9)] Aldo101t:
good deal
[Sprint HTC One (M9)] vtotheinay:
im a noob so i apologize for the questions. im currently on viper 1.9.0, s-off, unlocked, etc etc (didnt upgrade rom version cause i was waiting for the sprint firmware). im planning on upgrading firmware via the download mode option posted in the OP. after i do that do i automatically switch over to recovery and flash the 3.0.0 version of the rom? also if anyone did it already, is viper 1.9.0 to 3.0.0 a safe dirty flash? i know jan always says viper version are safe to dirty flash but just unsure cause id be skipping an entire version (2.x.x). thanks so much in advance.
[Sprint HTC One (M9)] Aldo101t:
make a nandroid and try it, most times it's ok but not sure about that jump though.
[Sprint HTC One (M9)] vtotheinay:
cool thanks. so in my situation with already running viper and stuff which file from OMJ should i be using to update? full firmware from OTA or modified firmware?
[Sprint HTC One (M9)] volk9029:
You should use modified firmware.
[Sprint HTC One (M9)] vtotheinay:
got it thank you. just curious whats the difference? ive been an HTC user for years always rooted and ran viper rom but never s-offed and did the firmware stuff so its new to me.

PMed you [MENTION=4535740]Aldo101t[/MENTION]
[Sprint HTC One (M9)] Aldo101t:
Modified
[Sprint HTC One (M9)] schmeggy929:
Modified firmware does not include aboot and Stock recovery images. Say if you already are using the latest TWRP and red text removed from boot image, flashing modified eliminates the need to reflash both.
[Sprint HTC One (M9)] vtotheinay:
thanks everyone! gonna take care of the flashing firmware + viper tonight. is anyone seeing improved service? my M9 service has been atrocious compared to my M7 and that was already pretty bad :/
[Sprint HTC One (M9)] Adebayo88:
So I relockd by bootloader to take the update. Took the update and now cannot unlock again. Any ideas as to why?
[Sprint HTC One (M9)] mingo2120:
Whats the Pri should be after you flash
[Sprint HTC One (M9)] Aldo101t:
Howd you make out?[emoji4]
[Sprint HTC One (M9)] trev23sks:
Don't dirty flash to 3.0.0 I recommend doing a full wipe. Dirty Flashing from 5.0.2 to 5.1 might boot loop on viperrom
[Sprint HTC One (M9)] repl1ca:
Go into 'Developer options' and you'll see an option for 'OEM unlocking'. Try selecting that and see if you can unlock again :good:
[Sprint HTC One (M9)] predator1584:
Mine is still 55025
[Sprint HTC One (M9)] Captain_Throwback:
PRI, not PRL ;)
[Sprint HTC One (M9)] schmeggy929:
PRI should be 1.11_003
[Sprint HTC One (M9)] Adebayo88:
Ok Ill try it out when I get off work. thanks
[Sprint HTC One (M9)] mingo2120:
I flashed the modified firmware, but PRI. did not update or change...foes it mean it didnt flash right or which firmware should i flash?
[Sprint HTC One (M9)] vtotheinay:
got too tired last night and didnt do it yet! haha today

really? ok thats good to know. i noticed most people in the thread were jumping from 2.x.x to 3.0.0 without many problems on a dirty flash but ill do a clean install anyway why not.
[Sprint HTC One (M9)] ReproOne:
Did you figure out the PRI issue of it not updating?
[Sprint HTC One (M9)] repl1ca:
I'm wondering if the PRI is updated with the HBOOT? Mine is currently at 1.11_003 but I updated everything with the RUU.

Maybe try flashing the modified HBOOT from HERE. It can't hurt anything if you've already flashed the modified firmware.
[Sprint HTC One (M9)] fifedogg:
After flashing using 0PJIMG.zip method I was successfully able to install the modified firmware. But upon reboot I was stuck on HTC white screen and nothing happened. I mounted my SD card and removed the Zip file. It was still stuck at the HTC white screen. Only way to get around that was to restore my Nandroid backup. Once I installed the nandroid backup the phone booted up just fine.

Is there anything that could have gone wrong restoring todays old backup right after updating the firmware? I'm guessing its now using my old files to boot but not sure as it didn't matter how many times I installed the Firmware the phone would not boot unless I restored my backup...
[Sprint HTC One (M9)] Aldo101t:
no mine did the same thing your ok
[Sprint HTC One (M9)] fifedogg:
OK cool. Just wasn't something I had to do in the past. Was just hoping I didn't overwrite something important.

My service went up 2 bars after install of the new radio. I was able to hit 30mbps before and just hit 51mbps in the same spot as before. Band 41 is working much better now for me in Irvine Ca.
[Sprint HTC One (M9)] mswlogo:
Not impressed with update so far.

I ran RUU and setup from scratch.

I had it plugged into computer and it was not charging even though display said it was. Moved to htc charger and it still didn't charge. Rebooted and it started charging. That's never happened.

On my way home saw traffic and clicked nav shortcut home to see how bad it was. Had 3 bars of LTE. It just sat there and did nothing trying to find route. No data where it should easily get data. Reboot and it worked fine.

Took a pic and tried to mms to wife. It refused. It would not send until I connected on wifi.

Trying bad boys beta now. With dirty flash but I will probably factory reset again. Mainly because stock already installed some bloat, which dirty flash won't remove.
[Sprint HTC One (M9)] DeLeTe3:
after installing ruu I have no recovery any ideas anybody
[Sprint HTC One (M9)] :
Anyone else having issues running the RUU? On my PC I get the installwizard screen to pop up for a minute or two and then nothing happens...
[Sprint HTC One (M9)] Aldo101t:
you have to reflash recovery after a RUU, it installs stock recovery.

also superSU will have to be flashed too, unless you flash a rooted rom
[Sprint HTC One (M9)] BUBBA DUB'S:
Have to re flash twrp
[Sprint HTC One (M9)] DeLeTe3:
can't install anything everything is locked
[Sprint HTC One (M9)] Aldo101t:
did you relock your bootloader, if so just unlock it again, you can use your old code or go to htc.dev and do it again

also when you flash recovery are you in download mode
[Sprint HTC One (M9)] Macropoutsis:
Hey guys. I'm still s-on. So I flashed the 2.6.651.11 ruu. All went well. But when I try to unlock the bootloader again, I get

E:\Users\Pete\Downloads\HTC-ONE M9>fastboot oem get_identifier_token

...

(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp

(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock

(bootloader) [KillSwitch] oem unlock Turn Off!

OKAY [ 0.054s]

finished. total time: 0.054s

Not sure why. Any help?
[Sprint HTC One (M9)] tetrabyt:
Turn on unlock bootloader in the developer menu.
[Sprint HTC One (M9)] OMJ:
Try enabling in dev options
[Sprint HTC One (M9)] Macropoutsis:
Thanks bud. Didn't see that. :good:
[Sprint HTC One (M9)] :
I'm having trouble. When I flashed the new version of BadBoyz my phone screen started doing this weird flashing thing, almost like static. I have tried running the RUU but it doesn't run on my PC. The installshield screen comes up for a minute and then disappears and nothing happens. I tried relocking and unlocking my bootloader as well as installing a different ROM to no avail. Can someone help? I guess my main question right now is whether there is something I need to download on my PC for the RUU to run, because it will not run on my comp.
[Sprint HTC One (M9)] BUBBA DUB'S:
Did you just make the switch to the new firmware? Also did you check in download mode if the firmware matches the ROM you are flashing?

In regards to the computer, do you have anti-virus software that might be preventing the program from running? It took a bit for it to get going on my computer when I ran it last night.
[Sprint HTC One (M9)] :
---------- Post added at 02:39 PM ---------- Previous post was at 02:31 PM ----------

[/COLOR]

Do I need to have my bootloader unlocked to flash the new firmware? All I did was flash the new version of the ROM to the phone. I tried the stock rooted rom posted here as well as the latest venom viperone rom and they all do the same thing. Also, the only antivirus i have on my pc is windows defender and I have not gotten any notification from defender that it is blocking the RUU.
[Sprint HTC One (M9)] BUBBA DUB'S:
Firstly , what set up were you coming from prior to flashing new ROM? If you are s on or s off , and reboot into download mode to see what it says your firmware is. Just flashing those ROMs will not update the firmware. If you are s on you have to lock bootloader (s-off you don't), run RUU , unlock boot again after to fastboot flash recovery in download mode.
[Sprint HTC One (M9)] :
I tried flashing the firmware with my bootloader locked and unlocked and got errors both times. I got error code 8 when it was locked and error code 14 when it was unlocked. I am not sure what those errors mean but I can't flash the new firmware and also can't run the RUU... The firmware is the version prior to the version of the ROM, but I can't seem to update it by flashing the firmware

target reported max download size of 800000000 bytes
sending 'zip' (72572 KB)...
OKAY [ 3.335s]
writing 'zip'...
(bootloader) HOSD CL#506785
(bootloader) Perform pre-update
(bootloader) ERR ZIP signature checking failed...
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 8
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 8
(bootloader) end@Done
FAILED (remote: 8: fail to flash via downloadzip)
finished. total time: 7.383s
[Sprint HTC One (M9)] mrlakadaddy:
What version of windows are you running?

---------- Post added at 03:03 PM ---------- Previous post was at 02:58 PM ----------

Might just be a few components you need to down load for windows in order for the RUU to run.
[Sprint HTC One (M9)] DeLeTe3:
unlock bootloader in the developer menu. fix my problem thanks for the help :D
[Sprint HTC One (M9)] mrlakadaddy:
You need to download all c++ redistributibles
[Sprint HTC One (M9)] :
I'm running Windows 8.1 and you're probably right because this is a new PC. I just don't know what those components are.

---------- Post added at 03:09 PM ---------- Previous post was at 03:08 PM ----------

Where do I find those?
[Sprint HTC One (M9)] BUBBA DUB'S:
[MENTION=5399438]Vobeyo[/MENTION] , put image on SD card , open adb command and adb reboot download and see if that works. If your s on you can't flash that image in the hboot, it has to be in download.

Also if your s on , I'd highly recommended going back to a nandroid of previous version and getting s off.
[Sprint HTC One (M9)] :
by image, do you mean firmware zip? Also, Does that mean my bootloader has to be unlocked for the firmware to be installed?
[Sprint HTC One (M9)] BUBBA DUB'S:
Yes , the modified firmware that you rename 0PJAIMG.zip. Bootloader should already be unlocked unless you re locked it.
[Sprint HTC One (M9)] :
I installed all the C++ redistributables and I still get the same thing. The window for the installshield wizard pops up and then nothing.

---------- Post added at 03:46 PM ---------- Previous post was at 03:44 PM ----------

I've been trying to unlock my bootloader and the command prompt says it is successful but the phone keeps saying that the bootloader is relocked. I tried getting a new unlock code from HTCDev and the same thing happens.
[Sprint HTC One (M9)] Captain_Throwback:
You have to have the 2008 Visual C++ Redistributable (x86) installed. Just having x64 installed won't do it. Most likely you're missing it, because that's the one the RUU needs to run.
[Sprint HTC One (M9)] :
Thanks to all who helped me. I was able to run the RUU to reset the phone. Thanks again so much!
[Sprint HTC One (M9)] Desertio:
I'm on sprint. S-off . currently running 1.32.651.30

I need to update my firmware. Should I download the same version or a newer one? Thanks
[Sprint HTC One (M9)] Aldo101t:
2.6.651.11 is the one you want.
[Sprint HTC One (M9)] Desertio:
Okay. Now, which one should i download? The RUU, The OPJAimg RUU, or the firmware? Thanks again
[Sprint HTC One (M9)] Aldo101t:
if you are s-off do the modified firmware per the instructions therein.
[Sprint HTC One (M9)] Desertio:
Thank you very much.
[Sprint HTC One (M9)] Crawshayi:
I am S-Off and flashing the modified firmware did not work for me, it just sat at the white boot screen and I had to restore a nandroid. I ended up just doing an RUU from the computer and going from there.
[Sprint HTC One (M9)] Desertio:
I downloaded the modified firmware and renamed it to OPJAIMG.zip Placed it on the root of the SD card and rebooted into bootloader and download mode. The phones not scanning or finding the file. Any idea why or what im doing wrong? Thanks
[Sprint HTC One (M9)] Aldo101t:
probably your sdcard, it has to be formatted to fat32.you can always use the fastboot method too.

also check the file on your sdcard and see if it has zip.zip on it.
[Sprint HTC One (M9)] Crawshayi:
It's supposed to be a zero not an "O"
[Sprint HTC One (M9)] Aldo101t:
that is correct.
[Sprint HTC One (M9)] mswlogo:
assuming you are s-off or re locked the only problem with ruu is likely you are missing a c run time library for the ruu and You have to look in windows event log for the error to figure out what library is missing. This is a long standing HTC bug you can work around.
[Sprint HTC One (M9)] Desertio:
I figured it out. Put the zero in there and placed the file in /mt/media_row/ext_SD/

Rebooted into download mode and it read perfectly. It flashed then when I rebooted it got stick on the white screen. I powered down and rebooted into recovery and flashed the viper 3.0.0 ROM. Restarted after that and it was all good. Thank y'all
[Sprint HTC One (M9)] OMJ:
checkout post #3 for a new tool from Sneakyghost
[Sprint HTC One (M9)] deakelem:
OT thought

I know this is a bit OT but ... i really hope my replacement phone comes in today with 1.32... I dont want to wait for s-off again..lol
[Sprint HTC One (M9)] dafluke24:
At least if you got the newest update, you can use B41 :p
[Sprint HTC One (M9)] deakelem:
haha true.. it is a bit of a wash now that you mention it but obviously i would just s-off and flash the latest firmware ASAP! I have been using my m8 while i wait for the replacement (taking long cause of the holiday i guess) and the m8 radio is a peach compared to the m9 but like mentioned elsewhere thats just expected with refinement over time.
[Sprint HTC One (M9)] dafluke24:
True, in time it'll get better when they work out all the kinks. It just takes them awhile to acknowledge the issue, but we had workarounds in the meantime, ie disabling B41. I would have returned my M9 if i couldn't resolve the data drop issue when I first got the phone. Heck, I couldn't even activate it on LTE. I had to connect to wifi to complete it. Right then and there, I knew something was up lol
[Sprint HTC One (M9)] Aldo101t:
sunshine now works for android 5.1 no worries, unless your Verizon,
[Sprint HTC One (M9)] deakelem:
hahah thanks! i actually just got the phone in my hand, its still on 1.32 but I appreciate you letting me know that.
[Sprint HTC One (M9)] l1ttl3z:
hi, does anyone have stock recovery for 1.32.651.30 they can post a link for.. I tried to download the firmware but i keep getting errors when I try to open it
[Sprint HTC One (M9)] OMJ:
https://www.dropbox.com/s/75p5ms5sqfgqa96/1.32.651.30_recovery.img?dl=0

btw...use 7zip to open the firmware zips...
[Sprint HTC One (M9)] l1ttl3z:
This is the first time i've ever seen this. Does this mean i have to re-lock bootloader? I didn't get any of this the last time i wanted to get OTA and went through this process[/url][/IMG]
[Sprint HTC One (M9)] OMJ:
are u 100% stock? s-on or s-off?
[Sprint HTC One (M9)] l1ttl3z:
I am fully stock the only thing i've done is root. I am S-ON on stock rom. I just tried to flash stock system and recovery just like i did the last time except this time i got this screen
[Sprint HTC One (M9)] OMJ:
so you're trying to flash the stock system? the screen u are on is stock recovery so u must have already flashed the stock recovery..I believe u need to be in download mode to flash the system img.
[Sprint HTC One (M9)] l1ttl3z:
I flashed system and then recovery. I will try to flash system again and see if that works.

---------- Post added at 01:10 PM ---------- Previous post was at 12:46 PM ----------

No change. I tried to flash both stock system and recovery again.
[Sprint HTC One (M9)] l1ttl3z:
I just tried to also re-lock my boot loader and still getting the same screen
[Sprint HTC One (M9)] xxstealthcobraxx:
I relock oemlock to update rru I am on S off then after I finish update and now I try unlock it but it wont work I already have Unlock_code.bin. i try 2 different toolkit they both wont unlock for me (WinDroid Universal Android Toolkit v2.4 and M9Toolkit v1.3.2) my carrier is Sprint and its M9
[Sprint HTC One (M9)] Captain_Throwback:
Please use search.

http://xdaforums.com/sprint-one-m9/...-htc-one-m9-1-32-651-17-t3073355/post61691837
[Sprint HTC One (M9)] OMJ:
1. if you are s-off, no need to lock

2. fix has been mentioned a few times in this thread... http://xdaforums.com/showpost.php?p=61691840&postcount=285
[Sprint HTC One (M9)] xxstealthcobraxx:
Yes I know. I went oem relock by my mistake and flash with rru then I try unlock it wont let me and I ask for help and Captain throw point me to u how to use oem unlock so I check on box and nothing happen I am lost.....:eek:
[Sprint HTC One (M9)] Captain_Throwback:
You check the box to allow OEM unlock, and THEN you unlock with HTC Dev.
[Sprint HTC One (M9)] xxstealthcobraxx:
with toolkit?
[Sprint HTC One (M9)] Captain_Throwback:
I will never recommend using any Toolkit. The unlocking instructions are right on HTC Dev and easy to follow.
[Sprint HTC One (M9)] xxstealthcobraxx:
Ok can u point me to Htcdev?
[Sprint HTC One (M9)] Aldo101t:
htcdev.com simple as that.
[Sprint HTC One (M9)] barleysoda:
The smart phone in your hand bro...the reason your here. Just tell it "ok google, HTC DEV":silly:
[Sprint HTC One (M9)] deakelem:
.17 radio only updated link

I had to make some changes, heres the updated link for the .17 radio... dont use it tho, its rubbish compared to the latest radio lol :) but if anyone needs it here you go.

http://206.174.247.230/public/android_dev/1.32.651.17_radio_only.zip
[Sprint HTC One (M9)] mcj108:
Before anyone answers my question below, it would save a lot of time if anyone happened to know if booloader unlocking was taken away in the last update. I'm on 2.6.651.11 and when I try to get the unlock code it tells me "[killswitch] Last byte is 0x00, disable unlock; [killswitch] oem unlock turn off". Unlocking bootloader is the only reason I would want to downgrade if that would allow me to.

When I try and flash the system backup fastboot tells me the file is too large, is there a certain fastboot I'm supposed to be using? (I'm thinking back to how Motorola has mfastboot for flashing larger files, is there a HTC fastboot I should be using?)