Xposed and systemless root - Nexus 5X Q&A, Help & Troubleshooting

Hi everyone
I want to root my nexus 5x to have xposed but the main issue is that I wouldn't be able to install otas even if I rooted with systemless root because xposed misses up system partition , so systemless root becomes pointless .
My question is if I rooted with systemless root and installed xposed , if I wanted to install any new ota if i just removed xposed will this be enough to return system to unmodified status and I can now install the ota , or my system will become modified untill I reinstall the whole binary image ??
Hope I made my question clear as possible and sorry for my bad English
Thanks in advance ...

Or, instead of worrying about OTAs, you could just get the images from the Google website since this is a Nexus device, we are supported for something like 3 years I think I read, with security updates persisting 1.5 years after that.
https://developers.google.com/android/nexus/images
(you would use fastboot flash to accomplish this)

I know , but I don't want to flash everytime the whole binary image if I just can install a ~< 10 mb OTA .
If i can Just uninstall xposed then install the ota that will be much easier ...

I don't think you can take ota updates with a custom recovery and without a custom recovery you would have to flash a system image to get it back to stock in order to take the ota

flashing updates manually via TWRP is very easy once youre used to doing it.

No I can install OTAs using flash fire if the system partition is unmodified , so that's why I'm asking if uninstalling xposed return system partition to unmodified status ?

@2x4 installing updates is very easy with chainfire's flashfire only if you have unmodified system partition , and I want to install xposed but at the same time I want to know if I just uninstalled xposed will that make my system unmodified again ...

Running the xposed uninstalled will undo any changes to the system partition. So to answer your question, yes.

@t-r-e you're coming from the angle of keeping your system partition intact for the SOLE purpose of OTAs (you've said nothing about android pay). Given that, it's easier to just update manually via TWRP instead of doing OTAs, so you won't have to worry about xposed or any other mods.

Related

[NOOB Question] Rooting Nexus 7 without installing custom recovery?

After some vigorous searching I've found out that if you don't modify the boot loader then you should be okay receiving OTA updates. I'd like to root my nexus 7 so I can run some apps that require root access. I've looked at many methods on how to root the nexus 7, but from my noob understanding, the majority of these methods require unlocking the boot loader and getting TWRP recovery. Won't that mess up the OTA? I've searched a couple threads but I don't necessarily understand the difference between an unlocked boot loader and a rooted device. The reason I still want to have OTA updates is so that I can still update android and so on.
Thanks for taking the time to read this and help guys!
Pickle_Jr;4f86 said:
After some vigorous searching I've found out that if you don't modify the boot loader then you should be okay receiving OTA updates. I'd like to root my nexus 7 so I can run some apps that require root access. I've looked at many methods on how to root the nexus 7, but from my noob understanding, the majority of these methods require unlocking the boot loader and getting TWRP recovery. Won't that mess up the OTA? I've searched a couple threads but I don't necessarily understand the difference between an unlocked boot loader and a rooted device. The reason I still want to have OTA updates is so that I can still update android and so on.
Thanks for taking the time to read this and help guys!
Click to expand...
Click to collapse
On this platform, at this time, you need to unlock the bootloader to install root.
You don't need to flash/install twrp if you don't want to, but you need to boot into twrp temporarily to install the root files.
Even if you install twrp rather than boot into it temporarily, it won't cause your ota to fail.
The things that cause the ota to fail are
1) modifying or deleting any files with your root permissions
This includes root apps which do things you might not realize
2) installing custom kernel
3) installing earlier version of supersu
sfhub said:
On this platform, at this time, you need to unlock the bootloader to install root.
You don't need to flash/install twrp if you don't want to, but you need to boot into twrp temporarily to install the root files.
Even if you install twrp rather than boot into it temporarily, it won't cause your ota to fail.
The things that cause the ota to fail are
1) modifying or deleting any files with your root permissions
This includes root apps which do things you might not realize
2) installing custom kernel
3) installing earlier version of supersu
Click to expand...
Click to collapse
Awesome! Thanks! So if I understand correctly, as long as I be careful about what root apps I have as well as have a newer (newest) version of SuperSU installed I'll be okay? I'm assuming I'll lose root when I get an OTA update but hopefully when the time comes, there'll be a way to root android 4.4 when the n7 get's it as well. And if something goes wrong I guess I could just unroot, factory reset, and update OTA that way too. Thanks for the help!
Pickle_Jr said:
Awesome! Thanks! So if I understand correctly, as long as I be careful about what root apps I have as well as have a newer (newest) version of SuperSU installed I'll be okay?
Click to expand...
Click to collapse
Yes.
For example, if you freeze a stock app in titanium, that is ok, but if you remove a stock app, then an OTA will likely fail.
If you use stickmount, it modifies a system file and backs it up, then restores it when it is done, but sometimes that gets out of sync, in which case the OTA fails.
There are other examples.
Pickle_Jr said:
I'm assuming I'll lose root when I get an OTA update but hopefully when the time comes, there'll be a way to root android 4.4 when the n7 get's it as well. And if something goes wrong I guess I could just unroot, factory reset, and update OTA that way too. Thanks for the help!
Click to expand...
Click to collapse
If you install root through the stock recovery, you'll lose root permissions (but the files will still be there). Just re-root using the existing procedure.
If you want to save a step, boot into TWRP to install the OTA (which you download manually) and then "chain" install the OTA, then the root install files.
This way, you lose root for half a second until the 2nd install file in the chain runs. Essentially you won't lose root (or won't notice losing root) because the first time you boot into 4.4, you'll have root.

