yashsingh1/xdaforums huggingface dataset:
[Moto Z Play Guides, News, & Discussion] coolkingler1:
I take it back, sadly it is stuck at boot for me :( I tried it yes. No other SuperSu? I think I had the 03 version and you have 02... I think?

EDIT: not true, I had 02 too, but it just wouldn't work.

EDIT: It forced somewhat of a factory reset on me when I tried the same SuperSU but no systemless, I didn't lose any media but I had to relog in my account and download and update all apps again.

I will just wait for nougat...
[Moto Z Play Guides, News, & Discussion] diegochiva95:
several people commented that password is required to enter the recovery......

Enviado desde mi XT1635-02 mediante Tapatalk
[Moto Z Play Guides, News, & Discussion] FreedFromDeath:
The same password that you used to encrypt the phone while setting it up. If you're using a pattern you can use the numbers equivalent to the pattern you used.
[Moto Z Play Guides, News, & Discussion] hmnk:
Thanks for the tutorial. But was inquisitive to know why one cannot use systemless root on our Vertex??

Thanks!
[Moto Z Play Guides, News, & Discussion] ilovemeow:
great

just pick up my phone

btw 7 is not released yet right:)
[Moto Z Play Guides, News, & Discussion] FreedFromDeath:
This isn't the Vertex though, this is the Addison.
[Moto Z Play Guides, News, & Discussion] hmnk:
http://www.gsmarena.com/moto_z_play...r_testing_55inch_screen_in_tow-news-19195.php

Anyways, coming back to the topic, why can't we use systemless root on our device?

Thanks,

Regards.
[Moto Z Play Guides, News, & Discussion] diegochiva95:
says it is not necessary to flash the .zip SuperSU only accept the root for the TWRP own. It is true?
[Moto Z Play Guides, News, & Discussion] ArtOfSnaila:
Isn't there a warning to never accept the root from the recovery?
[Moto Z Play Guides, News, & Discussion] FreedFromDeath:
Another thing, if deencryption doesn't work you can sideload the SuperSU zip using adb through TWRP.
[Moto Z Play Guides, News, & Discussion] FreedFromDeath:
Updated OP with a possible workaround.
[Moto Z Play Guides, News, & Discussion] uberano26:
If you dont mind, could you provide the details of your device?
[Moto Z Play Guides, News, & Discussion] paulcheeba:
So I see there is a Chinese twrp for moto z play but is anyone working on a north American version? Same question for SuperSU? Will there be official versions with systemless root? I guess what I'm asking is should I wait a bit or go this route? I like otas. I also reeeeally like a rooted phone (exchange server BS needs to be bypassed for piece of mind).:cool:
[Moto Z Play Guides, News, & Discussion] jon7701:
Not enitrely sure what happened, but my phone wouldnt boot after flashing SuperSU, even after i restored stock system,boot, and EFS. The boot.img got me booting again though and now rooted. (US variant)

Edit: Can someone upload a stock boot.img for the US variant? I think my backup boot.img might be corrupt, as it causes my phone not to boot.
[Moto Z Play Guides, News, & Discussion] coolkingler1:
My phone got frozen at boot, dual sim in the EU version.

I tried to flash the non-systemless SuperSU and that made it factory reset, still not rooted.

I will wait....
[Moto Z Play Guides, News, & Discussion] hmnk:
Anyone??

Thanks
[Moto Z Play Guides, News, & Discussion] jon7701:
I tried to do systemless and it was unable to patch the boot image.

Also if someone could upload a US variant boot.img that would be very appreciated. On the mexican boot.img I cant get data or recieve calls. I can only make outgoing calls for some reason.
[Moto Z Play Guides, News, & Discussion] DroneDoom:
Something in the ramdisk doesn't extract properly. This happens on stable and latest beta of superSU. The magisk phh superuser completes installing but no error is shown and root is not attained (tried with magisk 10.2 and latest release of phh superuser). No one on the magisk thread will help since those who are capable of helping don't have a mzp and can't go in depth. I may try asking in the magisk phh SU thread but it may as well be another dead end.
[Moto Z Play Guides, News, & Discussion] tag68:
Did ask last night what happens, in SuperSU and topjohnwu phh version threads. Now keep the fingers crossed someone finds the solution ;)

My finding: There seem to be several file systems read only which shouldn't. /su. /magisk. But I don't know the cause, nor a workaround.

I made the observation that USB debugging seeing enabled does not survive a reboot. That may be related. Do you have that problem also?

