yashsingh1/xdaforums huggingface dataset:
[One (M9) General] RIKIL:
For some reason I am not able to unlock my bootloader. I am following the instructions on htcdev.com for my M9 I got yesterday from Verizon. I get stuck at running this command:

C:\Users\Downloads\fastboot-win>fastboot oem get_identifier_token

< waiting for device >

^C

C:\Users\Downloads\fastboot-win>

That command never returns anything so I kill it. I am in download mode on my phone.

I have tried the HTD Drivers, the HTC Sync program, android universal drivers, no luck. When I have my phone fully booted, my Win 7 machine tries to install a MTP driver but always fails. Could this be because of the samsung drivers I was using with my prev phone?
[One (M9) General] Flippy498:
Your main problem is that you own a verizon device. Verizon blocks the bootloader unlock via HTCdev. I suggest you to head over to the Verizon HTC One M9 Section since they might be able to help you more. As far as I know you need someone with a java card to get S-OFF and after that you are able to unlock your bootloader via the command line. (Maybe there already exist other options. Since I own the international version I do not visit the US carrier specific sections that frequently.)

Edit: I just searched a bit for you. If you did not already update your os to android 5.1 you are also able to use KingRoot and Sunshine afterwards. Since neither java cards nor sunshine are for free it's just a decision of time you want to invest. Using a java card might be cheaper but you have to find someone who owns one and then you either have to send your phone to him/her or you have to visit him/her. Sunshine on the other hand might be a bit more expensive (actually not that much) but you can do everything on your own and start right away.
[One (M9) General] RIKIL:
Thanks for the info. This morning I was able to get the fastboot command to work and I found out what you mentioned about Verizon. I have installed both the apps you mentioned but none of those are able to help me. I thought it would work for me because I am on 5.0.1
[One (M9) General] Flippy498:
Sorry to hear that. Since I got the info about KingRoot from the Sunshine homepage it might be wise to contact their support and ask if they could help. I never used the KingRoot app so I'm not able to help you any further.
[One (M9) General] scott7175:
Java card is the only root method for Verizon
[One (M9) General] Scudderb:
Hi Everyone...

I picked up an M9 yesterday and looking to root the phone to join my rooted M7s :) I was wondering if I must or perhaps should have an SD Card installed before I root the phone?? I see the mention above but am asking if this is the only method and if absolutely necessary at this time?? Anything I can't do at a later time??

Reason I'm asking is that I'd like to root now/today, however, the card I'm getting won't be available to me for a couple days...

Thanks!!

Scott
[One (M9) General] :
Hi Scott,

An SD Card is not needed, however, once you unlock the bootloader, you will need to boot back up, and then transfer SuperSU.zip to the internal storage.
[One (M9) General] shrtysskat8:
Hey guys. Recently picked up an M9, rooted it and loving it. But today I got a notification about an OTA from AT&T..is it safe to apply? If not, how do I apply it? I am only rooted, S-ON still.

Thanks.
[One (M9) General] iElvis:
It won't install. You have to be 100% stock to install an ota on the M9. Only way to make it work safely is to run a ruu first.
[One (M9) General] lateral18:
E:\HTC One M8\platform-tools>adb reboot bootloader

E:\HTC One M8\platform-tools>fastboot oem get_identifier_token

...

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

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

(bootloader) [KillSwitch] oem unlock Turn Off!

first time im seen this , can anybody tell me what i i'm doing wrong

or is there something new i need to do
[One (M9) General] Mutasek24:
You must check "Oem unlocking" in Settings/Developer options
[One (M9) General] AAlmustafa:
Still Getting SIMLocked Message

hi,

I had the HTC One M9 (Sprint) Unlocked bootloader, S-Off, and super cid but i still get SIMLocked whenever i input a GSM SIm card.

what should i do to make it work on all GSM carriers ?
[One (M9) General] GTIM2L8:
Have you tried here:

http://xdaforums.com/one-m9/general/sim-unlock-method-t3143333
[One (M9) General] nickcaper:
Im looking to buy anew phone and this one seems pretty legit. Im researching the root process and so far, it seems Ill need a phone that can be boot unlocked. So. how to I determine if a m9 can be unlocked for rooting? I do nto want to gamble 450$ and get one I cant root... What would be the right model to buy for rooting? Thanks
[One (M9) General] GTIM2L8:
All you need is an app called Sunshine as long as its not a Verizon phone. Just search the forums for that thread and read. It's that simple.