Systemless root and systemless Xposed - Some questions

Hello,
at the moment I have a HTC 10 with normal root and xposed.
But I would like to have the option of installing OTA updates and I have some question:
- Is there any advantage between system and systemless root except OTA/Android Pay? Or is it still better to use system root?
- Can I still flash a custom kernel and other mods in TWRP?
- What do I need for systemless root and systemless xposed?
- Are there any disadvantages?
And it would be awesome if someone could give me a full guide how to do this.
I would start with flashing a RUU, but what should I do after that?
Thanks in advance!
I can't say anything about systemless Xposed, but I've been wondering about it. Main thing I want to know is if it will play nice with Android Pay. Right now, I'd rather have Android Pay than Xposed, but I'd like both.
As for systemless root, yes, you can still flash custom kernels thru TWRP. I'm running @flar2's Elemental X and have run them both successfully on LeeDroid and Venom. Some mods may have to have some special prep if they're not baked into a rom, such as AdAway, to work properly with systemless root.
The disadvantages to systemless root, to this point have been you can't run Xposed on it (not sure how it works now), and root is broken on some poorly coded apps, like ES File Explorer.
The easiest way to install systemless root now is just to install a rom. Put TWRP on and pick a rom. Both LeeDroid and Viper have options for systemless root. You're up and working out of the box with nothing special to do.
Superguy said:
I can't say anything about systemless Xposed, but I've been wondering about it. Main thing I want to know is if it will play nice with Android Pay. Right now, I'd rather have Android Pay than Xposed, but I'd like both.
As for systemless root, yes, you can still flash custom kernels thru TWRP. I'm running @flar2's Elemental X and have run them both successfully on LeeDroid and Venom. Some mods may have to have some special prep if they're not baked into a rom, such as AdAway, to work properly with systemless root.
The disadvantages to systemless root, to this point have been you can't run Xposed on it (not sure how it works now), and root is broken on some poorly coded apps, like ES File Explorer.
The easiest way to install systemless root now is just to install a rom. Put TWRP on and pick a rom. Both LeeDroid and Viper have options for systemless root. You're up and working out of the box with nothing special to do.
Click to expand...
Click to collapse
Have a look at this: http://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
That's the reason why I'm asking - OTA is working, but Android Pay not (for me it doesn't matter. I never used android pay).
But I want to stay on Stock ROM, no Custom ROMs. I just want the ability to download and install OTA updates.
Edit: Well, I see that I still need stock recovery for OTA updates. It doesn't make sense to install systemless root, because I have stock system-image backup and stock recovery.
Is there any advantage between system and systemless root except OTA/Android Pay? Or is it still better to use system root?
Maik268 said:
Have a look at this: http://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
That's the reason why I'm asking - OTA is working, but Android Pay not (for me it doesn't matter. I never used android pay).
But I want to stay on Stock ROM, no Custom ROMs. I just want the ability to download and install OTA updates.
Edit: Well, I see that I still need stock recovery for OTA updates. It doesn't make sense to install systemless root, because I have stock system-image backup and stock recovery.
Is there any advantage between system and systemless root except OTA/Android Pay? Or is it still better to use system root?
Click to expand...
Click to collapse
I am in the same position, just got the phone and want to install systemless root, systemless xposed and systemless Adaway... Mainly the reason I want this is because I dont want to s-off (you cant flash newer firmwares that come with updates) or I dont want to restore system and performing update after that... I just want stock rom with elementalx and those xposed goodies I want it so that when I get a notification about update, I dont need to backup anything, flash anything, just install update regularly like all normal people BUT still after update have root and xposed
I think its possible, but I have to do a little research before I get on with it.. Now first step is unlock bootloader
CrazyCypher said:
I am in the same position, just got the phone and want to install systemless root, systemless xposed and systemless Adaway... Mainly the reason I want this is because I dont want to s-off (you cant flash newer firmwares that come with updates) or I dont want to restore system and performing update after that... I just want stock rom with elementalx and those xposed goodies I want it so that when I get a notification about update, I dont need to backup anything, flash anything, just install update regularly like all normal people BUT still after update have root and xposed
I think its possible, but I have to do a little research before I get on with it.. Now first step is unlock bootloader
Click to expand...
Click to collapse
Even with systemless root you have to restore stock recovery to use OTA updates
Well, I have a look at this next weekend when I have some more time.
Or I just try a custom ROM... :laugh:
Maik268 said:
Even with systemless root you have to restore stock recovery to use OTA updates
Well, I have a look at this next weekend when I have some more time.
Or I just try a custom ROM... :laugh:
Click to expand...
Click to collapse
Yes but the amazing thing is that after you flash everything you want, you can immediately restore stock recovery and have stock recovery all the time after you have everything systemless
Then if you want to flash something you flash TWRP.. otherwise you just leave re-flashed stock recovery
CrazyCypher said:
Yes but the amazing thing is that after you flash everything you want, you can immediately restore stock recovery and have stock recovery all the time after you have everything systemless
Then if you want to flash something you flash TWRP.. otherwise you just leave re-flashed stock recovery
Click to expand...
Click to collapse
Hello, I will receive my HTC 10 on Friday, and I all I want is to root and install Xposed Framework (A kernel would be nice too, but it's not a must) but I do want to receive OTA's and not having to flash the Rom each time that I want to update...
So if I root my phone Systemless, will I be able to Install Xposed (and a kernel) so when I receive an OTA, I just flash the stock kernel and install the update, then flash twrp again, without losing root or my data?
If so, how do I systemless root?
Thanks! :good:

OTA updates for TWRP

Would it be possible to list all OTA updates which are installable through TWRP? I am trying to find a way to update my P2 with TWRP to S244, and I find tutorials and ZIPs scattered around on the forum (except the one for S244), but it makes it a bit of a hassle when one buys this phone on MM, installs TWRP and finds out the OTA updates are not working (which makes sense).
I am on S233 now, but I can imagine I am not the only one using TWRP and looking for info whilst being even on an older firmware. I know it would be possible to reflash the stock recovery, but even these files are hard to find non-deodexed, non-TWRP.
same here
JayVerhofstadt said:
Would it be possible to list all OTA updates which are installable through TWRP? I am trying to find a way to update my P2 with TWRP to S244, and I find tutorials and ZIPs scattered around on the forum (except the one for S244), but it makes it a bit of a hassle when one buys this phone on MM, installs TWRP and finds out the OTA updates are not working (which makes sense).
I am on S233 now, but I can imagine I am not the only one using TWRP and looking for info whilst being even on an older firmware. I know it would be possible to reflash the stock recovery, but even these files are hard to find non-deodexed, non-TWRP.
Click to expand...
Click to collapse
same here bro. my phone is showing 125 mb update available which S244. i tired many times but it failed. im looking for this OTA update file which can be flash via TWRP.
please bro help me i dont want to flash whole stock rom. full updated ROM is available here.
https://forum.xda-developers.com/lenovo-p2/development/lenovo-p2-lenovo-p2a42-stock-nougat-t3661024.
please help me to find out only 125 mb TWRP update
Has anyone with systemless root, preferably Magisk, dared to try Flashfire? I looked in the official xda thread and there seem to be mixed experiences. Some get a black screen from which the phone doesn't wake up unless you use a hard reset. Others solved the black screen by booting into TWRP and flashing the Magisk uninstaller. Then doing a clean install before using Flashfire.
I guess the queue would look something like this:
1. Wipe cache
2. Flash OTA
3. EverRoot disabled
4 Flash Magisk
5. Normal reboot and preserve TWRP.
If unsuccessful
1. Flash stock boot.img
2. Flash OTA
3. EverRoot disabled
4 Flash Magisk
5. Normal reboot and preserve TWRP.

help with rooting+ota updates?

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

Trying to understand OTA updates

I would like to get to the point where I'm able to OTAs instead of manually flashing factory images but I'm not passing safety net when I uninstall magisk and reinstall it when the update reaches step 2. I'm not sure what is causing the update to fail. I recently switched from system root via supersu (obviously wouldn't pass safety net) to systemless root with magisk. I'm running 8.1 feb. security update with the following apps installed: adaway, busybox, CF. Lumen, greenify, magisk manager, & titanium backup. (rootless substratum & andromeda as well).
I do not have TWRP installed, I only boot to it to flash magisk and kept TWRP systemless. The purpose for this post I guess is to try understand which of the installed apps listed may affect the /system files. I was under the impression that since i now root systemlessly I would be able to accept OTAs. What am I missing here?
As far as I know you cannot be rooted and/or have a custom recovery. You can have a unlocked bootloader but you have to be stock in order to receive OTAs.
I really don't get the problem. Just flash full ota file via TWRP and then flash again magisk and twrp again.
With TWRP, flashing full OTA files is a breeze... I think incremental otas can be done in the same way, but better to flash full ota files...
onesolo said:
I really don't get the problem. Just flash full ota file via TWRP and then flash again magisk and twrp again.
With TWRP, flashing full OTA files is a breeze... I think incremental otas can be done in the same way, but better to flash full ota files...
Click to expand...
Click to collapse
......... you can flash full OTAs from TWRP?? I knew I was missing something.
So download the full OTA to internal storage. flash in TWRP. then magisk and if i choose not to install TWRP (i usually only boot to it), I'm done?
onesolo said:
I really don't get the problem. Just flash full ota file via TWRP and then flash again magisk and twrp again.
With TWRP, flashing full OTA files is a breeze... I think incremental otas can be done in the same way, but better to flash full ota files...
Click to expand...
Click to collapse
Wait, doesn't flashing the full OTA get rid of TWRP?
Do you have instructions how to install full images without TWRP being uninstalled?
Also... How do you get ota to install if the original bootloader is replaced by twrp? I thought installing twrp permanently voids the possibility to install ota...!

Categories

Resources