yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M9)] xlaw:
I flashed the following in order at the bootloader:

fastboot flash partition gpt_main_32g.img

fastboot flash aboot aboot_signed.img

fastboot flash boot boot.img

fastboot flash hosd hosd_signed.img

fastboot flash hyp hyp-8994-1.img

fastboot flash pmic pmic-8994-1.img

fastboot flash radio radio.img

fastboot flash rfg_1 rfg_1.img

fastboot flash rfg_2 rfg_2.img

fastboot flash rpm rpm-8994-1.img

fastboot flash sbl1 sbl1-8994-1.img

fastboot flash sensor_hub sensor_hub.img

fastboot flash tz tz-8994-1.img​

This stopped the boot loops for me. Then I reflashed the firmware in download mode and installed twrp on the next boot to the bootloader.
[Sprint HTC One (M9)] deedeebulldog:
Thanks I will give it a try after my phone charges a bit, but without me being able to boot into download mode I hope it still works.
[Sprint HTC One (M9)] deedeebulldog:
Thank you so much! This repaired my download mode issue and I have a working phone. I was about to go buy a Samsung Galaxy.
[Sprint HTC One (M9)] kemroy:
Ok I'm in dire need of some help.. I updated to mm and although it boots all iv got is data... No voice or text no matter how many times I updated prl and reset.. Even sprint did that too.. Im bootloader unlocked.. Sunshine s off and twrp 3.00 how do I go back to stock with the mm ruu? Do I just have to relock bootloader with adb and install the ruu or there's another method for me since I'm s off and not s on as stated in the post thread by omj? Thanks in advance for the help guys.. also just to add ..its on the leaked mm firmware... 3.33.651.2 ..do you guys think it matters right now since im on bad boyz mm 3.41.651.4 firmware rom?
[Sprint HTC One (M9)] mrlakadaddy01:
Try the official firmware. If that doesn't work..RUU instructions are in op
[Sprint HTC One (M9)] kemroy:
i relocked bootloader but sprint guys said theres nothing that could be done.. so theres data and no calls in or out.. they suggest paying the deductable to get a new one
[Sprint HTC One (M9)] schmeggy929:
Sprint guys never used XDA. Unlock bootloader, RUU with the OFFICIAL firmware/software for 3.41.651.4.
[Sprint HTC One (M9)] mrlakadaddy01:
Sprint guys aren't too smart. Try the Ruu first.
[Sprint HTC One (M9)] blu8503:
When I try to fastboot flash zip firmware.zip I keep getting error

test2:HTC M9 Root mrickard$ ./fastboot flash zip firmware.zip

< waiting for device >

target reported max download size of 800000000 bytes

sending 'zip' (48204 KB)...

OKAY [ 3.270s]

writing 'zip'...

(bootloader) HOSD CL#591203

(bootloader) GPT is up-to-dated. [17408]

