yashsingh1/xdaforums huggingface dataset:
[One (M9) General] Juanchope44:
hi,

when im trying to install fw 4.14.617.6 error 132 and 3.35.617.12 error 155

mi htc m9

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: 357226065123770

(bootloader) version-main: 3.42.708.3

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440801_97.04.60111G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: HTC__044

thanks for ur attention
[One (M9) General] Knasttker:
This is a nice topic , there are lot of soultion about the Andorid phone root , thanks
[One (M9) General] Juanchope44:
Hi

Whenever I try to update it I check it The status S-On and RELOCked but appears error
[One (M9) General] Camoz20:
make sure your not using twrp 3.1 you have to use twrp 3.0.2 as 3.1 is not working.
[One (M9) General] Captain_Throwback:
What do you mean TWRP 3.1 isn't working? What's wrong with it? Has someone reported an issue in the TWRP thread with a recovery log? I've seen no evidence that anything is wrong with the latest TWRP...
[One (M9) General] Flippy498:
Please, (re-read) the ReadMe thread. What you're trying to do is impossible without S-OFF/changing the CID and the MID (c.f. error 155). Aside from that, you can't flash a 4.x RUU if your phone is running a 3.x firmware (c.f. error 132).

Please don't give such advice. (Re-)locking the bootloader of this phone without having a RUU at hand that is definitely working and without having checked "OEM unlock" in the developer options is probably the worst idea you can have (c.f. the warning in the RUU section of the ReadMe thread). And at this point it looks like Juanchope44 doesn't have a working RUU and we don't know whether he has activated that option in the past.

Error 155 means that CID and MID of your phone mismatch with the CID and MID of the RUU.
[One (M9) General] Camoz20:
Every time i used twrp 3.1 it puts the device into a boot loop happened on my tab pro 10.1 and happened again on my one m9. Not sure if its just certain devices, but its deffently not working 100%
[One (M9) General] Captain_Throwback:
I'm only referring to the M9, and this is the first report I'm hearing about boot loops on any device. And unless you're talking about recovery not fully booting, I'm not sure how a boot loop is a recovery issue. If you want to post your device info and recovery log and describe steps to reproduce the issue in the TWRP thread, I will gladly investigate. Right now, your anecdotal account doesn't doesn't convince me there's an actual problem.
[One (M9) General] Juanchope44:
HI

