Rooting Stock XT1575 Marshmallow 6.0 - X Style (Pure) Q&A, Help & Troubleshooting

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

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"

Moto X Pure won't boot after root

It seems like any knowledge I've had has atrophied. I purchased a Moto X Pure and had it activated by USC. I was able to get the unlock code through motorola and was able to unlock the phone.
One issue I did have was at times when I would type 'adb devices' it would just show 'list of devices' and nothing else. I was able to reboot the server and unplug/replug my phone to get it work. I went through the root process with twrp 3.0.2.0 clark.img and for some reason it was not reason seen as valid file, I ended up renaming it 'recovery.img' and then I was able to work with it. I also flashed XT1575-logo-new-9-14-15.zip from https://www.youtube.com/watch?v=iPspDlbRf88 as I was hoping to get rid of the Unlocked Bootloader screen. At this point, everything seemed fine
I was then able to flash SuperSU 2.46 and it basically seemed fine. (The adb 'list of devices' did present again, but when my phone was booted and I typed 'adb devices' it would find my phone, when I would go into bootloader I would then lose it but I was able to flash SuperSU). As I went to boot my phone after I would get the motorola logo, stay there for a few minutes and then go to a blank screen.
I am able to get to bootloader but am not sure how to proceed at this point. I may need some elementary directions as my stress level and my archaic knowledge seems to inhibiting me.
I would try flashing the stock boot.img, then see if it boots. Then flash SuperSU 2.62-3.
On this page I found (http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833) would suggest the 5.1.1 FIRMWARE or the STOCK Unrooted twrp backup? Sorry if my questions are basic but I ended up spending a lot of time just getting through each thing and my confidence is running a touch low.
I was able to install the stock firmware and am in the process of updating. Thank you for your thoughts. So from here if I pursue root again, it would be flashing twrp 3.0.0.2 again, along with SuperSU 2.62.3, correct?
Yes. Flash twrp. Reboot to recovery. Flash 2.62-3 SuperSU. Then reboot to system. It will boot to the bootloader unlocked screen. Then reboot automatically. Then it should boot like normal. Good luck.
ok, I tried again using twrp 3.0.2 and all was going fine. I did a nandroid back up and then flashed SuperSU-v2.65-20151226141. As it went to reboot, it went through the bootloader unlock screen and then got stuck again at the moto logo. Right now, I am flash the backup. Not sure what went wrong?
You clearly used the wrong su.
The most recent one that is not beta, thoughts on which is the right one?
Sent from my XT1575 using Tapatalk
Post #5
i rooted my device with the lastest supersu beta this week.
*Boot in to twrp, go to "advanced " then select "Terminal" type this in the terminal: echo "SYSTEMLESS=true" > /data/.supersu
* Press enter to confirm
*Go back to the install option in twrp.
*Flash the supersu.zip. and now the latest supersu will be forced to install supersu systemless.
*reboot your phone and in will normal boot with root access.
running stock 6.0.1
lafester, it looks like you were right. the SuperSu 2.62.-3 appears to have been the ticket. I verified with root checker and it worked. Thanks for your input.
clonesr1 said:
lafester, it looks like you were right. the SuperSu 2.62.-3 appears to have been the ticket. I verified with root checker and it worked. Thanks for your input.
Click to expand...
Click to collapse
This solved my issue also. I used BETA-SuperSU-v2.62-3-20151211162651.zip on 6.0 Moto X Pure
Life Saver
This fixed it for me, MANY THANKS!!!!! :good::good::good::good:
arnoslag said:
i rooted my device with the lastest supersu beta this week.
*Boot in to twrp, go to "advanced " then select "Terminal" type this in the terminal: echo "SYSTEMLESS=true" > /data/.supersu
* Press enter to confirm
*Go back to the install option in twrp.
*Flash the supersu.zip. and now the latest supersu will be forced to install supersu systemless.
*reboot your phone and in will normal boot with root access.
running stock 6.0.1
Click to expand...
Click to collapse

moto x pure stuck on motorola logo after installing superSU?

