Hi!
So my HTC was rooted and all fun, but I couldn't install the OTA update due to TWRP recovery. So I unrooted and uninstalled TWRP. And then I received the official OTA update from HTC. Now my phones runs marshmallow and its smooth AF! I'm happy with it, but my QUESTION IS, How to root it again? I did try to root it and looked up for Youtube videos to figure it out, but I failed! Can someone help?
P.S: I couldn't find and videos on Youtube for rooting HTC one M8 on marshmallow.
1) Flash TWRP.
2) Flash SuperSU 2.67 BETA. It will flash superuser in systemless mode by patching the boot image. No other method as of now if you want root in system.
PS : AND REMEMBER, if TWRP shows you with an option to flash SuperSU after you're done flashing and/or later on whenever accessing your recovery, PRESS "DO NOT INSTALL" as flashing it using this option will mess up your system. Root will be present by flashing 2.67, it's just that TWRP isn't able to detect it.
Patched boot image is for "traditional" root (which modifies the system). The new "systemless" root method does not install the patched boot image.
Related
I installed a stock recovery to update to 4.4.4 OTA. I then installed TWRP(openrecovery-twrp-2.8.1.0-m8) through fastboot and attempted to install the super SU zip 2.00.
The file seemed to install properly as it gave me no errors, but I did not have root access when booting into the phone. I then tried CWM recovery (recovery-clockwork-6.0.4.8-m8). CWM installed the super SU 2.00 zip without any errors as well, but warned me before reboot that my root access was not found, I selected the option that "fixes" that, but still I am without root.
I like the 4.4.4 features but I don't want to be without root, please help me guys.
Let me know if you guys figure anything out for the stock rom. I just jumped on the latest cyanogenmod nighty till I figure this out.
Do you have s-off?
You should definitely get s-off as it makes everything so much easier.
But in the meantime, I would download the sunshine.apk and run it. It will reboot your phone and ask you to confirm and enter PayPal info. I believe your phone at this point has a soft root. If you now run superSU and allow it to install the binary, you should have root.
I know there are several threads covering similar things, however I still can't find the relevant info for my specific question.
I am on 6.0 Build L
I rooted using systemless root - I have changed nothing in my system partition as far as I know as I wanted root for AdBlock and TitaniumBU.
I am using the stock kernel too.
TWRP 2.8.7.2
I now have a 6.0.1 OTA - but I'm 100pc confused as to exactly how to go about installing this.
Some people seem to say OTA on this setup will work fine on similar setups.
Others say I need to flash 101 things to get it working.
Literally no idea.
How I Did it...
From a site with this in the title:
can_i_manually_flash_601_also_does_ota_work_with
Systemless root doesn't break ota, non-stock recovery breaks OTA.
Unlock bootloader, flash 6.0.1, flash TWRP, flash systemless root...
I did this:
Went back to stock recovery, by flashing via ADB, rebooted downloaded and attempted to install OTA on phone. Process started, rebooted, proceeded and then failed with error . Rebooted, got Factory image.
Extracted and ran flash-all.bat ONLY AFTER Removing the -w from this line:
fastboot -w update image-bullhead-mmb29k.zip
Got latest SuperSU v2.61 zip with auto boot patcher:
See androiding.how/android-6-0-1-root
Copied this to Memory on phone.
Flashed/Installed TWRP Recovery using ADB.
Booted into TWRP Recovery and installed SuperSU.
So now I'm running systemless rooted 6.01 on a Nexus 5X with mmb29k and every thing is working.
I think even though I rooted systemless 6.0, the modified Boot Image was still not letting OTA work.
We shall have to wait and see on the next OTA. Maybe just going back to stock recovery will be all that's needed.
There are some ADB commands that allow you to temporarily select a recovery image, but I'm not sure how that works.
Good Luck!
teapea said:
I know there are several threads covering similar things, however I still can't find the relevant info for my specific question.
I am on 6.0 Build L
I rooted using systemless root - I have changed nothing in my system partition as far as I know as I wanted root for AdBlock and TitaniumBU.
I am using the stock kernel too.
TWRP 2.8.7.2
I now have a 6.0.1 OTA - but I'm 100pc confused as to exactly how to go about installing this.
Some people seem to say OTA on this setup will work fine on similar setups.
Others say I need to flash 101 things to get it working.
Literally no idea.
Click to expand...
Click to collapse
I have unlocked my M9 and installed TWRP 3.0. After I install the superSU zip (tried 2.46 and 2.71) the phone doesn't boot anymore.
With 2.71 it kept bootlooping, and after 2.46 it got stuck on the HTC One screen.
Lucky enough, I made a back-up, so I'm good to go, but still no root.
When I enter the bootloader menu I noticed on the bottom was written in yellow: FILE /mnt/media_rw/ext_sd/0PJAIMG.zip
FILE not found
Does this have anything to do with not being able to root?
I'm on Android 6.0 by the way.
If anybody has any ideas, please let me know!
Thanks in advance.
You need SuperSU 2.65.
Also, did you fully update to 6.0 before rooting?
Yes, I did fully update to 6.0
Good morning...
I've had my S6 with 6.0.1 "CDP2" "rooted and with twrp 3 for about one week.
However late last nite I noticed I lost root. "There is no SU binary installed and Supersu cannot install it".
Recovery was updated and default was installed..
I tried to root again, successfully "stated by ODIN" re-boots and goes through the phase as establishing TWRP, then default recovery is re-installed...
Any ideas ?
Thanks..
I have run into the exact same issue. Lost root with latest security update yesterday and can't seem to get it back
I was able to regain root. My mistake was trying to flash an older SuperSU. When I flashed the 2.71 version everything went fine. I did loose root after the OTA just needed to flash the right SuperSU to regain it.
Sent from my SM-G920P using XDA-Developers mobile app
I also need to flash new Super SU. But my recovery is not TWRP. It's Android recovery and has 3 options for Install update : Through ADB, External storage or Cashe. Which option to choose?
IronMaidenBG said:
I also need to flash new Super SU. But my recovery is not TWRP. It's Android recovery and has 3 options for Install update : Through ADB, External storage or Cashe. Which option to choose?
Click to expand...
Click to collapse
Flash the latest CF-Auto root, then flash TWRP. CF-AUTO root will knock out the kernels protections and allow you to flash TWRP.
kbless60 said:
I was able to regain root. My mistake was trying to flash an older SuperSU. When I flashed the 2.71 version everything went fine. I did loose root after the OTA just needed to flash the right SuperSU to regain it.
Sent from my SM-G920P using XDA-Developers mobile app
Click to expand...
Click to collapse
Same thing happened to me. I had an OTA security update, lost root, but reflashed 2.71 SuperSu using TWRP to regain root.
Tutorial Available
There is a tutorial, including links, available here: http://forum.xda-developers.com/spr...uide-links-files-update-root-restore-t3366862
Specific instructions for rooting after PD3 are here: http://forum.xda-developers.com/showpost.php?p=66978384&postcount=41
Hello everyone,
I have purchased my OnePlus 5T, and I absolutely love it! I was just wondering whether I could root while retaining the stock ROM and recovery and still get the OTA updates in the usual way? I don't mind staying with OxygenOS and stock recovery I would just really like root access while keeping updates!
Would appreciate a quick answer,
Thankyou in advance,
Nathan.
I would unlock the bootloader and backup the default recovery. Then flash twrp and boot in to it and flash Magisk for root. Then flash the default recovery back.
Why? If you root your phone, then incremental OTA updates will more than likely get broken. That means, once you root, you will just need to apply the full update for each OTA. If you have TWRP installed, then you just download the fill update.zip file, and flash the update.zip and root.zip packages and be on your way.
when an update comes out just dirty flash the full zip once released, i thought u could still install OTA even with TWRP, u just can't with root and a modified system, can't u just uninstall magisk, then do the update then reinstall magisk?
Exactly. As soon as you modify the system (whole point of root), incremental OTAs will not work. Just dirty flash the full OTA via TWRP and profit.
This question has been asked before. You can read through all the answers here: https://forum.xda-developers.com/oneplus-5t/help/root-update-ota-t3712615