yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) General] SadbutTrue999:
okay, little more info from here - motorola/clark_retus/clark

android version 6.0/mph24.49-18/18 (swear i saw 6.0.1, but thats right)

---------- Post added at 10:58 PM ---------- Previous post was at 10:54 PM ----------

what do i need to do to get fastboot to see the phone?

I go to bootloader->recovery->appy update from adb

but "adb devices" doesnt' return anything (also getting an error about the daemon being a different version, (specifically, adb version (31) doesn't match this client (37) killing), although ig ot that pre-soft brick and it didn't seem to be a problem. I'll try to update again
[X Style (Pure) General] dzidexx:
Connect phone to pc in bootloader/fastboot mode. Run cmd, type fastboot devices. If you will see serial number you can flash full stock rom or only kernel/boot(fastboot flash boot boot.img).

Flashing stock rom - instructions and roms are here:

https://xdaforums.com/moto-x-style/general/guide-return-to-stock-relock-bootloader-t3489110

You can flash the same version(xt15...49-18) without locking BL.

[MENTION=6819999]SadbutTrue999[/MENTION]

Rooting instructions(use the newest Supersu.zip):

https://xdaforums.com/moto-x-style/general/xt1572-mm-twrp-root-xposed-t3276792
[X Style (Pure) General] SadbutTrue999:
Yeah... neither fastboot devices or adb devices returns a serial #.

Just to be sure, when you say bootloader/fastboot mode... is that any screen in recovery? The bootloader menu? I believe I was in fastboot mode but might have had the wrong sub menu. Will try again tonight.
[X Style (Pure) General] dzidexx:
"AP fastboot flash mode"

at the top of the screen.

Power off, vol - & power. [MENTION=6819999]SadbutTrue999[/MENTION]
[X Style (Pure) General] SadbutTrue999:
Okay, cool. Fastboot devices returns the S/N.

'fastboot getvar all' gave the output int he attached photo (is there a better way to pull logs? has to be a ay to make it a text file... i even swear i used to know how... but selecting all and attempting to copy doesn't seem to work well)

Next questions:

1) From here, what is the fastest route to a rooted, more or less stock build?

2) Expanding ont hat... Do I have to return to stock first? Or can i find a way to get TWRP on there now, and the flash with that?

3) Will this un-do my bootloader unlock? I would guess not but am curious

