yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) General] tommy2p:
no wi-fi

is there a fix for the no wi-fi issue that many people here are having?

edit:here's the fix for the wi-fi issue, I found it via google search on a subreddit

"MOTO X PURE2 points 6 months ago

I GOT IT!

I flashed TWRP using Step 2 of this: http://xdaforums.com/moto-x-style/general/guides-how-to-guides-beginners-t3200808

Then, after booting into recovery it prompted me to root. I said no so as to keep the system partition read-only. Then, I performed a backup of only the boot partition just to get the directories created for the next step.

Next, I downloaded the "XT1575 stock unrooted TWRP backup" from here: http://xdaforums.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833

Expand the zip file and move the "2015-12-09--15-00-59_MPH24.49-18" to the directory with your boot backup. For me it was TWRP/Backup/[SerialNumber].

Next, choose Restore and pick the backup you just transferred in. Uncheck the System partition or you'll get an error. Now restore and reboot. WIFI RESTORED!!!"

Thanks marainman wherever you are: https://www.reddit.com/r/MotoX/comments/3w5or4/wifi_switch_wont_move_to_on_after_marshmallow/
[X Style (Pure) General] smithmal:
thanks tommy2p. This worked like a champ.

I created a backup in TWRP like you mentioned. The only thing I'd add to your tutorial is that the TWRP Backups are located here (if you backup to internal storage):

sdcard/data /media/0/twrp/backups

smithmal
[X Style (Pure) General] viral786:
Thanks Ohmster..

I tried doing the steps you mentioned.. Now the Wi-fi started working but the SIM card is not working.. What to do? I am badly stuck with not able to use this phone at all..

Please help..

Thanks,

Viral786
[X Style (Pure) General] Raphael17:
Is there any way we can a flashable zip of this? Im not entirely sure what the issue is with flashing the normal zip in TWRP.
[X Style (Pure) General] denogginizer:
Thanks!

This worked on

Moto X Pure Edition

Android Version: 6.0

Anddroid security patch level: May 1, 2016

Kernel Version: 3.10.84-perf-g329ac5f

System version: 24.221.4.clark_reus.retus.en.US.retus

Build number: MPHS24.49-18-4

SKU: XT1575

I flashed with TWRP

Thanks!
[X Style (Pure) General] h@ns1976:
Good to hear it worked for you.
[X Style (Pure) General] dryzz:
I went to the firmware site to download "XT1575 stock unrooted TWRP backup", but couldn't find anything called that. I've downloaded both

6.0 MPH24.49-18 Stock Unrooted TWRP Backup and 6.0 MPH24.49-18-3 Stock Unrooted TWRP Backup, but when I extract them I can't seem to find 2015-12-09--15-00-59_MPH24.49-18. Any idea what I'm doing wrong?
[X Style (Pure) General] regisvargas:
Hello all,

New method for solve wifi problem.

Android version: 6.0

Android security patch: may 1, 2016

I tried all other methods described in the thread without success.

Assuming that:

- you're running marshmallow normally but without wifi

- developer options is enable

- USB debugging is enable

- Motorola drivers and ADB+fastboot is working on your PC

1. Transfer or save BETA-SuperSU-v2.66-20160103015024.zip to your SD card

2. Flash (reinstall) Rom Stock using adb

2- Don't restart

3. Flash twrp-2.8.7.1-clark.img using fastboot

4. Don't restart

5. Start freshly installed TWRP recovery

6. Install SuperSU-v2.60-20151205163135.zip

7. Click on reboot and system options

8. Choose install when TWRP asks to install superuser

9. Wipe cache and dalvik

10. Click reboot and system

11. Wait for android start the new installation and finish the setup

12. Go to apps, run supersu and finish the binary installation

I hope that will be helpful.

