yashsingh1/xdaforums huggingface dataset:
[One (M9) General] JiUsY:
Hi Flippy, thank you for the detailed reply and all the work that you do and sorry for not posting to the other thread, I was getting desperate and not thinking straight :)

The good news is that I finally managed to flash stock zip :D. It wasn't working through fastboot (I suppose because it couldn't copy the zip to the SD card) so I finally mounted another SD card as USB storage in TWRP and managed to copy the zip that way. I don't have a card reader on my PC and my card is 64 GB, but it should have worked anyway since it was formatted exFAT and the firmware is 3, but that's Windows 4 you :laugh: I got another 32 GB card and it worked with that. Maybe you should add to the sticky for people in the same situation to try mounting SD as USB storage in TWRP.

It reboots normally now, it's still unlocked though and Software modified status, but it works :)

Thanks again for all your efforts ;)
[One (M9) General] kame_87:
Hello, I got my hands on a m9 yesterday, HTC is not on my country and I got a refurbished Verizon one, to my surprise I found out about some nasty things verizon does(no radio and I can't use wifi hotspot), Would rooting the phone help me in any way to possible fix these issues? I'm a total noob so kinda scared to do it wrongly, also how about android updates when rooted? can we do that manually? this one is on 5.1.1
[One (M9) General] killahtm:
hi, i have flashed twrp thru fastboot in download mode, all goes well but i cannot boot to recovery. i boot in bootloader, then i choose reboot to recovery mode and then gives me note (see picture) and freezes my moblie.

i have tried twrp 2.8.5.0 and newer but problem remains.

can someone pls help me?
[One (M9) General] Flippy498:
You probably flashed a recovery that wasn't made for your phone. This thread is for the M9 (codename: hima). The codename of your device is himar.
[One (M9) General] killahtm:
edit: now i see when i flashing i got errors...

target reported max download size of 800000000 bytes

sending 'recovery' (35928 KB)...

OKAY [ 2.170s]

writing 'recovery'...

(bootloader) HOSD CL#820405

(bootloader) start@1

(bootloader) ERR partition_partial_update[ERR]: write failed. fd=17, n=-

(bootloader) 1, No space left on device

(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=3

(bootloader) 4603008

(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=3

(bootloader) 5651584

(bootloader) ERR partition_partial_update[ERR] lseek64 error!!, offset=3

(bootloader) 6700160

(bootloader) recovery@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 2.459s]

finished. total time: 4.633s

---------- Post added at 10:42 PM ---------- Previous post was at 10:40 PM ----------

i got m9 prime camera edition. do you know where to download right twrp for my device :)
[One (M9) General] Flippy498:
Sorry, I have no clue since I don't own that device and therefore didn't bother searching for a himar recovery. However, you better flash a RUU before you continue. This way the messed up partition layout gets fixed. Otherwise you might face some problems in future.
[One (M9) General] jovalleau:
Hi,

I am trying to root my friends' M9, but I am getting the above error, too. I don't have it in front of me, but I *think* he has an SD card installed. I've tried everything I can think of, but nothing seems to work. His service is through Sprint, but the phone wasn't through sprint. The Model JD012 or something like that (like I said, I don't have it in front of me at the moment).

Are there any tips or tricks to get past this point? It's pretty much the last step in getting his phone rooted. Unlocked Bootloader was successful and everything.

Thanks in advance!
[One (M9) General] flgators197:
I have attempted rooting my m9. Everything was flawless until installing supersu. I ran it from recovery twrp, after installing, it rebooted and hasn't stopped rebooting. what I mean is its stuck in bootloop. tried going back and and wiping cache.. still nothing.
[One (M9) General] efrant:
Re-flash the stock boot image and then flash SuperSU v2.65 in TWRP
[One (M9) General] flgators197:
No Service

ok so i got the supersu completed... got android revolution hd 20 installed... booted up fine.. went through start up with google, using wifi.. after all that.... i have no phone service..

I go into my about phone section and most things are "unknown" . wifi worked allowing me to set up phone but after setup.. no longer working.. it reads wifi signals around me.. connects but gives me no connection

Ive looked at getting new radio installed.. but I'm still s-on... how do i get s-off
[One (M9) General] striker661:
Guys. I've searched the threads up and down and can't really find a clear method of doing all of this if you are already on marshmallow. Can I follow these steps from the beginning if im already on mm or is there a different process that someone can link to me? Trust. I've searched high and low and can't find a guide for rooting/unlocking bootloader/s-off for a tmobile m9 that's already on mm.
[One (M9) General] vovanius:
Hello people! So, I have unlocked bootloader, s-off and TWRP. And I'm already on Marshmallow. Can You point me to correct SuperSU zip? Will zip from first post work? Thanks.
[One (M9) General] striker661:
I've seen people saying 2.64 works... seen people saying 2.65 works.... I'd just try em all aafter2.64 and see what works for you. since you already have twrp you can always just make a backup and start flashing one. if it doesn't work or gives you a bootloop oh wait you have a twrp backup :P but to answer your question i've seen most people saying 2.64 and 2.65. i've been on here all day lurking
[One (M9) General] Un-Discovered:
Is rooting possible on nougat?
[One (M9) General] efrant:
I suspect that's an issue with your ROM or compatibility between your firmware version and your ROM version. Ask in your ROM's thread.

1) I don't think a new radio will help you.

2) To get S-OFF, you need to use SunShine or find someone with a javacard.
[One (M9) General] efrant:
No difference if you are on MM.
[One (M9) General] efrant:
Use version 2.65.