You can go to HTC's website and search for Unlocking bootloader if you want to do it yourself but if you want s=off you will need the Sunshine app I mentioned earlier.

Sent from my HTC One M9 using Xparent Red Tapatalk 2
[One (M9) General] slacktheplanet:
I successfully unlocked the bootloader of my T-mobile HTC One M9, flashed TWRP and ViperOne. Thank you everyone!
[One (M9) General] nobody00:
"Your M9 must have an unlocked bootloader. There is currently not a way to unlock the bootloader, so unless your phone comes with an unlocked bootloader, you will need to wait until HTC updates www.htcdev.com to unlock the M9 bootloader. "

I plan to buy an unlocked M9 ( full price, not on contract), what means unlocked bootloader, how can i make sure i get a phone with unlocked bootloader?
[One (M9) General] slacktheplanet:
An "unlocked" phone isn't going to come with an unlocked bootloader. It just means it's not "locked" to a particular cellular network.

To double check whether your bootloader is locked, boot your M9 to download mode (hold power and down volume) it will say ***LOCKED*** or ***UNLOCKED*** at the top, right under "HTC download mode."

If it's locked, you can unlock it yourself by going to the HTC Dev website, clicking on Unlock Bootloader, and following the instructions. The above post is outdated and the M9 is now supported. I did this successfully with my T Mobile HTC One M9 and was able to then flash TWRP and ViperOne.
[One (M9) General] xero110:
2 quick question. Just want to make sure AT&T M9 can be bootloader unlocked via HTCdev?

Also, are there any other phones from AT&T that can be bootloader unlocked?
[One (M9) General] Roamingnome3:
No go on the Vz m9

This doesn't work on the Verizon M9.....yet...hopefully soon though. Have to leave it in download mode and able to get the token, but, ends in failure when you submit the codes to the htcdev site.

No way to temp root to use sunshine yet either; tried kingroot as it needed to be installed through adb since its blocked from just installing through the phone. Stuck with bone stock for now.
[One (M9) General] efrant:
Head over to the Verizon M9 General section. There's a javacard/clip thread, and you can ship your device to one of those guys for free S-OFF. Or you can buy your own javacard - - I did. Paid about US$120 I think.
[One (M9) General] Roamingnome3:
Thanks a lot. I appreciate it. I had just come across that exact thread just before I read this reply.
[One (M9) General] pompanosix:
Man does bone stock suck. Oh well. I'll keep waiting. I gotta say tho, didn't realize there were so many ads on Android. I've been rooted since the rezound and that's about 5 yrs with Verizon. I forgot what is like to be stock. Definitely a rude awakening. $25 bucks ready to go. Guess I'll just get in line. many thanks to the soff guys over the years. Rezound required the wire trick. Whether by wire or by cash, I'm game!
[One (M9) General] m374llic4:
A site I was looking at said that unlocking the booatloader alone will wipe the device, that is not true is it? None of these things in this guide should wipe it I don't think?
[One (M9) General] slacktheplanet:
That is true. Just unlocking the bootloader

will

wipe your device so def make sure you back things up.
[One (M9) General] m374llic4:
Oh wow, didn't know that. : / Thanks!
[One (M9) General] numanmalik77:
hi.

i have got htc one m9 demo version nd there is this demo which keeps poping up. it really sucks.

so i wanted to root the device but im not able to change any developer option. i can not enable OEM option.

so is there any way i can unlock bootloader nd get my device rooted or flash another rom ? quick help would be appreciated. thanks in advance :)
[One (M9) General] slacktheplanet:
Why are you unable to change developer options? Did you tap on the build number 7 times to make them appear in the settings?
[One (M9) General] numanmalik77:
yes i did that. developer options are there but since its a demo device i cant even turn them on. they cant be changed or switched
[One (M9) General] Linx78:
hello...

i was running cm12.1 with twrp recovery. by mistake i did install cm13.

i managed to go back to original rom, starting with 1.3 version and now the phone updated to 2.10 firmware.

it's unlocked and s-off (that what is displaying when in download mode)

i'm trying to install custom recovery, but when rebooted to download mode and trying to flash all i get is "waiting for the device" and nothing happens.

the adb devices - shows my device

adb reboot download - reboots to download, but nothing else happens.

when i try installing cm12.1 from original recovery i get this message:

error:failed to verify whole-file signature

error:signature verification failed

installation aborted