so i recently got the pixel, had the moto x for about a year and decided to see what was going on with the rooting scene with this device. turns out that someone came along and created a simple solution to rooting and installing twrp for this device. I was happy. TWRP works just fine. But upon flashing SuperSU and rebooting from that i'm now stuck on the M logo permanently it seems. Yes i can reboot back into recovery and fastboot mode. But i can't seem to get past the M logo and all i've done was flash TWRP and SuperSU any idea about what's going on?
You need to flash as systemless root. Recent versions of SuperSU installs it as system root by default on this phone for some reason.
The SuperSU zip from my thread does it: https://forum.xda-developers.com/mo...t/rom-marshmallow-6-0-september-2016-t3536120
Spasticdroid said:
You need to flash as systemless root. Recent versions of SuperSU installs it as system root by default on this phone for some reason.
The SuperSU zip from my thread does it: https://forum.xda-developers.com/mo...t/rom-marshmallow-6-0-september-2016-t3536120
Click to expand...
Click to collapse
awesome thanks!!!! <3 now i just need to find a rom to play around with :3
silvernirvash said:
awesome thanks!!!! <3 now i just need to find a rom to play around with :3
Click to expand...
Click to collapse
No offense, but why are you bothering to root if you are just going to flash a ROM?
Also, there is nothing wrong with the latest version of SuperSU, you just need to do a manual systemless flash by creating the file /data/.supersu with the contents "SYSTEMLESS=true" and it will work perfectly.
acejavelin said:
Also, there is nothing wrong with the latest version of SuperSU, you just need to do a manual systemless flash by creating the file /data/.supersu with the contents "SYSTEMLESS=true" and it will work perfectly.
Click to expand...
Click to collapse
That's exactly what my zip does. I've only put it together to make the process much simpler, and I love automating stuff when it's possible.
SuperSU inside is unmodified. Updater-script copies a file named "systemless" from the zip which has "SYSTEMLESS=true" in it to /data, renames it to ".supersu", then proceeds flashing SuperSU.
Hello all,
I need some help!I have a Moto X Pure Edition XT 1575 I just unlocked bootloader and then intalled TWRP 3.1.1 and then installed SuperSU 2.79 and now no Sim is detected. What did I do wrong?
Thanks!
Unroot & clean with supersu app. It should restore boot image.
/You can also restore boot, system, wipe data in twrp/
Reboot & check.
If ok try rooting with supersu 2.82 or magisk 14. @kaleend101

Rooting Moto G4 Plus

I just got my Moto G4 Plus and want to root it. Does somebody have a good guide for rooting it?
I found this guide on youtube, can I just follow this?: https://www.youtube.com/watch?v=g3bhXe3msxU&t=3s
What stock OS are you running on your device, Marshmallow or Nougat?
echo92 said:
What stock OS are you running on your device, Marshmallow or Nougat?
Click to expand...
Click to collapse
I just updated to Android 6.0.1 Marshmallow
If you're on Marshmallow (6.0.1), then the guide you linked should work, you may wish to keep the stock kernel (and not flash ElementalX). Also, instead of phh superuser, you could choose to flash SuperSU or magisk.
Here's a guide for rooting on Marshmallow 6.0.1 as well https://forum.xda-developers.com/moto-g4-plus/how-to/root-systemless-rooting-supersu-2-74-2-t3405772 You may wish to use a newer build of SuperSU than mentioned in the guide - the latest build currently is 2.82 SR1.
echo92 said:
If you're on Marshmallow (6.0.1), then the guide you linked should work, you may wish to keep the stock kernel (and not flash ElementalX). Also, instead of phh superuser, you could choose to flash SuperSU or magisk.
Here's a guide for rooting on Marshmallow 6.0.1 as well https://forum.xda-developers.com/moto-g4-plus/how-to/root-systemless-rooting-supersu-2-74-2-t3405772 You may wish to use a newer build of SuperSU than mentioned in the guide - the latest build currently is 2.82 SR1.
Click to expand...
Click to collapse
I found a video that showed how to unlock bootloader, and uses SuperSU when rooting. Can I use this guide insted, or is it to old you think?: https://www.youtube.com/watch?v=dK2uacpjGwc&t=119s
Thank you so much for all the help btw
skismas said:
I found a video that showed how to unlock bootloader, and uses SuperSU when rooting. Can I use this guide insted, or is it to old you think?: https://www.youtube.com/watch?v=dK2uacpjGwc&t=119s
Thank you so much for all the help btw
Click to expand...
Click to collapse
Looking through that video, I think it should work for 6.0.1 - as an aside for anyone reading this, the root procedure for Nougat is different. Though the resources linked in the video may work (I have not tested them), you may, as I mentioned above, wish to flash newer versions of TWRP and SuperSU than that linked in the video:
TWRP - (official): https://dl.twrp.me/athene/
I personally use shreps' TWRP: https://forum.xda-developers.com/mo...covery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337
SuperSU v2.82: https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703 Ideally, you'll want to use v2.79 SR3 or newer as they're systemless root.
EDIT: this guide linked to in the video has a nice description of some of the steps you'll need: https://forum.xda-developers.com/moto-g4-plus/how-to/guide-newbie-resource-thread-t3386584
One thing I'd add to those guides is before you flash SuperSU, make a backup of all of the partitions in TWRP (on the TWRP main menu, you'll see 'Backup'). If SuperSU fails to root or causes instabilty, you'll have a backup to fall back to.
Additionally, when flashing TWRP, you'll see the 'Image not signed or corrupted' warning, that's normal. As long as [OKAY] comes up in fastboot after flashing and you reboot to recovery afterwards (so TWRP is set as your recovery), then TWRP should stick.
You may also receive OTA messages - do not accept these whilst rooted and with TWRP. if you wish to turn them off, have a look here: https://forum.xda-developers.com/showpost.php?p=72373828&postcount=12
Don't FLASH TWRP, just BOOT it up, do whatever you need to do and... keep your stock bootloader. The TWRP is useful mostly for CM/Lineage ROM's, for stock it's just a headache waiting to happen.
echo92 said:
Looking through that video, I think it should work for 6.0.1 - as an aside for anyone reading this, the root procedure for Nougat is different. Though the resources linked in the video may work (I have not tested them), you may, as I mentioned above, wish to flash newer versions of TWRP and SuperSU than that linked in the video:
TWRP - (official): https://dl.twrp.me/athene/
I personally use shreps' TWRP: https://forum.xda-developers.com/mo...covery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337
SuperSU v2.82: https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703 Ideally, you'll want to use v2.79 SR3 or newer as they're systemless root.
EDIT: this guide linked to in the video has a nice description of some of the steps you'll need: https://forum.xda-developers.com/moto-g4-plus/how-to/guide-newbie-resource-thread-t3386584
One thing I'd add to those guides is before you flash SuperSU, make a backup of all of the partitions in TWRP (on the TWRP main menu, you'll see 'Backup'). If SuperSU fails to root or causes instabilty, you'll have a backup to fall back to.
Additionally, when flashing TWRP, you'll see the 'Image not signed or corrupted' warning, that's normal. As long as [OKAY] comes up in fastboot after flashing and you reboot to recovery afterwards (so TWRP is set as your recovery), then TWRP should stick.
You may also receive OTA messages - do not accept these whilst rooted and with TWRP. if you wish to turn them off, have a look here: https://forum.xda-developers.com/showpost.php?p=72373828&postcount=12
Click to expand...
Click to collapse
I managed to root my phone without bricking it! I think......
SuperSU was not on the phone when I rebooted the phone like in the video. I had to download it through play store. But since it says its rooted on root checker, and I could grant it permission, im pretty sure I done it right.
Thanks for the help I really appreciate it

