yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] pepez05:
So, to root a Moto X Style first we have to unloock bootloader and then flash a recovery and finaly instal root via TWRP ? I'm alright ?
[X Style (Pure) Android Development] mrvanx:
I believe you also need to flash SuperSU once you are in TWRP?

I will be hopefully going down this route so I can use stock firmware image with root and make a full backup in TWRP. Only received it today so just playing with it stock for a week or two.
[X Style (Pure) Android Development] PiousInquisitor:
Don't get too comfortable. Unlocking the bootloader wipes the phone. Any tweaking and app data will be gone.
[X Style (Pure) Android Development] kench33:
What happens once the OTA comes out for Marshmallow and you are unlocked and rooted?
[X Style (Pure) Android Development] stompysan:
EDIT: Wrong thread, sorry!
[X Style (Pure) Android Development] kent1146:
You restore your phone back to stock (un-root and restore stock recovery), upgrade to Marshmallow, and then re-root and re-apply custom recovery.

Or, wait for someone to release a Marshmallow-based ROM, and just apply that.
[X Style (Pure) Android Development] max1001:
The tool say bootloader unblock successfully but it did not. Any idea why?

NM, found the answer. Enable OEM unlock in Developer option in the OS before using the tool.
[X Style (Pure) Android Development] kent1146:
Glad you found the answer. There are a lot of little tricks like this ('OEM Unlock' setting in Developer menu) that are stated in the original post. But it would be nice if the application did some kind of check, or provided those notes, when you're running the utility.

On the bright side, we're workign with an unlocked device. Which means that it's pretty easy to run commands manually (Bootloader unlock and pushing TWRP recovery), if any one part of the utility fails for some reason.
[X Style (Pure) Android Development] Sporttster:
Ok, it shows the unlocked bl screen at startup so I'm assuming that part went correctly. Got to the TWRP step and it burps. Phone isn't even recognized no matter what I do. This was after it crashed trying to to TWRP. The USB is good, unl bl is checked in dev ops. USB debug set. I even redid the Moto USB drivers. Phone shows up on pc, not on this program no matter what I've done-reboot phone a few times, reboot pc as well. Nothing. So now I've got to figure out how to get TWRP on this thing and root it somehow myself. Uggh.....
[X Style (Pure) Android Development] kent1146:
Install TWRP manually. Instructions here:

https://twrp.me/devices/motorolamotox2015pure.html

1) Download the TWRP image (listed in the website above. It is a .IMG file)

2) Download the Android toolkit (specifically you need ADB.EXE and FASTBOOT.EXE)

3) Put your phone in bootloader (fastboot) mode, by holding the Down Volume + Power button to turn the phone on.

4) Push the TWRP image onto your phone as a recovery (instructions at bottom of website).

If you successfully do all of this, and get an image of an Android-in-distress when you reboot, then just hold the power down for 2 seconds, and it should clear that image.
[X Style (Pure) Android Development] kench33:
Nevermind
[X Style (Pure) Android Development] Sporttster:
Ok, I was able to get TWRP on my phone. Did a root check and it says it's not rooted??? So I dl supersu and it also says it's not rooted. WTH?? I have to have supersu on the phone to be rooted but I cannot get it on the phone unless it's rooted. In one place it says 'flash or install supersu using TWRP locating it where you downloaded it.' Huh? DL it? It was on the playstore! it's not a dl, it's a app?? I'm reeallly confused here....how the heck do I get this thing rooted? Usually you install recovery AFTER you root, you don't root WITH recovery so I'm really lost here. Help! Reeeally wish that tool here would have worked. This is nerve racking. Don't wanna f up my new phone! It is showing unlocked BL both in recovery mode and when it boots, so at least that seems right but no root. When I click on SuperSu it says 'there is no SU binary installed, and SuperSu cannot install it. This is a problem!' I didn't screw something up did I??? On my Note 3 I installed a new ROM on that locked BL without a single hiccup than I'm having with this!

I finally got it figured out. I needed to DL the supersu zip file and then I was able to flash it using TWRP and now it's showing rooted and everything is good. DL'd busybox as well. Rootcheck shows good to go. Next step is definately going to be removing that ridiculous bootloader unlocked boot screen abboration. Good grief, did they seriously need to make it so glaringly obvious every time you boot up?
[X Style (Pure) Android Development] dbuning:
Manual Rooting Instructions

http://www.gammerson.com/2015/09/how-to-unlock-bootloader-of-moto-x-style-pure.html