Yes
[One (M9) General] vovanius:
SuperSU ver. 2.78 Stable works OK.

Another noobish question. As i said, i have unlocked bootloader, s-off, TWRP, and now rooted, and my current OS version is 3.41.651.4 (android 6.0). There is OTA update pending in my notifications, ver. 3.41.651.13. I downloaded it, the full file name is:

OTA_HIMA_WHL_M60_SENSE70_SPCS_MR_Sprint_WWE_3.41.651.13-3.41.651.4_release_483548.zip

Can I just flash this zip via TWRP, or things are more complicated? Don't want lose my root and data, or brick the phone.
[One (M9) General] acariello:
Successful

Worked out well, thanks.
[One (M9) General] striker661:
Awesome. Thx man. will be picking a tmo variant from a second hand dealer i go through and they tend to OTA whatever they get so just wanted to make sure I could root and s-off when I get it.
[One (M9) General] syl0n:
I can only flash TWRP 2.8. When I try to flash TWRP 3.0.0.2 and then boot into it I get "Failed to boot to recovery mode. press volume up or down to back to menu". Someone said install MM Firmware - but can someone please explain how I do that? I am already on Cyanogenmod. Are they saying install HTC OTA for MM?
[One (M9) General] Flippy498:
The rom you're using (CM) is not the same as the firmware you're using. Further information can be found in the article I linked in my signature.

If your phone is not S-OFF you'll need to flash the latest RUU for your SKU or restore a TWRP backup that belongs to your current firmware so that you can install official OTAs afterwards. Files and instructions can be found in the thread I linked in my signature.
[One (M9) General] syl0n:
My phone is S-On. Can you please help me figure out what RUU file I need?

>fastboot oem readcid

...

(bootloader) cid: HTC__039

OKAY [ 0.034s]

finished. total time: 0.034s

fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: <snipped>

(bootloader) version-main: 1.40.710.8

(bootloader) boot-mode: download

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: HTC__039

all:

Is this the right one? https://www.androidfilehost.com/?fid=24349802275800309
[One (M9) General] Flippy498:
Yes, it is.
[One (M9) General] syl0n:
Thanks. so i get that zip and follow this? https://xdaforums.com/one-m9/genera...collection-t3132698/post61286824#post61286824

fastboot oem rebootRUU and fastboot flash zip Firmware_xx.zip ?
[One (M9) General] Flippy498:
As written in my thread you can't use fastboot for flashing M9 RUUs. They're too big. Either use the SD card method that is described in the thread or use HTC_fastboot. However, be aware that I won't give support for HTC_fastboot flashing due to the reasons mentioned in the RUU section of my thread.
[One (M9) General] syl0n:
I tried this SD card method that seems to be working then at the end I get System_img.03 failed to flash. Any ideas?
[One (M9) General] Flippy498:
Probably a bad download. Either re-download it or try a newer RUU for the same SKU. If you use the newer RUU you'll have to flash less OTAs afterwards...
[One (M9) General] syl0n:
This is the exact error just to confirm. http://imgur.com/OL6606u

Everything before that including System.img 02 flashed successfully. Should I try a newer RUU? Is even the latest one ok?

Also my bootloader is UNLOCKED and i'm S-ON. That shouldn't cause issues right?
[One (M9) General] Flippy498:
Strange. I used that RUU myself when I created my backups. I had no problems with using it at that time...