when i used this guide (https://xdaforums.com/one-m9/general/guide-root-install-twrp-htc-one-m9-t3061133) i used twrp 3.1.0.0 , when i was installing SuperSU the phone begin to reboot many times, someone said me to wipe cache, but i wipe all data included OS :(

Before starting I put the phone in USB debugging, I do not know if It still have that configuration
[One (M9) General] Captain_Throwback:
That has nothing to do with TWRP. You're probably using an incompatible version of SuperSU. v2.65 is known to work on the M9. Try that version.
[One (M9) General] Juanchope44:
but now, my problem is that i have my phone without SO, only on bootloader mode and i dont know how to repair it :/
[One (M9) General] Captain_Throwback:
Flash a ROM.
[One (M9) General] Juanchope44:
with RBSoft ?
[One (M9) General] Captain_Throwback:
I don't know what that is. I meant with TWRP.
[One (M9) General] Juanchope44:
Oh my god I'm sorry, I've tried so many things without knowing much about it, can you tell me how or where to look for what you're telling me to do, any post?
[One (M9) General] simonbigwave:
relax..as u were instructed before by [MENTION=1162986]Captain_Throwback[/MENTION] just flash a rom or try relash a different version of SuperSU. some SuperSU may cause some people bootloops. no big deal.

if all fails just go back to stock via RUU or SD card method.
[One (M9) General] Juanchope44:
hi

thanks for your attention, finally yesterday i found my ROM in this link https://xdaforums.com/one-m9/general/stock-nand-backup-ota-update-collection-t3132698 I could already restore my htc, but when i try to root it with supesu following this steps https://xdaforums.com/one-m9/general/guide-root-install-twrp-htc-one-m9-t3061133 i used supersu v2.79SR4, after 2.78 and and it's the same the phone begin bootloop. My last attempt was with V2.46 When the phone restart, the log remains in htc ONE.
[One (M9) General] Captain_Throwback:
I already explained that: https://xdaforums.com/one-m9/general/guide-root-install-twrp-htc-one-m9-t3061133/post71659021
[One (M9) General] Juanchope44:
wow sorry, u are the best, finally i root my phone, thank u
[One (M9) General] simonbigwave:
good to hear u followed Captain_Throwback's advice..just remember to hit his " thanks button " after he (or someone later) helped you on anything .
[One (M9) General] chaosreaper95:
running into an issue after flashing supersu... flashing from twrp version 3.1.0.0 recovery and everything works fine but when i reboot after installing the supersu zip (v2.79) it gets stuck in an infinite bootloop at the first htc screen. When powered on i've tried internal memory with no wipe cache/dalvik and external with wipe cache/dalvik and both time to no avail and when it installs it does not give back any errors. I've given it about 10 minutes to try and boot and it has not happened anyone have any insight on this at all? never had a phone take this long and i booted the phone after i flashed the recovery and it booted up just fine so i know it has something to do with supersu.

UPDATE:disregard i found some advice and that let me through thank you to captain throwback for the fix.
[One (M9) General] gamesfordays007:
Is there a way to root without unlocking the bootloader

Is there a way to root a HTC One M9 without unlocking the bootloader? Or a way to unlock the bootloader without basically factory resetting my phone.
[One (M9) General] slacktheplanet:
Nope. Have to unlock bootloader, which will wipe device. Make sure to back everything up. It's worth it.
[One (M9) General] gamesfordays007:
OK thanks. How do I back everything up. I've never done it so that is why I'm asking.
[One (M9) General] slacktheplanet:
I just back things up in my Google account. Other people may have other suggestions.
[One (M9) General] gamesfordays007:
OK thanks I appreciate it
[One (M9) General] efrant:
If you have access to a java card, then yes, you can. With a java card, you can set your device to S-OFF, then unlock the bootloader without wiping, and flash TWRP, then root.
[One (M9) General] gamesfordays007:
OK excuse my ignorance but how do I get a Java card.

Is it Java on my PC or do I need Java on my phone?
[One (M9) General] efrant:
You either have to buy one (~US$150-200), or take (or send) your phone to someone who has one.

If you are in the U.S., there is a list of users here who are offering use of their card.
[One (M9) General] gamesfordays007:
OK thanks.

Is there another way to s-off like an app or a PC?
[One (M9) General] slacktheplanet:
Sunshine app http://theroot.ninja/ I've used it and works well. Won't wipe your data.
[One (M9) General] latinohot:
when i want to make a back up i get the choice to back up boot, cache, system, system image, data, recovery; what should i back up to have a good restore

my twrp is the latest 3.1.
[One (M9) General] ascheeh:
what was the fix, because I am in the same boat and don't know what to do.
[One (M9) General] Kipac:
Does it work for HTC One m9+, and also how do i know waht device do i have? (verizon, atat, int, etc??)
[One (M9) General] Flippy498:
No, it doesn't. The M9+ is a completely different device. Therefore, you can't use device-specific files like e.g. the TWRP version that is linked in the OP. Please search in the M9+ forum for files that you can flash on your phone and instructions how to flash them.
[One (M9) General] chaosreaper95:
Download supersu v2.65 and flash that zip and problem solved I think if you go to chain fires website he has a repository of the older versions and once flashed I updated through the app and still boots fine as well. when it asks i updated it through normal mode and it was able to do it. Also don't forget to go here https://xdaforums.com/one-m9/genera...htc-one-m9-t3061133/post71659021#post71659021 post #519 and throw a thanks on there as he was the one who fixed my problems and yours i bet.
[One (M9) General] tigers10001:
help pls

i have a htc m9

unlocked the previous person screwed the handset somehow when you turn on it loads to htc logo and just sits there he said something about flashing the recovery i understand how but not sure what image to use i would like just to get the handset working not fuseed if its custom or offical any help would be really helpful thanks

bootloader states relocked?

htc_himauhl PVT S-ON

LK- 1.0.0.0000

RADIO-01.01_U11440792_95.00.51130G_F

OpenDsp-15.6.1.00522.8994_1026

OS-3.35.61.14

mid:0PJA10000

cid:eek:RANG001

again thanks all
[One (M9) General] slacktheplanet:
You need to unlock your bootloader using HTC Dev website and then you can flash TWRP and a custom ROM.
[One (M9) General] tigers10001:
thanks

thanks for the info managed to get it working as suggested
[One (M9) General] chufton:
Flashed SuperSU but can't download any apps

Just installed twrp-2.8.6.0-hima and then flashed SuperSU-v2.65 on my HTC One M9. After I flashed SuperSU I tried to download rootchecker, but turns out I'm not able to down load any apps. Am I using the wrong version of either? Most errors I got in the play store was Error code 960.

Tried other versions of twrp, anything over ver. 3 won't let me boot into recovery mode.
[One (M9) General] Askingthestupidquestion:
I have a stupid question. My phone is s-off. Do I need to unlock bootloader in order to root?
[One (M9) General] slacktheplanet:
Nope. You should be good to go.
[One (M9) General] bleh98:
Hello I have HTC One M9 (Intl Unlocked) running Nougat (7.0) with TWRP 3.1 installed. I tried to install SuperSu 1.65 but it did not work. After reboot phone is not rooted and no SuperSu app is present. What version should I use? I'd rather not have a boot loop....
[One (M9) General] Golv:
Here you go - [BETA][2017.06.09] SuperSU v2.82 SR1
[One (M9) General] fullwave66:
well i tried everything before install twrp and install supersu v2.72 the htc have a bootloop, i update twrp at 3.0 and i try with supersu, v2.62 2.64, 2.70, 2.72, 2.82 and the bootloop is again, some ideas my friends?? the htc m9 is tmobile. s-on and someone have one idea??
[One (M9) General] Flippy498:
It's impossible to help without knowing your current firmware version. Aside from that, this guide is outdated since you need a different SuperSU and TWRP version depending on your firmware version. Take a look at the ReadMe thread and you should find the answers that you're looking for.
[One (M9) General] it0rrent:
"Guide noob friendly"

So....I have read entire post and haven't found a guide anywhere. Just a bunch of failed root attempts, partial roots, user stuck in boot loops and debates on SD card needed for root. Am I missing something? How is this noob friendly?
[One (M9) General] slacktheplanet:
If you go all the way back to the original post, it walks you through unlocking your bootloader, flashing TWRP and SuperSU.
[One (M9) General] it0rrent:
Thanks...right in front of me, sorry for that.
[One (M9) General] warmanz:
is it better to upgrade to stock Nougat via OTA before flashing twrp and rooting then? please help...
[One (M9) General] slacktheplanet:
Yeah you want to do it in that order cos won't take OTA update after rooting.
[One (M9) General] SuperFrancis:
Excuse me the question from NOB but I do not know one thing:

In order to do any modification to the device you will need to unlock the bootloader (the same thing I did with the MOTO G 2014)

In the case of HTC you can proceed with the code taken from the HTC website and you get a "partial" unlock

Sunshine is used and a "TOTAL" unlock (for $ 25)

Could I Use Only SunShine? Or should you always ask the code for HTC first?

If for a number of reasons I must make a FULL WIPE or HARD RESET the S-OFF remains?

Greetings !!!
[One (M9) General] slacktheplanet:
It depends what you're trying to do. If you just want to root your phone or flash a custom ROM, it's sufficient to unlock the bootloader via HTC Dev site, then flash TWRP and then SuperSu or ROM. If you get s-off with Sunshine, you can skip that part, but it'll cost you money and might be more than you need. It allows you more power to do things, but also greater ability to brick your device because you can flash any firmware, including ones that are not compatible.
[One (M9) General] SuperFrancis:
If I understand the first step is necessary anyway. I think I'll do it so ...

I've read that some kernel updates can not be done without s-off and this has confused me

thank you very much
[One (M9) General] XsaucerX:
If you are rooted, you can just flash the keys and then update to nougat using the RUU(thats what i read in another thread)
[One (M9) General] Flippy498:
This is incorrect. There are two options for updating to nougat:

A) Using the official OTA while being on an untouched stock rom.