http://www.droidviews.com/how-to-install-twrp-and-root-moto-x-pure-2015-xt1575/

dbuning
[X Style (Pure) Android Development] bamaredwingsfan:
Doing this slipped my mind until after I had installed all my old apps when I moved to the X. Is there a way I can backup my apps and data without root?
[X Style (Pure) Android Development] Mickwa76:
Thanks a lot for this program. My X Style is only coming end of November. Looking forward to us use it though.
[X Style (Pure) Android Development] eyecon82:
Worked great for me. Windows 10

1. before you do this, go into about device, build and tap a bunch of times to enable developer mode

2. then allow OEM unlocking in the options

3. then go here and install the motorola drivers https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481

4. disable USB debugging and plug phone in and let drivers install

5. then enable USB debugging and go through the steps in the program

On the last step, while it is in the fastboot screen, use the volume keys to manually boot into recovery and then it will go into TWRP. Then install the superSU

---------- Post added at 03:10 AM ---------- Previous post was at 02:36 AM ----------

it didn't wipe my phone at all
[X Style (Pure) Android Development] PiousInquisitor:
Interesting. Especially considering the first bullet point on Motorola's site says you will lose all installed applications, media, etc.

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a

Ive unlocked the bootloader on about all of my Motorola phones (Razr HD, Razr M, Moto X 2013, Moto X 2015) and all have been wiped after the process. If I remember right my Nexus devices were wiped after unlocking the bootloader too.

You must be living right or full of crap.
[X Style (Pure) Android Development] eyecon82:
First of all, the website says it "may" or "could" wipe your phone.

2nd of all, why would I say that if it wasn't for true

3rd of all, please readjust your attitude
[X Style (Pure) Android Development] Carpediem06:
quit being a TOOL
[X Style (Pure) Android Development] PiousInquisitor:
So many overly sensitive people in here. I guess that is what one would expect in a tool thread. Good day.
[X Style (Pure) Android Development] ReBORN ViRUS:
Hello,

Sorry if this has already been asked before - does this toolkit support XT1572 - Dual Sim variant? (This is what we get in India, Brazil and couple other countries I believe).

TIA!
[X Style (Pure) Android Development] namartlu:
can this be used to do fastboot flash? Need to flash the boot screen to replace the bootloader warning screen... thanks!
[X Style (Pure) Android Development] MarkGiardini:
Nice job!

I found once you flash TWRP, if you manually boot to recovery using volume + / - and power, that boots you in to TWRP, as opposed to using the GUI.
[X Style (Pure) Android Development] Csetoue:
Noob question: if I root my device (im planning to use some apps that require root, like the one that makes possible to use PS3 joystick on the smartphone), will I stop receiving OTA updates?
[X Style (Pure) Android Development] Mickwa76:
Definitely a Noob question and the answer is yes.
[X Style (Pure) Android Development] kent1146:
Yes, you will stop receiving OTA updates.

Technically, it isn't the root itself that blocks the OTA updates... But the changes to your phone that you make as a prerequisite to get root (new recovery, modifications to /system) are what blocks OTA updates.

If you rooted your phone, and want an update, you'll either need to revert your phone back to stock configuration, or wait for someone to release a package that you can flash onto your phone.

Personally, I'd recommend you wait for flashable packages. If for no other reason, it ensures that you still have root access even after you update. Its a pain in the rear to update, and find out that nobody has figured out a way to root yet.
[X Style (Pure) Android Development] julien:
Hi can i use it for the chinese version of the moto x style xt1570 ?

Thx
[X Style (Pure) Android Development] ulakala:
I heard that Motorola is releasing the update in marshmallows. the root is already out? as it will be done upgrading keeping root?
[X Style (Pure) Android Development] Mickwa76:
Marshmallow is being rolled out yes. If you are rooted you won't get the update. You'll have to manually.
[X Style (Pure) Android Development] ulakala:
the root remains? where can I find the new firmware?
[X Style (Pure) Android Development] Mickwa76:
Root won't remain if you flash stock firmware. If you want to keep root then you should wait and flash a pre-rooted custom rom from one of our great devs here at XDA. Try googling to find where you can download stock rom from.
[X Style (Pure) Android Development] ulakala:
ok thank u
[X Style (Pure) Android Development] Mareyelow:
Works flawlessly on my new Moto X Pure! Thank you for making those steps easy!
[X Style (Pure) Android Development] Robert_DJ:
Not The End all Lots Of variations, and little help in way of directions. But all in all still a good tool. It is confusing at times . but with knowledge of of the presses it will get u there. A lot of manual process had to be done. If this was a tool it should read state and direct process more. It took me about two hours to get root on unlocked Moto x Pure. Could not use app from beginning to end.