(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.043s

---------- Post added at 09:00 PM ---------- Previous post was at 08:54 PM ----------

I got it I am stupid, wrong firmware
[Sprint HTC One (M9)] kemroy:
That's what I did after relocking but someone there saw the relocked bootloader and flagged the phone as root in their system.. So any sprint store sees it.. So right now it's on official mm.. Latest firmware and won't send or receive calls .. Says the phone is not activated and I need to call to activate it.. Data works and I've tried all resets and prls and profiles.. Uicc and everything to no avail.. One sprint guy said the radio was damaged or rendered unresponsive because of rooting..
[Sprint HTC One (M9)] schmeggy929:
Did you try resetting yourself through espt?

Phone, ##786#, menu, reset?
[Sprint HTC One (M9)] Aldo101t:
have you tried ##786#(but you need to know your MSL# to use this)on dialer hit ##786# then enter MSL, then from menu hiot reset, let it run, and do it's thing, screen with go off couple times.Should go through the hands free activation

schmeggy beat me to it. LOL. it's 786 though
[Sprint HTC One (M9)] nimeriisk:
So I can not boot into rom or recovery mode after I used the command "fastboot oem lock". I am now S-ON and RELOCKED.

I can use download mode and got to boot loader mode too. What are my options into getting my phone to work again. I was thinking of flashing the RUU would that do anything?

Is there any way to flash RUU via fast boot method too? I do not have a 32 gb sd card atm. only 64 gb which means download mode will not mount it.
[Sprint HTC One (M9)] mrlakadaddy01:
Ruu is your only option. Make a backup on your computer because it will erase everything.
[Sprint HTC One (M9)] nimeriisk:
Thanks buddy. Looking to go buy a micro sd card.
[Sprint HTC One (M9)] retiredtrebor:
Is this firmware, 3.41.xxxx, based on International or Dev edition? Or is it the official Sprint version? I am slightly confused because I seem to be getting conflicting info from a couple of different threads.
[Sprint HTC One (M9)] OMJ:
Official Sprint...
[Sprint HTC One (M9)] romka.t:
Hey guys,

Can someone guide me through the process.

I've got a stock phone (Sprint M9), would like to upgrade to 6.0. Obviously it has the locked bootloader and the stock recovery. Can I flash the RUU and Firmware just as is or do I need to have a custom recovery I.E. TWRP and then relock my bootloader to flash the RUU and FW. Thx in advance.
[Sprint HTC One (M9)] OMJ:
just flash the ruu
[Sprint HTC One (M9)] romka.t:
Thx, will do. BTW do i need to flash the FW or the RUU contains it?
[Sprint HTC One (M9)] OMJ:
RUU has it built-in
[Sprint HTC One (M9)] dinaps86:
I know I just asked this not too long ago but I'm pretty much a Samsung guy (I know) once I relock my bootloader I have to do that code thing to unlock it again or that code I originally got is it, also the ONLY way to update is to either be s-off and flash whatever or relock bootloader than flash RUU through TWRP using adb fastboot
[Sprint HTC One (M9)] OMJ:
you can use the same unlock_code.bin file to unlock again...

if u are s-on, there's 2 options:

1. lock bootloader, flash M ruu

2. lock bootloader, flash signed firmware 2x, unlock bootloader, flash twrp, flash rom of your choice
[Sprint HTC One (M9)] Mohamedbesaar:
If i install official sprint rom on my sim unlocked m9 will it relock i am not in a vountry that supports sprint carier
[Sprint HTC One (M9)] schmeggy929:
Are you S-off or S-on? If S-on you have to relock to flash firmware. If S-off flash away it doesn't relock.
[Sprint HTC One (M9)] OMJ:
search the thread, most of us are sprint users so we dont know...but even if it did relock, there are 2 methods posted to unlock again

I think he's asking if he updates will he lose sim unlock
[Sprint HTC One (M9)] schmeggy929:
Damn non-Sprint users, lol
[Sprint HTC One (M9)] Mohamedbesaar:
I am s-off and yes that's what i am asking i i flash through ruu the sprint rom will it relock it?
[Sprint HTC One (M9)] malicon:
If you're s-off RUU should not relock you.r bootloader you have to relock to flash RUU if you are s-on.

edit: oh you're talking about sim, sorry don't know
[Sprint HTC One (M9)] nuxbag:
is downgrade possible w soff?
[Sprint HTC One (M9)] OMJ:
I see no reason why u couldn't, being s-off
[Sprint HTC One (M9)] nuxbag:
just making sure. trying to see if I want to s off this time.
[Sprint HTC One (M9)] dinaps86:
OK I relocked my bootloader and I must have not placed some of my files in the correct spot and bc I'm locked I can't run my modified rom I was running so it just gives me two options download mode or bootloader mode, I'm sorry for referencing Samsung but we have ODIN to reflash stock firmware in case of brick, I'm sorry if im annoying but what is HTC equivalent?
[Sprint HTC One (M9)] nuxbag:
you are not bricked just unlock. or run ruu for stock
[Sprint HTC One (M9)] sethishivam5:
Hi! Can anyone tell that if I can install Ruu for India country I'm using sprint m9 or I can flash Indian radio I'm facing some network drop issue
[Sprint HTC One (M9)] OMJ:
if u have a Sprint M9, u can only flash Sprint M9 RUU
[Sprint HTC One (M9)] sethishivam5:
What about radio?
[Sprint HTC One (M9)] OMJ:
only Sprint radio...u must use the firmware that the phone was designed for
[Sprint HTC One (M9)] sethishivam5:
Please give solution to use this phone in India I'm facing network drop issue
[Sprint HTC One (M9)] OMJ:
change sku to 42...here, u can flash this to do it for u

http://www.badboyzromz.com/badboyz/MODz/Sprint_M9/Bad_Boyz_Sprint_ONE_M9_INTL_SKU.zip
[Sprint HTC One (M9)] sethishivam5:
Does this needs to be rooted I'm on stock s-off with super cid!

And thanks
[Sprint HTC One (M9)] OMJ:
no, u dont need root, but u do need twrp installed (custom recovery)...u flash this in twrp
[Sprint HTC One (M9)] sethishivam5:
Okay I need to first unlock my bootloader then? My software status is official

Is there is any damage to do unlocking?
[Sprint HTC One (M9)] OMJ:
I don't think you have to unlock since you are s-off, you'll find out when you try to flash twrp.

No, no damage from unlocking or flashing twrp, once you're done you can flash stock recovery.
[Sprint HTC One (M9)] sethishivam5:
OKay well thanks buddy

I'll hope this workout!

Appreciate your help..
[Sprint HTC One (M9)] wangateur:
In installed the new .4 firmware however when I check version number in settings it still says .2 is this normal? I flashed it twice using the opjaimg.zip dropped on the root of SD method.

Thanks all
[Sprint HTC One (M9)] Aldo101t:
Boot into download mode, OS= firmware. in settings just gives the base firmware of the rom your on.
[Sprint HTC One (M9)] wangateur:
ROFL that makes more sense thanks aldo:)

