Root without flashing TWRP - X Style (Pure) Q&A, Help & Troubleshooting

So, does anyone know if it's possible to boot twrp without flashing it and then root from there? I'm only asking because it would be nice to retain the ota feature in stock. Yet, would rooting make OTAs not work?

Related

OTA Update while rooted but still STOCK

Hey Guys,
I've done reading about this issue but I did not find an answer specifically to the Nexus 7 device.
I bought my mother-in-law the Nexus 7 and she loves it. However, she will be going back home (which is far) and I was wondering if an OTA update comes, will she be able to update? Will it mess with the system itself if updated over?
Do I have to unroot first, then OTA update, then reroot?
I will not install any custom rom. I will just have it rooted that is it.
Thank you
I unlocked my bootloader and manually rooted [superuser zip in CWM], then I installed the system update that updated it to 4.1.1 [JRO03D], and I still had root, so I'm pretty sure the updates on the N7 will keep the root.
However, you can always try "OTA root keeper" in the play store, it's supposed to restore root, in the event that an OTA update unroots it.
I downloaded it before updating because I thought I'd lose root with the update, but I didn't have to use it at all.
But I'm no longer on the stock rom, I switched to the ParanoidAndroid rom, it's excellent.
I see. Do I need to unlock the bootloader in order to root? Is it true that unlocking the bootloader is only needed if I want to install custom ROMs right? Can I just have root?
Thanks again!
You have to unlock the bootloader in order to root.
keplenk said:
I see. Do I need to unlock the bootloader in order to root? Is it true that unlocking the bootloader is only needed if I want to install custom ROMs right? Can I just have root?
Thanks again!
Click to expand...
Click to collapse
Unfortunately no, because there is no known exploit for loading an insecure boot image, in which case you could use 'adb' to push Superuser to /system/.. But unlocking the bootloader isn't a big deal, except for the fact it erases all the data. There are ways to back it up via adb, and I think the N7 Toolkit has backup & restore options.

[Q] Is root persistent through OTA update?

I'm looking to root my phone but I don't want to flash any new bootloader or custom roms. I'm under the impression that I'll still be able to get OTA updates if I do this. My question is if I download and install an OTA update will I still have root on the phone or will it remove root? Thanks!
psyphris said:
I'm looking to root my phone but I don't want to flash any new bootloader or custom roms. I'm under the impression that I'll still be able to get OTA updates if I do this. My question is if I download and install an OTA update will I still have root on the phone or will it remove root? Thanks!
Click to expand...
Click to collapse
I was still able to receive and apply the OTA after rooting, but the OTA did cause me to lose root. But re-rooting was pretty painless.
Its sure than rooting phone you receive OTA and can install it?? If yes, I want to root my phone, only root, i dont want to change anything more for receiving OTAs.
How can I do? just only root, any link to the safest way?
Is the same way when I receive an OTA and i have to root again?
many thanks.
1. You can use an app called OTA Rootkeeper. Use it to hide root before you accept an OTA, then use it to restore root after.
2. Yes, you can use adb commands (possibly the Nexus 4 toolkit as well) to temporarily flash clockwork recovery and obtain root. You will need to unlock the bootloader though, and that will factory reset your device.
http://forum.xda-developers.com/showthread.php?t=1993331
Nospin said:
1. You can use an app called OTA Rootkeeper. Use it to hide root before you accept an OTA, then use it to restore root after.
2. Yes, you can use adb commands (possibly the Nexus 4 toolkit as well) to temporarily flash clockwork recovery and obtain root. You will need to unlock the bootloader though, and that will factory reset your device.
http://forum.xda-developers.com/showthread.php?t=1993331
Click to expand...
Click to collapse
Good advice for OTA Rootkeeper! If I head down this path I'll make sure to use that. I'm still looking around for the best way to root without unlocking the bootloader or factory reseting.
Superuser contains a built in 'try and preserve root' function which worked well when I updated to 4.2.1

Upgrading to MM from LP (Rooted)

