rooting htc one m7 - One (M7) Q&A, Help & Troubleshooting

Hi I have a HTC One Dual Sim (m7) 5.0.2 android. I have unlocked the bootloader using htcdev.com, but cannot root the phone. I have used Kingroot, Kingo root and iRoot. Kingo and King both say rooted sometimes but it goes away quickly (dont even need to restart). Is it impossible to root the phone using these apps? thanks!

Do not use any of those apps to root.
You have already unlocked bootloader so next step is flashing custom recovery. You can find twrp recovery here. Do a fastboot install method. After you flashed recovery download supersu zip file from here and save it on your phone. Reboot phone to recovery and tap install. Find supersu and install it. After that reboot phone (your phone will restart itself a couple times during boot) and your phone should be successfully rooted.

The phone comes with the bootloader unlocked? interesting. Any toolboxes I should use?

Related

Root Question

I have the Spint version of the X and have already taken the OTA update that contains the camera fix. Is it possible for me to install a custom recovery and root after unlocking the bootloader using the method shown in this video? http://www.youtube.com/watch?v=2fzih8xkki0
It is never made clear on what software version you have to be on
Yes you can. I did it that way. Got phone, updated it, unlocked boot loader through Motorola, fastboot flashed TWRP, then auto rooted via TWRP. Normally I manually root/flash superSU zip, but this time I decided to try the TWRP auto root method.

Relock bootloader

I unlocked my bootloader and installed TWRP recovery on my HTC one 4.3. Did a nandroid backup before flashing supersu. When I flashed supersu, went to root checker and it said I didn't have root access. When I go into Twrp and hit reboot it says - this phone does not have root access do you want to install superuser. If I swipe to install after reboot root checker says I do have root access. If I decline install of superuser I do not have root access. I have been running the backup I made before first trying to flash the supersu file. My question is this. If I relock the bootloader through fastboot, on reboot will my original backup be loaded. If so at that point can I do a factory reset to erase my personal settings and data in order to either trade or sell the phone. Or do I need to s off and run an older ruu in order to accomplish this. Then bring it back up to 4.3 via ota updates. Please I would really appreciate any answers I can get. Thanks!!
Sent from my HTCONE using xda app-developers app
If you are selling you phone and you want it back to stock, you can get s-off and run the 1.29 RUU then take the OTA to 4.3. Then search around there is a thread that tells you how to go back to s-on.
To revert to s-on
Code:
fastboot oem writesecureflag 3

[Q] S-off Bootloader won't unlock after failed Viper iynstall.