I checked in download mode looks good.

You the man:)
[Sprint HTC One (M9)] sethishivam5:
Hi I just got my sim locked

It was unlocked when I received it

Can you tell me how can I unlock it again. My device is unlocked

Does flashing that sku did that?
[Sprint HTC One (M9)] OMJ:
no, changing sku should not have locked sim...did u only flash twrp or anything else?

2 solutions to sim unlock:

http://xdaforums.com/sprint-one-m9/general/nv-unlock-sim-t3314755

http://xdaforums.com/sprint-one-m9/general/sim-unlock-thanks-to-gcprokey-t3166761
[Sprint HTC One (M9)] sethishivam5:
I accidently did reset from ##786# aand now its got locked will rooting help?

They link u have sent have very long plus difficult procedures
[Sprint HTC One (M9)] OMJ:
No, rooting won't help... Only choice is one of those links
[Sprint HTC One (M9)] sethishivam5:
Okay thanks buddy!
[Sprint HTC One (M9)] sethishivam5:
If my device has super cid will it will receive ota from sprint if not then what I have to do to receive it?
[Sprint HTC One (M9)] babarasghar:
I am new to HTC One M9, bought it last month

Have Sprint one and unlocked using with my country sim

Works on all networks

I wanted to convert it to international one using soff thing but then I got stuck due to non availability of any credit card etc so on short I unlocked my bootloader but couldn't s-off it

Now I'm getting OTA updates for Android 6 but due to TWRP recovery I'm unable to install them

So a friend of mine suggested to install this ROM instead

I'm familiar with rooting have rooted my oppo find 7a n Nexus devices in past but HTC is a p.I.a

So what r my options to install this ROM without s-off

Can I do it?
[Sprint HTC One (M9)] fullwave66:
hey i have one question, the users with s-off can downgrade de RUU of the sprint htc m9? with s-off can flash if i hace bootloader unlocked? or i need to lock the bootloader again??
[Sprint HTC One (M9)] OMJ:
Supercid is pretty useless.. To receive otas you must be 100% stock

you only need to be unlocked & flash twrp.

Yes, s-off can downgrade, no need to lock bootloader, that's only for s-on
[Sprint HTC One (M9)] babarasghar:
confused here

My bootloader is unlocked n installed TWRP BUT I'm s-on

The ist post says s-on useres have to lock their bootloader n ur saying I need just unlocked n flash TWRP

I'm missing something here

Let me ask again, can I simply install this ROM from TWRP directly? Like boot into TWRP n then install wipe clean everything n install or I have to lock bootloader or something ?

