yashsingh1/xdaforums huggingface dataset:
[X Play General] akkiwordoflove:
Wiped OS

Before I get your last post,

I was trying to wipe cache and i wiped my stock ROM too :confused:

Good thing is that my device still have TWRP - So... I have to flash new ROM Stock or Custom - Is it correct?
[X Play General] minimale_ldz:
Yes
[X Play General] akkiwordoflove:
Unable to Flash Stock ROM

Tried to install Stock ROM whole day.. through PC and SD card

ROM used was "XT1562_LUX_RETASIA_DS_6.0.1_MPD24.107-52_cid7_subsidy-DEFAULT_CFC.xml.zip"

A) Using SD card

Copied Stock ROM to SD card from PC then mounted SD card in my device,

Tried to install using TWRP - but message was Failed

B) Using PC

following command giving error

fastboot flash partition gpt.bin
[X Play General] minimale_ldz:
If you've still got TWRP you can flash stock rom, eg. This one:

https://www.androidfilehost.com/?w=files&flid=48921

No need to flash entire firmware. You're getting this error, probably because you're trying older version than the one you've already got. Just flash the linked stock rom or any other custom Nougat rom available in this forum and you'll be good to go.
[X Play General] akkiwordoflove:
Thanks Man, I've flashed unsu and then CM 14.1 (both through SD card) - working gr8

however gapps(pico) installation failed.

But I'll flash new CM 14.1 with VoLTE and will find another gapps package.

You've supported me a lot.
[X Play General] jaibar:
Which is the latest SuperSu that works fine? Is it simply the latest version from chainfire, or there is a specific version?

