Is this systemless root link? - Nexus 6P Q&A, Help & Troubleshooting

I feel like I can not ever find systemless root properly.
I recently reflashed the stock march security update factory image. I then reinstalled TWRP 3.0 and then flashed "BETA-SuperSU-v2.68-20160228150503.zip" found int eh thread below
http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
however when i booted, I wasnt systemless I was full root with the SU app and everything. i was able to unroot and now android pay works.
i would like to install SYSTMLESS ROOT what ever the latest is so that i can remove the XBIN folder and use the CHMOD trick to get androidpay working but I just cant seem to find the actual systemless root.
i end up digging around like 3 or 4 different SU threads and its frustrating lol.
is the BETA-SuperSU-v2.68-20160228150503.zip the systemless version?
thanks!

2.68 is the one I flashed from TWRP,, but before I applied the zip I accessed the Terminal in TWRP and typed
echo "SYSTEMLESS=true" > /data/.supersu
Then I flashed the supersu.zip. Rebooted to system then used Root Explorer to change the permissions of /su/bin to 751. Removed the xbin_bind folder. Restarted and it was systemless root.

Related

SuperSU hanging on boot

Just curious if anyone knows why we specifically need SuperSU 2.62-3 (at least for MM.) All others seem to cause a hang at the bootloader warning.
I saw in the TWRP output that this version makes a bunch of specific modifications to the system, it had a whole separate section of output with a bunch of detailed changes that I've never seen SuperSU do before. Anyone happen to know why this is necessary?
does 2.65 work?
Root needs to be systemless to work on 6.0
minimale_ldz said:
Root needs to be systemless to work on 6.0
Click to expand...
Click to collapse
All versions work. I use 2.65 and working fine. You first have to open the terminal command in twrp and type "echo SYSTEMLESS=true>>/data/.supersu"
After this you can flash supersu.
Another trick if you have a root app that's not working with systemless root is this command:
"echo BINDSYTEMXBIN=true>>/data/.supersu"

Rooting Stock XT1575 Marshmallow 6.0