S-ON and an unlocked Bootloader aren't a problem. If they were the RUU wouldn't even start to flash. Try the 2.9.710.5 RUU. It's the latest available one for your SKU. Only 4.x RUUs can't get flashed on older firmware versions since HTC changed the encryption key. However, there is no 4.x firmware for any SKU but 617 (= dev edition of the M9), yet.
[One (M9) General] syl0n:
Tried that one and it failed at System.img 01. Any ideas :(
[One (M9) General] Flippy498:
But the md5 checksum of the file you downloaded matches the one on the download page?
[One (M9) General] syl0n:
Yeah I double checked and the MD5 is correct.
[One (M9) General] Flippy498:
To be honest, I don't understand why you face that problem. I didn't face it when I used the RUU and other users didn't face it, either, when they tried to flash it.

However, since it looks like only the system image couldn't get flashed completely, the firmware seems to be flashed without problems and your bootloader is still unlocked you should be able to flash the latest TWRP version 2.8.7.1. From there on you should be able to restore the TWRP backup I created for the firmware version of the RUU you tried to flash. Afterwards, you should be able to install the OTA as if the RUU would have been flashed without the error you faced.
[One (M9) General] syl0n:
Is there a way to check what firmware version my phone is on now?
[One (M9) General] Flippy498:
Boot to download mode and look at the line with "OS" at the beginning.
[One (M9) General] syl0n:
It says 2.9.710.2. So I guess it didn't get updated?

Don't I need 3.x for the latest TWRP?
[One (M9) General] Flippy498:
It did update your phone. Before you tried to flash the RUU your phone was on 1.40.710.8. There is no 3.x firmware for your SKU. However, it's quite odd that your download mode states 2.9.710.2 after you tried to flash the 2.9.710.5 RUU. Or didn't you download the latest one for your SKU?

Edit: Ah, my bad. I was talking about the latest TWRP version in one of my previous posts although you need version 2.8.7.1 for firmware 2.x. Sorry.
[One (M9) General] syl0n:
Yea i think i downloaded 210.2 instead of 5. So even with this firmware if it flashes successfully I can't install TWRP 3 anyway ? Should I just stay on 2.8.7.1 ? Are there any disadvantages?

Why wont my flashing work? Could it be something with my sd card? Its a 16GB class 2. I have a 128GB card but I don't think that works according to the guide it needs to be 32 or less?

What are my options? Can I flash TWRP 2.8.7.1 and then restore a backup of HTC ROM and flash stock recovery and receive OTA?
[One (M9) General] Flippy498:
Please try the ~5 RUU. If it fails, too, then flash twrp 2.8.7.1 (it can be downloaded from the twrp thread in the original android development section). After that you restore my backup for firmware 2.9.710.5 and then you should be able to update via OTAs to the latest 3.x firmware of your SKU.

If the ~5 can get flashed successfully you can directly install the OTAs. I'll delete the 1.40.710.8 and the 2.9.710.2 RUU in this case since we still would have the newer working ~5 one. I have no clue why the two older RUUs don't want to get flashed on your phone but I still hope that you can flash the ~5 one.

In regard to TWRP: There are no disadvantages in using 2.8.7.1 if you stay on firmware 2.x. 2.8.7.1 is the best version for firmware 1.x and 2.x. If you're on firmware 3.x or newer you should use TWRP 3.0.3-0 since it's capable of installing HTC's official OTAs. The catch is that you can't use any 3.x TWRP version of you aren't using at least firmware 3.x.
[One (M9) General] syl0n:
If i had to go down this path then do i just restore this via TWRP ? https://www.androidfilehost.com/?fid=24345424848486988

Or do I also need to flash stock recovery that matches the firmware in order to receive OTA? https://www.androidfilehost.com/?fid=24344671467602274

Thanks again for all your help.
[One (M9) General] Flippy498:
Yes, that's the correct backup in case the ~5 RUU fails. Since it already contains the corresponding stock recovery you only need to follow the instructions in the TWRP section II of my thread.

No problem. It actually bothers me that the RUUs seem to have stopped working and since it was me who suggested you to use them helping you out from that situation is the least thing I can do.
[One (M9) General] syl0n:
~5 just failed immediately. so the OS version didn't get upgraded. Do I need to get a different TWRP image in that case? Or ~5 TWRP backup work with ~2 firmware?
[One (M9) General] Flippy498:
Then use the ~2 backup, please.
[One (M9) General] syl0n:
Now when i try to copy TWRP Backup I am getting: system_image.emmc.win "The file size is larger than the device limit".

Edit: Sorted! I put in my 128GB card with exFAT and it restored TWRP fine. Now getting OTAs. Thanks! Seems TWRP backup is most reliable method. I will take full TWRP backup now before going to Cyanogenmod.
[One (M9) General] Flippy498:
I'm glad to hear that your problems got solved. (The part with the exfat-formatting is mentioned in my instructions, btw. ;))

Actually, in generel RUUs are more reliable than Backups since they're made by HTC and reflash the whole phone and not only the system partition, the stock recovery and the boot image. I've no clue why you couldn't flash them... I'll keep an eye on those three RUUs and if anyone else reports that they can't get flashed I'll probably delete them.
[One (M9) General] syl0n:
Thanks. Just wondering how you get RUUs and why my device doesn't have any 3.x versions?
[One (M9) General] Flippy498:
US RUUs get provided by HTC on their US website. The rest gets leaked by insiders. It takes some time to find them on the internet and in many cases you need to pay if you want to get one of them. However, the insiders can't get their hands on every existing RUU. Therefore it might happen (like in your case) that there is no publicly available RUU for firmware 3.x.

The last hope in case that there is no backup and no publicly available RUU is the RUU service on Llabtoofer's website. The catch is that you need to pay a little amount and that you can't keep the RUU that gets used by the service.

That's why it's always a good decision to create a backup before you flash anything to your phone. ;) (Well, alternatively you could set your phone S-OFF so that you can flash older RUUs, as well, or in case you own a GSM version of the M9 - like you do - to change the firmware/SKU to a different one that has more RUUs. Just be aware that a different firmware can result in different GPS/mobile/Internet reception than you got used to have and that S-OFF costs money, as well.)
[One (M9) General] boredherobrine13:
Boot Loop :/