Best.
[X Style (Pure) General] BackDaws:
so frustrating, ive unlocked my bootloader but when i root i lose wifi :(

any easy way of relocking my bootloader as i cant be bothered messing about now, all day ive been messing about.
[X Style (Pure) General] h@ns1976:
Did you try the method posted above your post?
[X Style (Pure) General] BackDaws:
I thought I had but just read it and it says start with freshly installed twrp which I didnt, could it be that ?
[X Style (Pure) General] h@ns1976:
Did you try the method posted above your post?

Relocking your bootloader won't solve your wifi problem.

Sorry for the double post. Something went wrong
[X Style (Pure) General] BackDaws:
I flashed my backup so now I'm on original stock rom with unlocked bootloader and twrp 3.2 no root.

If I reflash twrp and follow from point 4 onwards will that get me root without breaking WiFi?
[X Style (Pure) General] h@ns1976:
Mostly it has something to do with which version SuperSU your flashing..

A few pages back if posted a link to the right SuperSU. 2.62-3 I believe it was

You could try flashing that and see if that fixes the problem..
[X Style (Pure) General] BackDaws:
There's an even newer version 2.76 I think it is or dies it have to be the 2.62-3 ?
[X Style (Pure) General] h@ns1976:
First flash 2.62-3 after that you can flash any version you want.. still don't know why every other version breaks wi-fi just know for sure 2.62-3 won't.
[X Style (Pure) General] BackDaws:
Thank you so much mate, I shall try it now ????

---------- Post added at 04:42 PM ---------- Previous post was at 04:22 PM ----------

That did it, rooted and WiFi working, thank you so much ????
[X Style (Pure) General] h@ns1976:
Good to hear it worked. [emoji106]
[X Style (Pure) General] Sagar_1401:
Can u tell me what exactly have u done??
[X Style (Pure) General] h@ns1976:
I didn't do anything.. you should ask the people who had problems on how they solved their problems.. Most wi-fi problems after rooting has something to do with flashing SuperSU.. try flashing SU version 2.62-3 first.
[X Style (Pure) General] Sagar_1401:
bro when I go to bootloader nd when I type adb push su.img /data/local/tmp in cmd it says nul device

help pls ty
[X Style (Pure) General] h@ns1976:
Why not flash SU through recovery?

I have very little knowledge of adb. Do you have already the right drivers installed?
[X Style (Pure) General] Sagar_1401:
pls provide me link for it..... now its rooted but wifi isn't working
[X Style (Pure) General] h@ns1976:
Look a few pages back there's a link!
[X Style (Pure) General] Sagar_1401:
bro help pls wifi nt working but rooted now how to make it work help me asap plsss...
[X Style (Pure) General] h@ns1976:
Try flashing SuperSU version 2.62-3 or restore stock ROM and then try again with SU 2.62-3.
[X Style (Pure) General] siulmagic:
For those who still have wifi issues when rooting , this will hopefully fix it for ya.

1st. reflash your stock boot.img (this is done via fastboot) or with twrp recovery if you have a nanddroid of your stock rom.

2nd. flash this version of SuperSU [url]https://download.chainfire.eu/745/SuperSU/BETA-SuperSU-v2.60-20151205163135.zip?retrieve_file=1[/URL]

3rd. Profit.

Btw this goes without saying this is only for Stock MM.
[X Style (Pure) General] dragonlord216:
Wifi solved

Thank you! The wifi was not working previously for me. I followed your steps except that I used SuperSU-v2.62-3. Now the wifi works and my phone is also rooted! Many thanks!
[X Style (Pure) General] acejavelin:
FYI... all these specific and old versions are not needed. Rooting any 2015 (3rd Generation) Moto device with an unlocked bootloader and TWRP is simple and works with the latest versions of TWRP and SuperSU.

1) Download latest TWRP and latest SuperSU

2) Boot TWRP

3) Go to Advanced - Terminal in TWRP

3.5) Enter 'cat /data/.supersu' is there is any output except "SYSTEMLESS=true", then delete the file with 'rm -f /data/.supersu'

4) Enter 'echo SYSTEMLESS=true>>/data/.supersu' and press enter

5) Flash the latest SuperSU like normal

6) Reboot and enjoy
[X Style (Pure) General] lafester:
I don't see how this is easier then simply flashing 2.62-3.
[X Style (Pure) General] acejavelin:
Except that is almost a year old, and a full major release outdated... I prefer to stay current.
[X Style (Pure) General] lafester:
Then flash both. Still easier.

Also please explain the advantages of having a current su version as I don't see any.
[X Style (Pure) General] lafester:
You failed to explain how any of those changes made your experience better.
[X Style (Pure) General] Sagar_1401:
Any news about Android 7.0 for moto x style??
[X Style (Pure) General] acejavelin:
I never said it "made my experience better"... the idea is not to be tied to specific versions, specifically old ones. Why would anyone be content using an old version of software?

I think this is starting to clogging the thread... lets just agree to disagree on this one, OK?
[X Style (Pure) General] BackDaws:
then just flash 2.62-3 and update in it Play store after reboot
[X Style (Pure) General] Csetoue:
Hello. I'd like to know how can I put a stock room again and receive OTA updates again?

Im rooted and using TruePure on a XT1572 BR version.
[X Style (Pure) General] Ijspegel:
Go Back to a TWRP nandroid backup with only unlocked bootloader?
[X Style (Pure) General] acejavelin:
Flash the stock images with with fastboot... Look through the development section and you will find the stock image threads.
[X Style (Pure) General] Csetoue:
I tried to flash it on TWRP but it doesn't worked.