This device seems to be a little trickier to root compared to my old Galaxy S3.
I just received a brand new Moto X Pure, XT1575 (North American variant I'm assuming since I bought it from the US).
It's currently running Marshmallow 6.0, and has been OTA updated to the Feburary 2016 security update.
I want to keep the stock ROM, but I want it to be rooted. XPosed would be nice as well, but not necessary. I do not want any custom ROMs, just the stock ROM rooted.
To root you have to unlock your bootloader, install TWRP, and use TWRP to flash supersu.
For the most part just follow the Heisenberg guide and you'll be fine.
Since you're on marshmallow make sure to install supersu systemless or your system won't boot. Don't use the old supersu linked to the Heisenberg thread. Stay away from the ivcarlos method linked there too; newer versions of supersu handle all that boot image patching automatically. You just have to be a little careful about what version of supersu you use. Supersu version 2.62 works fine. I can vouch for supersu 2.67 too, but you have to force it to install systemless. Enter this in TWRPs built-in terminal or an adb shell before flashing or it will try to install using the traditional method and you'll freeze on the big M when you reboot:
Code:
echo "SYSTEMLESS=true" > /data/.supersu
Just use TWRP to make a backup before you mess with rooting so you have something to fall back on in case things go wrong.
jason2678 said:
To root you have to unlock your bootloader, install TWRP, and use TWRP to flash supersu.
For the most part just follow the Heisenberg guide and you'll be fine.
Since you're on marshmallow make sure to install supersu systemless or your system won't boot. Don't use the old supersu linked to the Heisenberg thread. Stay away from the ivcarlos method linked there too; newer versions of supersu handle all that boot image patching automatically. You just have to be a little careful about what version of supersu you use. Supersu version 2.62 works fine. I can vouch for supersu 2.67 too, but you have to force it to install systemless. Enter this in TWRPs built-in terminal or an adb shell before flashing or it will try to install using the traditional method and you'll freeze on the big M when you reboot:
Code:
echo "SYSTEMLESS=true" > /data/.supersu
Just use TWRP to make a backup before you mess with rooting so you have something to fall back on in case things go wrong.
Click to expand...
Click to collapse
Fantastic advice!
Sent from my XT1575 using XDA-Developers mobile app
You'll have to use a very specific - older systemless root though. I think supersu-2.64, but I'll let someone else confirm that. The other superusers will not work.
jason2678 said:
To root you have to unlock your bootloader, install TWRP, and use TWRP to flash supersu.
For the most part just follow the Heisenberg guide and you'll be fine.
Since you're on marshmallow make sure to install supersu systemless or your system won't boot. Don't use the old supersu linked to the Heisenberg thread. Stay away from the ivcarlos method linked there too; newer versions of supersu handle all that boot image patching automatically. You just have to be a little careful about what version of supersu you use. Supersu version 2.62 works fine. I can vouch for supersu 2.67 too, but you have to force it to install systemless. Enter this in TWRPs built-in terminal or an adb shell before flashing or it will try to install using the traditional method and you'll freeze on the big M when you reboot:
Code:
echo "SYSTEMLESS=true" > /data/.supersu
Just use TWRP to make a backup before you mess with rooting so you have something to fall back on in case things go wrong.
Click to expand...
Click to collapse
Sorry I been away from the rooting methods for too long (since my note 2) I already unlocked the bootloader on my phone but to install twrp can I still follow this tutorial? TIA
https://youtu.be/iPspDlbRf88
Sent from my XT1575 using XDA-Developers mobile app
jason2678 said:
To root you have to unlock your bootloader, install TWRP, and use TWRP to flash supersu.
For the most part just follow the Heisenberg guide and you'll be fine.
Since you're on marshmallow make sure to install supersu systemless or your system won't boot. Don't use the old supersu linked to the Heisenberg thread. Stay away from the ivcarlos method linked there too; newer versions of supersu handle all that boot image patching automatically. You just have to be a little careful about what version of supersu you use. Supersu version 2.62 works fine. I can vouch for supersu 2.67 too, but you have to force it to install systemless. Enter this in TWRPs built-in terminal or an adb shell before flashing or it will try to install using the traditional method and you'll freeze on the big M when you reboot:
Code:
echo "SYSTEMLESS=true" > /data/.supersu
Just use TWRP to make a backup before you mess with rooting so you have something to fall back on in case things go wrong.
Click to expand...
Click to collapse
Thanks!!! that little line of code for TWRPs built-in terminal did the work
rmaspons said:
Thanks!!! that little line of code for TWRPs built-in terminal did the work
Click to expand...
Click to collapse
Can someone clarify? I also just got the same exact phone and installed the Feb OTA updates, then unlocked the bootloader.
I just need to enter the following in the terminal and THEN flash Supersu? Is the code below what "forces it" to install systemless? Can I use the newest version of supersu if I pop this line in first?
echo "SYSTEMLESS=true" > /data/.supersu
martyxng said:
Can someone clarify? I also just got the same exact phone and installed the Feb OTA updates, then unlocked the bootloader.
I just need to enter the following in the terminal and THEN flash Supersu? Is the code below what "forces it" to install systemless? Can I use the newest version of supersu if I pop this line in first?
echo "SYSTEMLESS=true" > /data/.supersu
Click to expand...
Click to collapse
That command creates a text file /data/.supersu with one line in it "SYSTEMLESS=true". Supersu checks for that file when you flash it, and if it is found with sytemless set true installs systemless.
2.67 is the newest zip I tried it with, but I see no reason why it wouldn't work with newer versions.
Just be sure to backup /boot /system and /data first. If anything goes wrong restoring those will get you back up and running.
martyxng said:
Can someone clarify? I also just got the same exact phone and installed the Feb OTA updates, then unlocked the bootloader.
I just need to enter the following in the terminal and THEN flash Supersu? Is the code below what "forces it" to install systemless? Can I use the newest version of supersu if I pop this line in first?
echo "SYSTEMLESS=true" > /data/.supersu
Click to expand...
Click to collapse
It didn't work for me via adb command.... Had to use TWRPs built-in terminal. Just wrote wrote the line, as it is, go back to the main menu and flash Supersu (I used the latest one: 2.67) just as you normally do. Then reboot. No more stock in the M logo
jason2678 said:
That command creates a text file /data/.supersu with one line in it "SYSTEMLESS=true". Supersu checks for that file when you flash it, and if it is found with sytemless set true installs systemless.
2.67 is the newest zip I tried it with, but I see no reason why it wouldn't work with newer versions.
Just be sure to backup /boot /system and /data first. If anything goes wrong restoring those will get you back up and running.
Click to expand...
Click to collapse
Thanks! This did work for me. I am now rooted.
I am using twrp 3.0.0.0 I used 2.62 however when I tried to click the option in the terminal keyboard for the = (equal sign) I keep getting a blue screen. 3.0 keyboard works ok. I entered the, echo "SYSTEMLESS=true" > /data/.supersu and pressed the go button. It showed up on the main terminal screen. Im a bit confused at this point....do I flash supersu from my pc using flashboot on the bootloader page? or download the supersu.zip to my phone and use twrp to flash it? When twrp asked to flash supersu I did that and wound up stuck on the big M again. I think I restored my phone about 6 times so far. lol
Flash in recovery. Use 2.62-3.
So using 2.62.3 will void having to type SYSTEMLESS=true" > /data/.supersu. or do u still have to type that in terminal? Plus using the twrp-3.0.2-0-clark. Should I use and older version?
No just flash.
Flashed Supersu 2.76 on top of xt-1575 18-4 image without any problems usung TWRP 3.0.2.
I did add .supersu text file to /data just as an insurance.
Nuts. Didn't see the part about doing a backup first (hitting head, as this isn't my first rodeo). Too anxious I guess. Now I'm stuck at the M android screen. (didn't do the "SYSTEMLESS=true" > /data/.supersu" command). Any way to fix or am I just screwed?
I can get to TWRP, so theoretically, I could flash a stock version of Android back onto it. Anyone know where I can pick one up?
Did the same ****. Was so excited getting the phone and didn't read the systemless =true crap for M. Didn't do a back up but got a system file from Motorola. You can pick one up here to start over. http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
Anxiety might lead to unexpected results
Can anyone make and post a video step-by-step on how to do this? Last night I was about to root my new Moto X Pure X1575 (No updates installed, need to freeze the process to avoid making the root process more difficult) and if I rushed I could've made a HUGE mistake. Mine is running Android 6.0 (Marshmallow), was about to use previous and experimental methods but after reading this post I'd rather wait and make sure everything works.
Btw, I got my phone directly from Motorola, added a bit more memory through Moto Maker (32GB), will this make any difference in terms of getting the root access?
Thanks in advance
eat-man said:
Can anyone make and post a video step-by-step on how to do this? Last night I was about to root my new Moto X Pure X1575 (No updates installed, need to freeze the process to avoid making the root process more difficult) and if I rushed I could've made a HUGE mistake. Mine is running Android 6.0 (Marshmallow), was about to use previous and experimental methods but after reading this post I'd rather wait and make sure everything works.
Btw, I got my phone directly from Motorola, added a bit more memory through Moto Maker (32GB), will this make any difference in terms of getting the root access?
Thanks in advance
Click to expand...
Click to collapse
Not really sure what you need a video for, the process is simple and the same for all Gen3/4 Moto devices... the chanced of "breaking" something are near zero. You need fastboot working, that is on you.
1) Unlock the bootloader
2) Download the latest TWRP and SuperSU. Place TWRP img in your fastboot directory and SuperSU zip on your device so you know where it is, internal storage or SD card is not relevant.
3) Start the bootloader, either with `adb reboot bootloader` or power off and hold VOL DN and then press and hold POWER until the menu comes up
4) Start TWRP with `fastboot boot twrp-3.0.2-0-clark.img` and backup
5) Go to TWRP's Advanced menu and select Terminal
6) Enter `echo SYSTEMLESS=true>>/data/.supersu` press enter , exit, and Home button
7) Install (Flash) SuperSU ZIP file, clear caches if you wish but it isn't necessary.
8) Reboot
That is all there is too it
man u are awesome it took me a while and just stumbled on to this and u couldnt have made it less confusing