Sent from HTC One M9
[Sprint HTC One (M9)] OMJ:
Which rom? Stock rooted? This thread is more about ruu & firmware.

S-on ppl only need to lock bootloader if flashing ruu or signed firmware.

If flashing a stock rooted rom or custom rom (BadBoyz), you only need to have unlocked bootloader & twrp... Just boot into twrp & flash stock rooted or another rom.
[Sprint HTC One (M9)] babarasghar:
Awesome thanks man

I have stock HTC one m9 Sprint with just unlocked bootloader and TWRP n have downloaded badboyz So simply installing it will work

Sent from HTC One M9
[Sprint HTC One (M9)] sethishivam5:
How can I'll be 100% stock

I have flash signed firmware and mm ruu?

And thanks bro in advance
[Sprint HTC One (M9)] schmeggy929:
100% would be RUU.
[Sprint HTC One (M9)] fullwave66:
well i understand more about my htc in this days, but my mistake is try to convert my htc m9 sprint into a developer edition, i have s-off, unlock bootloader etc etc, i install now, the 0PJAIMG_Sprint_HTC_One_M9_2.6.651.11_RUU.zip, in download mode, i change de cid and mid back to original sprint htc m9, i can install the RUU now, but i have the same issue, imei unknow, baseband unknow, meid unknow, but in the spec in download mode all is ok? somebody help me guys, sorry for my english but i cant speak english very good.

guys i have the getvar status and the radio is the problem, somebody can help me to flash the radio of my htc m9 sprint?
[Sprint HTC One (M9)] OMJ:
many ppl think they can convert Sprint M9 to another device, u now know you cannot...you can only flash RUU & firmware meant for this specific phone...the only thing u can do is flash a compatible custom ROM, which could be based on dev edition, gpe, cm etc..

as for your issue, when u flash the RUU, it is flashing all partitions, including the radio...I'm not sure how to fix your issue, it will take some research...but post your getvar for comparison
[Sprint HTC One (M9)] BUBBA DUB'S:
Did you run the RUU.exe? And Are you using sprint CDMA in the U.S.? Like OMJ stated it isn't a good idea to try to convert your device to a different firmware, but maybe try chatting with the folks in the thread I posted in the link. I briefly skimmed thru the thread, but I think they tried to do what you did.

Might have to invoke your uh-oh protection if all else fails.

http://xdaforums.com/sprint-one-m9/help/to-convert-sprint-htc-one-m9-to-t3296929
[Sprint HTC One (M9)] sethishivam5:
Will changing sku sort out network dropping issue?
[Sprint HTC One (M9)] OMJ:
i'm not sure...remember this is a Sprint device designed mainly for US use...
[Sprint HTC One (M9)] sanjuro77:
EDIT : Ignore the rest of this post as I went ahead and used the exe and am all good now. Thanks for the utility! No worries on losing everything as I backed it all up before I started anyway. Cheers!

END EDIT

Hi,

I have a rooted s-on relocked Sprint m9 with latest twrp. Was trying to upgrade to the latest OTA so I flashed the

"3.41.65.4 Full Signed Firmware from OTA" via download mode

everything looked like it was going fine (although it said it bypassed the "sensor_hub.img" and "tp_MXM11876.img" parts)

It finished up and said to press power to continue, I pressed power and now my phone has been stuck on an illuminated but black screen for around 15 mins. I'm not sure if it's still installing or just stuck.

I can't seem to reset it or get any buttons to do anything.

edit: ok scratch that, I can reset it and get it back into download mode but I still just get a black screen on normal startup after the HTC logo

I'm kind of new with twrp and HTC as all my previous phones were Samsung and I just used Odin and cwmr all the time.

Any ideas? Should I just flash the ruu? Use the ruu exe utility?

Thanks!
[Sprint HTC One (M9)] sethishivam5:
Any way to make hot-spot work in sprint version?
[Sprint HTC One (M9)] BUBBA DUB'S:
It does work on badboyz ROM.
[Sprint HTC One (M9)] sethishivam5:
How
[Sprint HTC One (M9)] BUBBA DUB'S:
Hey over to Badboyz thread and flash their ROM. Sorry I thought this was posted in that thread.