So, it got to be on fastboot?
[X Style (Pure) General] acejavelin:
Yes... Read the instructions, you can't just flash it in any recovery.
[X Style (Pure) General] radpp16:
Any XT1575 Verizon users have luck with systemless root?
[X Style (Pure) General] Rahul0985:
Wifi is not working in moto x style xt1572 after followings

Your rooting procedure.

My phone is running on marshmallow and february security update

Please help...
[X Style (Pure) General] h@ns1976:
Restore your original boot img. And then flash SuperSU 2.62-3.
[X Style (Pure) General] acejavelin:
Carrier shouldn't be relevant... If you can unlock the bootloader, boot TWRP 3.0.2, enter the command in terminal for systemless, and flash latest SuperSU.
[X Style (Pure) General] s.pearce88:
When I applied systemless root, and rebooted I could use my hotspot on T-Mobile, it refused to turn on. I reapplied the original boot image and reboot, hotspot turned on and is working yet if systemless rooted I get no hotspot .. Can someone shed some light on the situation or what might be causing this problem
[X Style (Pure) General] h@ns1976:
You probably flashed the wrong SuperSU version.
[X Style (Pure) General] s.pearce88:
What version should I use ?
[X Style (Pure) General] h@ns1976:
Try 2.62-3
[X Style (Pure) General] babalou34:
Will this process unlock my boot loader as well ?
[X Style (Pure) General] acejavelin:
You must unlock your bootloader at Motorola.com before you can do any rooting, it's step 1
[X Style (Pure) General] bezangeloo:
I have the same problem. no WiFi on my XT1572 after rooting according to the guide.

I tried flashing boot_orig.img through fastboot, then I repeated the steps quoted below but with Superuser.apk file from SuperSU 2.62-3 zip

still no WiFi. what am I doing wrong?

Thanks for any help!

--------

edit:

another weird bug is the battery % is broken. showing values between 3K to 7 million % |:

for now I restored the device for before the root.
[X Style (Pure) General] Brandonhubbard:
hello, quick question. im trying to install twrp via fast boot but i keep getting this error. any suggestions?

" target reported max download size of 536870912 bytes

error: cannot load 'twrp.img': No error"
[X Style (Pure) General] h@ns1976:
Try flashing the SuperSU zip through TWRP instead of pushing it with fastboot.

---------- Post added at 01:25 PM ---------- Previous post was at 01:21 PM ----------

Did you unlock your bootloader?
[X Style (Pure) General] bezangeloo:
Thank you for your reply.

I will try that, but before I just want to be sure what about the boot.img file. Should I flash it through fastboot after flashing the superSU.zip (through twrp...)? Or ignore this step?

Thanks again.
[X Style (Pure) General] h@ns1976:
You still have your system restored from before root? If so then just only flash the SuperSU don't flash the boot.img
[X Style (Pure) General] bezangeloo:
Great. I will do that and update results here.
[X Style (Pure) General] guckpup:
XT575 here, on the MPHS24.49-18-4 "may security updates" build.

I too was too hasty and flashed this boot.img (that seems only suited for some of our 'Style' cousins). Got the root, with the dead wifi.

Found the stock boot.img (and the rest of the stock stuff) for this version, flashed it back to stock there.

Then flashed the latest twrp to recovery. Then used the latest adb to sideload the BETA-SuperSU-v2.62-3.zip and reboot.

Sure enough, wifi is back, root is retained.

I'll probably take recovery back to stock, in the hopes that this will allow for a smooth(er) Nougat when the time comes (hope springs eternal eh?)
[X Style (Pure) General] bezangeloo:
sorry for the late update.

instead of doing steps 1-10 I just flashed the BETA-SuperSU-v2.62-3-20151211162651.zip through TWRP and it worked perfectly.

that gave me root and solved the WiFi problem.

thanks h@ns1976 for the help.
[X Style (Pure) General] h@ns1976:
Good to hear that it worked for you.
[X Style (Pure) General] lampman:
Can you please elaborate on what you did?

I also have an XT1575 (that's what you meant I'm assuming)

I followed the instructions in post #1 exactly; including using SuperSU ver. 2.56, and flashing the included boot.img

I updated SuperuserSU to 2.62-3 but before that I flashed boot-orig.img like post #3 says here. (at least I think that's what they meant.)

then I flashed BETA-SuperSU-v2.62-3.zip with twrp like was done here:

guckpup, what do you mean sideload with abd?

I still have root but I do not have wifi at this point.

I can use twrp to recover just the boot backup which restores wifi but removes root, while keeping the SU app, which is what I will do for now until I have some time to look into this again.

