Root and Keep OTA? - Sprint HTC One (M9)

I am wondering if the following method will allow root while keeping OTA:
1) Unlock with HTCDev
2) Only boot into TWRP (not flash it as permanent recovery): Fastboot boot twrp.img
3) Once booted into TWRP, install supersu
Then should OTA updates work, after which you only have to repeat steps 2 & 3?
My intent is to just get root access for apps like WiFi Tether Router.

If you install SU, the OTA will not work. SU modifies the system which will cause an OTA to fail.
Sent from my 831C using XDA Premium 4 mobile app

Besides the reply above...
Someone suggested this in another thread and could not get TWRP to directly boot.

Related

[ROOT][Custom Recovery][Updating] Easiest way

I am new to A116 but an old android fan so when I bought the mobile I thought of rooting it but as many have some problem, I am going to give the easiest rooting method which may work for any devices.
It works on the latest stock rom too.
Rooting:
Method 1: Can be done from mobile
Requirements:
Framaroot (search on Google )
Steps:
1)Open Framaroot
2)Select the exploit such as Boromir
3)It will ask you to restart. Just Restart
4)Now Ur Rooted. But the SuperSU is old.
Method 2:Can be done from mobile with Computer
Requirements:
1)SP Flash Tools (Search on Google)
2)TWRP or CWM (Get it from here)
TWRP : http://forum.xda-developers.com/showthread.php?t=2539763
CWM : http://forum.xda-developers.com/showthread.php?t=2290174
3)Latest SuperSU zip (Search on Google)
4)Knowledge of Flashing through SP Flash Tools
Steps:
1)Copy the SuperSU zip to root of your SD card
2)Flash the recovery through SP Flash Tools
3)Now goto recovery and flash the SuperSU zip
4)Now ur rooted. The latest SuperSU is installed into the system along with the new binary.
Alternate Step:
1)If you have flashed CWM recovery and have not downloaded the SuperSU zip then you can still root the phone.
2)Just get into recovery and then click to restart system.
It will ask to root the device.
3)Go to the Yes option and when u restart, your phone will be rooted. But the SuperSU is old. So update from PlayStore
Updating to Custom Recovery:
Method 1: Can be done from mobile
Requirements:
1)U r Rooted
2)Mobile Uncle MTK Tools(Download from PlayStore)
3)TWRP or CWM recovery(Download from above given links)
Steps:
1)Now if you have the recovery downloaded then copy it to root of your SD card and rename it to recovery.img
2)Open the Mobile Uncle MTK Tools and grant SuperSU permission
3)Go to recovery update option and click on the recovery.img
4)It will ask to reboot. Now here is the critical step. Just wait 10-15 secs without rebooting because if you reboot suddenly then the recovery that the MTK tools is copying will be stopped and the recovery will get corrupted and when you boot into recovery, u will just see black screen.
This means take out the battery and do the steps again.
5)Now you have a custom recovery installed to flash ur zips
Method 2:Can be done from computer only
No need to be rooted
Requirements:
1)SP Flash tools
2)Knowledge of flashing through flash tools
3)Custom Recovery Downloaded
Step:
This is just like flashing ur rom but instead of choosing all the partition in the recovery, just tick the recovery partition and show where u have the recovery downloaded.
Now click download and after it is finished
U can go to recovery to see if it is flashed successfully.
Updating to latest SuperSU:This can only be done through mobile
Method 1:
1)Update from PlayStore.
2)Then open it and update the su binary
3)Now you can do it normally but if it fails you can choose the CWM/TWRP option to go to recovery and update the binary.
4)Now open SuperSU and go to option of installing it into the system.
5)Now reboot and check if installed because if not installed, root is lost and u have to root again.
Now 2nd method is the surest and best method to update to latest SuperSU and have the binary installed automatically
Method 2:
1)Download the latest SuperSU zip
2)Enter the recovery and flash the zip.
3)Now u can reboot to see that latest SuperSU is installed directly into the system
Q) Now users may ask why do we need to install SuperSU into system?
A) It is very simple. U may have a app that ask for root permission just after booting.
If SuperSU is not is installed in system then the permission will be denied and app stops working. This may be critical if u apps like Seeder or Greenify or Link2Sd or such installed and the permission gets denied.
Don't worry root is not lost but it is delayed to the time when your SD card is fully mounted by the system.
This type of delay can be experienced by anyone who has lots of apps installed.
Sometimes due to quickly booting the SD card gets mounted later thus the delay again.
So it's better if you install the SuperSU into system. This way no problem will occur.
Thanks for reading. Hopefully this will help everyone.
Hit thanks if it helped "YOU"
Sent from my Micromax A116 using XDA Premium 4 mobile app

[Q] KitKat Root