PHH's Root Disappeared

Hi Guys.
As the title suggests root access suddenly disappeared from my nexus 6p yesterday.
DigitalHigh rom 7.0 was flashed through the latest twrp (3.0.2-2) and everything was running fine. I got the notification that the SU binary is out of date from PHH's SuperUser. Opened it but nothing really happened. So I downloaded superSU and suddenly it prompted me that the device isn't rooted. Being unfamiliar with PHH's SU I decided to flash the latest SuperSu through TWRP but the phone wouldn't boot.
Right now it has been restored to a backup taken just before flashing SuperSU which means everything is running fine and even android pay works however there's no root access. Is there something specific that might have caused this?
Are there any ways to re-gain root?
Haven't gone through the process of a clean flash yet as the phone is needed for work however even if all of that is done the SU binary will still need to be updated. Is there a different method for updating PHH's root?
So far I have tried clearing cache etc. but noting worked.
apostol96t said:
Are there any ways to re-gain root?
Click to expand...
Click to collapse
Phhusson's superuser and SuperSU don't mix. If you're back to booted, but not rooted with Phh, you'll need to either flash one of the Nougat boot images from the nexus/angler folder or the latest superuser.zip (I think the latest is r229) from http://superuser.phh.me

How to root 6.0 stock rom without getting bootloop?