I've been reading a lot of threads with a number of different ways to upgrade to MM on a rooted phone. Anywhere from restoring back to stock to take the OTA to flashing one of the files in this thread http://forum.xda-developers.com/mot...rom-stock-rooted-debloated-x1575-6-0-t3262242
I am currently running LP 5.1.1 unlocked BL, rooted, xposed installed.
Couldn't I just unroot, flash stock recovery and the system img and accept the OTA? DO I have to return to full stock? Also is systemless root the only way to root after you take the OTA?
Sorry be there is so much information going around I just want to make sense of the update process.
AndKacz said:
I've been reading a lot of threads with a number of different ways to upgrade to MM on a rooted phone. Anywhere from restoring back to stock to take the OTA to flashing one of the files in this thread http://forum.xda-developers.com/mot...rom-stock-rooted-debloated-x1575-6-0-t3262242
I am currently running LP 5.1.1 unlocked BL, rooted, xposed installed.
Couldn't I just unroot, flash stock recovery and the system img and accept the OTA? DO I have to return to full stock? Also is systemless root the only way to root after you take the OTA?
Sorry be there is so much information going around I just want to make sense of the update process.
Click to expand...
Click to collapse
You can probably just flash stock recovery and system.img and accept the OTA.
Systemless root isn't the ONLY way to achieve root on MM, but using the traditional (/system) root method requires a modified kernel to set SELINUX to permissive. For now, it looks like systemless is the way to go.
Good Luck.
samwathegreat said:
You can probably just flash stock recovery and system.img and accept the OTA.
Systemless root isn't the ONLY way to achieve root on MM, but using the traditional (/system) root method requires a modified kernel to set SELINUX to permissive. For now, it looks like systemless is the way to go.
Good Luck.
Click to expand...
Click to collapse
Is there an advantage of systemless root over the traditional? And I am guessimg since I have SuperSu installed I will still need to do a complete restore to stock.

Can I boot lock my 6p if I have TWRP installed?

I installed twrp and SU. Really the only reason I did it is because I use titanium backup to back up and restore apps and such. Otherwise I really don't need root.
I have two questions.
First Question: Can I re-lock the boot loader if I have TWRP and SuperSU installed? If not how can I use Android pay? Is there a work around? It's not allowing me to because it can't verify
Second Question: The OTA 6.0.1 won't stick. I'm pretty sure I've done one other over the air update (at least I thought I did, I may be remembering incorrectly) and it worked just fine. But for some reason 6.0.1 isn't taking. Any ideas?
If you don't need root what you can do is download the 6.0.1 imag direclty from google, put it in your adb/fastboo folder and use the flash-all command and it will erase root, twrp and it will be like you just got it from the factory. The only thing that would be still there is the unlocked bootloader. Once you've performed the flash-all command, you can simple lock the bootloader again. That's if you want to get rid of Root and Twrp.. If not, you can try a Rom like Chroma that has android pay working on it.. Here's the instructions. Hope this helps: http://forum.xda-developers.com/showpost.php?p=64269166&postcount=2338
Edit: Make sure you follow the systemless root instructions from that link to get android pay to work...
So I cannot lock the boot loader if I have root and twrp installed?
I really don't want to use a Rom. I'm happy with stock, just want to be able to use titanium backup.
And are ota updates not working if you have twrp installed?
OTA updates won't flash properly if you have TWRP installed, though I heard there is a way to extract the components of the update you want to apply so you can preserve root and custom recoveries while still updating. Sorry I don't know where the instructions are though.
No you can't lock the bootloader with TWRP installed, it can result in a brick.
I would not lock the bootloader unless you are 100% stock. You open yourself up to unrecoverable bricks. As for the update if you download the image from google you can just flash the individual partitions in fastboot. This way you can preserve your data. Heisenburg has a great guide here: http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928 You will loose root but getting it back just involves reflashing the SuperSU-v2.62-3-20151211162651.zip from this thread http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344/post64161125#post64161125

Question about Rooting?

Is there any way to root your 6P and keep the stock recovery? I would like to have a dark system theme. But unless your on root you can't really make everything dark. I would also like to hide the soft keys which unless your rooted you can not. I don't want to lose the OTA updates and was hoping that just rooting the phone without a custom recovery would do the trick?
falcon26 said:
I don't want to lose the OTA updates and was hoping that just rooting the phone without a custom recovery would do the trick?
Click to expand...
Click to collapse
You can, just boot TWRP to your device from there bootloader with fastboot. With the current TWRP image the command would be "fastboot boot twrp-3.0.2-0-angler.img". Unfortunately, just having root on your device is enough to cause an OTA update to fail. You would have to fully unroot, apply the OTA, then root again.
falcon26 said:
Is there any way to root your 6P and keep the stock recovery? I would like to have a dark system theme. But unless your on root you can't really make everything dark. I would also like to hide the soft keys which unless your rooted you can not. I don't want to lose the OTA updates and was hoping that just rooting the phone without a custom recovery would do the trick?
Click to expand...
Click to collapse
You can use flashfire to do just what you want.
Use CF-auto root to root, then when OTA comes along, flashfire to update.

Categories

Resources