Also, is it better rooting with Magisk? Anyone has tried?
[X Play General] tag68:
SuperSU any version 2.79SR3 or newer should do. Magisk is just working fine (don't know if I used V11 or V12, may have a look later). If you want to pass SafetyNet, it currently is the only option I guess (V12 and Core Mode will do).
[X Play General] :
now im stuck on bootloader unlocked screen after flash SU ...omfg,

UPDATE: i just delete su thx to post #282 , i flash su SR3-SuperSU-v2.79-SR3 and now im rooted... but why oohh why this is not in first page??? seriously, udpate pls freaking OP
[X Play General] tag68:
Tried to improve the OP long time ago. Did not work.
[X Play General] sam0299:
Device won't boot.

Hi, I did everything like you said, but after flashing the SuperSu zip, my device just won't boot up. Please help me.

Thanks.
[X Play General] dondonari:
Not eligible for bootloader unlocking

Hi, I tried getting the unlock key but I keep getting the popup message that my device is not eligible for unlocking. Is there any other way to install twrp?
[X Play General] reggiexp:
unlock bootloader wipes phone? i always forget
[X Play General] aadityaraj1:
Have you allowed OEM UNLOCKING in the Developers Option before requesting for unique key. If not then go to settings>about phone>find build number and tap 7 times on it and there you go, go back and there you find Developers Option and you can allow it from there.
[X Play General] bjamz:
Don't use the supersu from the link in original post

I used the latest SuperSU from the link in the original post (SuperSU-v2.46) and it froze my phone at the "unlocked bootloader" screen, flashing to SR3-SuperSU-v2.79-SR3-20170114223742 got my back in business
[X Play General] bjamz:
I just want to confirm for anyone that see this that it is working, but you need to use different links than the original post. I have a Canadian Koodo Mobile XT1563 that this worked

Get Fastboot from here:

https://freeandroidroot.com/download-minimal-adb-and-fastboot-all-versions/

Follow the original instructions to do the Motorola Unlock

Get TWRP 3.1.0 (the latest 3.1.1 did not work for me, fastboot would say it loaded but no twrp on reboot) here:

https://xdaforums.com/devdb/project/dl/?id=23790

Get SuperSU-v2.79

https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip?retrieve_file=1

YOU ARE NOW ROOTED

To get rid of the "unlocked bootloader warning" Go here

https://theunlockr.com/2016/04/18/remove-bootloader-unlocked-warning-moto-x-play/
[X Play General] dondonari:
Yes i have unlocked oem in developers option but still itns not working it was saying like my device doesn't have permission or something like that
[X Play General] 619dxaayush:
TWRP cannot be found

I don't understand how to flash recovery.

The cmd replies cannot load 'twrp-lux-2.8.7-v2.img'

Where do i save the twrp file so that cmd could find the file?
[X Play General] aadityaraj1:
Paste twrp where you have saved the adb/fastboot.
[X Play General] ghpk:
will OEM unlock lead to factory Reset ????
[X Play General] jaskiratsingh:
Yes
[X Play General] Jackraj:
Super bro..I'll try this
[X Play General] cmcshm:
soft brick not possible copy pics???

i received error anexed pics
[X Play General] topazonic:
Enable Developer mode in your settings and then in settings enable OEM unlock. Afterwards when you run the code it will work.
[X Play General] cmcshm:
no possible, softbrik, cel infinity loop or motorola logo, i need copy pics docs very import, no hard reset ok big problem, i search solution in xda nothing... :(
[X Play General] jaibar:
Not sure what were you thinking as unlocking bootloader completely wipes your device.

So basically you were trying to wipe everything, now you complain you can't get pics and very important docs you need- which you just typed the command to wipe them all???
[X Play General] lock_er:
Help

I just got the new 7.1.1 update.. Now i need to root my device..i just want to know Is the rooting procedure and Files still the same referenced here in this thread ??? please help
[X Play General] Kaarthic Muthiah:
Hi,

I am try to root my Moto X play mobile with Android version 6.0 and I used the superSU file found in this page and followed the steps above, but It is not successful. Please guide me in the right direction.

Thanks!
[X Play General] jaibar:
I just used Magisk instead of SuperSU, works very well.
[X Play General] bjamz:
see my post #309

see my post #309 i had to use different fast boot, twrp and supersu than what the OP said
[X Play General] tag68:
Please do not reply to this thread. If you want to know why, search in it for "dangerous".
[X Play General] No_Other_xD:
Ok...so, rooting my phone...I used the old SU that this thread have (I have it because i used it before...) and it got stock on the Warning screen...so, I read a few pages on this thread and learn what was the problem. I factory reset the phone but now it freeze (completely freeze a few short minutes after is on...any fix?

sorry to revive this old thread...
[X Play General] 3plb:
Hi,

I've unlocked my bootloader, also installed TWRP...

But after flashing the superSU, my device is stucked at startup window... Enable to reboot. Can any one please help me?
[X Play General] Shepxda:
use magisk not supersu which version of android are you on stock?
[X Play General] 3plb:
Thanks alot It worked with Magisk! :good:
[X Play General] stevedat:
Yeah. Maybe just play around with stock ROM, in stead.
[X Play General] ariewahyu:
Finally thanks!
[X Play General] tag68:
If you don't want to flash the recovery, eg to get OTA updates when being careful with system modifications, just use "fastboot boot recovery.img" instead of "fastboot flash recovery.img". Works fine, and the old recovery stays.
[X Play General] koolkans:
Rooted my Moto X Play. Thanks!!!

Hi All,

Finally I rooted my Moto X Play and here's my experience.

Unlocking the bootloader:

First of all, the URL Link provided to download the Fastboot is broken. So I downloaded the mfastboot for unlocking which was recommended by few folks. The instructions used were the same except that 'mfastboot' has to be used instead of 'fastboot'.

Flashing the Recovery Image:

When I followed the instructions to perform flashing of the custom recovery (TWRP) and tried to install, the system showed me no command error ("Resting" Android robot). I was shocked to see that. Later I realized I should have used the version- twrp-lux-2.8.7-v2.img instead of twrp-lux-2.8.7-r4.img.

So again when I flashed with the version - twrp-lux-2.8.7-v2.img and rebooted, it showed me the recovery options and I was relieved. One thing I want to confirm from someone. I used the command - "fastboot flash" instead of "fastboot boot". Does that mean that I won't be getting any OTA updates? (marshmallow).

Rooting the phone by installing Superuser.zip:

One mistake I did was I placed this zipfile inside the download folder and it didn't work. Later I realized that I need to place this directly in the root directory.

So, now that my phone is rooted, I am pretty excited to explore it more.:laugh:

Question Regarding flashing cyanogenmod 12.1:

Its really tempting for me to experience cyanogen mod OS in my mobile now. But I see that cyanogenmod 12.1 is not yet officially released for Moto X Play. So, I think may be I'll wait for the official version to get released. Because I am not a tester and I don't want to flash an unstable version in my mobile which I use daily. But I will definitely flash it in the future...:)

But if I want to flash now, which version should I use?

In the original development forum I see 2 unofficial versions.

1. [ROM][lux] CyanogenMod 12.1 for Moto X Play by squid2

2. [ROM][lux][5.1.1] Cyanogenmod 12.1 - 2015-10-14 [UNIFIED] by h2o64

Anyone please suggest.

Thank you all!!!!
[X Play General] tag68:
I can not confirm some part of the trouble. Regarding mfastboot I'm not involved since I use a Mac. But fastboot boot recovery worked fine with the r4. Putting the superSU in Download also worked fine.

Erh yes you won't be able to install OTA update if you flashed the recovery.
[X Play General] koolkans:
I also tried r4 thinking that would be the latest version. But it didn't work, so I saw someone's reply ed in the thread to use v2 instead. Yeah putting the super user anywhere should have worked as I didn't see any specific instructions to place the file in any particular folder. But strangely it didn't work for me and when I tried by placing it in the storage path, it worked.

So, all these delayed the rooting process a lot. That's why thought of sharing this. May be I did some mistake....earlier...
[X Play General] Lennyz1988:
You have a big misconception about "Official" and "unstable". I've seen it more and more and I have no idea where it comes from.

If a device is officially supported by Cyanogenmod then it says absolutely nothing about it being stable. It's just a label and nothing more.

The Cyanogenmod for our device is "unofficial" but stable as stable can be. So you can wait until it will become official, which it probably never will. But if it ever will become official then it will just be the same rom.
[X Play General] Zify:
So complicated

Failed to get unlock data, please try again!

IDK What to do!

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem get_unlock_data

...

(bootloader) Failed to get unlock data, please try again!

FAILED (remote failure)

finished. total time: 0.282s

C:\Program Files (x86)\Minimal ADB and Fastboot>

__________________________________________________________

-EDIT-

Guys i checked the oem unlocking in the developer settings on my phone

Still nothing. One question. Do I need to download the Android SDK?????
[X Play General] coctailxmolotow:
Hi guys got problem after flash recovery.IMG I can't boot my device to recovery mode they'd r4.IMG and v2 ..is only screen with "no command"
[X Play General] tag68:
In my opinion it is a bad idea to flash the recovery without testing before by using fastboot boot. If something does not work, you just boot again and have the optional recovery ... ;)

Sorry that does not help if you already have the problem. Seems you need to flash again a working recovery.

I would try to use fastboot boot to test a different recovery version, and then flash it if it works fine.
[X Play General] coctailxmolotow:
Thx m8 I will try tonight BTW marry Christmas and happy new year
[X Play General] K.khiladi:
For me the twrp r4 worked.

Dont try to install any ota updates otherwise your device will brick as you have flashed a custom recovery.

The one by squid you can flash it.

---------- Post added at 06:55 PM ---------- Previous post was at 06:53 PM ----------

Is it ok to flash latest super su v2.64 for rooting? will it give any bootloop?
[X Play General] pijes:
those who successfully rooted, did the method cleared all your data?
[X Play General] bablu048:
yup..better move everything to a sdcard.
[X Play General] tag68:
It is the unlock which erases data. If your device is already unlocked it should work without data loss.
[X Play General] koolkans:
Hey Lenny,

Thanks for the clarification. I guess the latest 'Fairly stable' version must be considered as the official one :).