B) Flashing one of Sneakyghost's firmware packs. (Only possible with S-OFF.)

The 4.x firmware uses newer encryption keys than 3.x and older. Therefore, you can't use RUUs for upgrading to android N. You need unencrypted firmware files which are only available in the OTAs or Sneakyghost's packs.

Sidenote: This thread's guide is completely outdated since different firmware versions of the M9 need different TWRP and SuperSU versions. I highly recommend using the guides in the ReadMe thread instead.
[One (M9) General] Marko Indaco:
Hi Flippy498, I can't find that read me thread you mentioned, can you link it, please?

Also, I want to ask you what procedure you use to TWRP you're M9?

I notice I got the same software of you. Indeed I received the phone right today via Amazon Warehouse and it cames from Germany.

Thank you in advance

Edit:

In the meantime i found this tool. I'm gonna try this. Hope it works without problems.
[One (M9) General] Fain11:
Here is the link to Flippy's thread:

https://xdaforums.com/one-m9/general/stock-nand-backup-ota-update-collection-t3132698
[One (M9) General] Flippy498:
The ReadMe thread is pinned above all other threads in the General and the Q&A section and the tool you linked is outdated, as well.
[One (M9) General] Marko Indaco:
Thank you for the link. I'm reading Flippy498 thread, which is nice and accurate :good:

