System Root? - Nexus 5X Q&A, Help & Troubleshooting

I've been reading on the forums and is there anyway to achieve system root on the n5x because i assume flashing SuperSu in twrp just gives you systemless root, I've read something about a modified boot.img, can anyone clarify this? and is system root possible on 7.0 NRD90S?

niklus101 said:
I've been reading on the forums and is there anyway to achieve system root on the n5x because i assume flashing SuperSu in twrp just gives you systemless root, I've read something about a modified boot.img, can anyone clarify this? and is system root possible on 7.0 NRD90S?
Click to expand...
Click to collapse
It is possible to have systen root.
You still need to have boot.img that has dm-verity disabled.
There are flags that you can set for SuperSU install that force it to do system install, but i don't recall if it will disable dm-verity in that case. If not, flash the modified kernel that is on the main thread.

Related

Xposed and systemless root

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.

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:

Rooting

Now do you root a HTC 10. Will you still be able to download system updates.
Osakpa said:
Now do you root a HTC 10. Will you still be able to download system updates.
Click to expand...
Click to collapse
Rooting doesn't affect your ability to take OTAs. It's what you do AFTER you root that will impact OTA. Any modifications to System partition will break OTA. The modification can be as simple as just mounting system as read-write, as opposed to leaving it read-only.
Modifying system partition while using the unmodified stock kernel (we think) will also trip verity mode logging which will cause the you to get an error that system is corrupt when you go to check for OTA.
The TWRP FAQ (second post) has all the info you need regarding root and restoring your ability to ota.
Additional information regarding how to fix verity mode logging can be found here
Obviously, if you root and use only systemless exploits and never mount system as read-write, you should never break your ability to OTA. But, that's a lot easier said than done.
jollywhitefoot said:
Obviously, if you root and use only systemless exploits and never mount system as read-write, you should never break your ability to OTA. But, that's a lot easier said than done.
Click to expand...
Click to collapse
Magisk makes it super simple.
I have magisk'd phhh super-su, xposed, and now Dolby Atmos (that I converted to magisk), all still playing well enough together to so that at least android pay works. I won't know about OTA's until the next dev/unlocked one which could possibly just be N.

[D855][20H/I] Systemless root, or root without triggering safetynet

Hi
I'm currently running a fully stock (used to be running 6.0, then 5.0, then rooted + twrp then fulmics.... before discovering that safetynet didn't like that) and was wondering if there is a way to get root without having safetynet detecting anything, on either 5.x or 6.x
I've seen suggestions to install TWRP and then flash a systemless supersu or magisk, but in order to install TWRP, I need to be rooted, plus I think (?) having TWRP installed would trigger safetynet, but don't quote me on that.
I've been thinking about whether it's possible to set up root methods like this or this install supersu systemlessly, but I don't understand enough to be able to do that by myself.
edit: bootloader is locked... I'm not sure you can unlock it?
Thanks for any help
Max

[Q]Root/OTA/TWRP doubt

I'm coming from nexus family and I know in and out regarding flashing rooms, rooting etc for nexus devices .. I got op5t few days back and I want to root it. But I need few info's.
1. If I root the phone, Can I flash the ota Update zip using twrp?
2. If I flash the update zip successfully using twrp, will I lose twrp and root?
I just want to know what are the steps to follow to update the Stock OS but also keeping the custom recovery and root after the update..
What are the Stock things I will lose after unlocking and rooting..
You will not lose stock features if you root. Both SafteyNet bypass options and root hide features exist with custom kernels and Magisk.
Taking OTA's will be a slight issue, though. Need to flash the Magisk uninstall zip first, take OTA (you will lose custom recovery), then re-flash custom recovery then flash Magisk again.
xocomaox said:
You will not lose stock features if you root. Both SafteyNet bypass options and root hide features exist with custom kernels and Magisk.
Taking OTA's will be a slight issue, though. Need to flash the Magisk uninstall zip first, take OTA (you will lose custom recovery), then re-flash custom recovery then flash Magisk again.
Click to expand...
Click to collapse
I thought if you flashed the full zip and then Magisk right after, it would not only keep root, but TWRP as well?
xocomaox said:
You will not lose stock features if you root. Both SafteyNet bypass options and root hide features exist with custom kernels and Magisk.
Taking OTA's will be a slight issue, though. Need to flash the Magisk uninstall zip first, take OTA (you will lose custom recovery), then re-flash custom recovery then flash Magisk again.
Click to expand...
Click to collapse
So I need to use custom Kernal to Pass Safety net? Safety net fails in Stock kernel?
If you use Magisk, no. Magisk will hide the parameters that would reveal that your device has the bootloader unlocked.
rickysidhu_ said:
I thought if you flashed the full zip and then Magisk right after, it would not only keep root, but TWRP as well?
Click to expand...
Click to collapse
Well.. it's not keeping root if you have to re-flash Magisk after!
You may get away with not having to flash Magisk uninstall zip, but you might as well since you'll be in recovery anyways.
You can flash stock rom using TWRP as mentioned in this thread https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-mirrors-official-oxygen-os-t3708099
Once the update is completed you will be back in stock recovery and you need to flash TWRP again
https://forum.xda-developers.com/showpost.php?p=74705391&postcount=32
It would be great if someone who is familiar with OnePlus products and updates could put together a defnitive, detailed post and or instructional sticky on the whole update OTA root subject since there are so many different threads on it.
xocomaox said:
Well.. it's not keeping root if you have to re-flash Magisk after!
You may get away with not having to flash Magisk uninstall zip, but you might as well since you'll be in recovery anyways.
Click to expand...
Click to collapse
Sorry, I meant flashing Magisk will boot you back into the system updated, rooted and with TWRP intact.
I haven't heard about having to uninstall Magisk or anything, was just curious
Dazed No More said:
It would be great if someone who is familiar with OnePlus products and updates could put together a defnitive, detailed post and or instructional sticky on the whole update OTA root subject since there are so many different threads on it.
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=74612843&postcount=3
padhu1989 said:
I'm coming from nexus family and I know in and out regarding flashing rooms, rooting etc for nexus devices .. I got op5t few days back and I want to root it. But I need few info's.
1. If I root the phone, Can I flash the ota Update zip using twrp?
2. If I flash the update zip successfully using twrp, will I lose twrp and root?
I just want to know what are the steps to follow to update the Stock OS but also keeping the custom recovery and root after the update..
What are the Stock things I will lose after unlocking and rooting..
Click to expand...
Click to collapse
Why don't you read how to do it? https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592

Categories

Resources