what i'm doing wrong? what's the next step to get back to twrp and cm12.1?
[One (M9) General] bumpaneer:
Thanks for the guide!
[One (M9) General] jdjohn:
It seems that the TWRP backups with this version are much bigger than I remember with my M7. I had Lollipop running on that phone, but I think the TWRP backups were less than 2GB. With this version on my new M9, my first backup from rooted stock was over 7GB. Does that seem right?
[One (M9) General] fajo:
Hello, 8,2 gigas

Is normal ;)

Envoyé de mon HTC One M9
[One (M9) General] 7ftnick:
Hey, anyone figured out how to root the Android M yet ?
[One (M9) General] joekiddo:
I'd like to know aswell
[One (M9) General] 7ftnick:
I even had to roll back cuz all my stuff is backed up in titanium.
[One (M9) General] kamusxervantes:
in android m or 6.0 im stock in a fu#$ bootloop any idea??????
[One (M9) General] 7ftnick:
Okay. Found it.

You need to use this recovery:

http://xdaforums.com/devdb/project/dl/?id=13383

And this supersu:

https://download.chainfire.eu/750/SuperSU/BETA-SuperSU-v2.64-20151220185127.zip

After will work just follow instructions.
[One (M9) General] clsA:
Your right those are the files to use, but it's better to link to Chainfires thread here >> http://xdaforums.com/showpost.php?p=64161125&postcount=3

so they get an explanation of the file their downloading ;)
[One (M9) General] Luhccas-X10:
There's an update to Supersu: http://xdaforums.com/showpost.php?p=64161125&postcount=3

Direct link: https://download.chainfire.eu/752/SuperSU/BETA-SuperSU-v2.65-20151226141550.zip

Edit*

Anybody with functional xposed installed? Tried the official version and my phone bootlooped after flash and install some modules.
[One (M9) General] groovemachine:
just a little guidance please

hello friends,

i got my new M9 for X-mas and rooted it a few days after ;)... i also own a rooted M7 and still have the first tab2 i rooted... but that is the extent of my knowledge... so let me proceed....

as i mentioned above i managed to root my M9, but i jumped right in because I'm a know it all now... and i made my system RW before i made my backup in TWRP... stupid me i only read moments after i had swiped it why it was asking me if i wanted it...duh.... but not a big problem because i did find an exact match twrp backup with a read-only system,,, i restored it to my phone and it does indeed appear good.... so i lucked out there...... but this is where i think i,m missing a step....

i take the OTA download and it fails to istall because it still boots up to TWRP... i thought it would get over written by stock recovery but i was wrong again ;)...

so i re rooted and saved the OTA file to my extSDcard and opened that up and removed the "firmware.zip" file from it... i also unzipped that file to a folder where i can see a files called "rcovery.img"

sooooo... can i flash that "recovery.img" straight to my phone from twrp or fastboot and then have a stock recovery???? and for that matter can i just install tha whole "firmware.zip" file in one of those methods????

all i really want is to be up to current firmware and such before i move on to a custom ROM... also i just want to know this so i can go back for warranty if i need to...

Thanks a bunch guys... and Happy new year!!!!! (i just finished working, that's why I'm here) ;)
[One (M9) General] Flippy498:
Which firmware are you using with your phone (download mode - look at the line with "OS")? Which Backup did you try to restore (download link or better xda post where you found that link)?
[One (M9) General] groovemachine:
just a little guidance please

Thanks..

my M9 is at firmware started at and still is 1.32.631.31 and the backup i flashed was the very first one in the first post of the thread:

[GUIDE] Return to Stock for Canadian HTC One M9 (2015) ---- http://xdaforums.com/one-m9/general/guide-return-to-stock-canadian-htc-one-t3108236

that backup boots and the system is read-only as far as i can tell.... and the OTA update downloaded afterwards too... i also saved the OTA that came right after i originally rooted and i saved that one too.... they are named the same and the same size "OTA_HIMA_UL_L51_SENSE70_ATT_MR_ROGERS_WWE_2.11.63" and is where i got the FW.zip from...

Thanks ;)
[One (M9) General] Flippy498:
Ok. Two things I should've already mentioned in my last post:

First, do not flash the firmware archive without the rest of the OTA. With S-ON that's only possible with a locked/relocked bootloader but HTC introduced a new security feature with firmware 2.xx. If you don't enable OEM Unlock in developer options you can't unlock the bootloader on that firmware. The problem is that this option doesn't exist on older versions so you would be stuck with a locked bootloader and a rom that isn't optimized for the installed firmware and may behave buggy and glitchy because of that.

