I have unlocked the bootloader, installed TWRP, root and Xposed Framework. What do I need to deactivate to to do stock system updates, possibly without losing data?
Also, any way I can install Magisk without losing all data by locking the bootloader (except backup)?
The only way is go back to stock. UNroot, relock bootloader and get rid of TWRP. There is no other way round it.
Related
Does updating OTA require you to unlock again? Root again?
I can't remember, and I'm trying to help a friend. I want to make sure they won't have to unlock again and lose all their current data and settings. Thanks
My friend was rooted unlocked with CWM on stock and got the OTA. When it went into recovery, it asked him if he wanted to keep root, etc and he said yes. OTA went through, he kept root and didn't lose out on anything.
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
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?
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.
I'm about to provision my One Plus 5 for use I will be running it with TWRP a unencrypted data partition (makes restores easier) and root via Magisk day one.
I'm curious if I'm running it in this configuration when an OTA comes down the pipe will it do any of the following?
re apply fastboot oem lock?
flash the recovery to stock recovery?
remove magisk?
re-enable dm-verity?
Curious if the process after an OTA apply is to re-flash TWRP potentially re-apply magisk? Does applying ota mess with your data partition if you already decrypted it?
Also was thinking about leaving the data partition decrypted so I can push things to it via ADB or manipulate it when it's in a non-functional state can anyone here comment on if that's still possible while encrypted? And if so what dis-advantages of leaving it encrypted I hear one is you have to remove the lock screen password before you create a backup since the keys are not backed up and you might be locked out after a restore.
With some more research I've answered my own question I'll put them here in case anyone wants to refer to them in the future.
TWRP users will lose TWRP after a flash of the OTA.
Root will be lost regardless if you flash using TWRP or stock.
Data is not touched during flash so it should stay as is.
DM-verity requirement is unknown.
For rooted users it's better to do a full flash with TWRP OTA through TWRP will cause a problem.
Actually, you won't get the small incremental OTA, you will download the complete 1.5 - 2gb rom... This happens when you have root whether you have got TWRP or stock recovery.
Root will always be lost, yes but if you flash with TWRP you can flash magisk oe SuperSU immediately afterwards to gain root again. Not having TWRP you will need to either boot TWRP or install it to install root again.
DM-Verity, I have never had any problems with this after flashing and then rooting...
I dirty flash the 4.5.10 and i had to reflash the ROM + no_verity_op5.zip. My first and only issue was a sort of bootlop to the recovery.
So wait. If I flash the OTA, then flash Magisk, I will have root and lose TWRP, right?
Then could I use some app like Flashify or the TWRP app to install the recovery?
I don't own a PC right now and want to know if it's possible.