So I flashed TWRP Recovery (ver 3.0.2) and SuperSU SR3-SuperSU-v2.79-SR3. After installing the image via TWRP, i get a message when booting on the white screen and it says that this is development software and shouldnt be displayed outside of HTC. It then reboots :/ Have let it reboot alot (20 minutes), no luck. Tried TWRP 3.0.1, as well as various versions of SuperSU (v2.46, v2.78). Please help. I have an unlocked bootloader. I can use an RUU to restore...but then I'd have to unlock my bootloader yet again. I have no backup. I am doing this because I want to use sunshine to s-off and the built-in root methods have failed.
[One (M9) General] kwaichang:
Boot loop

Try trwp 3.0.0.3 and search for SuperSu-v2.65-201512261441550.zip that works on mine, but only to come back to 6.01 HTC
[One (M9) General] Pimptrill713:
Bootloop

Help my phone keeps on turning of after I turn it on please help
[One (M9) General] Captain_Throwback:
Is it charged?
[One (M9) General] sgtbellpepper1978:
BOOTLOOP

Hi guys,

I'm having a problem with bootloop to the HTC screen with the warning about being for development use etc.

I managed to install TWRP OK and also the SU OK, but when I reboot to system .... bootloop.

I left it for ages and it just goes round and round.

Help please! :(
[One (M9) General] slacktheplanet:
Are you able to boot to recovery by holding power and down volume to turn the phone off and then holding power and up volume to boot to recovery? If so, you can try wiping the Dalvik cache and rebooting. If that doesn't work, you could boot to recovery again, wipe the whole phone and restore from backup or flash custom ROM.
[One (M9) General] sgtbellpepper1978:
Hi jdon723,

Thanks for replying. Booting into recovery is no problem. But booting to system wasn't happening.

In the end, I just installed the ICE custom rom and hey presto it works 100%

Woo-hoo ... all good AND I have Android 7 on my phone. Thanks again for your help.
[One (M9) General] Afeef.mlk:
I am on stock nougat 4.14.401.7 firmware. How to install twrp and root on it ? Is it same as it was on marshmallow ? Also which version of twrp and SU to install ?
[One (M9) General] Mutasek24:
TWRP 3.0.3.0 + SR3-SuperSU-v2.79-SR3-20170114223742.zip

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) General] onlypencil:
Would this still work on nougat 4.19.661.1 m9 on Telus?
[One (M9) General] Mutasek24:
I don't know if it work on Telus , but I think is it will be working.
[One (M9) General] Afeef.mlk:
Have you tried the above mentioned SuperSU version ?
[One (M9) General] Mutasek24:
Yes.
[One (M9) General] Afeef.mlk:
Thank you bro :good:
[One (M9) General] strikercs:
Can somebody tell me a stable TWRP and a stable SuperSU that is 100% working normally on official rom, nougat, european unlocked version?
[One (M9) General] Mutasek24:
TWRP 3.0.3.0

SuperSU-v2.79-SR3-20170114223742.zip

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) General] strikercs:
Ty