I have a Sprint HTC One. I previously unlocked the boot loader and installed clock work mod recovery. I achieved SU and partial Super CID. I tried flashing Viper ROM after relocking the boot loader, which failed. when I went to reboot the phone, I was in boot loader without a system ROM. so I installed the stock ROM and updated firmware. the phone now works. however, I lost su and my custom recovery. I tried to unlock the bootloader , reinstall Viper, but neither will work it fails every time. I am experienced at following instructions on this website, but I lack the knowledge to know exactly what I am doing with each action.
Please help me get either su, custom recovery or the boot loader unlocked. I still have S-off and I am at a loss. Thank you!
patrickgartner said:
I have a Sprint HTC One. I previously unlocked the boot loader and installed clock work mod recovery. I achieved SU and partial Super CID. I tried flashing Viper ROM after relocking the boot loader, which failed. when I went to reboot the phone, I was in boot loader without a system ROM. so I installed the stock ROM and updated firmware. the phone now works. however, I lost su and my custom recovery. I tried to unlock the bootloader , reinstall Viper, but neither will work it fails every time. I am experienced at following instructions on this website, but I lack the knowledge to know exactly what I am doing with each action.
Please help me get either su, custom recovery or the boot loader unlocked. I still have S-off and I am at a loss. Thank you!
Click to expand...
Click to collapse
... simply flash appropriate custom recovery from fastboot. boot into recovery and try to reboot from there and it will ask you if you want to root the device. root it. reboot normally and you will see SU app. open it and update binaries. thats it, you are rooted ...
Failure
Okay, so I appreciate the attention and help, but it fails to install recovery, flash roms, or unlock the bootloader from fastboot. I can flash firmware and run an RUU from my desktop. As well, I can run the Sprint OTA update from the phone, but I have not done that yet. I have hboot 1.55. I have tried to flash things from terminal emulator, but I'm having trouble. I can access and use the phone for Sprint, but the CID says 11111 and won't let me change carriers. Once again, I have S-off.
Thoughts:
Run Sprint update and try to start from scratch, if all else fails, sell it.
Can I flash SU from bootloader? I haven't tried that yet, although I doubt it will work given my other problems.
patrickgartner said:
Okay, so I appreciate the attention and help, but it fails to install recovery, flash roms, or unlock the bootloader from fastboot. I can flash firmware and run an RUU from my desktop. As well, I can run the Sprint OTA update from the phone, but I have not done that yet. I have hboot 1.55. I have tried to flash things from terminal emulator, but I'm having trouble. I can access and use the phone for Sprint, but the CID says 11111 and won't let me change carriers. Once again, I have S-off.
Thoughts:
Run Sprint update and try to start from scratch, if all else fails, sell it.
Can I flash SU from bootloader? I haven't tried that yet, although I doubt it will work given my other problems.
Click to expand...
Click to collapse
... slow down and calm down. i think you are hasting things. dont worry and do whatever you wanna do step by step. its not clear to me what you want to achieve, you wanna switch carriers ? want ota ? want custom rom ? you are s-off but cant flash recovery !!!! please explain exactly what you want and what errors are you getting and doing what
i think you cant have SU from bootloader and certainly terminal emulator doesnt flash recoveries and rom., fastboot does recovery and recovery flashes rom. dont play with your phone like this without proper knowledge. ask whatever doubts you have prior doing anything ...
Straight Talk
You're funny. Yes, I am in a hurry to use my new phone... Ultimately, I want to use it on straight talk. It is S-off, and the boot loader will not unlock, the phone won't flash a recovery and I have lost su. It's the weirdest thing! I haven't had this problem before. Usually you flash stock firmware and ruu and you're back at square one, but not this time.
I would pay you to visit my problem via Teamviewer? Interested?
-Patrick
patrickgartner said:
You're funny. Yes, I am in a hurry to use my new phone... Ultimately, I want to use it on straight talk. It is S-off, and the boot loader will not unlock, the phone won't flash a recovery and I have lost su. It's the weirdest thing! I haven't had this problem before. Usually you flash stock firmware and ruu and you're back at square one, but not this time.
I would pay you to visit my problem via Teamviewer? Interested?
-Patrick
Click to expand...
Click to collapse
... Dear if you wanna network unlock your phone, follow the steps exactly as described.
1. Flash this and only this RUU (first link - http://forum.xda-developers.com/showthread.php?t=2250904 ), no need to relock bootloader if unlocked as you are s-off.
2. Download the recovery for sprint variant and flash it in fastboot mode (fastboot flash recovery recovery.img) (link - http://forum.xda-developers.com/showthread.php?t=2651035).
3. Boot in to recovery and press reboot and then system, it will ask for your permission to root, root it. restart normally and open SU app and update its binaries. phone will reboot itself in recovery and back in normal mode. You will be rooted then. :victory:
then ping me for sim unlock ...

Issue rooting with unified rooting tool

Having an issue with the unified rooting tool (http://forum.xda-developers.com/nexus-6/orig-development/toolkit-skipsoft-unified-android-t2967053). Paid for the pro version because i enjoy supporting quality work.
Went to do the all-in-one unlock/recovery/root, however it's not rooting for me. The final step of rooting gets stuck in TWRP and nothing happens. The program says 'Recovery mode not detected' and just hangs asking me to try again, ask for help, or abort.
I have ADB and everything on and working as unified can connect to my phone, just can't get root going.
The phone is now unlocked with TWRP, but I can't achieve root. I flashed 5.0.1 via the app. Anyone have any clues?
edit: did it manually (before reading simms22's post). was hoping for lazy-automated as i paid money for the app and all.
If you have twrp installed just flash SuperSU. The newest version of SuperSU (2.37 or something I think) can be flashed like old days.
lol, learn to root a nexus the right way. its easier than using a toolkit..
1. fastboot oem unlock
2. fastboot flash yourself a recovery
3. flash the latest supersu with that new recovery
4. reboot and profit
root

Looking to Root - running marshmellow stock

Just had a problem after using root toolkit to attempt root on nexus 6 with marshmellow. (6.0 ), build MRA58R. After this attempt, got the message that" device is corrupted" and would not boot into system. Luckily bootloader was still unlocked and was able to flash stock image. Phone boots fine now with Boatloader unlcocked, and TWRP is gone, with no root. How do I root from here and install TWRP again without going through what happened before.
In the beginners guide to root, Chanifire's link hasn't been working and I want to be sure I do this right to avoid what happened with the toolkit. Also, my phone is setup with apps and data, and I dont't want to loose my setup.
Thanks for your help.
ccf60 said:
Just had a problem after using root toolkit to attempt root on nexus 6 with marshmellow. (6.0 ), build MRA58R. After this attempt, got the message that" device is corrupted" and would not boot into system. Luckily bootloader was still unlocked and was able to flash stock image. Phone boots fine now with Boatloader unlcocked, and TWRP is gone, with no root. How do I root from here and install TWRP again without going through what happened before.
In the beginners guide to root, Chanifire's link hasn't been working and I want to be sure I do this right to avoid what happened with the toolkit. Also, my phone is setup with apps and data, and I dont't want to loose my setup.
Thanks for your help.
Click to expand...
Click to collapse
rooting marshmallow..
1. unlock the bootloader(yours is there already)
2. fastboot flash twrp recovery.
3. flash the latest supersu in twrp recovery
4. flash a custom marshmallow kernel, any. this ones new for marshmallow, and is needed.
5. boot up.
simms22 said:
rooting marshmallow..
1. unlock the bootloader(yours is there already)
2. fastboot flash twrp recovery.
3. flash the latest supersu in twrp recovery
4. flash a custom marshmallow kernel, any. this ones new for marshmallow, and is needed.
5. boot up.
Click to expand...
Click to collapse
Thank you.
ccf60 said:
Just had a problem after using root toolkit to attempt root on nexus 6 with marshmellow. (6.0 ), build MRA58R. After this attempt, got the message that" device is corrupted" and would not boot into system. Luckily bootloader was still unlocked and was able to flash stock image. Phone boots fine now with Boatloader unlcocked, and TWRP is gone, with no root. How do I root from here and install TWRP again without going through what happened before.
In the beginners guide to root, Chanifire's link hasn't been working and I want to be sure I do this right to avoid what happened with the toolkit. Also, my phone is setup with apps and data, and I dont't want to loose my setup.
Thanks for your help.
Click to expand...
Click to collapse
how did you manage to flash stock again after corrupt. mine wont recognize adb while corrupt. please give step by step
nvm. i got it finally
You don't flash with adb, but with fastboot.
The steps are:
1. Turn on phone with pressing vol down and power.
Sent from my Nexus 6 running cyosp using Tapatalk

Categories

Resources