Just bought a XT1575. I followed this link to get it unlocked, installed latest stock rom (6.0 MPH24.49-18-4 from here), and I installed latest TWRP recovery.
Then I tried to install root and Xposed framework. I tried several methods from this link :
Install superSU 2.62-3, my device goes bootloop. I have to recover from my TWRP backup.
Install SuperSU 2.78 with "echo SYSTEMLESS=true>>/data/.supersu" before install. bootloop again.
Please help me on this, thank you so much!
Try this for forced systemless root: http://forum.xda-developers.com/moto-x-style/help/wifi-wont-root-t3463656/post68764815
Then flash Systemless Xposed by topjohnwu, attachment named "xposed-v86.2-sdk23-topjohnwu.zip": http://forum.xda-developers.com/showpost.php?p=67074428&postcount=2
Or romracer's version named "xposed-v86.1-sdk23-arm64-systemless-by-romracer-20160928.zip" in sdk23 > arm64: http://forum.xda-developers.com/xposed/super-alpha-posted-permission-xposed-t3072979
The systemless method you noted is correct. Did you boot fully on the 6.0 ROM first, before trying to flash SuperSU? If you did, verify in the TWRP terminal 'cat /data/.supersu' contains only the SYSTEMLESS=true string, and when you flash SuperSU the log says something about systemless installation.
@acejavelin I did checked there's only SYSTEMLESS=true before install. Very weird.
@pshadoww I know it works... I literally did it this morning to test the lastest 2.78-SR1. It will bootloop twice, then boot after a very long wait that seems scarily long.
@Spasticdroid Greate resources. I tried the systemless root installer you mentioned and it works.
That might be it, I guess I waited for too long and think it's not working. Anyways I used the forced systemless root installer and it works now. Thank you!

Enabling tethering on Verizon WITHOUT root

So there is a great guide on how to do it with Magisk and root: https://forum.xda-developers.com/pixel-2/how-to/how-to-disable-carrier-tether-check-t3701836
It worked great.
Today I uninstalled Magisk so I could sideload latest security update.
When I booted with TWRP I decided to play around with it and ended up editing /system/build.prop to add net.tethering.noprovisioning=true to the end. You can do it since with TWRP you can mount /system and change permissions.
I also verified that global tether_dun_required is 0 by doing
settings get global tether_dun_required in adb shell
With all of that tethering still didn't work. It would say I had to contact provider.
After verifying everything multiple times I gave up installed Magisk re-edited /system/build.prop and tethering works again.
Any theories why it wouldn't work without root even if you can edit everything?
off topic...how do you install latest security update after unlocked bootloader?
poena said:
off topic...how do you install latest security update after unlocked bootloader?
Click to expand...
Click to collapse
I uninstalled Magisk from the app. Downloaded latest binary from https://developers.google.com/android/ota, then followed instructions to side load it.
As I mentioned I had pretty much stock build, other then root with Magisk, and default recovery.

Categories

Resources