Root HTC One M7 5.0.2 - One (M7) Q&A, Help & Troubleshooting

How do I go about rooting my unlocked HTC one m7, unlocking the bootloader, installing custom recovery and gaining s off?
My HTC One M7 is running android lollipop 5.0.2

Matty310301 said:
How do I go about rooting my unlocked HTC one m7, unlocking the bootloader, installing custom recovery and gaining s off?
My HTC One M7 is running android lollipop 5.0.2
Click to expand...
Click to collapse
Unlock the bootloader through HTC's website: http://www.htcdev.com/bootloader
Flash TWRP and flash SuperSU through that.
S-off I barely remember how to do. All I remember was flashing a 4.4.2 build of CyanogenMod and running Moonshine on it.

Matty310301 said:
How do I go about rooting my unlocked HTC one m7, unlocking the bootloader, installing custom recovery and gaining s off?
My HTC One M7 is running android lollipop 5.0.2
Click to expand...
Click to collapse
Really?
You posted this on 2 dev places. Don't you read stickies and rules. Go in q&a thread not on dev thread.

This is an old post... is it possible to unlock a bootloader (htc m7 5.0.2 verizon) using htcdev.com???
thanks in advance.

jhoanm24 said:
This is an old post... is it possible to unlock a bootloader (htc m7 5.0.2 verizon) using htcdev.com???
thanks in advance.
Click to expand...
Click to collapse
Read post #2

Didnt work...
alray said:
Read post #2
Click to expand...
Click to collapse
I tried that already using the htvdevdatcom and didn't work. When try to get the token gave a error... Do I have to flash tomething first? Any references please?