Edit: or you could try one of the tether apps found in the play store.
[Sprint HTC One (M9)] sethishivam5:
No worries it's okay

But I don't want loose stock rom
[Sprint HTC One (M9)] BUBBA DUB'S:
Try a tether app from the play store or search tether app in xda to see what has been posted. root is needed to run them as well
[Sprint HTC One (M9)] sethishivam5:
Oh well I need it to run share it ? I'm unable to receive files
[Sprint HTC One (M9)] BUBBA DUB'S:
So I found this; http://xdaforums.com/showpost.php?p=65190912&postcount=584

You would have to find a way to edit your build.prop to get to work as the system app.
[Sprint HTC One (M9)] sethishivam5:
I'm new to all this can you please elaborate ? I need to download that stock rooted rom of bad boys?
[Sprint HTC One (M9)] BUBBA DUB'S:
That would be the easiest way IMO , go to the badboyz thread and flash that ROM. You are running newest 3.41 firmware correct?
[Sprint HTC One (M9)] sethishivam5:
Yes I'm on marshmallow
[Sprint HTC One (M9)] BUBBA DUB'S:
Give it a go and see how you like it, it the only ROM I run and it's smooth as butta and has a great support community as well.

http://xdaforums.com/sprint-one-m9/development/rom-bad-boyz-sprint-one-m9-romz-5-0-2-1-t3083799
[Sprint HTC One (M9)] sethishivam5:
Will this works good in India I mean about radio
[Sprint HTC One (M9)] sethishivam5:
Can we flash older version of firmware I'm using 3.41.65.4 right now?
[Sprint HTC One (M9)] namtrk:
Sorry for the noob question, I'm on android L, S-off, rooted, firmware 1.32.651.30. If I upgrade the fimware to the 3.41.65.4 Modified Firmware from OTA, removed recovery & boot (fastboot flashable), I'll still be android L, not Marshmallow right?

P.S: Does the new firmware 3.41.65.4 improve the camera performance? The low light performance of the rear camera is just so poor. Will any custom ROM improve the camera e.g. Bad Boyz, Viper ...?
[Sprint HTC One (M9)] schmeggy929:
You will have the Marshmallow firmware, but not software. Download the ROM for MM and flash firmware then flash ROM. You will be up to date. No idea what you mean by camera performance, there was nothing wrong with the front or rear camera before.
[Sprint HTC One (M9)] namtrk:
Well I know this thread is not for camera discussion but since you mentioned, my M9 camera is very laggy in low light condition (auto mode). Anyone have this issue?
[Sprint HTC One (M9)] schmeggy929:
Oh, what you call laggy low light pics, I call Always HTC phones, LOL. I just got used to it. the camera tries to focus, then the flash comes on, refocuses again and then takes photo.
[Sprint HTC One (M9)] mgriffin13:
I'm having a strange issue. I was S-Off and unlocked, so I ran the oem relock and ran the 3.41.651.4 RUU exe which successfully updated the phone. I then reflashed TWRP 2.8.7.0 through fastboot and tried to flash SuperSU, which said it successfully installed, but when I rebooted, the phone wasn't rooted. I then installed the BadBoyz ROM, but the phone still isn't installing SuperSU properly.

Am I missing something? I never did re-unlock the bootloader, but I'm still S-OFF with TWRP installed.
[Sprint HTC One (M9)] schmeggy929:
You have to re-unlock the bootloader again. Also you shouldn't have had to oem relock, that's only for S-ON users.
[Sprint HTC One (M9)] mgriffin13:
Thank you. When I try to re-unlock the bootloader, I get:

And the phone itself goes in a "Start downloading" state and I have to force reboot the phone
[Sprint HTC One (M9)] Aldo101t:
go into developer options and tick allow oem unlocking
[Sprint HTC One (M9)] mgriffin13:
Thank you. It's been a while since I unlocked it last.
[Sprint HTC One (M9)] 1701:
My Sprint HTC M9 is on ViperOne 4.3 and 3.41... firmware. If I run "RUU" as topic instruction, will I come back to MM 6.0 stock?