Thanks for Your effort and work.
[X Style (Pure) Android Development] croakthedj:
been trying to use this with the moto x pure addition 2015 and it gives me a co command error and does not allow me to boot into recovery
[X Style (Pure) Android Development] kent1146:
You probably don't have USB Debugging mode turned on.
[X Style (Pure) Android Development] Mickwa76:
Had prepared everything to root my X Style manually and slow. Then decided to use this tool. Worked like a charm. Flawlessly. The last step rooting I did manually flashing SuperSU using TWRP. Thank you very much dev.
[X Style (Pure) Android Development] Jay794:
Is this compatible with 6.0 yet?
[X Style (Pure) Android Development] hawkeyejoe:
Damn that was too easy. I don't ever recall unlocking and rooting a device any easier than that. Donation coming your way. Thank you!
[X Style (Pure) Android Development] Mickwa76:
I second that.
[X Style (Pure) Android Development] LanceM:
Based on the date of the last file he has, sept... I would think it would not be...
[X Style (Pure) Android Development] ret4425:
Anyone try it with 6.0 yet?
[X Style (Pure) Android Development] misfit0313:
It works.
[X Style (Pure) Android Development] ret4425:
Doesn't work on 6.0 for me, still locked tight
[X Style (Pure) Android Development] bbb77:
I can't root with SuperSU on MM....

Inviato dal mio XT1572 utilizzando Tapatalk
[X Style (Pure) Android Development] kent1146:
At this point, you guys that are trying to root Android 6.0 marshmallow are probably better off just flashing a rooted stock 6.0 rom.

That's what I did. Run titaniumbackup to preserve all user apps, flash to a rootrd stock 6.0 rom, and then restore all user apps through titaniumbackup. Worked like a charm.
[X Style (Pure) Android Development] sguy156:
I keep on getting no command on the screen when I try to boot the phone into recovery . All the steps work without error message ..How do I fix this error to flash twrp and SU..
[X Style (Pure) Android Development] kent1146:
Try booting the phone into regular System mode. And then reset the phone into Fastboot mode, and flash TWRP.

The initial System boot of the phone does things like create some storage partitions that are probably causing you to run into problems.
[X Style (Pure) Android Development] sguy156:
When the phone goes into fastboot it displays fastboot flash mode (it says secure ) may be thats what causing the problems . And when I run the adb command it doesn't find the phone but on phone screen it shows that phone is connected..
[X Style (Pure) Android Development] OldBaldy:
ADB does not work in fastboot mode . Try fastboot devices instead.
[X Style (Pure) Android Development] sguy156:
Here are the commands I have tried using fastboot. Recovery flashes but it doesn't boot into recovery .. . Here is the result of the commands

C:\adb>adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

TA39400Q8A device

C:\adb>fastboot devices

TA39400Q8A fastboot

C:\adb>fasboot flash recovery twrp-2.8.7.0-clark.img

'fasboot' is not recognized as an internal or external command,

operable program or batch file.

C:\adb>fastboot flash recovery twrp-2.8.7.0-clark.img

target reported max download size of 536870912 bytes

sending 'recovery' (34102 KB)...

OKAY [ 0.924s]

writing 'recovery'...

OKAY [ 0.757s]

finished. total time: 1.682s

C:\adb>fastboot boot twrp-2.8.7.0-clark.img

downloading 'boot.img'...

OKAY [ 0.839s]

booting...

OKAY [ 0.425s]

finished. total time: 1.266s

Not sure whats going on here ..
[X Style (Pure) Android Development] tony1208:
darn still no luck on 6.0....
[X Style (Pure) Android Development] MrMeeseeks:
You need to be using TWRP v2.8.7.1. The version you're trying to boot into won't work with the mm bootloader.
[X Style (Pure) Android Development] sguy156:
Did anyone tried flashing 7.1 on 6.0 and it worked may be that's the issue . Let me try that
[X Style (Pure) Android Development] tony1208:
Ahh I see o didn't realize I had to do each step...I don't want to unlock my loader because it would wipe my cell stock . Darn...

Sent from my Moto X Pure
[X Style (Pure) Android Development] sguy156:
Did try the latest TWRP version , see below

C:\adb>fastboot flash recovery twrp-2.8.7.1-clark.img