Second, there is no need to relock/lock if you want to install OTAs. ;)

Now let's talk about that backup. If the creator didn't put the stock recovery into it after he backed up the partitions of his/her phone then it won't overwrite TWRP with the stock recovery. :p Besides simply restoring such an untoched system backup is not enough. You need to disable the mount system as read/write option, too. You can find instructions which explain the needed steps in my google sheet (see signature).

Your main problem now is to find the correct stock recovery for your currently installed firmware. Sadly, installing the downloaded OTA with the recovery from the firmware.zip doesn't work. An alternative solution for your problem would be flashing a RUU for your current firmware or a newer version. (Sorry, couldn't find one but maybe you have more luck than me.)
[One (M9) General] karatche:
We should start a new thread that doesn't start out stating that the bootloader cannot be unlocked. this thread is outdated.
[One (M9) General] groovemachine:
i knew it was worth waiting for a warning ;) thanks for that....

so.... what if i go s-off... i have more options then correct?? if so then i dont mind re-reading into that...

i have done a lot of reading.... and am not trying to get a free ride on your knowledge (well maybe a little) but right now its all kind of blended in my baked skull ;)

thanks

edit: i do have a .ab backup from this phone that i made prior to messing with it.... is it of any use to me???
[One (M9) General] Flippy498:
With S-OFF you can change your CID and/or MID and flash a RUU with a different SKU. (Just be careful not to flash a CDMA RUU on a GSM phone or vice versa.) Or you can get back to stock/downgrade your phone by flashing this Rogers RUU.

The backup is only useful if you want to stay on the Rogers firmware and if you can find the corresponding stock recovery.
[One (M9) General] groovemachine:
Thank-you My Friend

I went ahead and used Sunshine again (used it on my M7 back then) and i am now S-off.... i was gonna end up doing it in the end i suppose ;)...

thanks again... and i'm sure i'll be back for more advice ;)
[One (M9) General] groovemachine:
everything is running fabulously my friend.

so far two OTA updates have loaded successfully and i am now making nandroid backups in READ ONLY mode... i didnt make the changes this time.

so now that i'm up to date... does that firmware.zip file that i saved from the OTA (that i just took) have a good stock recovery that i can put into the nandroid backup?? i think thats how i understand it ;)

Thanks again..... your help is appreciated ;)
[One (M9) General] Flippy498:
Alright. Then format an external SD card with your pc to exfat and put it into your phone. Choose to backup system image, boot and recovery on the SD card. (The rest would be wasted time and memory.) Copy the backup folder to your pc and delete the recovery.emmc.win file and the recovery.emmc.win.md5 file inside of it. Get 7-zip and install it on your pc if you aren't already using it. Open the OTA with 7-zip and extract the firmware.zip. Right click on the firmware archive and choose 7-zip > open (the second option from above not the first one) > #. Double click on the 2.zip and then extract the recovery.img. Now that file needs to be copied into your backup folder. Rename it to recovery.emmc.win. (Make sure that file extensions are visibile. Otherwise the file will be named recovery.emmc.win.img and cannot be restored.) Congrats, you now own a stock system backup that will replace TWRP with the stock recovery during restoration process. If you upload it somewhere and post the download link here I will add it to the opening posts so that it may help others. ;)
[One (M9) General] groovemachine:
done and done my Friend.... i chose boot, sys image, and didnt choose recovery to back up.... but after i extracted, moved, and renamed the recovery file from the OTA i booted into TWRP picked that recovery and it gave me the option to write recovery anyways.... All good??

and thanks for yout time and help again.... yu stopped me from making at least one big boo boo ;)
[One (M9) General] Flippy498:
If you can restore the recovery although you didn't back it up then everything is fine. When I created my backups I had to backup TWRP first and replace it with the stock recovery afterwards to make the restore recovery option appear. But maybe I made a mistake when I created my first backup and I didn't try, again, during the creation of the rest of my backup collection. :p
[One (M9) General] jeem1908:
can anybody advise how to install a twrp system img please, little unsure how to do this
[One (M9) General] emmanex84:
question

