SuperSU first time boot time? SOLVED - X Style (Pure) Q&A, Help & Troubleshooting

I've just flashed SuperSU and I'm stuck on the Motorola logo - powered by android?
How long should this take? I'm guessing not long?
FYI - only SuperSU 2.62 appears to work....

rowlers said:
I've just flashed SuperSU and I'm stuck on the Motorola logo - powered by android?
How long should this take? I'm guessing not long?
FYI - only SuperSU 2.62 appears to work....
Click to expand...
Click to collapse
2.67 works, but you have to tell it to install systemless.
You need a file at /data/.supersu that says SYSTEMLESS=true.
I used adb shell in twrp to add it, but the built in terminal in twrp would work too. Just enter
Code:
echo "SYSTEMLESS=true" >> /data/.supersu
Flash after that and it will install systemless and you won't bootloop.

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

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

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!

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

Categories

Resources