target reported max download size of 536870912 bytes

sending 'recovery' (35332 KB)...

OKAY [ 0.993s]

writing 'recovery'...

OKAY [ 0.779s]

finished. total time: 1.774s

C:\adb>fastboot reboot

rebooting...

I get green droid on the screen when it boots into recovery and pressing power gives me stock recovery. Looks it's having issue writing twrp to it.

Also when phone is in fastboot it says AP Fastboot Flash Mode (secure) does that could cause issues flashing TWRP ??
[X Style (Pure) Android Development] OldBaldy:
After flashing TWRP, do NOT let it boot into system or stock recovery will overwrite TWRP. Instead, while still in bootloader, reboot directly into recovery and you will have TWRP.
[X Style (Pure) Android Development] sguy156:
Yes , i did that went into TWRP and now when I flash SU zip in twrp . Phone keeps on getting stuck on the boot screen after I reboot installing SU..

Does su 2.46 has issues causing the phone to not boot ??
[X Style (Pure) Android Development] sguy156:
Resolved the issue , had to flash different version of SU to make the phone to boot.
[X Style (Pure) Android Development] PDSPL:
Does this tool also work with the European Moto X Style XT1572, MM build MPH24.49-18 ?
[X Style (Pure) Android Development] monkespit:
Which version of Super SU did you have to flash?
[X Style (Pure) Android Development] dtiger1138:
I've finally been able to work on getting my phone rooted, but have run into some snags. [MENTION=3305649]OldBaldy[/MENTION], you've been assisting me through [MENTION=4245858]Ohmster[/MENTION]. The assistance you've given him, has helped with my progress also. Thanks to you both. I was using the Windroid tool to unlock, and put TWRP on the phone. Then I was going to try the Systemless method for root. I've gotten the bootloader unlocked, then flashed TWRP. I said no to having it reboot the phone, but then inadvertently turned it off. When I tried to get it into recovery after that, it actually just restarted. When I was finally able to get to recovery, it was the stock one. Since that I've reflashed TWRP, and told it to go to recovery from that screen. When it does, I get the little android with a red triangle, and "no command". I have not been able to get any recovery after that 1st time. Any suggestions? Any other way to get TWRP onto the phone?

Thank you
[X Style (Pure) Android Development] Ohmster:
Dude, I sent you a personal message about this particular issue, explicitly posted by baldy 4 messages above this one.

What do do now, I am not sure. You might have to restore the original rom back to the phone. [MENTION=3305649]OldBaldy[/MENTION] has it on Mega with some shortcut batch files to run. You might need this file. Sounds like you have no recovery available. The stock one or TWRP might be there but the command to call them up is not pointing to the right partition or file, or what you need is gone. In the meantime, try running Windroid again, the NEW version I sent you in a PM. Get latest version of Windroid here. Run WinDroid Universal Android Toolkit v2.6.exe and if you already unlocked your bootloader, install TWRP again and see if it is successful. If you have not unlocked your bootloader, you MUST do that first with the code from Motorola. Windroid will show you where to get the code.

The only thing to ignore in Windroid that I know is after rooting, it will warn that you are not rooted and offer to root it for you. Say NO.When you get to this part again, in TWRP Reboot, Baldy is saying to choose "Bootloader" and not system. Once back in Bootloader, choose Recovery to cement TWRP in place and then you can boot to system, if I understand him clearly. I had no issues with this. Windroid has just been updated. Use the new one and do it again. Baldy will see his name mentioned and come to help if need be. :good:
[X Style (Pure) Android Development] OldBaldy:
All I have to add is to make sure you are flashing the latest TWRP (2.8.7.1). The older version will not work with the modified bootloader that supersu creates when installed.
[X Style (Pure) Android Development] dtiger1138:
Yes, I was aware and had read the post, maybe not enought times since I goofed up the rebooting part and just turned it off. Then when it came back on, I didn't have the proper keys held. Windroid is the newest one. Had to download it since I killed my desktop by messing up that usb port.

I went here TWRP page to get the latest TWRP. And then tried following the manual method of flashing the recovery. It didn't work for me. I then went back to Windroid and followed these steps (listed for future reference):

1) Copy the TWRP recovery img file into the data/recovery folder for Windroid.

2) rename the file Recovery1.img (this was the name of the file aready there. I renamed the existing one 1st, so it would still be there to fall back on)

3) Run Windroid and Flash TWRP.

4) When Windroid asks to reboot, say NO.