---------- Post added at 12:21 PM ---------- Previous post was at 12:06 PM ----------

Download links?
[One (M9) General] Mutasek24:
​

My bad sorry , you are nougat.

TWRP 3.0.3.0 + SR3-SuperSU-v2.79-SR3-20170114223742.zip

Twrp 3.0.3.0 - https://xdaforums.com/showthread.php?t=3066720

Su v2.79-SR3 - https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip
[One (M9) General] Flippy498:
If you had done what you got told in your other thread you would've known where to download those files. ;)
[One (M9) General] strikercs:
Yeah, my bad! Sorry!

---------- Post added at 12:40 PM ---------- Previous post was at 12:40 PM ----------

Thank you mister!
[One (M9) General] abdinsyakirin:
can somebody help me. I tried almost all twrp version and variety su version and still cannot root it. su binary not installed. my m9 is verizon and on firmware 3.37.605.13. s-off but relocked. if somebody can suggest how to unlock it back, please reply this since i need to have root to unlock it
[One (M9) General] slacktheplanet:
Have you tried going to HTC Dev to unlock the bootloader?
[One (M9) General] Afeef.mlk:
You don't need root to unlock. Just unlock through HTC dev website and install twrp and then root it
[One (M9) General] Captain_Throwback:
You can't unlock a Verizon device with HTC Dev.
[One (M9) General] Captain_Throwback:
You need to flash TWRP via download mode. It *may* not work because of your bootloader status, though. In that case, you'll need a zip version of recovery that you can flash via SD card or through RUU mode, either of which should work since you're S-OFF. I just recently made such a zip for myself, so I'll upload it here shortly for you to use. Once you have access to TWRP, you can root, and use adb to unlock your bootloader.

Quick question - what's the MID of your device? I need it for the zip. EDIT: And your CID

EDIT: I just re-read your post. So you're able to flash TWRP? If so, have you booted into it and tried this procedure to unlock your bootloader?
[One (M9) General] abdinsyakirin:
I bought the phone unlocked with s-off. I have TWRP right now. Before I bricked it, I accidentally relocked it and I dont know why I did it. Now my device is working but only can use verizon sim card. I also have a very weird problem, I tried flashing custom rom but then the wifi not working and I cannot pass the setup wizard screen.

Edit: Do u still need my cid?
[One (M9) General] Captain_Throwback:
No, you should be able to use that procedure to unlock it while in TWRP. Give it a try.
[One (M9) General] abdinsyakirin:
Thank you very much! Now i am unlocked and rooted. Since u are here, i would like to ask about my another problem. I cannot use my sim card. It still needs verizon sim card. Can anybody give me any suggestion?
[One (M9) General] Captain_Throwback:
It sounds like your device isn't SIM unlocked. You'll have to search for a procedure to do that manually (I believe there are a few threads on XDA for it). Or you may have to pay for a service to do it. I'm not sure how Verizon is about SIM unlocking their devices.
[One (M9) General] abdinsyakirin:
Do I really need to unlock it back since i got this device unlocked. The problem happened after i installed ICE Nougat rom which is not compatible with my verizon m9.
[One (M9) General] Captain_Throwback:
You can trying flashing a full Verizon RUU to get the device back to stock condition, and make sure everything is working, then try flashing a compatible custom ROM.
[One (M9) General] Juanchope44:
hi, when i finish all the steps, after install SUPER SU, my phone begin to reeboot and comes into a loop .. how can i repair it?? sorry for my english, thanks !!
[One (M9) General] slacktheplanet:
Try rebooting to TWRP and wipe cache/dalvik cache and reboot.
[One (M9) General] Juanchope44:
hi,

I've done that but it keeps on constantly restarting.
[One (M9) General] Flippy498:
This guide is outdated. You need different SuperSU versions depending on you current firmware. More info can be found in the ReadMe thread.
[One (M9) General] slacktheplanet:
For now, sounds like you either need to restore a Nandroid backup or wipe and flash a custom ROM.
[One (M9) General] Juanchope44:
i have tried to install an official FW but appears an error. Now it is S-ON and i haven't OS installed because i erased it trying to clear cache and others, can u help me.

i've downloaded official RUU 4.23 and 3.35 my FW is 3.42 i have HTC M9 eu SJA1000 HTC_044

also i have downloaded "Android_Revolution_HD-One_M9_20.0_9a5ad5" but nothing of that has worked..

i dont know what to do
[One (M9) General] slacktheplanet:
I've had good luck with ViperOne ROM on my M9. Might want to try that. If doesn't work, can you be more specific about what you're doing and what error you're receiving?