Anyway, I'm sure I'll try flashing one of these versions in the near future...
[X Play General] K.khiladi:
The fastboot download link is down.
[X Play General] xQrzy:
Go for any other, it's always the same. :)

For example here: http://xdaforums.com/showthread.php?t=2317790
[X Play General] K.khiladi:
I already have rooted. Just wanted to tell about it for those who come here first time. ?
[X Play General] masm64:
Can I actually only unlock the bootloader and root the phone without using a custom recovery? Can I skip step 4 and go straight to step 5?
[X Play General] K.khiladi:
There's no point in rooting phone and unlocking bootloader but not installing custom recovery. If anything goes wrong then you won't have a backup.

And you can't root without flashing supersu which requires you to have a custom recovery.
[X Play General] masm64:
Thanks! I actually did it this way: I only booted into custom recovery and flashed supersu, but I never flashed the custom recovery itself.
[X Play General] K.khiladi:
So why did you rooted your phone? ?
[X Play General] masm64:
My main reason was to change the DPI in build.prop, because the default Motorola one looks weird. Everything is a bit bigger than it should be and because of it the Now Launcher only displays 4 icons. I changed it to 430 and now it looks like a Nexus phone.
[X Play General] tag68:
No that's wrong. The advantage if you are only booting using fastboot boot instead of flashing by fastboot flash is the possibility to install OTA update. You can start the custom recovery every time you want eg for nandroid backup using fastboot boot. OK you need your computer nearby ...
[X Play General] K.khiladi:
That's the point... We need a computer every time. If someone need ota update, then flash stock firmware and then update.
[X Play General] gordo1701e:
Ok, I have tried the method mentioned by OP and get TWRP to flash just fine, but every time I try to flash super su, I get hung on the unlocked bootloader warning and the os itself won't load. I'm running the XT1563 (2015) version with the Marshmallow factory image reflash after having reflash the phone due to "user error" :s Would anyone have any suggestions, as i really want to get a custom rom on here but can't do it until it's rooted.
[X Play General] sguy156:
Issue Iam having is I keep on getting no command on the phone when phone tries to boot into recovery. Any one knows how to get past this error ..
[X Play General] K.khiladi:
You recovery isn't flashed properly then.