can i root my m9 without custom recovery,if no,how do i backuo stok recovery and how do i flash back stock recovery to my m9
[One (M9) General] ArgusPMC:
I read the tutorial in the first page but there's something that wasn't quite clear for me and its the use of an SD card? Is it necessary to have an SD card since my phone doesn't have one and I haven't bought one yet. That is unless an SD card and a Micro SD card are two different things. If so then I guess I'm good? I'm really new at using smartphones, in fact this phone is my first one, and I just found out about rooting.
[One (M9) General] joe-khalil:
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp

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

(bootloader) [KillSwitch] oem unlock Turn Off!

OKAY [ 0.063s]

finished. total time: 0.063s

C:\Users\joe-khalil\Desktop\for htc\Nocturnal_ADB_Fastboot>fastboot reboot

rebooting...

finished. total time: 0.001s

can someone help plz? this happens after i wirte fastboot oem get_identifier_token

is it because my phone is uhl? not ul?

or should i s-off before unlocking bootloader

?
[One (M9) General] Flippy498:
The phone already told you what's wrong. You didn't activate OEM Unlock in developer options.
[One (M9) General] joe-khalil:
oh that's new to me in the old htc's that option didn't exist :P sry .... and 10x!!!
[One (M9) General] Flippy498:
That option got introduced with Android 5.1 on the M9. No miracle you didn't know that.

Btw: I just noticed that you asked the same question in two different threads. Please don't do that. That's called rude behaviour on xda.
[One (M9) General] joe-khalil:
yeh sry about that didn't know what happened so i paniced i will remove the other post
[One (M9) General] Rix70:
guys please, i've a trouble...but how I can force the reboot on m9? hold power dont work...

Thanks
[One (M9) General] sssssbarn:
Hold power and volume up
[One (M9) General] rendroid15:
Done.

I followed all the instructions and did lot of research,

I have Unlocked Tmobile M9 phone, running on AT&T, S-off, Viper one Rom.

Everything works great except while gaming and continuous use of chrome browser makes my phone run reallly hot. :(
[One (M9) General] gregsarg:
Hot devices are nothing new....especially in the HTC world.

Heavy gaming Will surely drive those temps upward..

TWRP won't affect your CPU state....as it's simply a conduit to make software changes to your phone...

What you choose to do with your phone will affect the CPU.

If you are still using lollipop as your OS....the heat issue will be more pronounced...

But with Marshmallow OS...the devs have introduced changes that can help....

You are using an 8 Core processor now...and the heat it generates has to go somewhere....and in our case...it travels out of the device back plate which acts like a heat sink...

Enjoy the new phone....g
[One (M9) General] Locklear308:
Does anyone else get a force reboot when flashing supersu? I've never seen this in all my android days.
[One (M9) General] ultimation:
Just for anyone stuck on the HTC One Screen (flash fail) clear cache/dalvik and re flash the TWRP

this worked for me so may save anyone looking for a stock image (if they didnt back up) :/

Note: Superuser 2.65 should also be used as others cause error.
[One (M9) General] Rachara:
I am having a similar issue. OEM Unlock is not visible in my list of options. I am on android 5.1. Any ideas?
[One (M9) General] Mutasek24:
Do you have Developer Options in settings? if not you must open Settings > About > Software information > More > and tap on several times in Buli Number" After the several tap, the Developer options will be unlocked and available .They can usually be found in the main settings menu
[One (M9) General] Rachara:
Yes developer mode is enabled, and I can see where that option should be under developer options, it just isn't there.
[One (M9) General] Mutasek24:
What is your software version?
[One (M9) General] Rachara:
The android version is 5.1, where I should have that option in the list. I've tried to update it, and it says no updates are available.
[One (M9) General] dryspuri:
Cant find link to 2.65

---------- Post added at 01:06 AM ---------- Previous post was at 12:53 AM ----------

i am using SU 2.67 and still getting bootloop, can any one help please i am on stock MM.

when I install twrp, do i use the last option to install root in twrp or just flash su as sip till now it is causing boot loop
[One (M9) General] ultimation:
Post #15 on here http://xdaforums.com/one-m9/help/rooting-marshmallow-twrp-t3279547/page2

Also I was on stock MM and this worked fine. Had to refresh twrp though. Make sure have correct versions :) also don't root when phone asks after flashing supersu or you will get the binary error and unstable root. Install supersu app from Google Play after its done.
[One (M9) General] dryspuri:
Man You saved me there

Thanks for replying so quick, nearly lost myself there
[One (M9) General] ultimation:
No worries. Thought I'd share and hopefully help some people as I learned by error :)