yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M9)] dafluke24:
Bootloader unlock was not taken away. See this post to resolve it.

http://xdaforums.com/showpost.php?p=61691840&postcount=285

Can't answer your 2nd question, since I thought there was just one type of fastboot. I don't think you flash a system backup in fastboot though.
[Sprint HTC One (M9)] epedrosa:
Somebody knows if this radio fix the wifi problems some people have with certain routers?

Also is this radio flash through TWRP or via download mode changing the name of the file...
[Sprint HTC One (M9)] deakelem:
Doubt it will but give it a shot and find out. Chances are you'll just have more data problems with LTE and 3g that youll want to switch back.
[Sprint HTC One (M9)] epedrosa:
And how do I flash it? In case I want to come back I just flash the firmware in this thread?
[Sprint HTC One (M9)] deakelem:
how to flash firmware is on the OP directly under the firmware/radios
[Sprint HTC One (M9)] iBowToAndroid:
My M9 will not bootloader unlock despite enabling it in Dev Options.

(bootloader) flash unlocktoken

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

(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock

FAILED (remote: UnlockToken Verify Fail!!)

finished. total time: 1.043s

5.1 version

Anyone else seen that?
[Sprint HTC One (M9)] Aldo101t:
doesn't work for Verizon, sorry
[Sprint HTC One (M9)] iBowToAndroid:
This is a Sprint forum and thread last time I checked...
[Sprint HTC One (M9)] Aldo101t:
your signature shows Verizon

sorry
[Sprint HTC One (M9)] mrzilla:
It was not. You may need to boot into the phone first and check under Developer Options to ensure "OEM Unlocking" is enabled. I had that exact error after updating the firmware because of OEM Unlocking being disabled.
[Sprint HTC One (M9)] tenzo07sti:
Thought i knew what i was doing but apparently not

So i have been on 1.32.651.30 since i rooted and S-off, my M9. Finally decided i wanted to update to the new firmware 2.6.651.11. So i figured i had read enough on the forums (which i was totally wrong). Downloaded the 2.6.651.11 Modified without the recovery, and fastboot flashed in download mode ( just like i had done in the past with my old M8), everything flashed fine but would not boot past the white HTC screen. I then decided to download the 1.32.651.30 modified without recovery and aboot, The phone booted up like a champ and i thought life was great and i was just not meant to have the 2.6.651.11 firmware. I was apparently totally wrong again because now the phone works for about 30 seconds till the screen turns off then when i hit the power button to wake up the phone up it just resets and loads back up until it decides to reset again normally after it has went to sleep/standby. I then thought ill try to flash the old red text remove zip i had from when i first rooted. So far no resets, but if anyone could please break down how to update to the newer firmware. As of right now im back on 1.32.651.30 with the red text removal zip re flashed. Thanks in advance for any help , normally i know enough to get by with what I pick up on the forum.
[Sprint HTC One (M9)] schmeggy929:
First download the latest 5.1 ROM from badboys. Then reflash 2.6.651.11 firmware without recovery and aboot.. If you get a flush error reboot back to download mode and reflash firmware again.(Yes flash twice). after completion flash Red Text removed aboot zip. then reboot to recovery and flash 5.1 ROM. You are getting white screen because you need to be on a 5.1 ROM. Also you will have a white screen for about 10-15 mins(be patient). Then it will take another 20-25 mins to loading apps.
[Sprint HTC One (M9)] mnhs1010:
plz some one help

I did firmware.zip with fastboot in download mode it sudden reset and now htc logo and then blue screen appears and then reset, same blue screen and reset...

help what to do
[Sprint HTC One (M9)] OMJ:
need more info...which firmware zip? what OS version are u on?
[Sprint HTC One (M9)] Aldo101t:
are you on a gsm phone? if so you are flashing wrong firmware, this is for sprint-cdma
[Sprint HTC One (M9)] mswlogo:
Oops wrong thread.
[Sprint HTC One (M9)] tenzo07sti:
Thank You

Did what you said booted past the white htc screen in to my new rom with updated fimware. Thank You so much!:good:
[Sprint HTC One (M9)] abranson:
Anyone having issues running the latest ruu on Windows 10? It starts the installer setup, then after it finishes loading, and preparing to get to next step, it just closes.. Tried win 7 compatibility mode, no luck...
[Sprint HTC One (M9)] Captain_Throwback:
http://xdaforums.com/showthread.php?p=61698740
[Sprint HTC One (M9)] encript:
Is it just me or is OEM Unlock option gone. I don't have it.
[Sprint HTC One (M9)] Captain_Throwback:
delete
[Sprint HTC One (M9)] theotrman:
I flashed stock. It's there on stock 2.6 sw.
[Sprint HTC One (M9)] encript:
I've just been trying to unlock my bootloader for the first time. But I can't seem to get anywhere with out that option.
[Sprint HTC One (M9)] NotSatan:
Can you post a download link for sneaky's batch tool? Or a batch tool that is compatible?
[Sprint HTC One (M9)] OMJ:
Check post #3
[Sprint HTC One (M9)] BodhiBrock:
I've been getting a lot of service drops on my M9. I was wondering if flashing the OTA radio. Zip would help with that. I'm already on the latest firmware and Bad Boyz rom. If so, do I flash the radio update via fastboot or download mode?
[Sprint HTC One (M9)] OMJ:
If you're on the latest firmware, you should be good, but I guess it wouldn't hurt to flash again. If you didn't flash the latest aboot I would flash the modified firmware without recovery. I always flash via fastboot in bootloader.
[Sprint HTC One (M9)] BodhiBrock:
Without recovery & aboot?

Sent From My High Times Cellular Bad Boyz One M9
[Sprint HTC One (M9)] OMJ:
No... Modified firmware without recovery (that means update your aboot)
[Sprint HTC One (M9)] BodhiBrock:
So far, so good. My signal seems much more stable. Thanks a ton!
[Sprint HTC One (M9)] BUBBA DUB'S:
Deleted
[Sprint HTC One (M9)] jmc2543:
So I wanted to update to current OTA. I used the RUU to flash back to stock then took the OTA. After flashing TWRP and doing a system backup I notice that the system was backed up as system.ext4.win00 and I have several files labeled the same except 001, 002. Am i going to run into issue if I ever want to flash the system partition stock with this backup?
[Sprint HTC One (M9)] OMJ:
I just looked at my last backup.... I have system.ext4.win000 (1.49gb) & system.ext4.win001 (358mb)....system.ext4.win000 is obviously the main image, not sure why there's a 001 or more in your case.

maybe [MENTION=1162986]Captain_Throwback[/MENTION] knows...
[Sprint HTC One (M9)] Captain_Throwback:
System always backs up as ext4. Not sure what the question is. Depending on the size of the backup, sometimes the archive is split. Same thing happens with /data.
[Sprint HTC One (M9)] OMJ:
Question is how to restore split archives
[Sprint HTC One (M9)] Captain_Throwback:
I don't understand. You choose the partition in the Restore menu, and TWRP restores it. The fact that it's a split archive isn't relevant to the restore process.

EDIT: This is obviously different than a "System Image" backup, which is what is needed to restore back to stock for an OTA.
[Sprint HTC One (M9)] OMJ:
we weren't referring the process of restoring via twrp...lol

so this info I have in OP is wrong? if so, only dd backup img can be used to restore?

I was under the understanding from the beginning that we were able to restore a clean backup made from twrp

this SS is when I restored longgg time ago...(made from twrp backup)
[Sprint HTC One (M9)] Captain_Throwback:
When the official TWRP was updated to handle read-only system partitions, that information all changed. The most up to date information has been in the TWRP thread since that change was made to the official (with TWRP 2.8.7.0). You should probably just refer to that thread.
[Sprint HTC One (M9)] jmc2543:
Not sure if this has been brought up at all, but whenever I try to download the newest RUU.zip it completes but seems that it is corrupted after download has completed. I have attempted to download it multiple times, from different server locations.
[Sprint HTC One (M9)] BUBBA DUB'S:
What do you mean completes then seems corrupted? What OS are you running on your computer?
[Sprint HTC One (M9)] OMJ:
WELL, we wouldn't want to leave out ole Flex, lol...I don't have ESP bro...lol

the RUU was not encrypted :P
[Sprint HTC One (M9)] mswlogo:
OMJ, is this a true RUU? Curious why there is no .EXE?
[Sprint HTC One (M9)] OMJ:
yes it is, it's just a different format. I extracted the system.img was able to extract all the files, has all the firmware etc.

we usually don't see the exe RUU until a OTA has been released which I hear is very soon, so we'll see.
[Sprint HTC One (M9)] deakelem:
omj i followed the directions on making sure you flash the untouched system image which. I then attempted to take the ota and this time it got farther than before but eventually failed with status 7 system has unexpected contents..

any ideas?
[Sprint HTC One (M9)] deakelem:
crazy

even after following all the directions for the untouched system and even using the RUU and wiping everything and not touching the phone other than trying to install the OTA it still fails.. what the heck HTC..
[Sprint HTC One (M9)] OMJ:
you're not the only one having issues...this is still very new, but HTC is sure making things difficult....S-OFF can't come soon enough!
[Sprint HTC One (M9)] deakelem:
thanks for the reply. Has anyone been able to successfully apply the OTA? I am really just looking for the new radio so hopefully the data issues are fixed.

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

Also i know you provided the OG RUU is there any way to get one for the current OTA? cause flashing ruu with an SD card does still work.
[Sprint HTC One (M9)] OMJ:
yes, there has been some that have successfully, I will upload & post the firmware soon

I'm not sure on a new RUU, I'll check w/ my source...I was hoping HTC would post the exe RUU but no luck yet...I know the RUU does work, chas flashed it a couple times today via sd card
[Sprint HTC One (M9)] deakelem:
awesome news, the RUU flashed fine but still gave me that error 7 when went to ota

follow up question, where does the the htc ota file download to, what directory?
[Sprint HTC One (M9)] OMJ:
not sure, no ota here...

I'll add to op later... https://www.androidfilehost.com/?fid=95916177934554030
[Sprint HTC One (M9)] deakelem:
I love You!

---------- Post added at 08:51 PM ---------- Previous post was at 08:47 PM ----------

Can someone who was able to install the ota make me a deep bkuup of their system please? Pm me for upload area

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

looks like there is no new radio in that firmware... darn.. I was really thinking they would have one for all the data weirdness. Unless i wrote my previous baseband down wrong can someone take a screenshot of what the baseband version is pre-ota.

Thank you

EDIT- THERE IS A NEW RADIO
[Sprint HTC One (M9)] irocevo:
This worked for me

1. Flash Ruu in op

2. Download untouched system backup (Sprint_M9_stock_twrp_boot_system.zip ) in op and flash in download mode

3. reboot

4. check for ota update and install
[Sprint HTC One (M9)] tuxattack80:
sorry for the OT

What's the likelyhood one could take the stock m9 rom and port it to the m8? Just curious, not asking to have it done, I can attempt to do it myself. Just curious if it would be possible? End result would be just a clean stock experience.
[Sprint HTC One (M9)] OMJ:
we plan to do so ourselves but there's edits that need to be done in framework
[Sprint HTC One (M9)] tuxattack80:
That would be awesome, sorry for hijacking the thread. Just thought I'd ask since everything out there is based on European or Chinese dumps. Okay I'm done now, feel free to delete my post since its not pertaining to m9 development.
[Sprint HTC One (M9)] hsmith1514:
here's a clean system backup after the 1.32.651.30 OTA:

https://www.androidfilehost.com/?fid=95916177934554226
[Sprint HTC One (M9)] bsims85:
Can you verify the Hboot version? I'm curious if the update changes hboot. Thanks..
[Sprint HTC One (M9)] OMJ:
hboot is now aboot... Look in the firmware in op
[Sprint HTC One (M9)] barleysoda:
So I restored systems and it doesn't show mounted in TWRP and I no longer have root. the OTA still fails. I know I could flash the RUU and then take the OTA but doesn't that kind of defeat the whole point if this new TWRP being able to mount system read only? I was hoping not to have to start over and have to wipe SD cards. Any chance a new ROM with OTA is coming and I can just wait for that? This update nag driving me crazy and if I forget to select "back" everytime it pops up my phone reboots to TWRP cause of the install failure.
[Sprint HTC One (M9)] OMJ:
OP updated w/ new firmware, ota (@chas123) & untouched system img (@hsmith1514)

ota will not install if u have twrp, must have stock recovery...pull from firmware in OP, flash in download mode, then flash system again
[Sprint HTC One (M9)] OMJ:
ahh ic, guess I need to catch up in the TWRP thread...it's been awhile since visiting

which specific RUU are u downloading?....if u are downloading 0PJAIMG_Sprint_HTC_One_M9_2.6.651.11_RUU.zip and trying to open the zip, u can't open it, it's encrypted, it needs to be renamed to 0PJAIMG.zip & copied to ext sd to flash.
[Sprint HTC One (M9)] jmc2543:
Deleted
[Sprint HTC One (M9)] Scudderb:
Thanks so much for posting all the helpful information you guys do!!

So, I was posting in the ViperOneM9 3.5.0 thread and ran into a problem. I bought 2 M9s about a week apart. Rooted both and flashed the ViperOne ROM. First phone was fine but second phone was had a flickering screen and I was told that I had to update the firmware from this thread.

I read posts #1 and #2 andI tried to tried to Flash the firmware via bootloader. I'm S-ON so I re-locked my bootloader. I copied the 2.6.651.11 file from to a FAT32 formatted micro SD, renamed it to 0PJAIMG.zip, tried to flash it and got the following two error screens during the attempt....

First got this....

[IMG="First Screen"]http://i.imgur.com/bzbUoty.jpg[/IMG]

Then when I volume up tried to flash got this:

[IMG="Second Screen"]http://i.imgur.com/GGWwh2a.jpg[/IMG]

Hmmm...

What I do wrong?? Wrong file from the RUU Firmware link above?? Something else I did?? Phone issue??

I mentioned above I'm S-ON and I'm using a Mac.

Thank you!!

Scott
[Sprint HTC One (M9)] OMJ:
I would try using the exe RUU via pc
[Sprint HTC One (M9)] Scudderb:
Hi OMJ....THANK YOU for the reply!!

What's my option if I'm on a Mac?? :confused:

It has also been suggested that I need to update

incrementally

using

signed

firmware (perhaps that is my option with S-ON and/or with a Mac??). Are the signed firmwares I need at the beginning of this thread?? Just trying to locate where the files are and how many I need to flash incrementally. It appears I'm on 1.32.651.30 and want to get to 2.6.651.11 correct?

Forgive my need for hand-holding.....I've rooted about 8 HTC phones since the EVO first came out but this was the first firmware issue I've had :( I was in need of two new phones (personal and business). Bought 1 M9 about 2 weeks ago, rooted, flashed ROM, works great. Got this other one a few days ago and didn't check the firmware so I'm having issues and need to update so I'm in unchartered waters :eek:

THANK YOU!
[Sprint HTC One (M9)] OMJ:
the RUU's in OP are signed from HTC, the modified firmware is not...there is no need to update incrementally, just flash the 2.6.651.11 RUU & it will bring u up to the latest.

re: Mac, I'm not really sure, that exe RUU is straight from HTC, and their website does not have any specific Mac info: http://www.htc.com/us/support/htc-one-m9-sprint/news/

not sure if this will help but worth a try... https://www.youtube.com/watch?v=8FTQBxSSiA8
[Sprint HTC One (M9)] Scudderb:
I'm outta "thanks"....at my 8-thank-daily-limit so THANK YOU OMJ!!
[Sprint HTC One (M9)] Scudderb:
Hi...

I'm trying to flash the 2.6.651.11 Full Firmware from OTA (fastboot flashable) file and having trouble. I tried the SD card method via bootloader with the 0PJAIMG rename and that didn't work so I decided to try to flash via fastboot and adb. That didn't work either. Here is the error message I received:

unknowne4ce8f04aea2:sdk-tools sc$ ./fastboot-mac oem rebootRUU

...

OKAY [ 0.010s]

finished. total time: 0.010s

unknowne4ce8f04aea2:sdk-tools sc$ ./fastboot-mac flash zip firmware.zip

target reported max download size of 800000000 bytes

sending 'zip' (72572 KB)...

OKAY [ 5.904s]

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: 9.930s

I'm S-ON and RE-locked (via fastboot oem lock) with OS 1.32.651.30. To start, I've tried the adb devices command and receive NO CONFIRMATION of my device. The serial number does not appear. Forgive my ignorance, but I'm not sure if this is expected with what I'm trying to do now that I am relocked. I'm not sure...and little frustrated that I'm still bothering people in the Forum with questions :(

By the way, in case my troubles are, perhaps, related, here are the error screens I received when trying to bootloader/0PJAIMG method (images from above, hidden below):

First got this....

[IMG="First Screen"]http://i.imgur.com/bzbUoty.jpg[/IMG]

Then when I "volume up" tried to flash got this:

[IMG="Second Screen"]http://i.imgur.com/GGWwh2a.jpg[/IMG]

THANK YOU!!
[Sprint HTC One (M9)] Aldo101t:
you have to be s-off to flash those firmware packs, only thing you can do is flash the RUU.
[Sprint HTC One (M9)] Scudderb:
Thank you Aldo...

I thought I mentioned in a few different posts that I was S-ON when it was suggested to flash the firmware packs :(:(

So, if I am currently 1.32.651.30, S-ON and re-locked, which RUU should I flash??:

0PJAIMG_Sprint_HTC_One_M9_2.6.651.11_RUU.zip

0PJAIMG_Sprint_HTC_One_M9_1.32.651.30_RUU.zip

My goal is to get to 2.6.651.11 so I can flash the ViperOneM9 ROM which needd the latest firmware?? My phone is prompting me for an OTA update to get to 2.6.651.11 but I'm rooted. Will flashing 1.32.651.30 above get me "unrooted" so that I CAN accept the OTA to the current firmware and then re-root and be fine?? What do I need to do to get to 2.6.651.11??

...and should I do the 0PJAIMG SD card option or fastboot flash option??

THANK YOU!
[Sprint HTC One (M9)] Aldo101t:
yes the sdcard nethod for 2.6.651.11 ruu. rename the ruu 0PJAIMG THEN PUT ON YOUR EXT SDCARD, don't add a zip to it.Then boot into download mode and it will pick it up.

if that is successful delete the 0PJAIMG from the card.

this will wipe your internal storage so if you want to save anything back it up yo your computer
[Sprint HTC One (M9)] OMJ:
I thought u were trying to flash the RUU....u didn't say which specific file u were trying to flash...but it appears you are trying to flash firmware...the only firmware that is signed is the full firmware from OTA, since u are on 1.32.651.30, the 2.6.651.11 firmware is the next step up.

try this full firmware instead, u might have better luck https://www.androidfilehost.com/?fid=24052804347805852

if it doesn't work, you'll need to flash the RUU which as Aldo101t stated will wipe internal storage but will update firmware & OS to 100% 2.6.651.11 stock.

also, when doing adb devices u should see your device but maybe it's a mac thing...it does appear by your screenshots that its communication w/ the device
[Sprint HTC One (M9)] Aldo101t:
now flash a 5.1 rom or restore a backup from recovery(twrp) hold all three buttons at the same time power>vol up>vol down to get to bootloader.YOU ARE NOT BRICKED
[Sprint HTC One (M9)] OMJ:
You're not bricked...you just need to flash a 5.1 ROM. Hold power & volume up, once screen turns black, hold volume down only. This will get you back into download mode, you need to unlock & flash twrp then rom.
[Sprint HTC One (M9)] Scudderb:
AMAZINGLY

as you two were simultaneously instructing me what to do, I thought I'd grab my phone (I can literally cook an EGG on it!!) and hit some side-buttons to see what happened. I got into the bootloader and came back to find your posts!!

I'm off to unlock again, flash twrp and ROM!!! I'll report back....THANKS!!!
[Sprint HTC One (M9)] Aldo101t:
when you flash recovery you need to be in download mode, I'm sure you know that, just a mention.
[Sprint HTC One (M9)] Scudderb:
BTW, here's my bootloader EDIT: download mode screen. I think I'm in good shape...

[IMG="Bootloader"]http://i.imgur.com/WXkyZDt.jpg[/IMG]

---------- Post added at 09:19 PM ---------- Previous post was at 09:18 PM ----------

Yes, THANK YOU. I'm all for warning me and reminding me....THANKS! :D
[Sprint HTC One (M9)] Aldo101t:
looks good
[Sprint HTC One (M9)] Scudderb:
Getting there...can't re-unlock for some reason??

I PRESUME that I have the same indentifier token, correct?? Or does it change because I updated to 2.6.6.51.11??

I can't seem to unlock buy flashing my previous Unlock_code.bin file:

unknowne4ce8f04aea2:sdk-tools sc$ ./fastboot-mac 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

And here is the screen that I see.....DIFFERENT than when I unlocked my previous phones and my other M9 a couple weeks ago:

[IMG="Download Mode"]http://i.imgur.com/J3igPsl.jpg[/IMG]

What you

cannot see

for some reason in the picture above is that below the red "download..........100%" line it says in white letter on a blue bar "Start downloading." At the bottom of the screen under "SD NOT Mounted" is "Under flash." When I hit the power button nothing happens except successive lines of "Under flash" appear at the bottom of the screen.

And "adb devices" command isn't finding any devices....HOWEVER, I seem to be able to communicate with the phone with various commands. My attempt to obtain my token again doesn't seem to be working:

unknowne4ce8f04aea2:sdk-tools sc$ ./fastboot-mac 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.055s]

finished. total time: 0.055s

unknowne4ce8f04aea2:sdk-tools sc$

I'm still S-ON and "relocked"....and thoughts??
[Sprint HTC One (M9)] Aldo101t:
try unlocking again with your old token, it should still be good.
[Sprint HTC One (M9)] Scudderb:
That's the problem....I can't unlock and I get get a "new" identifier token either...:confused::confused: My previous post shows the results from me attempting to use the flash unlocktoken or get indentifier commands...:confused:

And even a simple command like rebooting into download mode isn't executed...."error: device not found."

unknowne4ce8f04aea2:sdk-tools sc$ ./adb-mac reboot download

error: device not found

unknowne4ce8f04aea2:sdk-tools sc$

I know I'm close....but I'm stuck now. THANKS!
[Sprint HTC One (M9)] Aldo101t:
well, I'm at a lose here, normally when you upgrade to 5.1 firmware there is an option in developer options to allow oem unlocking but you don't have a 5.1 rom installed so I don't know how you can enable it????

---------- Post added at 10:33 PM ---------- Previous post was at 10:27 PM ----------

you may need to run the RUU to get a 5.1 rom on there to enable unlocking, not sure.
[Sprint HTC One (M9)] Scudderb:
Yeah, I hear ya. I see the OEM unlocking option on my other M9 if that is what you are referring to. Perhaps OMJ might have a thought if he comes on and sees....

:(:(