Try reflashing the recovery.

---------- Post added at 11:04 AM ---------- Previous post was at 11:01 AM ----------

You just need an unlocked bootloader and custom recovery to install a custom rom.
[X Play General] xxsilentazasinxx:
i only want to root for the same reason, so, u unlocked the bootloader, then? how u flashed root without installing recovery? thx for the help sir :D
[X Play General] masm64:
Hi! I've followed this given tutorial, but at step 4 instead of executing the

fastboot flash recovery.img

command, I executed the following:

fastboot boot recovery.img

This actually booted me into the custom recovery without flashing it into my phone's memory.

Notice the difference: instead of using the flash command I used the boot command. I hope this explanation is clear enough.
[X Play General] tag68:
Obsolete
[X Play General] prasann2000:
Same with marshmallow?

I just updated my phone to marshmallow and im wondering if this procedure still works for rooting it?
[X Play General] K.khiladi:
Yes it does
[X Play General] xQrzy:
Except the version of SuperSu, 2.62 seems to be a minimum.
[X Play General] Dekztyr:
I just tried this and my phone won't boot after installing SuperSU.

I can access fastboot and TWRP Recovery just fine, but I can't boot to system. It just sits on the Motorola boot animation forever.
[X Play General] xQrzy:
Seems you have used wrong SuperSU version.

AFAIR on mine device v 2.64 works.
[X Play General] kari0ca:
Me too, i've accepted the partition unlock, and flashed the SuperSU, but my phone get locked on Bootloader warning.

Do i need to clear cache dalvik?
[X Play General] K.khiladi:
Did you used the supersu version mentioned in the OP?

If yes then maybe yess try clearing cache and dalvik. Do not install supersu if twrp asks you to.
[X Play General] kari0ca:
Explaining myself better: when i've installed the TWRP, i was asked about unlock the partition. I've said yes!

After, i have manualy installed SuperSU and then my trouble has started, but i managed to repair it, using a nandroid backup.
[X Play General] tag68:
Good question! Someone posted an echo command which should do it, but it didn't work for me.
[X Play General] junaid0852:
Try this, http://xdaforums.com/moto-x-play/orig-development/kernel-squid-kernel-moto-x-play-t3200039

---------- Post added at 11:57 AM ---------- Previous post was at 11:51 AM ----------

Try 'Go launcher'
[X Play General] SimorghDroid:
Thank you [MENTION=983494]ishan_rulz[/MENTION] for the post.

I tried the steps mentioned in the original post to root my XT1563 (Wind, Canada). Of course I did not need to unlock the bootloader because I had already done that when I was on 5.1. When I unrooted, upgraded to 6.0, flashed recovery twrp-lux-2.8.7-r6 with fasboot command and everything went well. When I tried the UPDATE-SuperSU-v2.46.zip and flashed that through TWRP, I ended up being stuck at Bootloader Warning.

I did some reading on other threats and thought maybe because I am on Marshmallow (6.0) then I have to use the latest BETA version of the SuperSu, BETA-SuperSU-v2.66-20160103015024.zip, Link: [WIP][2016.01.03] Android 6.0 Marshmallow [v2.66]. Which I did, after flashing with the XT1563_LUX_RETCA_6.0_MPD24.65-18_cid14_subsidy-DEFAULT_CFC_V2.xml.zip ROM, later flashing custom recovery, twrp-lux-2.8.7-r6, but got stuck at Bootloader warning again after trying the Beta SuperSU 2.66. I tried different ways, like deleting cache/dalvik when flashing SuperSu (with both beta version and stable 2.46 version), kept the system, read-only, but every time I ended up being stuck at Bootloader warning.