[Question] Can i get twrp and root on official nougat

just got nougat in the UK, and i was wondering if i can get twrp and root on it. The answer is probably yes but i just want to make sure, thanks
yes, i did it today
fliperpl said:
yes, i did it today
Click to expand...
Click to collapse
Thanks, good to know. Might wait on it, as if i do this and theres a new update im screwed
What about Systemless Root?
CLETjB said:
What about Systemless Root?
Click to expand...
Click to collapse
magisk works without problems
Instead of flashing TWRP as the permanent recovery, just boot to it by putting your phone into Bootloader mode and use the command Fastboot boot twrp.img (replace twrp.img with the filename of your twrp). Then you can install either SuperSU or Magisk as you desire. If using SuperSU, I would recommend using the SuperSUConfig to ensure that it is installed in Systemless > SBIN so that you can then install SUHide in order that you can get the likes of Snapchat working. Magisk of course has this all ready built in so you don't have to mess about flashing extras.
All being well, your device *should* then be able to accept any further OTA's, although I wouldn't hold my breath for any further ones being released.
You might also want to look at Flashfire by the same chap who gave us SuperSU.
lmulli said:
Instead of flashing TWRP as the permanent recovery, just boot to it by putting your phone into Bootloader mode and use the command Fastboot boot twrp.img (replace twrp.img with the filename of your twrp). Then you can install either SuperSU or Magisk as you desire. If using SuperSU, I would recommend using the SuperSUConfig to ensure that it is installed in Systemless > SBIN so that you can then install SUHide in order that you can get the likes of Snapchat working. Magisk of course has this all ready built in so you don't have to mess about flashing extras.
All being well, your device *should* then be able to accept any further OTA's, although I wouldn't hold my breath for any further ones being released.
You might also want to look at Flashfire by the same chap who gave us SuperSU.
Click to expand...
Click to collapse
Thanks a lot! The only problem was that suhide doesn't seem to want to flash. However my root works and so does my snapchat
Edit: Logging out of snapchat wont let me log back in? So is there any way to hide the root?
Edit 2: Nvm. You have to flash SuperSu-SR4 instead of the normal 2.82 one. I was now able to flash suhide and get everything working

Categories

Resources