I'm not new on rooting and TWRP phones, but never do it with Nougat. Also I recived my One M9 today :D so I need more informations as possbile, before make any kind of operation.

Thanks again guys :cool:
[One (M9) General] green-gf:
RELOCK and RESTORE STOCK (so on a normal boot there's no evidence of root/unlock)

Hi - I need to restore my phone, currently rooted with latest lineage 14.1. Just wanting to be sure I'm understanding a few things correctly, can't see another thread more suitable for posting than this one.

- OS 4.28.401.3 - got an RUU compatible with this via https://xdaforums.com/one-m9/genera...collection-t3132698/post64299817#post64299817

- boot screen says "this build is for development purposes only...." - what do I need to change for this to go please, just install the RUU? I've found other forums about this, though relating to m8 not m9. Noob question I know!

- twrp 3.1.1 - not a problem as wouldn't be visible on normal boot but interested how I'd restore original recovery?

- unlocked - I understand I can use adb commands to relock, though this obviously wouldn't be visible on normal boot

- s-on / supersu 2.82

Many thanks, Geoff
[One (M9) General] Marko Indaco:
HI Geoff, I'm not familiar with this procedure so I can't help you with this procedure but, in meantime, I was wondering why you wanna do it? You have to bring the phone to the assistence? Because, in this case, it's way different and more complicated to hide you're previous unlocking...

You write: - unlocked - I understand I can use adb commands to relock, though this obviously wouldn't be visible on normal boot

and this is true but, with this procedure, if you turn on the phone in recovery mode, it will be visible as Status: Relocked so anyone can clearly see that you previous unlock the phone. For what I know the only way to return at Status: Locked is by using the Sunshine tool.
[One (M9) General] Flippy498:
Flashing a RUU retores most of what you mentioned back to stock. Only the "unlocked" flag stays unaffected.

Strictly speaking, Sunshine doesn't restore the unlocked flag back to locked. However, you need S-OFF for being able to use the needed ADB commands. There's a guide (called 100% back to stock or something like that) here in the General section which mentions the correct commands. Be aware that the guide is completely outdated and that all linked files shouldn't be used, anymore. In addition the nature of those dd commands may lead to unrecoverable damages of your phone if you make only the tiniest typo by using them. I personally don't recommend using dd commands to everyone who isn't that experienced with adb, fastboot and flashing files on phones.

And not to forget that you would need to revert S-OFF back to S-ON, afterwards. That's another thing which isn't recommended at all. If you miss a part that still isn't stock while using the command that reverts the S-OFF status you can brick your phone, as well. Therefore, S-OFF should get considered as one way ticket for the average M9 user.
[One (M9) General] green-gf:
Hi - I just bought an M9 on eBay and have found it’s a HIMAULATT not just HIMAUL, with OS 3.35.617.31. From research I understand this means it’s a developer model (not sure exactly what that means) and from AT&T. Can I root as described here and am I limited about which ROMs I can install?

Thanks, Geoff
[One (M9) General] Marko Indaco:
Hi [MENTION=5578226]green-gf[/MENTION] I never heard about HIMAULATT before, but making a simple XDA Search I found this topic ̶w̶h̶i̶c̶h̶ ̶s̶e̶e̶m̶s̶ ̶y̶o̶u̶'̶r̶e̶ ̶p̶h̶o̶n̶e̶ ̶s̶h̶u̶o̶l̶d̶ ̶b̶e̶ ̶S̶-̶O̶F̶F̶ ̶(̶d̶i̶d̶ ̶y̶o̶u̶ ̶v̶e̶r̶i̶f̶y̶ ̶t̶h̶a̶t̶ ̶c̶o̶n̶d̶i̶t̶i̶o̶n̶?̶)̶,̶ ̶t̶h̶a̶t̶ ̶b̶a̶s̶i̶c̶a̶l̶l̶y̶ ̶m̶e̶a̶n̶s̶ ̶t̶h̶a̶t̶ ̶y̶o̶u̶ ̶c̶a̶n̶ ̶r̶o̶o̶t̶ ̶i̶s̶ ̶w̶e̶l̶l̶ ̶u̶n̶l̶e̶s̶s̶ ̶i̶t̶ ̶i̶s̶ ̶a̶l̶r̶e̶a̶d̶y̶ ̶r̶o̶o̶t̶e̶d̶. Btw it's suggested you flash (or load) TWRP just to make a nandorid backup before procede.

Edit:

Try a look also here
[One (M9) General] Flippy498:
It's the normal dev edition (directly sold by HTC in the US without any sim lock or carrier branding and with already unlocked bootloader). Neither the SKU nor the codename himaulatt have anything to do with S-OFF.

The dev edition has the same hardware as the AT&T version but a different firmware. That's why you see the att in the codename although it isn't an AT&T phone from the software side.
[One (M9) General] XsaucerX:
i need root to get s-off(sunshine its asking for it) in my m9, do i need to install twrp or i can just root without a custom recovery?(that way i can flash a nougat OTA with stock)
[One (M9) General] Flippy498:
Please take a look at the ReadMe thread. You don't need the stock recovery for installing OTAs if you're on firmware 3.x or higher.

Edit: And you should flash a RUU after getting S-OFF, anyway. Otherwise, you'll lose 3gb of your phone's memory till you flash a RUU the next time. So, it actually doesn't matter whether you use a temp or a permanent root method. (Not to mention that temp/one-click root methods like kingroot, kingoroot, etc. contain malware in 99% of the cases.)
[One (M9) General] XsaucerX:
that means i can use kingroot?(even if i should not because of the mallware)
[One (M9) General] Flippy498:
I don't know. I've never used it and haven't heard of any M9 owner being successful with using it.

I just wanted to mention the malware since despite all the articles on the xda portal and the repeated warnings in the dedicated threads here on the forums many users still seem to be unaware of the malware. Kingroot, kingoroot and all other of those one-click solutions are highly not recommended no matter which phone you own.
[One (M9) General] RuLEoF2:
Hi,

I just got a brand new M9 and other than turning it on, installing my SIM card and completing the bare-minimum setup, it's virgin.

I remember with my M8, there was a lot of talk about android 4.4.4 having changes made that caused problems for root users. So, I've opted to not allow the firmware update to complete on my M9 before I know it's not going to be a mistake.

Should I allow the update now or should I unlock the bootloader, install TWRP and root s-off first? I will be eventually be flashing ViperOne.

Thanks.
[One (M9) General] uqdesign:
bootloop

Hello,

I have followed instructions, unlocked bootloader, flashed twrp-3.2.0-0-hima and then installed SR5-SuperSU-v2.82-SR5-20171001224502 (unfortunately missed to change location to external SD card, so first I have installed it from internal storage, but then did it again from external storage).

But after this whole procedure I have problem with boot-loop, when phone starts I can see white HTC screen with some red text in lower half (something like - developer device, don't send it to public). Then it powers off, and then starts back ON with white HTC screen... it lasts for some 45-60 minutes, reboots many times and then it finally loads the system. After that phone works ok, with SuperSU installed and working.

Recovery, download and bootloader all work, I can switch between them without problems. So, any idea how to solve this 1-hour startup?
[One (M9) General] slacktheplanet:
It's normal for it to take a long time the first time you reboot. Are you saying this keeps happening when you reboot additionally?
[One (M9) General] uqdesign:
Hello,

Yes, I have tried to reboot 4-5 times after rooting, and every time it gets into loop. When phone started after loops I got message that phone had problems with restarting and asks me if I want to send error log to HTC. I managed to save one of these logs, but it is 4600 lines long so I'll not paste it here (there is 68 errors, 324 fails, 9 denies, and 35 faults in it :D ).

Phone was working when it would finally boot but I wasn't satisfied how root uninstallers handled HTC crap (I couldn't uninstall some bloatware) so I flashed LineageOS 14.1 yesterday (which works perfectly so far).

Last bootloop that I had lasted only 15-16 minutes.
[One (M9) General] XsaucerX:
This guide works for devices running nougat?
[One (M9) General] Captain_Throwback:
What is your exact issue? Is recovery throwing any errors? Like I said before, if the error is that SuperSU isn't gaining root after flashing, you should report that to [MENTION=631273]Chainfire[/MENTION] with appropriate logs.

If the issue is recovery, I uploaded a Beta/test version here that fixes a couple of issues until an official bug fix release can be done.

[MENTION=6525498]KingInTheNorth[/MENTION] do you mind either linking the TWRP thread or at least the TWRP page for Hima in the OP rather than just the download page? Thanks!
[One (M9) General] kash20:
Have you checked to see if there's another update, I'm on 1.32.401.6 now

Looks like we had a similar situation
[One (M9) General] VelosCohagen:
Yes i loooked, there's no update. And after flashing the superu with twrp, i can't find the supersu in the app drawer.
[One (M9) General] Captain_Throwback:
Try the beta TWRP I posted in the TWRP thread, and if that doesn't work, please provide a recovery log (in that thread). This might be something Chainfire needs to look into, due to system being mounted read-only by default in TWRP.
[One (M9) General] turion64mt:
worked great from me thanks mate!
[One (M9) General] VelosCohagen:
Tried it with your TWRP Beta to no avail. Provided recovery.log.
[One (M9) General] Captain_Throwback:
I think you missed the "in that thread" part of my post. Read over in that thread for a solution.
[One (M9) General] VelosCohagen:
Thanks. That did the trick. Now my device is rooted. :good:
[One (M9) General] dannyb2100:
Just used TWRP 2.8.5.0. And it worked! Thanks guys!! :)