Thanks all!
[X Style (Pure) General] acejavelin:
So this is a Pure (XT1575)? It looks like you flashed the oldest build out there (the one from Moto's official site, which is garbage), but I can tell by the bootloader date that you are (or were) on the latest version of 18-16. You need to get the 18-8 version and flash it without gpt or bootloader, verify booting and take the OTA to 18-16, then WAIT for the official OTA.

Basically, you can't relock the bootloader... the only way is to flash a complete factory firmware image, but since we don't have the latest image (18-16) you cannot flash the entire image, therefore you cannot relock the bootloader. We have no idea when, or even if, we will be able to get more factory images, but without a newer Marshmallow or a Nougat one (someday) there is no way to relock the bootloader.

You need to get to a stable stock first, then rooting is easy and there are a dozen tutorials... I would HIGHLY recommend not trying to flash a XT1572 Nougat image or OTA, have patience since I would bet within a week or two it will be out in North America.
[X Style (Pure) General] SadbutTrue999:
I dont' want to relock the bootloader, so i guess thats good news.

Okay, whats the best source for the 18-8? And the best method for flashing? Can i drop it on an SDcard and flash it from the recovery menus (it says "install updates from sdcard" int he menu i believe)

---------- Post added at 12:28 AM ---------- Previous post was at 12:28 AM ----------

And yes, its a Moto X pure, 2015 clark
[X Style (Pure) General] acejavelin:
You posted in a Moto X Style thread, so I had to check... you cannot flash the stock image from the device, must be done with flashboot.

Look in my signature for more information.
[X Style (Pure) General] SadbutTrue999:
great, just found your thread. i will read and follow up
[X Style (Pure) General] T3mpl0:
need a little help, i'm affraid my device might have bricked, it starts up, shows the motorola logo, and then it blackscreens, i followed step by step but something went out wrong obviously i have a moto xt 1572
[X Style (Pure) General] SadbutTrue999:
okay rooted, installed superSU via a zip file in TWRP.

I see Xposed in your threads as well. what does that do?

In any case, can I now accept the OTA update I've been putting off for months?

thanks for the help!
[X Style (Pure) General] acejavelin:
lol... are you kidding? No, you can't take an OTA with TWRP or root installed, you must be 100% pure stock.

And stay away from Xposed, it works fine with stock Marshmallow, but Nougat is a whole different ballgame, there is an unofficial port out there but reviews are very mixed. If you don't know what you need it for, then you don't need it.
[X Style (Pure) General] SadbutTrue999:
is there a way to get rid of the update reminders then?
[X Style (Pure) General] SadbutTrue999:
in addition to finding a way to get rid of those annoying OTA update reminders, it appears my phone can no longer tether. It was an X Pure unlocked, and tethered out of box. Never had an issue with it but upon this boot, pressing the either the hotspot icon as well as the tether my connection button in settings results in a momentary pause, followed by no further action.

looked into it some, and apparently some people use Xposed (the app i was goign to ignore based on the last post) to enable it. I did download and install the Xposed installer, but did not install the actual app. It has since been uninstalled, but could that have made the change? Figured I'd throw it out there

---------- Post added at 04:20 PM ---------- Previous post was at 04:00 PM ----------

wi-fi apparently not working either. do a factory wipe... guess i'd need to re-do the root, but am not sure what else to do
[X Style (Pure) General] dzidexx:
[MENTION=6819999]SadbutTrue999[/MENTION]

I lost the begining of your problems. Explain point by point.

F.e.:

0. Xt15??, Ret???

1. Android version, full no, official, half official,

2. Root, magisk, supersu,

3. What not working.
[X Style (Pure) General] SadbutTrue999:
1575, android 6.0, its a factory unlocked x pure.

Root, SuperSU, originally 2.64 but it was updated to the most recent through google play

Bootloader unlocked via moto factory method

flashed an incorrect and outdated boot image, softbricked phone. recovered by flashing standard boot image via TWRP.

the image i flashed was build # mph24.49-18(-8)

wifi and tether, at least, not working after flashing a standard boot image. were both working fine prior to original softbrick.
[X Style (Pure) General] dzidexx:
You have to flash stock(the same ver.) with fastboot(without BL, gpt, recovery, logo).

Upper version you can with bl & gpt.

Wait and install ota update if it will come.

Root is possibile with SuperSu 2.8+ or magisk 13.+.

Before rooting do full backup with twrp.

Some links, soon.

Flash stock:

https://xdaforums.com/moto-x-style/general/guide-flashing-stock-firmware-t3637235

---------- Post added at 08:05 PM ---------- Previous post was at 07:57 PM ----------

Root supersu:

https://xdaforums.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958

Or

Magisk:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[X Style (Pure) General] SadbutTrue999:
I put lineage 14.1 on mine, it fixed the wifi/tether issue and works well. Thanks for the help everyone
[X Style (Pure) General] bgos10:
Well for some reason WiFi doesn't seem to work on Indian variant, can you please help with that? Flashed non-hlos.bin too but no luck.
[X Style (Pure) General] Shishir Singhal:
I reverted to stock then flashed the non hlos.bin file wifi was working fine haven't tried rooting again so cant help.
[X Style (Pure) General] bgos10:
Thanks for the quick response, I'm also thinking of reverting to stock. Can you please help me with that?
[X Style (Pure) General] Shishir Singhal:
Use this thread really detailed guide and very helpful http://xdaforums.com/moto-x-style/general/moto-x-style-india-t3218077. First dwnld the stock lolipop firmware then update back to marshmallow with ota.

GUIDE- http://xdaforums.com/showpost.php?p=63758509&postcount=192

Firmware download links- http://xdaforums.com/showpost.php?p=63770825&postcount=208

Hope this helps!
[X Style (Pure) General] bgos10:
Thanks a lot, really appreciate it. Revert back to lollipop, I guess I'll just stay on it till twrp for mm is out
[X Style (Pure) General] Tcix:
I'm having the same problem, "Enable superuser option" is disable and when I enter the comand to flash "su.img" in the prompt I get this error:

With phone in bootloder mode:

C:\Users\Nova pasta>adb push su.img /data/local/tmp

error: device '(null)' not found

With phone just turned on:

C:\Users\Nova pasta>adb push su.img /data/local/tmp

3595 KB/s (33554432 bytes in 9.113s)

Could you help me?
[X Style (Pure) General] ivcarlos:
Hi [MENTION=5165354]Tcix[/MENTION]

You must push "su.img" with adb before enter in fastboot mode - with phone turned on.

After that, restart in fastboot mode and flash boot.img, with

fastboot flash boot boot.img
[X Style (Pure) General] :
I installed v2.56 from the link on the first post.

Yes, pushed su.img before restart to fastboot.

I didn't checked in ADB but I tried to gain root permission and SuperSU didn't prompted anything.

My device is the XT1572 BR Dual Sim with Android 6.0

Any ideas ?

---------- Post added at 03:18 AM ---------- Previous post was at 03:05 AM ----------

I think that the issue isn't with pushing su.img...

I pushed before restart to fastboot and SuperSU says that system-less root is not supported, without pushing su.img the app says that no su binary was found. (When I tried for the second time I forgot to push su.img)

So it seems to be there, but I don't know why SuperSu does not want to see us happy. :laugh:
[X Style (Pure) General] ivcarlos:
[MENTION=7111629]roberto.marcal[/MENTION]

In fastboot mode flash boot.img says OK?

Take boot log, by typing

adb shell dmesg >boot.log

after reboot completed.

and find for "daemonsu" service messages or any errors, like "copy fail".

Check if "/su" exists and has directories, bin, etc, lib, su.d, and if "bin" has files...

If mount fail (empty dir /su) try download "su.img" again...
[X Style (Pure) General] akhil.in:
Hello, I followed the exact steps on xt1572 MM. My WiFi is also not working. Phone is rooted and working fine otherwise (thanks for that).
[X Style (Pure) General] :
Flashing boot.img says OK.

The /su exists and has subdirectories with files...

The boot log has some entries for "daemonsu":

[ 4.633387,5] init: Warning! Service daemonsu needs a SELinux domain defined; please fix!

[ 4.633402,5] init: Starting service 'daemonsu'...

[ 4.644029,0] warning: `daemonsu' uses 32-bit capabilities (legacy support in use)

[ 4.665565,5] init: Service 'daemonsu' (pid 451) exited with status 0
[X Style (Pure) General] Tcix:
I tried more than 50 times and I always got the same problem as I described in the last post but this time in the prompt window I got this message: "daemon started successfully" but the superuser it is still not working as you can see in the attachments. :confused:
[X Style (Pure) General] :
I also tried 50 times and it simply doesn't work for me.

I don't get any flash errors, already tried to flash su.img and boot.img again.

I even tried to flash SuperSU-v2.56-20151030013730.zip with TWRP v2.8.7.1 (It is working on 6.0) but no success...
[X Style (Pure) General] thorpj:
Perhaps you should try supersu v2.60. According to the changelog, it deals with the boot image automatically. So presumably you can just flash it (provided that you're on stock, ofc).

I'm about to flash a marshmallow build on my XT1572 when i get a chance. So I'm curious to see if this method works for us.
[X Style (Pure) General] :
I tried SuperSu v2.60 but it didn't worked.

I restored the stock backup and then flashed v2.60 but It still shows that system-less is currently not supported.
[X Style (Pure) General] thorpj:
Okay, do you absolutely need systemless root? Perhaps we should use the traditional root. Unless you've got the developer know-how to fix this problem.

Speaking of traditional root, how would we do that? I'm not sure if there is actually a version of SuperSU for marshmallow.

I'll test v2.60 (systemless) and get back to you
[X Style (Pure) General] :
It doesn't need to be systemless. If it is would be nice, but that is ok.

But even the traditional flash method seems not to be working.
[X Style (Pure) General] thorpj:
Fair enough. For me on su2.52 wifi works, but data keeps playing up on mm. Granted that that I'm in a foreign country, where the network isn't so reliable.
[X Style (Pure) General] :
Jus tried to flash 2.52 and it also didn't worked.

First I changed system and boot back to my backup, then flashed using TWRP.
[X Style (Pure) General] :
I tried to flash SuperSu 2.60 and then su.img and boot.img...

Now SuperSu says that the su binary must be updated but after that it still disabled.

I tried the following:

1- Flashed twrp-2.8.7.1-clark.img

2- Flashed SuperSU-v2.60-20151205163135.zip

3- adb push su.img /data/local/tmp

4- adb reboot bootloader

5- fastboot flash boot boot.img

6- fastboot reboot

7- SuperSu app -> Update binary -> Restart
[X Style (Pure) General] leandroqm:
All that this image says is that you can't enable/disable the root access, but **IT IS** already enabled.

Mine is just like that and everything root-related work.
[X Style (Pure) General] :
Yes, it is working.

I thought that it isn't because all the apps that I tried (ES Explorer, Secure Settings, Others) was saying that root is unavailable. Now I tried some other apps (Greenify, Solid Explorer) and it's working fine.
[X Style (Pure) General] IndiaRock:
hello sir just one question

there are new SuperSU 2.60 and 2.61 zip files available, will they work or only 2.56 will work??

also TWRP is not needed am i correct? only unlocked bootloader? will also work for indian dual sim XT1572?
[X Style (Pure) General] thorpj:
Oh! Now I understand. Some apps like es file explorer have a hard coded path to SuperSU. So now that SuperSU is not in /system, these apps will think that SuperSU isn't installed. Apps that do this will work.

---------- Post added at 06:58 AM ---------- Previous post was at 06:44 AM ----------

V2.60 modifies the boot image automatically, so the instructions in this thread don't apply for v2.6 and up.

Here's a quote from Chainfire: http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344

So I think you should be using a custom recovery. I would recommend TWRP. And if you have an unlocked bootloader, and you're doing this sort of thing, you might as well have a custom recovery. It won't affect your system partition. Only recovery, or that and boot, I can't remember which.
[X Style (Pure) General] Tcix:
[MENTION=6418388]thorpj[/MENTION] [MENTION=7111629]roberto.marcal[/MENTION] - Now I got it doing this steps:

1-Deleted the installed SuperSU

2-Restored the stock boot.img

3-Flashed twrp-2.8.7.1-clark.img

4-Entered in recovery without reboot and TWRP worked

5-Flashed SuperSU-v2.61-20151207213702

6-Rebooted phone and root is ok

And, how both of you said, some apps are not showing the root access, but the root is there! :victory:
[X Style (Pure) General] dubscabar:
Is the stock image in step 2 LP or MM? I used the Restore-To-Stock-Tool and applied the OTA but I have not done anything since. I was waiting for to the dust to settle a bit first.
[X Style (Pure) General] Tcix:
[MENTION=6961575]dubscabar[/MENTION] I installed the LL version because is the only version I have and then I received OTA again.
[X Style (Pure) General] thorpj:
Robert. V2.60 and up deals with the boot image itself. Follow Chainfires instructions (see my post on page 5).

---------- Post added at 02:10 AM ---------- Previous post was at 02:09 AM ----------

That's great. I'm glad it worked!
[X Style (Pure) General] :
[MENTION=5165354]Tcix[/MENTION] [MENTION=6961575]dubscabar[/MENTION]

I did the same thing. But I preferred restore the entire system, boot, recovery and then just boot TWRP instead of flashing it, keeping the stock recovery. When it booted into TWRP I flashed SuperSu 2.60.

You can boot it using: fastboot boot twrp-2.8.7.1-clark.img

[MENTION=6418388]thorpj[/MENTION]

Yes, I saw that. I flashed it and its rooted. Thanks.
[X Style (Pure) General] IndiaRock:
we dont get OTA if we have a custom recovery am I rite? but yes I will try

1) unlocking bootloader

2) flashing TWRP from ADB

3) using systemless root

once TWRP is stable, right now it is in testing
[X Style (Pure) General] Mouse_exe:
I followed this method on my XT1575, and now WiFi isn't working. I'm in the US. Is there any way to get it working, or do I have to revert?
[X Style (Pure) General] noodleggs:
OP please mention that this is only for BR in the post itself!

Didn't pay too much attention to your title and just flashed it on my EU XT1572.

Supersu is there and I think it'll work, but wi-fi can't be enabled and is unusable!
[X Style (Pure) General] TheFeelTrain:
Same here.
[X Style (Pure) General] Ohmster:
Are you in lollipop or marshmallow? I tried the MM update from files on XDA and it borked the phone pretty bad. Had to format my ext-sdcard, nothing would work right. I then used TWRP to restore the Lollopop backup I made before doing the upgrade. Lollipop worked fine after that but no WiWi. If you flip the wifi switch to turn it on, it flipped right back as if there were a spring on it or something.

Reflashing the radio in lollipop fixed the issue, then upgrading to MM OTA worked properly with the su.image and then SuperSU.2.54. But are you now in lollipop or marshmallow?
[X Style (Pure) General] sayV:
Indian XT1572

Should I try this on my Indian XT1572 Dual sim? Can anyone report it to be working without WiFi issues?
[X Style (Pure) General] oblib__:
I just went through the same thing. Only way I could get wifi back was to restore system and boot from stock. Of course, then I lost root...

Anyone know of a root for XT1575 on marshmallow?
[X Style (Pure) General] Pastinakel:
I've flashed SuperSU-v2.62-3-20151211162651.zip from the [WIP][2015.12.11] Android 6.0 Marshmallow [v2.62-3] thread in the superSU forum on my XT1575.

You could also try the method described in [Beta][Marshmallow/6.0][XT1575/1572] Systemless Root thread from the Moto X Style (Pure) forum. It basically boils down to the superSU v2.62 method.
[X Style (Pure) General] oblib__:
This root method worked systemless for my XT1575

http://xdaforums.com/moto-x-style/development/wip-systemless-root-t3263405
[X Style (Pure) General] Ohmster:
I did not use this method, did it the old fashioned way with a LOT of ADB flashing over USB. This looks pretty good and is fairly simple. Pay attention to when TWRP tells you that "you have no root, should I install it now?" DON'T DO IT! Just follow the fairly simple procedure and you will be fine. :)
[X Style (Pure) General] BaxLario:
great post, thanks a lot. but the only problem i encountered was that i was not able to install supersu.apk from pc, because i already have one that is proper installed. then i used twrp to flash the whole supersu 2.65.zip file. which got me a rooted marshmallow, but the wifi was not working. after that i reinstall a new rom from the thread http://xdaforums.com/moto-x-style/development/rom-trupurex-fast-smooth-t3237155

this rom i noticed working very smooth, morse smooth than the orginal marshmallow. just notice not to install the supersu in the end of flashing process of this rom zip file.
[X Style (Pure) General] danielgava:
should I flash the newest version of beta supersu: v.2.64 or stay with the 2.56?

Another question (more important): Is it possible to install Xposed with this method, since i don't have TWRP?

Thanks!!
[X Style (Pure) General] Csetoue:
Are you using a brazilian Moto X Style?

Enviado de meu XT1572 usando Tapatalk
[X Style (Pure) General] ketron:
Im using 1575 and after flashing this boot.img my wifi module stopped working. Any solutions?
[X Style (Pure) General] BaxLario:
i am using a US version
[X Style (Pure) General] ketron:
Thanks, but I just flashed stock boot.img and all is fine now :)
[X Style (Pure) General] real_milux:
Hello everybody,

can anyone confirm whether the WiFi issues occur when using SuperSU 2.6x?

(And if so, whether they can be resolved, without reverting/downgrading or something the like.)

I'm using the EU version of the XT1572 (called "Moto X Style").

Thanks in advance!
[X Style (Pure) General] thosseleran:
Yeah. I have the US XT1575, and have the wifi issues. Restoring my backup original bootloader brings wifi back, but removes root.
[X Style (Pure) General] Ohmster:
I had to flash NON-HLOS.bin when I messed up Marshmallow with a bad flash and went back to Lolllipop to flash the bin from Lollipop. My NON-HLOS.bin came from the Shawn/Clark zip file of original stock rom, Lollipop.

You had the no WiFi in problem in Marshmallow? And you fixed it by flashing the NON-HLOS.bin file? I don't quite understand as I got no WiFi when I reverted back to Lollipop.

Do you have NON-HLOS.bin from the Marshmallow rom? Where did you get it? Can you share it or tell us where to get the XT1575 Marshmallow rom file with NON-HLOS.bin inside of it? (US Version) Thanks for the info. :)
[X Style (Pure) General] Shishir Singhal:
I flashed the hlos.bin file from truepurex mm rom. Srry i dont have the file now
[X Style (Pure) General] Ohmster:
Thanks anyway, your true purex led me to this:

Moto X Pure/Style Marshmallow ROM: TruPureX. Based on Indian MM.

That is an Indian rom and would not work on Verizon. But the name led me to other true purex files that seem to be closer to what I need on XDA.

One of these really messed me up bad. Do Not Download and use on Verizon!

http://xdaforums.com/moto-x-style/development/rom-stock-rooted-debloated-x1575-6-0-t3262242

There are 6 different files, could be I picked the wrong one but it was NOT fun. My extsdcard disappeared and I was to format it and then choose, leave in phone forever or allow to be removed. I did not want to format but copied my card to PC and did it anyway, choose removable. Non-Removable would wipe ALL of your internal sdcard away to system, and you would only have the ext card and can never remove it. It did not work out right and nothing was okay, thus restoring back to Lollipop and losing my modem for WiFi. I flashed the Lollipop version of the same file as you to restore WiFi. The OTA download of Marshmallow worked like a champ for me.

My phone is 99% okay but sometimes self soft reboots on it's own. This is annoying and tracking it down is driving me nuts. I think it might be Xposed related. That is when I started having problems, especially going at Gravity Box with a heavy hand and not watching for problems initially. I did use Gravity Box on the stock launcher before finding out that I need a decent launcher like Nova Prime. Wow, the stock Google Now launcher does not like Gravity Box at all and the systemui quickly blew out, stopped working, screen blinking on and off, and black screen. Nova Prime Launcher fixed this right up but the damage may have already been done. :(

Thanks! :cowboy:
[X Style (Pure) General] browcantor:
ivcarlos you have google plus?

---------- Post added at 04:23 PM ---------- Previous post was at 04:21 PM ----------

I'm from Brazil and I would take the doubt google plus, if you can provide me with your profile, thank you
[X Style (Pure) General] real_milux:
Thank you, but I'm not sure the US XT1575 can be compared to EU XT1572.

Am I in the wrong thread here?

I'm asking because in the following thread, nobody came up with problems similar to those described here:

http://xdaforums.com/moto-x-style/development/wip-systemless-root-t3263405

Are you on Verizon? I read that they use some modified modem...

Also, which SuperSU did you try? Something >= 2.61?