Related
I would like to root my phone and keep it stock as much as possible.
After reading, it seems that I could S-Off then root (I would like to avoid unlocking my phone with HTCDev). Now it seems that I need to flash a recovery to be able to root. Is it? Otherwise how could I do it without the recovery?
Thanks!
dadaR6 said:
I would like to root my phone and keep it stock as much as possible.
After reading, it seems that I could S-Off then root (I would like to avoid unlocking my phone with HTCDev). Now it seems that I need to flash a recovery to be able to root. Is it? Otherwise how could I do it without the recovery?
Thanks!
Click to expand...
Click to collapse
you can fastboot boot the recovery and then flash root. That way you stay stock while still having root.
Indirect said:
you can fastboot boot the recovery and then flash root. That way you stay stock while still having root.
Click to expand...
Click to collapse
Can you explain a bit how you do that? Link?
I know how need to install SuperUser.apk from ADB, but I am missing where and how to install su and maybe others?
Thanks
dadaR6 said:
Can you explain a bit how you do that? Link?
I know how need to install SuperUser.apk from ADB, but I am missing where and how to install su and maybe others?
Thanks
Click to expand...
Click to collapse
Your information is a little off. Most root methods don't involve installing the su binary separately from your superuser app. You should also learn how to use fastboot, as suggested above.
You will need to have a recovery image (most people use TWRP), and a root zip (most people are using SuperSU's zips these days, you can find them in the root guides around this forum). Download the root zip to your phone before you do anything else.
You need to boot your phone into fastboot mode (restart the phone, then hold VOL UP/VOL DOWN and POWER), and then with the phone plugged into your computer, run:
fastboot boot /path/to/recovery.img
That will boot your phone once into a custom recovery. From here, depending on the recovery you're using (most will use TWRP), you can hit the appropriate install option, navigate to wherever you downloaded your root ZIP, and then flash that. Reboot the phone, and you'll be rooted, and the one-time recovery will be gone.
Rirere said:
fastboot boot /path/to/recovery.img
That will boot your phone once into a custom recovery. From here, depending on the recovery you're using (most will use TWRP), you can hit the appropriate install option, navigate to wherever you downloaded your root ZIP, and then flash that. Reboot the phone, and you'll be rooted, and the one-time recovery will be gone.
Click to expand...
Click to collapse
Great, this is the info I was missing! Gonna try it now and see.
Thanks!
I rooted my phone and then unrooted it in order to update on Sense 6. Everything went well with unroot procedure except superuser app stays in app tray. Since then the phone is locked and on stock. Now I need to return the damn thing because of bad camera. I tried to remove superuser app by deleting system/apps/superuser.apk and system/xbin/su in ES File Explorer but it said that those files cannot be deleted. I also tried to uninstall the app through Google Play but that didn't work either.
I realise that there probably won't be any left options except to reroot my phone, deleting superuser app and then unroot again but I have to ask is there any way to remove it without reroot?
I'm scared of reroot because I don't know would I be able to unroot again and put the phone back on stock ready for service or RMA. I'm on Sense 6 (6.09.401.10), Android version 4.4.3. The phone is still under warranty.
Please help with any available info. I'm noob at this so I even don't know where should i start or what questions to ask.
Edit:
Rooted by the help of this tutorial
Unrooted by the help of this thread from user nkk71
Anyone on this?
jhercog said:
Anyone on this?
Click to expand...
Click to collapse
You need root to access those system folders, only thing I can suggest is Factory Reset from the settings menu. If that doesn't work try factory reset from Stock recovery and even the bootloader factory reset is worth a try.
Not sure it will help though I don't think it touches the system partitions.
What method did you use to s-off your device originally?
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
You need root to access those system folders, only thing I can suggest is Factory Reset from the settings menu. If that doesn't work try factory reset from Stock recovery and even the bootloader factory reset is worth a try.
Not sure it will help though I don't think it touches the system partitions.
What method did you use to s-off your device originally?
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Click to expand...
Click to collapse
I did factory reset from boot loader menu and tried to delete those files again but that didn't work.
I don't know how to do factory reset from Stock Recovery. Would you care to explain?
To be honest, I don't remember how did I get s-off originally.
jhercog said:
I did factory reset from boot loader menu and tried to delete those files again but that didn't work.
I don't know how to do factory reset from Stock Recovery. Would you care to explain?
To be honest, I don't remember how did I get s-off originally.
Click to expand...
Click to collapse
Boot to the bootloader and Select "Recovery" the screen will go black for a short period then display a picture of a phone with red exclamation. Don't worry it's normal.
Hold volume up and press (don't hold just press) power to reveal the stock recovery menu, you will see some errors about can't mount sd card again this is normal in stock recovery.
The reason I asked about s-off method was if you used Sunshine you can use it again on the same device without paying the fee. But if you have to root again you will need s-off to return to stock. And there's no guarantees the older (free) methods will work now your updated to the latest firmware.
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
Boot to the bootloader and Select "Recovery" the screen will go black for a short period then display a picture of a phone with red exclamation. Don't worry it's normal.
Hold volume up and press (don't hold just press) power to reveal the stock recovery menu, you will see some errors about can't mount sd card again this is normal in stock recovery.
The reason I asked about s-off method was if you used Sunshine you can use it again on the same device without paying the fee. But if you have to root again you will need s-off to return to stock. And there's no guarantees the older (free) methods will work now your updated to the latest firmware.
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Click to expand...
Click to collapse
Well, that doesn't work. Still stuck with SuperSu in my app drawer.
Sunshine method doesn't ring any bells to me. I didn't use it most probably.
So, I probably have to reroot, unlock, s-off to be able to uninstall SuperSu? Any advices on doing that on my firmware? Would I be able to relock, unroot and s-on again?
Would it be possible to use something like Z4Root app to temporary root the device and then uninstall SuperSu? Or root/unlock/s-off method is necessary?
Does anybody have a safe method for removing SuperSu under these circumstances and is willing to explain it in details so noob like me can understand it and do it by himself?
jhercog said:
Does anybody have a safe method for removing SuperSu under these circumstances and is willing to explain it in details so noob like me can understand it and do it by himself?
Click to expand...
Click to collapse
Outside of what Danny201281 stated there is really not much you can do except go thru root again to remove the files. There is one long shot that might work; go to Google Play Store > My Apps and scroll down to see if SuperSU is present. Click on it and see if the Uninstall option is there. Other than that sorry, I'm out of ideas.
jhercog said:
Does anybody have a safe method for removing SuperSu under these circumstances and is willing to explain it in details so noob like me can understand it and do it by himself?
Click to expand...
Click to collapse
Under Settings for SuperSU, doesn't it have an option for Full Unroot?
majmoz said:
Outside of what Danny201281 stated there is really not much you can do except go thru root again to remove the files. There is one long shot that might work; go to Google Play Store > My Apps and scroll down to see if SuperSU is present. Click on it and see if the Uninstall option is there. Other than that sorry, I'm out of ideas.
Click to expand...
Click to collapse
Yeah I tried that but that doesn't work either.
vaporjet said:
Under Settings for SuperSU, doesn't it have an option for Full Unroot?
Click to expand...
Click to collapse
I can't launch SuperSu because there is no SU binary installed.
jhercog said:
I can't launch SuperSu because there is no SU binary installed.
Click to expand...
Click to collapse
Doesn't sound right that SuperSU can survive a factory reset, unless it is baked in. Are you sure you're running a stock ROM?
vaporjet said:
Doesn't sound right that SuperSU can survive a factory reset, unless it is baked in. Are you sure you're running a stock ROM?
Click to expand...
Click to collapse
Yes, because OTA updates are working as expected. As far as I know, I wouldn't be able to receive and install OTA updates if I would run anything other than stock ROM.
Anybody have some good advice or link (preferably detailed step by step instructions) on how to safely root under these conditions, remove SuperSu and then unroot back to stock?
jhercog said:
Anybody have some good advice or link (preferably detailed step by step instructions) on how to safely root under these conditions, remove SuperSu and then unroot back to stock?
Click to expand...
Click to collapse
Unlock the bootloader at HTCDEV
then from fastboot USB
Flash recovery TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Go into twrp choose Advanced / file manager go to system/app delete su and Superuser.apk
could also be under /superuser/su and Superuser.apk
reboot to the bootloader and flash stock recovery ...done
I'm not sure if you have it but stock recovery's are here >
Stock recovery collection
http://forum.xda-developers.com/showthread.php?t=2545227
I also Googled and found this
Boot your phone to TWRP recovery mode by turn off your phone then presses Vol up + Power to boot into bootloader then choose RECOVERY. There is a more simple way, by using “adb reboot recovery”.
Once came into TWRP main menu, now tap Mount -> Mount system then taps Home.
Tap Advanced -> File Manager, browse to “/system/xbin” folder. From there delete su, daemonsu or busybox if it exists. Also browse to “/system/app” the get rid of Superuser.apk.
Now Supersu doesn't come back when I reboot and root checker tells me my phone isn't rooted
Click to expand...
Click to collapse
clsA said:
Unlock the bootloader at HTCDEV
then from fastboot USB
Flash recovery TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Go into twrp choose Advanced / file manager go to system/app delete su and Superuser.apk
could also be under /superuser/su and Superuser.apk
reboot to the bootloader and flash stock recovery ...done
I'm not sure if you have it but stock recovery's are here >
Stock recovery collection
http://forum.xda-developers.com/showthread.php?t=2545227
Click to expand...
Click to collapse
I'm sorry for asking noob questions (in bad English) but Is it safe to do on Sense 6 Update?
M7_UL PVT SHIP S-ON
HBOOT-1.57.0000
RADIO-4T.29.3218.08
OpenDSP-v32.120.274.0909
OS-6.09.401.10
Do I need S-Off? Would I than be able to claim my warranty with all traces of rooting removed?
Is there anything I should know in order to keep myself out of screwing things up beyond repair?
clsA said:
Unlock the bootloader at HTCDEV
then from fastboot USB
Flash recovery TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Go into twrp choose Advanced / file manager go to system/app delete su and Superuser.apk
could also be under /superuser/su and Superuser.apk
reboot to the bootloader and flash stock recovery ...done
I'm not sure if you have it but stock recovery's are here >
Stock recovery collection
http://forum.xda-developers.com/showthread.php?t=2545227
I also Googled and found this
Click to expand...
Click to collapse
Oh, and my version-main is 6.09.401.10 as fastboot 'getvar version-main' stated. I can't find it on the Stock recovery page you recommended. The nearest is 6.09.401.5. Can I use that version or...?
jhercog said:
Oh, and my version-main is 6.09.401.10 as fastboot 'getvar version-main' stated. I can't find it on the Stock recovery page you recommended. The nearest is 6.09.401.5. Can I use that version or...?
Click to expand...
Click to collapse
You can extract the stock recovery from the OTA the stock recovery is inside the firmware.zip >> https://www.androidfilehost.com/?fid=95784891001603795
Hello,
in the near future I will try to unlock and root my international HTC One M7. Because I don't have many experiance with rooting (so far I have rooted only one phone (HTC Desire Z) a few years ago) I would apriciate some help and tips.
I have seen some nice video tutorials how to unlock and root HTC M7 on xda website:
http://forum.xda-developers.com/htc-one/#root
The only problem is that these videos seems quite old and I don't know if procedure is still the same on newer versions of HTC One software? Currently I am running stock Sense software (Android 4.4.3, Sense version 6.0, Software number: 6.09.401.11)
Please tell me if I can follow these video tutorials to root my One even thou I am running newer software and if not which rooting procedure do you recomend for me?
Thanks in advance!
Tine
Tine17 said:
Hello,
in the near future I will try to unlock and root my international HTC One M7. Because I don't have many experiance with rooting (so far I have rooted only one phone (HTC Desire Z) a few years ago) I would apriciate some help and tips.
I have seen some nice video tutorials how to unlock and root HTC M7 on xda website:
http://forum.xda-developers.com/htc-one/#root
The only problem is that these videos seems quite old and I don't know if procedure is still the same on newer versions of HTC One software? Currently I am running stock Sense software (Android 4.4.3, Sense version 6.0, Software number: 6.09.401.11)
Please tell me if I can follow these video tutorials to root my One even thou I am running newer software and if not which rooting procedure do you recomend for me?
Thanks in advance!
Tine
Click to expand...
Click to collapse
If you are 100% stock at the moment then wait for the Lollipop update which should come to your phone very very soon, because once you root, the update will fail, due to unlocking the bootloader which resets the phone and also deletes the data / preload folder required to update.
However to root, just unlock your bootloader at HTCDev, during the process it will give you sone ADB and fastboot files, keep these, you will need them, then flash TWRP recovery, enter recovery, exit recovery, it will ask you if you want to root before exiting, say yes, when the phone reboots, open SuperSU to update your binary, done.
Thanks!
One more question. Do I have to toggle S-ON to S-Off if i Want to install costum ROMs and kernel?
Tine17 said:
Thanks!
One more question. Do I have to toggle S-ON to S-Off if i Want to install costum ROMs and kernel?
Click to expand...
Click to collapse
no, and never toggle, s-off costs $25 using sunshine s-off tool, and if you decide to go that way, never ever s-on again unless for waranty purposes.
HTC One (m7) australian version
hi,
i'm a noob to rooting..... what process / programs did you end up using to root your HTC One (M7)?
I have my bootloader "unlocked" via HTCDev.
everything that I have tried to root is just failing :,(
any guidance would be appreciated.
regards
Marky_
Marky_ said:
hi,
i'm a noob to rooting..... what process / programs did you end up using to root your HTC One (M7)?
I have my bootloader "unlocked" via HTCDev.
everything that I have tried to root is just failing :,(
any guidance would be appreciated.
regards
Marky_
Click to expand...
Click to collapse
Unlock your bootloader: follow instructions from htcdev.com/bootloader
Flash TWRP recovery:
Code:
fastboot flash recovery <filename>.zip
fastboot erase cache
fastboot reboot-bootloader
Then boot in TWRP and flash the latest supersu zip from TWRP recovery
the twrp recovery downloads as a .img file
:crying:
am I using the correct download, the
C:\Android>fastboot flash recovery twrp-3.0.0.2-m7.img
error: cannot load 'twrp-3.0.0.2-m7.img'
Marky_ said:
the twrp recovery downloads as a .img file
:crying:
am I using the correct download, the
C:\Android>fastboot flash recovery twrp-3.0.0.2-m7.img
error: cannot load 'twrp-3.0.0.2-m7.img'
Click to expand...
Click to collapse
the twrp file (yes its a .img file) must be in the same folder where you have adb.exe and fastboot.exe installed on your computer.
"Error: cannot load" = I can't (fastboot) find the file you're talking about
most probable causes:
File not in the right folder
Typo in the file name
I have been distracted..... it has flashed the twrp img file.
how do I
"3. Then boot in TWRP and flash the latest supersu zip from TWRP recovery"
I have the supersu.zip file saved in the same folder on PC.
thankyou for your time and patience alray
Marky_ said:
I have been distracted..... it has flashed the twrp img file.
how do I
"3. Then boot in TWRP and flash the latest supersu zip from TWRP recovery"
I have the supersu.zip file saved in the same folder on PC.
thankyou for your time and patience alray
Click to expand...
Click to collapse
You need to transfer SuperSu.zip to your phone. Then reboot to TWRP recovery and flash the file. Reboot, and you're rooted
donkeykong1 said:
You need to transfer SuperSu.zip to your phone. Then reboot to TWRP recovery and flash the file. Reboot, and you're rooted
Click to expand...
Click to collapse
Marky_ said:
I have been distracted..... it has flashed the twrp img file.
how do I
"3. Then boot in TWRP and flash the latest supersu zip from TWRP recovery"
I have the supersu.zip file saved in the same folder on PC.
thankyou for your time and patience alray
Click to expand...
Click to collapse
Check this video
hi
are there any way to root a HTC One M7 (International) 6.0.2 yet?
been googling for like an eternity, and havent come up with anything
pls share links to this if possible
ty in advance
XANTHiDE said:
hi
are there any way to root a HTC One M7 (International) 6.0.2 yet?
been googling for like an eternity, and havent come up with anything
pls share links to this if possible
ty in advance
Click to expand...
Click to collapse
No, Android 6.0.2 doesn't exist yet, probably next year :laugh:
If you are speaking about 5.0.2 then its the same process as before. Flash a custom recovery then flash the latest supersu zip from recovery
If you are speaking about 5.0.2 then its the same process as before. Flash a custom recovery then flash the latest supersu zip from recovery
Click to expand...
Click to collapse
LoL ya.. I meant 5.0.2..
Any recommended recovery?
any chance you know a nice guide for this, since im quite new at this
XANTHiDE said:
LoL ya.. I meant 5.0.2..
Any recommended recovery?
Click to expand...
Click to collapse
twrp 2.8.5.0.
Code:
any chance you know a nice guide for this, since im quite new at this :)
Download and install minimal adb and fastboot
Download and install latest HTC drivers
Unlock the bootloader if its not already done. Instructions here (this process will wipe everything on your phone, backup personal data first if needed)
download twrp 2.8.5.0 and save in the same folder where you have adb and fastboot on your computer
boot your phone in bootloader mode/fastboot usb
open a minmal adb command prompt, type:
Code:
fastboot flash recovery twrp-2.8.5.0-m7.img
fastboot erase cache
fastboot reboot-bootloader
then boot in recovery mode (twrp)
with your phone in twrp main menu, you should see you phone storage mounted on your PC: My computer --> One.
Download latest supersu.zip and save it at the root of your phone storage
in twrp select 'install" browse /sdcard folder to find supersu.zip (should be at the bottom of the list.
select it and swipe to install
reboot phone, it snow rooted.
it worked like a charm
ty very much.. really appreciate it
I Want to root my phone .. well i searched alot and im pretty known with all the terms .. but one thing that i dont understand is the towel root and the temp root against the perm root .. i want to do a permant root and install twrp recovery too ! but i dont know with each tool i should do that ! im having a macbook and i also can use a pc for the root . i can use towel root from my phone but theres something i dont understand ! is it opening my bootloader ? how am i supposed to install the twrp ? i check the hasoon2000 and its looks pretty easy and good ! and i also check a video of sakitech that seems good too ! what should i do and i would be happty if someone will explain me this terms !!! ty !
i opened a while ago thread about a problem that im having on my htc one the battery keeps changing to the maximum without i even touching the phone , this problem started a while ago and no seems to solve this problem . of course that auto bright is off . please help me ! im scared so much of rooting ! even if i go to the bootloader im scared of doing it but i still want to root !
delegend said:
I Want to root my phone .. well i searched alot and im pretty known with all the terms .. but one thing that i dont understand is the towel root and the temp root against the perm root .. i want to do a permant root and install twrp recovery too ! but i dont know with each tool i should do that ! im having a macbook and i also can use a pc for the root . i can use towel root from my phone but theres something i dont understand ! is it opening my bootloader ? how am i supposed to install the twrp ? i check the hasoon2000 and its looks pretty easy and good ! and i also check a video of sakitech that seems good too ! what should i do and i would be happty if someone will explain me this terms !!! ty !
i opened a while ago thread about a problem that im having on my htc one the battery keeps changing to the maximum without i even touching the phone , this problem started a while ago and no seems to solve this problem . of course that auto bright is off . please help me ! im scared so much of rooting ! even if i go to the bootloader im scared of doing it but i still want to root !
Click to expand...
Click to collapse
install latest android sdk (adb and fastboot)
unlock your bootloader using htcdev.com/bootloader
flash twrp 2.8.6.0 using fastboot
boot in recovery (twrp) and quit.
Twrp will aks if you want to root.
select yes.
alray said:
install latest android sdk (adb and fastboot)
unlock your bootloader using htcdev.com/bootloader
flash twrp 2.8.6.0 using fastboot
boot in recovery (twrp) and quit.
Twrp will aks if you want to root.
select yes.
Click to expand...
Click to collapse
actually you didnt answer my question at all
delegend said:
actually you didnt answer my question at all
Click to expand...
Click to collapse
Are you sure about that? You are trying to root your phone, how to proceed:
delegend said:
I Want to root my phone
Click to expand...
Click to collapse
alray said:
install latest android sdk (adb and fastboot)
unlock your bootloader using htcdev.com/bootloader
flash twrp 2.8.6.0 using fastboot
boot in recovery (twrp) and quit.
Twrp will aks if you want to root.
select yes.
Click to expand...
Click to collapse
i want to do a permant root and install twrp recovery too !
Click to expand...
Click to collapse
alray said:
install latest android sdk (adb and fastboot)
unlock your bootloader using htcdev.com/bootloader
flash twrp 2.8.6.0 using fastboot
boot in recovery (twrp) and quit.
Twrp will aks if you want to root.
select yes.
Click to expand...
Click to collapse
but i dont know with each tool i should do that ! im having a macbook and i also can use a pc for the root
Click to expand...
Click to collapse
alray said:
install latest android sdk (adb and fastboot)
Click to expand...
Click to collapse
. i can use towel root from my phone but theres something i dont understand !
Click to expand...
Click to collapse
you don't need hansson2000 toolkit neither towel root.
how am i supposed to install the twrp ?
Click to expand...
Click to collapse
Unlock the bootloader at htcdev.com/bootloader
then flash twrp using fastboot
Code:
fastboot flash recovery twrp.img
fastboot erase cache
fastboot reboot-bootloader
So again all you need to do is
install the latest android sdk on your mac or your PC
unlock the bootloader using HTCDev.com/bootloader
flash twrp recovery to your phone:
Code:
fastboot flash recovery twrp.img
fastboot erase cache
fastboot reboot-bootloader
Then enter recovery mode
Quit recovery mode
Twrp will ask to install root
select yes.
Phone is now permanently rooted.
http://forum.xda-developers.com/htc-one#root
https://developer.android.com/sdk/index.html
http://dl.twrp.me/m7/
alray said:
Are you sure about that? You are trying to root your phone, how to proceed:
you don't need hansson2000 toolkit neither towel root.
Unlock the bootloader at htcdev.com/bootloader
then flash twrp using fastboot
Code:
fastboot flash recovery twrp.img
fastboot erase cache
fastboot reboot-bootloader
So again all you need to do is
install the latest android sdk on your mac or your PC
unlock the bootloader using HTCDev.com/bootloader
flash twrp recovery to your phone:
Code:
fastboot flash recovery twrp.img
fastboot erase cache
fastboot reboot-bootloader
Then enter recovery mode
Quit recovery mode
Twrp will ask to install root
select yes.
Phone is now permanently rooted.
http://forum.xda-developers.com/htc-one#root
https://developer.android.com/sdk/index.html
http://dl.twrp.me/m7/
Click to expand...
Click to collapse
I Prefer to use the hassoon2000 its seems to be more easy . or i will use sakitech video .. im pretty sure thats easy method to root so what should i do ?
im on lollipop 5.0.2 , its gonna make some problem or not ?
delegend said:
I Prefer to use the hassoon2000 its seems to be more easy . or i will use sakitech video .. im pretty sure thats easy method to root so what should i do ?
im on lollipop 5.0.2 , its gonna make some problem or not ?
Click to expand...
Click to collapse
hassoon2000 latest version of his toolkit for the M7 is 3.1
included recovery and supersu binaries (1.45) are outdated and will not work on lollipop.
unlock the bootloader and flash twrp 2.8.6.0