thanks
[X Style (Pure) General] h@ns1976:
Just restore your boot.img backup and then flash the SuperSU v2.62-3.zip if all goes well this will give you root and Wifi.

After flashing v2.62-3 you can update the SuperSU from playstore.
[X Style (Pure) General] pjcamp:
Disables wifi

Has anyone else had this method disable their wifi?

At first, it would toggle itself back off every time I tried to turn it on. I reflashed the modem driver to see if that helps. It no longer toggles itself off, but it also cannot detect any networks.
[X Style (Pure) General] h@ns1976:
you can solve it by flashing SuperSU 2.62-3 as posted a post above yours.
[X Style (Pure) General] pjcamp:
Well, I did that. Specifically, what I did was:

1. Flash the stock boot.img

2. Verified that removed root

3. Used TWRP to install SuperSU 2.62-3

4. Checked that root was back

Still no wifi. It spins its wheels and never finds the network.
[X Style (Pure) General] h@ns1976:
Did you restore the boot.img from a backup or did you flash a downloaded img. Not sure if a downloaded img will fix the issue. I always restored a backup img.
[X Style (Pure) General] pjcamp:
How to do it

So that is the deal. Restore from the Nandroid backup you made before embarking on this process and then install 2.62-3. Pretty simple after you've done it all the possible wrong ways.
[X Style (Pure) General] fastjohnson:
Yah it's easy to do install that supersu version and it'll take it the other SR files fail to boot up issues.
[X Style (Pure) General] jdugery:
I cant find the Superused v2.4 on the page
[X Style (Pure) General] acejavelin:
Why do you need it? 2.4 won't work...
[X Style (Pure) General] jdugery:
I meant whatever version is needed. I see other downloads like Razer_m480 or something, but not what it says to install on this guide.
[X Style (Pure) General] acejavelin:
The method in this thread is outdated... it should not be used.

Use SuperSU 2.62-3 beta or the latest and the manual systemless method, and use the latest TWRP 3.0.2 I think it is.

If you look in my sig there is a guide for the Moto G3, the procedure is IDENTICAL, just replace the listed TWRP with the appropriate one for your device.
[X Style (Pure) General] Cotosoti:
If You Find This, It May Help Moto X Pure Owners

What finally worked (and kept me from getting stuck on the "M" or "M w/stitches") for me, so I could get the most recent TWRP 3.0.2 and SuperSu 2.78 installed on my Moto X Pure XT1575 is found here: http://xdaforums.com/moto-x/moto-x-qa/systemless-root-moto-x-pure-edition-t3477891/post69853807#post69853807
[X Style (Pure) General] shiro321:
Thank You So Much!

No matter what I do, I was stuck at the M. Thank God I found you and clicked on that link. I couldn't be thankful enough!
[X Style (Pure) General] JungleLiu:
I've tried.but after finished I can't turn on wifi. My device is xt1570 and 6.0
[X Style (Pure) General] acejavelin:
The method listed here is not compatible with your device, or any current device for that matter. Restore your pre-root TWRP backup and boot, then root using the systemless method of SuperSU 2.76 or higher.
[X Style (Pure) General] stumbows:
I don't have a pre-root backup unfortunately. Any suggestions of how I can proceed to try the method you mentioned?
[X Style (Pure) General] acejavelin:
You have an XT1570, the Chinese version? We do not have factory images for that device, and it seems you do not have one either... but do you have TWRP version 3.0 or newer? If so, attempt to flash the latest Magisk... it's installer script is pretty aggressive at removing previous root attempts and applying itself. Otherwise, I don't know what to tell you, without a valid backup and no access to factory firmware images I can't really give you any direction. Sorry.

It's unfortunate, because if you would have followed a newer guide or used Magisk, none of this would have happened. :/
[X Style (Pure) General] Houndz:
Its not working for me, do i have to be in Bootloader? OR just in normal android desktop?
[X Style (Pure) General] Hemidrosis:
That guide is 2 years old. That method of flashing SuperSU is irrelevant. Unlock bootloader > flash twrp recovery > Flash SuperSU zip.

https://xdaforums.com/moto-x-style/general/guides-how-to-guides-beginners-t3200808
[X Style (Pure) General] acejavelin:
And really, for most people Magisk is probably better that SuperSU, same instructions though.
[X Style (Pure) General] SadbutTrue999:
tried rooting my Moto X Pure using this method (as I'm on Marshmellow), and completed the adb and fastboot steps in the instructions. However, upon starting the phone I get an error saying "failed to boot" / "failed to load kernel".

I did successfully unlock the bootloader before. Didn't see any issues in the command prompt as I was going through. I believe I can go back into the recovery menu and select "install via adb"... would that let me re-flash the boot image?

Should I try another ROM (perhaps Lineage or something)? Any suggestions? Help!?!? lol thanks :)
[X Style (Pure) General] dzidexx:
Connect phone to pc in bootloader/fastboot mode. Run cmd, type fastboot devices. If you will see serial number type:

fastboot getvar all

Copy & paste here the answer from pc. [MENTION=6819999]SadbutTrue999[/MENTION]
[X Style (Pure) General] acejavelin:
Well... You have softbricked your device, but it is recoverable with some work.

If you can get to TWRP you can certainly use a different ROM, it will work fine.

The other option is to find the latest factory firmware image available and flash it with fastboot.

Lastly, if you did a backup in TWRP before you started rooting, you could just restore that too.

What happened here is you used ANCIENT instructions for a different device variant than your phone (the Pure and Style use different firmware, and there are different variants of Style too). These instructions were when Marshmallow was first introduced and SuperSU didn't support it all about 2 years ago, so we had to do some modifications to the boot image to make it work, which is specific to the device, variant and Android version. Using this basically put an older, modified boot image for a different device variant on your phone.
[X Style (Pure) General] SadbutTrue999:
Whoops. But it sounds like with a more modern image it'd be fine?

I had resisted updating the OS (phone had been trying to push OTA updates on me every 20 minutes or so), knowing that any updates might either change the process or make it impossible. But even so, these instructions were considerably older than whatever software is on the phone.

Didn't make a backup - the phone was free, and that might have made me a bit reckless. I hadn't gotten TWRP to install (these instructions don't include TWRP), which is the only way i've made backup images previously.

With the bootloader unlocked, can I go straight to another ROM like lineage from recovery, or do I ? Do I need to get a recovery like TWRP working, or can I do that from the standard android recovery?

---------- Post added at 08:51 PM ---------- Previous post was at 08:49 PM ----------

And thank you for the help. I've done the "unlock bootloader - fastboot/adb - install rom - root" thing on a handful of devices over the last 2 years (htc one m8, kindle fire, a droid turbo, etc), but I typically forget about 80% of the process each time.
[X Style (Pure) General] dzidexx:
1st - you need working boot(kernel). Twrp needs it too.

You have to givo more info:

Model xt15??, last version of android - full numbers.

If you remember it, download, unpack only boot.img and flash it with fastbot.

fastboot flash boot boot.img

One reboot to check if it works.

https://mirrors.lolinet.com/firmware/moto/clark/official/

Give here answer for:

fastboot getvar all

If you don't remember. [MENTION=6819999]SadbutTrue999[/MENTION]
[X Style (Pure) General] acejavelin:
TWRP doesn't care what your current boot image is, or if you even have one... User should be able to boot or start TWRP, flash a ROM like DU and some gapps, and work very well.

The question is, what is the end result [MENTION=6819999]SadbutTrue999[/MENTION] wants, is it to be stock and rooted, or on a custom ROM? If it's stock and rooted, then it's work going through the process, but remember that to upgrade to Nougat when it is released soon will be a hassle again.... if the end objective is to be on a custom ROM like Dirty Unicorns, don't bother trying to fix it, just get the ROM and gapps over to the SD card and flash in TWRP and move along for now.
[X Style (Pure) General] dzidexx:
[MENTION=2001582]acejavelin[/MENTION]

"TWRP doesn't care what your current boot image is, or if you even have one... "

Probably he hasn't any working. But I could misunderstand his first entry.

Ps.

I do not know why this tutorial has not been deleted yet.

---------- Post added at 05:25 AM ---------- Previous post was at 05:25 AM ----------

[/COLOR [MENTION=2001582]acejavelin[/MENTION]

"TWRP doesn't care what your current boot image is, or if you even have one... "

Probably he hasn't any working. But I could misunderstand his first entry.

Ps.

I do not know why this tutorial has not been deleted yet.
[X Style (Pure) General] SadbutTrue999:
so I clicked around the recovery menus, and don't see things like the full android version, the kernel version

where can i find it? Its an xt1575, android 6.0.1.

I have cyanogen on another phone, its okay, but there are some (natural) limitations when its not a straight google product... some apps don't work, some random bugs emerge, etc etc.

i don't have a strong preference between a stock rom w/ root, or with a custom OS (assuming its reasonably well supported). I just do want root because a few apps I tend to use require it.
[X Style (Pure) General] dzidexx:
I posted it in #310:

fastboot getvar all

(You can paste here the anwer from pc)

Btw.

It wasn't 6.0.1 for xt1575.