Is there anything I am doing wrong? Is it not possible to root Moto X Play Canadian with the ROM mentioned?

The commands I used every time to flash the new ROM:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem fb_mode_clear

fastboot reboot​

I am on mac osx and every command was run OKAY.

Thanks in advance for any help.

Edit: I did root with the BETA-SuperSU-v2.62-3-20151211162651.zip as this post instructed and it was a success.

Thank you.
[X Play General] bablu048:
flash Su2.64 here read the first post xdaforums.com/moto-x-play/general/root-how-to-root-6-0-easly-t3277202
[X Play General] SimorghDroid:
But the post you are referring to says to use the BETA-SuperSU-v2.62-3-20151211162651.zip.

[MENTION=7059381]bablu048[/MENTION] I'm confused now.
[X Play General] bablu048:
sorry typo go according to the link.
[X Play General] SimorghDroid:
I did root with the BETA-SuperSU-v2.62-3-20151211162651.zip as the original post instructed and it was a success.

Thank you [MENTION=7059381]bablu048[/MENTION] for your advice.
[X Play General] Spacemonkie4207:
I tried with the Canadian version and I got a bootloop
[X Play General] junaid0852:
Guys go for SuperSU 2.62, only this has worked for me, with rest of the versions I was stuck on bootloop. Please do take TWRP backup on external SD card before proceeding.
[X Play General] SimorghDroid:
Same thing happened to me, but the fix was to use SuperSU version BETA-SuperSU-v2.62-3-20151211162651.zip and my phone had root.
[X Play General] Spacemonkie4207:
For some reason TWRP isn't flashing in fastboot.
[X Play General] xQrzy:
Do you have unlocked bootloader?
[X Play General] Bacheleren:
Some issues I had while trying this method and how I bypassed them after some intense googling, might help someone. My device is the XT1563:

1 - Upon getting to recovery mode, all I got was a "No Command" screen. To get to the recovery menu, had to hold POWER button and press VOL UP.

Either way, this did not help me at all, as I found some Signature Verification errors while trying to root the device with SuperSU, which leads to:​

2 - In order to actually root it, I had to boot TWRP through my PC terminal (just flashing it as instructed on step IV wasn't doing it):

fastboot boot TWRP-lux-2.8.7-r6.img

And then I installed the SuperSU.zip through the running TWRP interface on my phone.

EDIT: Apparently I hadn't done the recovery flash correctly, and after redoing it, booting into recovery mode boots my TWRP properly, and that should solve all my previous problems. :)
[X Play General] Kongootto123:
You made my day with this solution !! THX
[X Play General] dpk24mt:
I had problems installing TWRP from fastboot.

TWRP got replaced by stock recovery everytime I tried to boot into it again.

I got root and TWRP working using below steps.

Keep SuperSu 2.62 in your internal or external sd card.

Switch off.

Boot to fastboot (power+vol down)

Only Boot into TWRP

fastboot boot recovery.img

(Take a nandroid if necessary)

Flash SuperSu 2.62

Reboot into Android.

Then install TWRP with flashify.

-Thanks OP [MENTION=983494]ishan_rulz[/MENTION] for this thread.
[X Play General] UnknownFearNG:
I'm also having an issue with being stuck on the Moto animation. I booted TWRP, flashed the SuperSu version in the OP, and stuck on the boot animation. I've wiped the cache, Dalvik, etc...
[X Play General] K.khiladi:
Try the latest version of supersu. Rooting mm rom is a trial and error method these days. ?
[X Play General] aVe2000:
Is this really like this? Does rooting erase the data on my phone?

And second: if i do not install a custom recovery i will still receive and be able to install the mm ota, right? This was ansered before but i am somehow not sure.

I'd like to install a custom recovery after the MM OTA. This should work then, i guess.

Regards.
[X Play General] xQrzy:
Not rooting, but unlocking bootloader erases the data.

Receive - yes. Install - no, because of modified system partition content, installation of the OTA update will fail. You will need to unroot your device and use stock recovery.
[X Play General] aVe2000:
Great, i always mix this up. So do i need to unlock my device to root it? I'd like to root it because of some apps i'd like to use like titanium backup. As far as i understand, i only have to unlock the bootloader if i want to install another ROM (or maybe also a cust recovery).

Okay, so i have to wait for an update available here in the forum if i dont want to play around again and again. Will this update erase my data, too?

Regards.
[X Play General] xQrzy:
Yes. Flashing or even booting custom recovery is possible only with unlocked bootloader.

Not only, see above.

No, it will not.