Edit: next phenomenon: any flashed twrp runs once. Afterwards it does not run anymore.
[Moto Z Play Guides, News, & Discussion] tag68:
One annotation: If you first flash Magisk 10.2 and then phh superuser 20170112 (not the topjohnwu) you have root. That is currently my standard way to systemless get root rights. But then you can't modify hosts systemless which I'd like to achieve. As the next online update today in the morning was presented to me, replace .44 Patches Nov 16 with 47-2 probably Patches Dec 16, I really would appreciate not to have to flash system every time before being able to update.
[Moto Z Play Guides, News, & Discussion] DroneDoom:
I've had the same observations as your previous post. As for hosts for adblocking? I deleted the hosts file in system/etc in recovery and created a symlink of a file AdAway created in /data in TWRP terminal.
[Moto Z Play Guides, News, & Discussion] tag68:
Deleting and creating a symlink modifies system. Every of these actions. There is no advantage against using hosts directly. System on Moto Z Play has plenty of space, it is not necessary to use hosts in another place outside the position.

My problem is not to modify hosts, that works fine from AdAway without any change. My wish is to leave system untouched using mount -o bind (systemless hosts, choose Magisk or AdAway) so that OTA has the possibility to work without flashing.
[Moto Z Play Guides, News, & Discussion] DroneDoom:
I'm having a problem of getting my system partition to read/write during runtime and having root (not systemless) isn't helping me. I couldn't install BusyBox in-app or use AdAway to directly write the hosts. I'll try using the non-fork of phh magisk superuser after I restore my stock backup to try another magisk setup attempt.