Looking for a guide with all links to Root this device. Bootloader unlocked twrp recovery
Just download supersu.zip http:// download.chainfire.eu /supersu and flash it from your recovery
The_Greatest_Juan said:
Looking for a guide with all links to Root this device. Bootloader unlocked twrp recovery
Click to expand...
Click to collapse
If you have TWRP installed that is all you need to root this device on KitKat. From TWRP reboot the device and it will tell you if it's missing root and offer to install SuperSU for you if it is. Once the device reboots tap the SuperSU notification that pops up (or open the program normally if there is no notification) and select the option to install the binaries using the recovery script.

[Q] Unlocked bootloader, can't gain root?

Currently on hboot 2.09. I unlocked my bootloader but I seem to be unable to gain root access. I tried using the Universal HTC Toolkit to flash TWRP and flash superuser but that didn't work. I flashed TWRP 6.00 from fastboot since I know that TWRP flashes SuperSU when you reboot from it. Long story short, I still don't have root access. I got an app to check if I had root access and it said I did not. I've gone back into recovery, but whenever I try to reboot from recovery my phone freezes and reboots correctly, but doesn't check for superSU.
Anyone have any idea? Or have a superSU or superuser zip that I could flash so I could gain root?
Not sure about that TWRP version you're using since the most recent version is 2.7.x. At any rate the most recent version of SuperSU can be found in the link below. Download the zip and flash in recovery.
http://forum.xda-developers.com/showthread.php?t=1538053
Sent from my HTC M8
Magnum_Enforcer said:
Not sure about that TWRP version you're using since the most recent version is 2.7.x. At any rate the most recent version of SuperSU can be found in the link below. Download the zip and flash in recovery.
http://forum.xda-developers.com/showthread.php?t=1538053
Sent from my HTC M8
Click to expand...
Click to collapse
Can I use the most recent TWRP even if I'm still on hboot 2.09?
double edit: Thanks for the help!
Yes. You can get it from the TWRP website.
Sent from my HTC M8
I assume now that I'm rooted I can just use the TWRP app? I can't use fastboot commands on my work computer, unfortunately.
You can flash it using the bootloader method. No PC required.
Not sure what app you're referring to. Goo Manager?
Sent from my HTC M8

[Q] Question about TWRP and SuperSU

Hello, I have a noob question about TWRP. After I unlock the bootloader and download the adb program onto my PC, can I then install TWRP which will also root the phone? No need to do anything else to achieve root? Where does the SuperSU app come into play? Thanks.
GT1873 said:
Hello, I have a noob question about TWRP. After I unlock the bootloader and download the adb program onto my PC, can I then install TWRP which will also root the phone? No need to do anything else to achieve root? Where does the SuperSU app come into play? Thanks.
Click to expand...
Click to collapse
When you reboot to system from TWRP, it will notice that you're not rooted and ask you if you want to root. (Default is yes!) It will put a copy of SuperSU on your device. Reboot, run SuperSU and it will ask you to upgrade. Let it do so using the "normal" method. (I don't think the update via recovery option is working on this phone.)
Okay, thanks. So SuperSU is what roots the phone?

Rooting on linux

Is there a way to root via linux? Im running the dev miui atm and looking to install aosp, is there a way to install twrp via mi recovery?
Sent from my Redmi Note 2 using Tapatalk
Rooting via linux? You can flash an alternative recovery (TWRP) using fastboot (which is available on linux) and from the recovery flash SuperSU which in turn will grant you root access. But since you're already on dev MIUI there's a simple 'Root enable' function built in already (can't remember exactly where it is, I think it's somewhere in the Security app) and there's no real need to flash SuperSU (unless you want more options/granular control). And, the easiest way to install TWRP is indeed by using the Updater app on MIUI (put twrp.zip on root of internal storage -> Updater app and then there should be an option called 'install/update package' or similar).
Cheers.
Unknownkj said:
Is there a way to root via linux? Im running the dev miui atm and looking to install aosp, is there a way to install twrp via mi recovery?
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
Since you was running dev miui, btw, if china dev rom and it was rooted. Used flashify which you can downloaded from playstore to flashed twrp.img. if you erer running global dev rom, you need to root it first. The easier was was used windroid in windows, used it to flash twrp and root your phone. Sorry i don't know the rooting method on linur. backup your data by using miui system backup first, But you can just used the phone by flashing china dev rom and used flashify to flash twrp.img.
Sent from my 2014817 using Tapatalk
you can just like in windows via fastboot. If youre phone is not detected on abd devices (like it happended to me) see this: http://en.miui.com/thread-197576-1-1.html . Dont forget to put the phone in "developer" mode.
You can flash TWRP through Flashify, an Android app.
No need to even touch a PC.
Cheers guys i will take a look at flashify. Almost forgot about this gem
Sent from my Redmi Note 2 using Tapatalk
you can use tutorial http://www.linuxslaves.com/2015/07/install-android-tools-adb-fastboot-on-ubuntu-linux.html for adb and fastboot installation
No need adb, fastboot, if you have a twrp you can found many supersu zip installable via recovery, if you not have the twrp recovery so you need fastboot and twrp version for your phone

Categories

Resources