5) Use the Bootloader on the phone and select Recovery.

This is how I got into TWRP. I believe I should be good now. Time to make a clean back up, and then finish the root. I know I've mentioned using the systemless method to root before. But if Windroid has been successfull with others on MM, which it seems to have, I'll just use that.

[MENTION=4245858]Ohmster[/MENTION] and [MENTION=3305649]OldBaldy[/MENTION] Thank you for your help. I hope this can help someone if they run into this issue also. Time to make a back up.
[X Style (Pure) Android Development] Ohmster:
You did good, [MENTION=6309629]dtiger1138[/MENTION]. Windroid is an awesome tool, one of the best I have seen in a LONG time. Now there is a new version. I am surprised you did not just keep going after making your backup and root your phone with Windroid. You have the right Windroid for your phone, it is brand new, and Marshmallow is the current OS on the phone. Windroid root should work. Root is root. Once done, you have it.

To get in bootloader, hold Power and Vol Down if off, or even if on. When screen flickers on, let go of power, hold vol down until screen lights. There are Xposed modules that will give you a Reboot to Recovery option later on.

Don't feel bad, I had this phone a month and a half and made more mistakes, serious ones, on this than in like, the entire past year! I did everything back to back in Windroid in one sitting. Only mistake there was not stopping to make backups. Windroid is the easiest way to root you got. If you do it right, TWRP might warn you are not rooted and ask if you want it done. Say NO and boot to system. Install SuperSU from playstore and you are good to go.

Hey, I still have TWRP 2.8.7.0. [MENTION=3305649]OldBaldy[/MENTION], where did you get new TWRP version and how did you install it? This will not wreck my backups, will it?

HEY! Tapping SuperSU now just gives me a black screen, I cannot see the app anymore. What is going on Baldy?

EDIT:

I actually went to the TWRP page for our model phones and updated TWRP, 3 times! twice with USB and platform tools, no errors, and once by flashing the img file in TWRP. No errors. But TWRP still says TWRP 2.8.7.0. OldBaldy thinks there is a bug that shows the incorrect version on TWRP. I know I did it right. Something happened as SuperSU Pro v 2.46 would only show a black screen, nothing else. Yet the phone is still rooted. Titanium Backup always checks root and root is fine. Going to Settings/Apps/SuperSU and I cleared cache, then force stopped the process. Now tapping SuperSU Pro shows the interface and all is fine. ;)
[X Style (Pure) Android Development] dtiger1138:
[MENTION=4245858]Ohmster[/MENTION], Here's the Link I got TWRP from for our phone. Both the version you have and the one I have are there.

I did later run the root through Windroid, but I ran into a problem that some others are having. I reboot, and get stuck on the 1st moto logo of the boot animation. It just freezes there. I tried flashing the SuperSU 2.56 that was with the Systemless root files, but that had the same result. I ended up restoring the backup I made after I installed TWRP, making that back up is the best thing you can do (credit to [MENTION=4245858]Ohmster[/MENTION]), so I at least have use of the phone. I'm going to try later the last stable version, SuperSU 2.46 and see if I have any better luck, or should I track down SuperSU 2.66? Anyway, right now I need a working phone. Why I'm waiting till tonight.
[X Style (Pure) Android Development] Ohmster:
[MENTION=3305649]OldBaldy[/MENTION] How did you get your TWRP to v 2.8.7.1? I used the instructions and file at TWRP for Motorola Moto X 2015 Pure.

I did the manual method first, Fastboot Install Method (No Root Required), TWICE, and TWRP still says v 2.8.7.0. Catching the phone after typing in fastboot reboot with Power and Vol Down is impossible, it boots anyway. I did it again and this time while in recovery, did not type in fastboot reboot, instead I just used the buttons in fastboot to select Recovery and was right back in TWRP v 2.8.7.0.

Then I tried flashing the image per the page instructions in TWRP. by using Install and the Img button. Flashed went fine, rebooted, back to TWRP to find the version has not changed. Everything I did in manual mode with fastboot were successful, no errors on screen.

I am not having any issues with TWRP or anything else so I have no rush to do this, but if there is a higher, better version of TWRP, I would like to install it. I even installed and paid for the TWRP manager and even that failed to install the new version.

Is TWRP v 2.8.7.1 necessary and how did you install it? :confused:

Thanks man.
[X Style (Pure) Android Development] OldBaldy:
V2.8.7.1 has a typo, still shows as 2.8.7.0, but if it works with the mm 6.0 bootloader, you have the latest version.