Maybe something in the AdAway thread talks about systemless hosts (https://xdaforums.com/showthread.php?t=2190753&page=457
[Moto Z Play Guides, News, & Discussion] tag68:
I know the AdAway thread, reading it since a long time. Currently AdAway is only supporting the systemless hosts for SuperSU. If you want to use systemless hosts with phh su, you need a working Magisk.

Afaik it is being worked on, there are plans that in the future AdAway is capable of using systemless hosts with phh without Magisk. I'm not sure if they proceed, as there exists a working solution for that problem with Magisk. If you get it to run ...
[Moto Z Play Guides, News, & Discussion] DroneDoom:
There was an alternative I used before I rooted involving a VPN connection for ad blocking. I used and app called DNS66 (it's open source) which is configurable to use whatever DNS servers and host files to your choosing to query and filter respectively, the sites you requested. It doesn't work for in-app ad blocking since either the ad queries are done by IP addresses or some API that it uses that I'm not understanding (I'm not an app developer so I don't know).
[Moto Z Play Guides, News, & Discussion] tag68:
Thank you for the hint DNS66, I read about it, it's a good alternative. Never thought about as I was confident with AdAway, but you're right. It would currently really help me not modifying system and work around until Magisk is fully working, or may be used as standard way.

May be off topic now to explain it here, but as Magisk has a setting to virtualize hosts it is helpful to know what it does.

If some app asks the OS to read game.com/ad.jpg, the OS needs to know what the IP of game.com is. First step is to look in local file hosts. If this does not help, it looks in the connection settings which DNS server is configured. Then that server gets asked. The DNS servers are like a phone book for IP numbers, and if they are not responsible for the domain which gets asked they may ask the DNS server responsible for the domain.

AdAway against DNS66:

- AdAway usually sets the entry in the hosts file for game.com to 127.0.0.1 (localhost). Then your device gets asked if it runs a webserver. If it doesn't, game.com is not reachable. The app can't get the file with error "server not reachable". If you configure AdAway to run a webserver, it always responds with error "file not found". The result is the same, but the app may think that the device has connection to the internet and it would be an error of its webserver that the file can not be found.

- DNS66 sets a local DNS server. If the name of the domain is not found in hosts, the current DNS server is asked. DNS66 may use same lists like hosts, it does the same. If it does not find the domain in its lists, it asks the DNS server which was previously set in the OS.

Workarounds for apps:

- If an app tries to get [1.2.3.4]/ad.jpg it still will succeed in both cases. The OS looks in some table which interface to ask for the IP 1.2.3.4 and this usually is the active internet connection. You may change the route setting for the IP, the is IPtables or AFwall method.

- An app could configure a DNS server for its connections. Then DNS66 would not help against the server contact, but AdAway would. I'm not aware that any app does this.

So in general what AdAway and DNS66 do is the same thing, but AdAway is earlier in the chain. You even may run AdAway for the webserver without modifying hosts if you want to use DNS66 with a localhost webserver. Don't know if DNS66 has one integrated, but I'm usually not using it anyway. There was a discussion about combining the projects using the same lists and configuring which mechanism to use.
[Moto Z Play Guides, News, & Discussion] tomparr:
There might be an additional problem or maybe it is related to your observations. According to this thread https://xdaforums.com/showpost.php?p=70492947&postcount=8793 there are problems with f2fs-formatted partitions (like the /data partition on the Z play) and mounting images as loopback (which SuperSU does). As far as I can tell from the sources on github, the kernel that ships with the phone is missing the proposed patches, but I haven't been able to get a custom build kernel running with the MZP yet to verify.

With regards to the ADB/USB debugging, I loose it too after reboot.
[Moto Z Play Guides, News, & Discussion] lpchaim:
Ah, so Magisk and systemless root is actually doable, good to know. After a lot of bootloops and frustration, I couldn't get it to work at all and just gave up.

Oh, and yes, my ADB settings also get reset on every reboot for whatever reason for those asking.
[Moto Z Play Guides, News, & Discussion] tag68:
Magisk - no. Systemless root - yes.

Magisk can be flashed, but it does not work. I didn't know if it was precondition for phh superuser (which always does systemless root) to work fine under the strange circumstance that all RAM disks using /data are behaving bad. Now it is tested, Magisk install is not needed. It makes no sense currently to do it.
[Moto Z Play Guides, News, & Discussion] lpchaim:
I see, sorry for the confusion then. Appreciate the info.
[Moto Z Play Guides, News, & Discussion] cowboysgz:
Are there any roms out there for our MZP? I've tried looking everywhere and no luck.
[Moto Z Play Guides, News, & Discussion] flashallthetime:
I've extracted the supersu from the chinese twrp and flashed it with our English twrp version, wouldn't you know it works.

Here's the SuperSu flashable zip https://drive.google.com/open?id=0B6KkZYeH_fPRVGtId0l4Z2c0V1U
[Moto Z Play Guides, News, & Discussion] iron maiden:
Hello versions Twrp english ? Very thanks for supersu zip

Enviado desde Mi Nexus 6P
[Moto Z Play Guides, News, & Discussion] flashallthetime:
So it worked? Just flash the standard TWRP found in the development threads.

I did a test myself and it worked.

Just want confirmation and feed back on which firmware a patch level you're on.

I can maybe now move forward with at least building some fastboot system deodex img's.
[Moto Z Play Guides, News, & Discussion] iron maiden:
Hi, what version of twrp have you installed? You can tell me I have not tried yet gracais

Regards
[Moto Z Play Guides, News, & Discussion] flashallthetime:
Here https://xdaforums.com/showthread.php?t=3495629
[Moto Z Play Guides, News, & Discussion] iron maiden:
Hello , yes working but not EFS backup un the Twrp the Alberto

Very thamks sorry me english

Regars
[Moto Z Play Guides, News, & Discussion] flashallthetime:
So you are rooted by flashing that SuperSU zip ?
[Moto Z Play Guides, News, & Discussion] iron maiden:
Hello if you have uploaded supersu.zip
[Moto Z Play Guides, News, & Discussion] flashallthetime:
Here https://xdaforums.com/showthread.php?p=70698711
[Moto Z Play Guides, News, & Discussion] iron maiden:
Hello if I have flashed the supersu but with the twrp of alberto you can not copy EFS or restore

I feel my english
[Moto Z Play Guides, News, & Discussion] flashallthetime:
Yes but if you look near the end of the thread, there's another twrp version that allows you to back up your efs folder.

I can confirm that root works by flashing just the superSu zip with any twrp
[Moto Z Play Guides, News, & Discussion] iron maiden:
If so it works but to be able to back up EFS you have to use TWRP Chinese thanks

regards
[Moto Z Play Guides, News, & Discussion] flashallthetime:
No you can use this version https://xdaforums.com/showthread.php?p=70521569

Just set TWRP to time out at 15 seconds and let the screen turn off, then the touch screen will work
[Moto Z Play Guides, News, & Discussion] DroneDoom:
He took down the file...
[Moto Z Play Guides, News, & Discussion] flashallthetime:
I see
[Moto Z Play Guides, News, & Discussion] Greamos:
How can i install a ota?
[Moto Z Play Guides, News, & Discussion] tag68:
You did root modifying system? Flash original stock ROM. I recommend at least recovery, boot and system. Then you can do OTA.
[Moto Z Play Guides, News, & Discussion] BAXENmOdD3R:
So you why can't you root a verizon version. Or is there another way.
[Moto Z Play Guides, News, & Discussion] dandrumheller:
Verizon does not allow bootloader unlocking. The only current root method is to unlock bootloader, install custom recovery, and inject root from there.
[Moto Z Play Guides, News, & Discussion] Nchls:
Hey just a quick question. My Moto Z Play just got updated to android 7.0, does this root method still work? I tried it once and it is stuck at "Disabling OTA Survival" and had to flash back to stock. Any help please? Thanks
[Moto Z Play Guides, News, & Discussion] flashallthetime:
Finding root for nougat is beyond tedious, we're probably or definitely going to have to wait till kernel source is available.

Funny thing is SuperSU r3 flashes without any issues and the app is installed but the binary file is missing.

I actually had superuser ask me to give root explorer root privileges and I did but it just froze afterwards.

That was on a clean install.

We may have to unroot completely prior to flashing nougat .
[Moto Z Play Guides, News, & Discussion] tag68:
One idea to circumvent the problem with broken f2fs loopback: it could be possible to format data as ext4. Then root should be fine and everything working.

Disclaimer: I do not want to try it, and everyone who does, does it on own risk. Only guarantee is loss of data.
[Moto Z Play Guides, News, & Discussion] flashallthetime:
All the time I've spent , I should be using that time to figure how to build a custom ROM from source. Learning
[Moto Z Play Guides, News, & Discussion] sarxion:
Can anyone confirm if this method is working for the xt1635-02 model? I'm using that one from the Mexican AT&T network, and would rather see if someone else was successful before trying it out myself :)
[Moto Z Play Guides, News, & Discussion] flashallthetime:
No don't follow this guide, are you stll on MM or Nougat.

Do not use the Chinese TWRP

Here's the correct TWRP and the modified kernel that will alow you to flash SuperSu 2.79 R3 systemless

https://xdaforums.com/moto-z-play/development/kernel-stock-kernel-f2fs-patched-t3546732
[Moto Z Play Guides, News, & Discussion] danny7139:
Thanks for the information
[Moto Z Play Guides, News, & Discussion] Mr.Kresimir:
Magisk download

Hi,

Can anyone give me link for download magisk for Moto Z Play?

Thanks in advance ?
[Moto Z Play Guides, News, & Discussion] Jimi Mack:
Here you go... Google works.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Moto Z Play Guides, News, & Discussion] mishobehar:
Чщщ
[Moto Z Play Guides, News, & Discussion] duarte.framos:
Was wondering where that came "/A" over the Moto logo was coming from, just though it was bad flashing gone wrong a some other issue.

I even flashed twice to see if it went away, was about to ask about it, glad I came by to read this.

Many thanks for this, booting looks much nicer now thanks to you :D
[Moto Z Play Guides, News, & Discussion] joefuf:
Hopefully I can get some answers here.

I have been on a Motorola Droid 4 since 2013, and I've been looking to upgrade and finally have some hope in this Moto Z Play phone.

Anyway, I picked up a Moto Z Play Droid and realized it can't be rooted or bootloader unlocked so I'm going to sell and pick up an XT-1635-02 or XT-1635-03 model which should run on Verizon just fine.

My questions are:

1. Will I have any more success with one or the other with rooting? Are there any known issues with one variant over the other?

2. Can I run the Stock ROM and still have total control - uninstalling bloatware (I assume with Root Uninstaller) and tethering off a hotspot (still on the original Unlimited Data Plan)?

3. Will Magisk solve my issues with Android Pay after rooting or are there snags and problems with that I need to be aware of?
[Moto Z Play Guides, News, & Discussion] Zeljko1234:
1.

03 is Chinese version, don't buy it. No gapps, different radio freq supported... Go for 02, it's available in USA.

2.

No bloatware with xt-1635-02. Vanilla Android with few useful Moto add-ons but still easy to ignore or disable. No root needed.

3. I'm not using it but according posts​ on the forum, should work.
[Moto Z Play Guides, News, & Discussion] flashallthetime:
Magisks works fine with Android pay, I use it every day, just make sure safety net is all green and you're good to go.
[Moto Z Play Guides, News, & Discussion] wwboynton:
I've got the same device as OP (XT1635-02). Bootloader is successfully unlocked. When I try to flash OP's chinese TWRP I get the following:

>C:\Android\sdk\platform-tools\fastboot.exe flash recovery twrp.img
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (15032 KB)...
OKAY [ 0.045s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.293s]
finished. total time: 0.339s

However, I can run

adb fastboot boot twrp.img

without issue and boot from the img.

When I boot from the img, I can run TWRP but I can't decrypt. Using a numerical representation of my pattern PIN like this:

• • • 1 2 3
• • • = 4 5 6
• • • 7 8 9

did not work. Rebooting into the phone and changing to a password unlock, then using that password in TWRP also did not work. I've never dealt with encrypted android before, and it seems absurd to me that device encryption is now enforced by default. What's the relationship between my regular lockscreen unlock password and my decryption password? The setup definitely never asked me to explicitly set up an encryption password.

When I try to ADB sideload the SuperSU zip file recommended by OP, the process goes through and appears to complete fine, but restarting the phone and using a root checker indicates no root, and SuperSU is not installed. Upon installing SuperSU from the appstore, it informs me the binary is not in place.

Not sure where I went wrong. Any assistance?
[Moto Z Play Guides, News, & Discussion] casmael:
Just had a bit of a google, folks here seem to suggest that "default_password" could work, also that you might have to format /userdata before twrp can decrypt the drive....

http://xdaforums.com/nexus-6p/help/twrp-password-didnt-set-t3241919

Could be worth a shot? I'm waiting on root before pulling the trigger on a z play - let us know your progress!

Good luck!
[Moto Z Play Guides, News, & Discussion] wwboynton:
I can format /userdata from the booted TWRP, right?

I forgot to mention I also tried default_password, to no avail.
[Moto Z Play Guides, News, & Discussion] casmael:
The threads I've been reading are for the nexus 6p. The instructions here are that in order to obtain root and allow twrp to read / write, you need to format /userdata using adb.

That's all in this thread:

http://xdaforums.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928

However, it says that it should be unnecessary to format userdata if you're using a recent version of twrp, so perhaps your issue is a different one.

If you're happy using adb and you have backups it could be worth a shot tho.

I'll keep you posted of anything else I turn up.
[Moto Z Play Guides, News, & Discussion] wwboynton:
Yeah, maybe I'll give it a shot. I just unlocked my bootloader so as long as I can flash to stock there's nothing worth backing up

---------- Post added at 05:03 PM ---------- Previous post was at 05:00 PM ----------

Actually, I just tried a different chinese TWRP and my new device-set password worked.
[Moto Z Play Guides, News, & Discussion] casmael:
So you're now able to flash supersu and obtain root?

*excited noises*
[Moto Z Play Guides, News, & Discussion] wwboynton:
Update: I've obtained root by sideloading the SuperSU Binary: I booted (not flashed) OP's TWRP and sideloaded OPs' SuperSU Zip:

>C:\Android\sdk\platform-tools\adb.exe sideload SR1-SuperSU-v2.78-SYSTEMMODE.zip

http://i.imgur.com/6ObNXDt.jpg

I did not need to format any of my partitions, or mount anything explicitly.

Helpful hint, since I haven't seen it yet:

When booting TWRP, it will give you the decryption password screen initially. A text field, with two buttons below it. The right-hand button is the language select, to get you out of Chinese.

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

Now my real question is whether we have an Xposed for this phone yet. Any ideas? :)

---------- Post added at 06:14 PM ---------- Previous post was at 05:51 PM ----------

Okay, the weirdest thing is happening. There is now no menu option for the fingerprint scanner. before rooting, that was fine. Now it's just missing entirely.

---------- Post added at 06:50 PM ---------- Previous post was at 06:14 PM ----------

One more update: The fingerprint problem went away. On the advice of another thread about the G5, I rebooted into stock recovery (Off, then hold vol down+power until you see the little open android) and then booted back into system. I guess the first boot after installing root, it didn't detect the hardware and thus didn't show the option.
[Moto Z Play Guides, News, & Discussion] diegochiva95:
various problems:

- To install the root from the recovery I stay in bootlop.

- Thanks to boot.img I could revive him.

- Then, I could not re-use the data 4g LTE AT & T mexico.

- I had to flash all the firmware for reuse 4g
[Moto Z Play Guides, News, & Discussion] kevind23:
On the retail aussie version (retapac).

Experienced bootloop after flashing SuperSU, can boot with the Mexican boot.img but the software cannot detect either sim card.

Hoping for someone to post the Aussie firmware so I can use data again...