jhoanm24 said:
I tried that already using the htvdevdatcom and didn't work. When try to get the token gave a error... Do I have to flash tomething first? Any references please?
Click to expand...
Click to collapse
What error exactly? You don't need to flash anything to get your token simply do "fastboot oem get_identifier_token". You can find all the instructions at htcdev.com/bootloader.
What is your "fastboot getvar all" ? (Don't share your imei/sn)

alray said:
What error exactly? You don't need to flash anything to get your token simply do "fastboot oem get_identifier_token". You can find all the instructions at htcdev.com/bootloader.
What is your "fastboot getvar all" ? (Don't share your imei/sn)
Click to expand...
Click to collapse
This is what it shows:
We're sorry, but it appears your attempt to unlock the bootloader on this device has failed. This could be caused by several factors including simple errors in the entry of the unlock token, problems with your device, or a lack of manufacturer support for the unlocking process. Please see the specific error code listed below, and try again if necessary.
Error Code: 172.
Error Reason: CID Not Allowed (MID not exist in Model Rule).

jhoanm24 said:
This is what it shows:
We're sorry, but it appears your attempt to unlock the bootloader on this device has failed. This could be caused by several factors including simple errors in the entry of the unlock token, problems with your device, or a lack of manufacturer support for the unlocking process. Please see the specific error code listed below, and try again if necessary.
Error Code: 172.
Error Reason: CID Not Allowed (MID not exist in Model Rule).
Click to expand...
Click to collapse
its a verizon phone?

Yes it is.

jhoanm24 said:
Yes it is.
Click to expand...
Click to collapse
you'll need sunshine (which cost you 25$) to root + s-off + unlock bootloader. I consider it worth every penny
I also believe that Kingroot will provide you temp root (will lost root upon rebooting). I havent use it for quite sometime, dont know if they improved it yet but i doubt it

jhoanm24 said:
Yes it is.
Click to expand...
Click to collapse
You can't unlock a Verizon phone using htcdev.com. Verizon asked HTC to block bootloader unlock because they don't want their customer to flash stuff on their phones. So like said above you'll need to temp root your phone so you can use sunshine to unlock your bootloader and s-off

I think I have to sell this one and buy something newer so I can play with it... Thanks!

I lost my HTC One M7 (ATT) variant late last year due to a charger issue frying the mainboard. I finally picked up a replacement last night which is the Verizon Model at a good price and it is in brand new condition.
The previous owner updated to the Lollipop 5.02 version which lives on it now. I have tried every method including the latest Sunshine to get it to root or even temp unroot.
SupeSu
Kingroot
Sunshine
HTCDev (before I knew Verizon locked it down so much)
It is the HTC6500LVW.
Is there any method that works at this point?

Medfordite said:
I lost my HTC One M7 (ATT) variant late last year due to a charger issue frying the mainboard. I finally picked up a replacement last night which is the Verizon Model at a good price and it is in brand new condition.
The previous owner updated to the Lollipop 5.02 version which lives on it now. I have tried every method including the latest Sunshine to get it to root or even temp unroot.
SupeSu
Kingroot
Sunshine
HTCDev (before I knew Verizon locked it down so much)
It is the HTC6500LVW.
Is there any method that works at this point?
Click to expand...
Click to collapse
You need to use kingoroot to get temp root and then use sunshine to unlock and s-off. There is a thread in the verizon general section explaining in details.
Sent from my HTC One using XDA Labs

I tried Kingoroot all weekend long and it did not work no matter what I tried.
I was at work today, tried again and it finally did it's thing. I then used Sunshine and got the rest of the job done, and then removed Kingo and put the SuperSu on there and am now happy to report all is good with it.
As for why it did not work in the first several attempts, it is beyond me.

Medfordite said:
I tried Kingoroot all weekend long and it did not work no matter what I tried.
I was at work today, tried again and it finally did it's thing. I then used Sunshine and got the rest of the job done, and then removed Kingo and put the SuperSu on there and am now happy to report all is good with it.
As for why it did not work in the first several attempts, it is beyond me.
Click to expand...
Click to collapse
Was it Kingroot? Or Kingoroot? Either way both don't work for me. Can you link me the guide you used.

Related

Cannot unlock bootloader (HTCDev) after OTA

Hi,
Yesterday I went from S-OFF to S-ON, re-locked the bootloader and went back to Stock via RUU to check if we have official 4.2.2 in Thailand yet. Was very happy and excited to see that we have it - downloaded, upgraded.
After that I had my first "You stupid idiot!!" moment when I discovered that I could not use 'revone" anymore - yep, should have read the forum first.
So to root my device, I generated the unlock token at HTCDev, followed the unlock process over and over again, however the device still stays in "relocked" state. The only thing it does is wiping the whole device. Anybody facing similar problems with a possible solution?
I did change CID to 11111111
Thanks in advance for any help.
For some reason - after repeating the unlock procedure another time it suddenly worked.
Now it's finally unlocked..
sourcecodepoet said:
After that I had my first "You stupid idiot!!" moment when I discovered that I could not use 'revone" anymore - yep, should have read the forum first.
Click to expand...
Click to collapse
why can't you use revone anymore ..?
rhtzshahriar said:
why can't you use revone anymore ..?
Click to expand...
Click to collapse
The OTA updated HBOOT to 1.5something and revone works only with the older version.

Trying to unlock bootloader-Unknown error

Hi all, a little info first. I have a One bootloader unlocked, rooted, twrp installed and S-OFF. My wife just received a One from an insurance claim on an older phone. I am trying to unlock the bootloader and install twrp and all of that good stuff, but I keep getting unknown error when trying to execute the command. I have tried several times but keep getting the same error. Did AT&T block the unlock process at some point? Here is the basic info on the phone: hboot is 1.44 and the software number is 1.26.502.12. Any help would be greatly appreciated.
In Flames said:
I am trying to unlock the bootloader and install twrp and all of that good stuff, but I keep getting unknown error when trying to execute the command.
Click to expand...
Click to collapse
Which command?
Is the bootloader from May or later? If it's May, use revone to S-Off. If later, I'm pretty sure there are already many discussions about it, but you might be able to run an older RUU to downgrade and then revone.
It's highly likely you're not the first person to want to unlock your AT&T phone, the answer is gonna be here somewhere.
Thanks for the reply, the date in the bootloader is May, same as mine. I followed the youtube video from qbking, as I did to my phone. About S-OFF, won't the bootloader still be locked?
Revone includes an unlocking tool, read the OP of the revone thread.
-u is the unlock command I believe
Sent from my HTC One using XDA Premium 4 mobile app

Any way to unlock a refurbished One

I had an One M7 which i had unlocked through HTCDev, s-offed etc and converted to GE
Then insmashed the screen which resulted into getting a replacement, refurbished as I guess
The thing is I cannot unlock it. i get the token but when i try to push it into the phone I get
an error message reading that the token does not match. Wrote to HTC and they replied that
"each serial number can only be unlocked once". Anything I can do? Tried moonshine, firewater but no success.
cynomad said:
I had an One M7 which i had unlocked through HTCDev, s-offed etc and converted to GE
Then insmashed the screen which resulted into getting a replacement, refurbished as I guess
The thing is I cannot unlock it. i get the token but when i try to push it into the phone I get
an error message reading that the token does not match. Wrote to HTC and they replied that
"each serial number can only be unlocked once". Anything I can do? Tried moonshine, firewater but no success.
Click to expand...
Click to collapse
That's BS I have 3 or 4 unlock tokens for my One
did the give you a GE One ?
cynomad said:
I had an One M7 which i had unlocked through HTCDev, s-offed etc and converted to GE
Then insmashed the screen which resulted into getting a replacement, refurbished as I guess
The thing is I cannot unlock it. i get the token but when i try to push it into the phone I get
an error message reading that the token does not match. Wrote to HTC and they replied that
"each serial number can only be unlocked once". Anything I can do? Tried moonshine, firewater but no success.
Click to expand...
Click to collapse
You need to be on a sense based rom. Preferably the stock one to unlock.
clsA said:
That's BS I have 3 or 4 unlock tokens for my One
did the give you a GE One ?
Click to expand...
Click to collapse
No a Sense one as the original
I tried even the temproot method of firewater but is not working
Stuck with sense now, the phone feels so much slower.
cynomad said:
No a Sense one as the original
I tried even the temproot method of firewater but is not working
Stuck with sense now, the phone feels so much slower.
Click to expand...
Click to collapse
Are you Verizon ?
clsA said:
Are you Verizon ?
Click to expand...
Click to collapse
No, I am in the UK
cynomad said:
No, I am in the UK
Click to expand...
Click to collapse
that's really strange ..i get unlock tokens anytime i want them never a problem
clsA said:
that's really strange ..i get unlock tokens anytime i want them never a problem
Click to expand...
Click to collapse
I get the unlock token but it is not working when i push it to the phone, getting an error message that the string check failed ( cannot remember the exact error msg). Has nothing to do with the Htcdev.com, it is a phone thing, there is a mismatch somewhere in the unlock process
This is the actual message
cynomad said:
This is the actual message
Click to expand...
Click to collapse
Few users have had motherboards replaced by HTC and unable to unlock afterwards (maybe not supported on new boards?). So you may be stuck. Despite HTC offering the service to unlock they are difficult in answering questions about it too
stovie_steve said:
Few users have had motherboards replaced by HTC and unable to unlock afterwards (maybe not supported on new boards?). So you may be stuck. Despite HTC offering the service to unlock they are difficult in answering questions about it too
Click to expand...
Click to collapse
They did reply tin this kind of enigmatic way:" a serial can only be unlocked once" ti am probably buying a Nexus 5 tomorrow. Cannot stand how slow the phone is. Now with hense and google launcher on top of it. The photos app takes about 4 secs to lainch.
cynomad said:
They did reply tin this kind of enigmatic way:" a serial can only be unlocked once" ti am probably buying a Nexus 5 tomorrow. Cannot stand how slow the phone is. Now with hense and google launcher on top of it. The photos app takes about 4 secs to lainch.
Click to expand...
Click to collapse
Well this isn't true. Many users here unlocked their phones more than once using a new unlock code. Maybe there is something bad with your version.
Some phone version can't be unlocked from htcdev.com (i.e like stated above, verizon)
Others phones like the GPE version suffer from a bootloader bug (updated version) and can't be unlocked no more.
Would like to see your unlockcode.bin and token if you want to share. Sometime they are corrupted.
Will try it once more tomorrow.
Is the unlock token unique per phone? I found the one from my previous phone
And it produces the same error
cynomad said:
Will try it once more tomorrow.
Is the unlock token unique per phone? I found the one from my previous phone
And it produces the same error
Click to expand...
Click to collapse
yes the code is unique to the phone, and you even need a new code when unlocking for a second time.
Coming back to this ( i own an M8 now, turned into GPe) , i use the M7 as a secondary phone but sense drives me mad. Any idea how to overcome the unlock issue? hTc has confirmed to me through email that refurbished phones cannot get unlocked

[Q] HTC one m7 Sprint update Issue

Hi every one,I know this is a stupid question, i just switched to Android from IOS, i bought a Htc one m7, my issue i'm unable to update it to sense 6
and kitkat 4.4.2, in the setting menu the Software Update option is missing. Software Version Is 3.04.651.2, S-OFF and Bootloader is also locked
i have attached some pictures, i dont know much about these stuff yet. I using it in Pakistan, as i google it the code 651 means its a Sprint US i buy it from Pakistan and working fine except for the Update part. If any one can Help me that would be great. Any other way around i can update it to Kitkat 4.4.2 and sense 6?
mozin said:
Hi every one,I know this is a stupid question, i just switched to Android from IOS, i bought a Htc one m7, my issue i'm unable to update it to sense 6
and kitkat 4.4.2, in the setting menu the Software Update option is missing. Software Version Is 3.04.651.2, S-OFF and Bootloader is also locked
i have attached some pictures, i dont know much about these stuff yet. I using it in Pakistan, as i google it the code 651 means its a Sprint US i buy it from Pakistan and working fine except for the Update part. If any one can Help me that would be great. Any other way around i can update it to Kitkat 4.4.2 and sense 6?
Click to expand...
Click to collapse
Unfortunately you have to be on Sprint's Network to get the OTA update. Here is the RUU 5.03.651.3 which will give you Sense 6. Just follow the instructions in the OP on how to run the RUU, since you are S-OFF you do not need to lock your bootloader to run the RUU.
Here is the link to the Sprint HTC One forum. Keep an eye out in this forum for future updates, generally someone will post the OTA so it can be installed manually.
majmoz said:
Unfortunately you have to be on Sprint's Network to get the OTA update. Here is the RUU 5.03.651.3 which will give you Sense 6. Just follow the instructions in the OP on how to run the RUU, since you are S-OFF you do not need to lock your bootloader to run the RUU.
Here is the link to the Sprint HTC One forum. Keep an eye out in this forum for future updates, generally someone will post the OTA so it can be installed manually.
Click to expand...
Click to collapse
Thanks for the reply fellow member
Which method should i choose the Encrypted or Decrypted, and the other thing is it wont disturb my unlock for the SIM? as my SIM is working on Pakistan Carrier GSM.
mozin said:
Thanks for the reply fellow member
Which method should i choose the Encrypted or Decrypted, and the other thing is it wont disturb my unlock for the SIM? as my SIM is working on Pakistan Carrier GSM.
Click to expand...
Click to collapse
The encrypted one, you do not have to lock your bootloader.
majmoz said:
The encrypted one, you do not have to lock your bootloader.
Click to expand...
Click to collapse
My boot loader is already locked, S-OFF and Boot Loader is LOCKED. its safe to do this i dont want to brick it, my sim card will work? as its not sprint one.
mozin said:
My boot loader is already locked, S-OFF and Boot Loader is LOCKED. its safe to do this i dont want to brick it, my sim card will work? as its not sprint one.
Click to expand...
Click to collapse
It should not effect you SIM unlock. There is no guarantee that any process will not brick your phone, OTAs from the HTC and carriers have caused some issues. The best you can do is check MD5 checksums to see if the file has been corrupted during the download process and check the OP for any one who has reported an issue.
majmoz said:
It should not effect you SIM unlock. There is no guarantee that any process will not brick your phone, OTAs from the HTC and carriers have caused some issues. The best you can do is check MD5 checksums to see if the file has been corrupted during the download process and check the OP for any one who has reported an issue.
Click to expand...
Click to collapse
The thing is i followed the guide but every time i tried to do it i got 2 error, the first one is fastbootloader.exe Failed and after that the 171 error of USB Connection error, i would have asked this in the OP but as i'm a new member here i have not sufficient post to reply to that post. can you please help me.
mozin said:
The thing is i followed the guide but every time i tried to do it i got 2 error, the first one is fastbootloader.exe Failed and after that the 171 error of USB Connection error, i would have asked this in the OP but as i'm a new member here i have not sufficient post to reply to that post. can you please help me.
Click to expand...
Click to collapse
Do you have updated fastboot and adb? If not, Minimal ADB & Fastboot Tool
Extract the zip to your adb/fastboot folder
Boot phone into bootloader/FASTBBOOT USB before running ARUWizard.exe
Try with a different USB port and/or cables
If possible change PC's

[Q] Rooting tookit

Hello
Just purchased an M7 and looking to unlock, root the phone etc. I always used the Hasoon toolkit on my old One X+ but I see the thread here has been locked and downloads are not available.
Is there a toolkit that is similar for ease of use that is currently in use for the M7?
I will start to research as I see things have moved on with HTC since the One X days when getting the bootloader unlocked, htcdev codes and such.
Is it pretty much the same routine as the One X where I need to email HTCdev for a code, then get the bootloader unlocked?
Thank you kindy,
maritimesbob said:
Hello
Just purchased an M7 and looking to unlock, root the phone etc. I always used the Hasoon toolkit on my old One X+ but I see the thread here has been locked and downloads are not available.
Is there a toolkit that is similar for ease of use that is currently in use for the M7?
I will start to research as I see things have moved on with HTC since the One X days when getting the bootloader unlocked, htcdev codes and such.
Is it pretty much the same routine as the One X where I need to email HTCdev for a code, then get the bootloader unlocked?
Thank you kindy,
Click to expand...
Click to collapse
unlock bootloader from htcdev.com
flash twrp recovery 2.6.3.3
boot in recovery mode and exit, you'll be prompted to root the phone, select yes.
complete root with supersu installer now on your phone.
Thanks for that.
I remember it took days or even weeks to get the code from htcdev, is it still the same?
maritimesbob said:
Thanks for that.
I remember it took days or even weeks to get the code from htcdev, is it still the same?
Click to expand...
Click to collapse
No, it is returned rather quickly.
Going to have a dumb moment, does unlocking the bootloader and rooting the phone also unlock the sim?
maritimesbob said:
Going to have a dumb moment, does unlocking the bootloader and rooting the phone also unlock the sim?
Click to expand...
Click to collapse
No, they are separate procedures and to my knowledge unlocking the sim has no effect on the bootloader and vice versa.
maritimesbob said:
Thanks for that.
I remember it took days or even weeks to get the code from htcdev, is it still the same?
Click to expand...
Click to collapse
they send you the code almost instantly.
Thanks everyone, I'll get a sim unlock code from ebay then go ahead and unlock/root the phone over the weekend. Looking forward to coming back to htc!!
I'm not really clever enough using fastboot commands, are the one click toolkits pretty reliable for unlocking and flashing recovery/root?
maritimesbob said:
I'm not really clever enough using fastboot commands, are the one click toolkits pretty reliable for unlocking and flashing recovery/root?
Click to expand...
Click to collapse
I don't use the tool kits using adb and fastboot is pretty easy and you will have more control on what you are trying to accomplish. I would suggest the Minimal ADB & Fastboot Tool for installing the programs. There is a link to guides in the OP and most OPs for custom rom/recovery and root will explain which commands to use.

Categories

Resources