Which firmware already had rooted and SuperSU? 3.41.65.4 Full Signed Firmware from OTA (fastboot flashable) , 3.41.65.4 Modified Firmware from OTA, removed recovery (fastboot flashable) or 3.41.65.4 Modified Firmware from OTA, removed recovery & boot (fastboot flashable)

Thanks so much!
[Sprint HTC One (M9)] Aldo101t:
no problem

---------- Post added at 11:29 PM ---------- Previous post was at 11:23 PM ----------

those are modified firmwares to flash if you are s-off, if you want to go back to stock(100%) you need to flash the RUU not the modified ones, and no you won't have twrp or suoperuser after, you'll have to flash them again after the RUU, and also it will wipe your internal storage.Or flash a rooted rom but you'kllm need to reflash twrp.you could flash a stock rooted rom and retain all that, you are already on latest firmware so.
[Sprint HTC One (M9)] sethishivam5:
What we have to do with build.prop?
[Sprint HTC One (M9)] sethishivam5:
Can I downgrade my ruu. From marshmallow to 1.32?
[Sprint HTC One (M9)] OMJ:
I was only telling him how to edit build.prop

Yes, if you're s-off
[Sprint HTC One (M9)] ArabSDA Team:
if my m9 s-off i can upgrade & downgrade any ruu version right
[Sprint HTC One (M9)] OMJ:
yes
[Sprint HTC One (M9)] bibbin:
I have the Sprint HTC One M9, running stock, rooted, S-On version 5.0.2. I need to return to stock 5.0.2. Rather new to this process and want to avoid as many setbacks as possible. Would someone please confirm that I have the steps needed?

1. Lock bootloader,

2. Download Sprint_HTC_One_M9_1.32.651.30_RUU, rename it "0PJAIMG.zip" and place it on internal memory

3. boot into download mode and install after scan.

As I understand it, I now need to reinstall stock recovery. Where do I find that? Does the stock recovery differ based on software version or is there just one?

I did a backup via TWRP before rooting. Instead of following the steps above, can I just restore the backup and then install the stock recovery?
[Sprint HTC One (M9)] OMJ:
the fastboot flash method is only used to restore back to an untouched state for otas...if u did a backup after supersu, then want to restore that backup, just use twrp

that's not the correct method...

use:

fastboot oem rebootRUU

fastboot flash zip firmware.zip

fastboot reboot-bootloader

sorry to hear

I've seen ppl say the same on other devices

I'm using the beta 7zip, working fine here
[Sprint HTC One (M9)] Aldo101t:
Yes. Thanks OMJ. I realized that after I posted
[Sprint HTC One (M9)] liqrisquicker:
irocevo, probably a stupid question but is your boot loader locked? or did you relock it before taking the OTA?

Followed irocevo sets and still can't get the OTA, thinking its possible that maybe boot loader would have to be relocked but don't want to try it until I can get confirmation from someone with more experience if this would have adverse effects.

If I was to attempt to update to the OTA via fastboot flashing, what would be the best/correct way to go about this. I am assuming that the correct order would be flash .30 firmware via RUU, the restore factory backup for .30 in download mode.

Sorry for constant posts, edits, questions, complete noob with HTC devices,, Samsung with odin is the only devices I have experience with. And thanks for all the help and work the developers put into this stuff, amazing work!
[Sprint HTC One (M9)] l1ttl3z:
having problem where i get stuck on white htc screen. So far i flashed stock recovery and stock system from here using fastboot. I am just trying to get ota on my phone. Am i missing a step or is there a better way? thankx
[Sprint HTC One (M9)] knightwolf123:
Just activated last night. Hopefully unlock tonight ?. Thanx for the files OMJ ?
[Sprint HTC One (M9)] m03sizlak:
I can't apply the OTA either. I had made a clean /system backup using CPTB's beta TWRP. I fastboot flash'ed it and then the stock recovery and tried to take the OTA but it failed with the unexpected contents error...

:<
[Sprint HTC One (M9)] Aldo101t:
i think you have to flash stock recovery prior to flashing system
[Sprint HTC One (M9)] wytecaztle:
Patiently waiting for BadBoyz ROM. :)
[Sprint HTC One (M9)] m03sizlak:
Yes of course I flashed the stock recovery prior to trying to take OTA.