yashsingh1/xdaforums huggingface dataset:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
You sir! I love you! Just the thought of having to choose start everytime I had to restart my phone was driving me crazy but using this fastboot command fixed. Thank you!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Kap_Tutan:
Welcome bro. Im glad it fixed yours.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
Now I have another issue. [MENTION=4480917]Alberto97[/MENTION] could it be that latest recovery isn't compatible with 7.1.1 lates MZP OTA? I upgraded to 7.1.1 through sideload but every time I try to flash twrp 3.1.1 I get stuck in the boot logo and I have to reflash april patch and the 7.1.1 again. I've tried it 3 times now and it's always the same.

Edit: It seems that kernel is different in latest 7.1.1 because I falshed latest twrp, flashed fixed kernel, root, rebooted to bootloader and erased userdata. Restarted the phone and it boots but I got all kinds of FCs, a lot of it was camera apk. Flashed stock april patch, same procedure, everything works as it should.

Edit 2: weird but I flashed twrp 3.1.1 again on stock 7.1.1 and flashed magisk. It flashed and restarted normally.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Wen Liangcan:
after temporarily booting into this TWRP, I can't reboot my phone, it stucks at the bootloader unlocked warning screen.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
This is very vague information. You need to be more specific but I think I know what you're talking about. Look at my previous posts
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Micheal86:
Hi Everybody,

I`m new to the Motorola Devices.

I`ve Moto Z Play (XT 1635-02).

I`ve tried to flash through CMD. But it always say " image not signed or corrupt".

I`ve messed the recovery. I tried to flash the Chinis TWRP recovery in Moto Z Play. But after flashing whenever I want to enter in TWRP by pressing volume up + volume down button, it comes to stock recovery with "No Commands" message.

Then I tried to flash the same TWRP in same way, now it`s always say "image not signed or corrupt" and cant flash any recovery (neither TRWP nor Stock Recovery).

What should I do ?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
Try flashing albertos twrp and even if it says corrupt, try to reboot into recovery. Also, NEVER flash chinese twrp because you could very easly wipe your efs and end up with an expensive brick.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
Don't bother. It always says not signed because it isn't lol just flash recovery and boot into recovery right after.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Micheal86:
Thanks for advice. It working.

I`ve installed TWRP (albertos). Now what should I do ?

Should I do these :

1. Keep System Read Only

2. Select Format Data Option

3. Type "yes"

4.After rebooting falsh SuperSu (SR3-SuperSU-v2.79-SR3-20170114223742)

And Reboot to System - Is it right Or I`ve to do something else ?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Wen Liangcan:
I found the post but the "fastboot oem fb_mode_clear" command didn't help.

My phone model is XT1635-03 and the OS was upgraded to 7.0.

The TWRP version I using is 3.1.1-0, at the beginning, I temporarily boot into TWRP and flashed the f2fs-fixed kernel v03, then, get stuck at the warning screen. So I think that's the patched kernel breaks my phone.

I restored the stock firmware and upgraded to 7.0 again. Once more, I temporarily boot into this TWRP but did nothing else and reboot my phone, still got stuck at the bootloader unlocked warning screen.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
I always choose allow system modification. It's up to you on what to do. Either flash SuperSU or Magisk. I dont think you have to wipe data but you can if you want to.

---------- Post added at 11:34 AM ---------- Previous post was at 11:32 AM ----------

That fastboot command is to stop your phone from booting into bootloader. If you upgraded to 7.1.1 your phone wont boot if you only flash twrp. When you flash twrp, boot into recovery and either flash magisk or superSU to have your phone boot up.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
https://www.androidfilehost.com/?fid=817550096634749141 you only need to flash this in order your phone to boot.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
Yes, I have that as well but I do need root so I flash magisk. Though the zip I use in 7.0 that passes safetynet doesn't work on 7.1. Magisk manager says not rooted and obviously doesn't pass safetynet.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
Can't help you, don't use stock
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
yeah I just did it to try latest 7.1.1 release. BTW offtopic: I still have to test out the latest build you posted in GZR lol
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Leraeniesh:
Thanks for all the awesome work!

Glad to have external SDcard support. Makes things a lot easier. No more having to rely on OTG.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Wen Liangcan:
I didn't flashed TWRP, just use the command "fastboot boot TWRP.img" boot into TWRP temporarily.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
It's not mine, [MENTION=5265704]Alx31[/MENTION] is a GZR maintainer. :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alx31:
Stop slacking and build tesla u. :silly: :D
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
Next release is mine ?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] OpsRJ:
Im keeping getting error: (bootloader) Image not signed or corrupt when i try to install.

I already unlocked my bootloader.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Kap_Tutan:
Just continue it. I mean after flashing twrp then directly boot to recovery.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] OpsRJ:
I tried, but nothing happens. Maybe i´m using the wrong key combination. Wich is the right one? VOL UP + POWER?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Kap_Tutan:
Just boot your phone in download mode. Then flash via fastboot command. Then after flashing, using the volume button look for "recovery" and press on power button. And it will boot directly to twrp recovery
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] OpsRJ:
Thank you very much. Now i was able to do it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Kap_Tutan:
Welcome bro
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jakfirestorm:
Hallo everyone,

first thank you very much [MENTION=4480917]Alberto97[/MENTION] for your work.

I unlocked my bootloader and flashed your latest TWRP sucessfully. Next I tried to install the latest build of lineageOS.

After a few tries I found the solution for the always-boot-to-recovery issue by using the command "fastboot oem fb_mode_clear" in the bootloader directly after flashing lineage. Now my system booted into the system. Great!

But now I have to do this every time I reboot the device and this can be very unpractical, specially when you are on the road without any PC or notebook.

Do I miss a simple workaround for this? I read through a couple of threads but nothing worked so far.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Kap_Tutan:
Flash the stock boot.img and stock recovery.img and reboot your phone. After that boot again to download mode and flash the twrp recovery then clean flash your rom of choice. It will fix.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jakfirestorm:
I gave your advice a try yesterday evening, but without success.

My steps:

1) I found the boot and recovery img here: https://xdaforums.com/moto-z-play/development/firmwares-stock-nougat-moto-z-play-t3599838 and flashed them with fastboot

2) Normal reboot, after the logo a screen with the text "erasing" showed up und disappeard in a few sec. Then the phone restarted on its own.

3) Went back to the bootloader and flashed TWRP.

4) Boot into TWRP

5) Fixed the "unable-to-mount /data"-Issue by formating userdata in TWRP (Wipe - Format Data - confirming the operation with "yes")

6) Reboot to TWRP again

7) Flash latest LineageOS with Root Addon + latest OpenGApps

8) Reboot to System but I ended in TWRP again

Maybe I used the wrong boot.img and recovery.img or forgot a step :confused:

Thanks for any help.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Nyoir:
Flashing the latest two work perfectly fine for me but I can't seem to boot into them and I can only use 3.1.0.0 and below
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
Okay, as many of you asked, and i wanted it too, i compiled TWRP straight from [MENTION=4480917]Alberto97[/MENTION] 's trees, with EFS backup enabled, and wiping disabled.

Everything works, it backs up just fine, and flashes things etc etc.. Basically same as Alberto's, with a few commits from [MENTION=5293805]GtrCraft[/MENTION] . All thanks to them. Let's hope we won't have more moto z plays made bricks because of not paying attention.

https://www.androidfilehost.com/?fid=745425885120744582

Here you go i hope you will enjoy it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
Some proof of concept
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jakfirestorm:
I finally got it! :victory:

I found another boot.img and recovery.img here: https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip (it's from this xda thread: https://xdaforums.com/moto-z-play/how-to/guide-how-to-restore-stock-firmware-t3562717)

I flashed both .img and rebooted the phone. After that I followed my steps above beginning on 2) and now my system boots reliably.

Thanks everyone for your help! :good:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tag68:
Was there a special reason? Just wanted to download it and it is not available anymore...
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
[MENTION=4480917]Alberto97[/MENTION], is there any way to make ext4 work for the data partition on Moto Z Play?

I tried formating mine to that file system from TWRP but then the system encountered an error when decrypting data on boot.

The funny thing is that data was already decrypted!

The message was something like, "Your password is correct but data couldn't be decrypted. You have to do a factory reset."

After resetting, the problem persists unless I format data back to f2f2.

In case you're wondering why I want ext4 so bad... well, I want to test whether that "f2f2 bug" which prevents systemless root is really only f2fs exclusive.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
I Had some problems, wich are probably unrelated to twrp but i removed it just in case to be on the safe side.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jimi Mack:
I have it and just have not flashed it as of yet. Lets us know what you find, weather it is good or should I trash it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
There's no problems with twrp. I broke something in the ROM im compiling, so i thought twrp might be the problem, but it isn't. So link returned to post.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] denuedo:
When I enter TWRP freezes and I can not do anything, I have to turn off and on the screen to be able to use TWRP :(

Sorry for my bad english
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
That's the known problem, and i think it doesn't break the functionality in any way. You get used to it .
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
But there are no any issues in function , only you have to turn screen off and on it again
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] red_phase:
I am not able to take a backup from twrp...i keep on getting a backup failed error. It goes up to 55% and then says backup failed.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Gafanhotz:
Huge props to you my man. I got another Z Play after my old one died from fall damage and Alberto's TWRP simply wasn't working, throwing error 255 left and right, and yours worked.

Cheers.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] MesteMonokrom:
I'm having issues with TWRP hanging on the splash screen. Would DeHuMaNiZeD's new compile help, or should I bite the bullet and perform the cache and userdata format suggested on another forum (which may or may not even work)?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
There was called that's needed to switch screen on/off one time to get working.

Works the last TWRP-version here on first soak test of 7.1.1? :D
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
The rom version has nothing to do with twrp working or not. As long as twrp is meant for your device then it'll work
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
All working perfect. No bugs, no need to switch screen on/off. Just dalvik/ART was not able to erase after flashing LOS14.1. After test LOS14.1 very well I have do one reboot and doing wipe Dalvik/ART again. Working. So, really great at all. Was the solution for the not updateable soak test ;)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Cobmaster:
Hi! I tried to flash twrp but it gives me an error about signature, it keeps telling me this:

It seems strange. If I type "fastboot boot twrp.img" it boots fine...

May I install it through the twrp itself or it might result in a brick?

Obviously the bootloader is unlocked...
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] felipevsw:
Ignore those messages. Just reboot to recovery and you'll see it was installed successfully.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] 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 ROMs, Kernels, Recoveries, & Other Dev] tag68:
Answer removed. I don't respond to crossposts.

Wrong place and crosspost, but answer was: Maybe. Seems so. You know, Google wants to keep rooted devices out. It should not take long time after an update of SafetyNet that Magisk gets an update, and functionality gets restored. But you'll always have times where it suddenly doesn't work for some days or weeks. It's a cat-and-mouse game.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] joefuf:
Sorry if I broke some rule on crossposts.

Thanks for that tip. I figured Magisk would be a cat-and-mouse game, as you put it. That's encouraging that it's still being worked on despite Google fighting against them. I think I'll definitely seek out a model that can be rooted and try to sell my Verizon-only model. Hopefully I get some guidance on my other two points as well. Thanks!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sheri.khan:
Hello,

I can't seem to create a new backup, or even copy the first one i made after flashing TWRP.

I wanted to flash a new rom so i thought lets make a new backup first, and copy both the backups to my PC and then flash the new rom.

Now i can't copy the old backup, neither i can make a new backup.

The old one isn't getting copied from anywhere. Tried many root browsers. Also it only shows in /data/media/0/TWRP.

Tried chmod 777 didn't work either.

The error im getting while creating a new backup is comes when it is backing up System Image.

"Backup Failed. Clearing Backup Folder"

Any help?

Also just trying adb pull method for copying the backup. Lets see how that goes.

Edit: I think adb pull is also stuck on the System image. Maybe that is corrupted or something?

Update: The adb pull method worked!

But im still stuck on not being able to create a newer backup. Any help on that? Shall i uncheck System image is it really important? :P
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] razorsbk:
Hello. Can i use the latest twrp 3.1.1.0 from your link to flash a marshmallow stock rom ? Or do i need the oldest version there ? Thanks.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] felipevsw:
You can't flash stock with custom recovery. You need to use fastboot (command line) or RSDLite.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] razorsbk:
I want to flash a stock deodexed Rom that is flashable via TWRP. Am I wrong?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
am i the only one to not be able to restore a nandroid ? with alberto or dehumanized version

It starts well but it always gets stuck at different percentages, when stuck i have to hard reboot and retry.

it have worked only once so far.

i have no error when i backup
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jimi Mack:
No, what makes you think something is wrong. If you wanted to get back to full stock with stock recovery then you would need to use ADB. It sounds like you want to flash a custom "stock" rom. Go right ahead.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] razorsbk:
Yup, i was a bit nervous about flashing my Moto. Everything worked just fine, thanks.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Calkulin:
Don't know if this has been discussed here before but has anyone noticed high LineageOS System CPU usage if you restore the system partition from a backup through TWRP? Reflashing the system partition fixes the issue but it seems to be an issue with the way the partition is formatted
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tag68:
Had the same problem when I tried last year. As my userdata was fine, I just flashed an older firmware instead of restoring mine (which I before backup up for this purpose!), and then did several OTA. I never did a successful restore of a bigger partition on my Z Play.

That's why I warned on several places that restore might be difficult. Currently I wouldn't dare to downgrade firmware, as many people had brick doing OTA after downgrade.

Question: Does the device get hot when you try it? That would be my current guess. Unfortunately I didn't check this when I had the problem, leaving restore running unattended most of the time. Had the idea of hot temperature later. If it gets hot, my try would be to put it in a fridge for restoring.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
Not sure the fridge would be a great idea, Because of condensation ...

Anyway i have not noticed heat when stuck on restore, sometimes it go stuck à 3% sometimes at 50% sometimes 90 ....

Sometimes flashing a rom go stuck too, but when i reboot and retry one or 2 time finally it works, as for nandroid restore it seems to never work

Same issue below, except that for me it doesnt work even after a reboot

https://forums.androidcentral.com/l...estore-hung-restoring-system-g2-d800-20y.html

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/819
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] karmacoma7:
Is anybody having the same problem ? if you format /cache to f2fs the phone bootloops.

Tried different roms and kernels.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
yes, but data to f2fs and cache to ext4 works
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] kkube:
removed
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
Hm, restoring working fine here. Why so many people have problems? :silly: I'm useing the ESP wipe disabled version, which was coming later here in the thread.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
interesting, so it's only few people... to try to understand where can be the difference do you use internal or external sdcard to store your twrp backup ?

could you check your file system, is it ext4 for all except f2fs for data ?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
It's f2fs on data and ext4 on system and cache and I do my backup store on internal storage.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] fablebreton:
After more tests, with the Desumanized twrp or internal sdcard instead external, same issue with restore

But

: restore only system , then restoring only data, then restoring only boot works fine

Weird issue but i can workaround :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tag68:
My idea is, you should never do flash a recovery:

fastboot flash recovery twrp.img

without previous having checked that it runs fine when started once:

fastboot boot twrp.img

(I prefer to let the original stick recovery on the phone and only boot twrp when necessary)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
I think recovery should be flashed even tho it gives an error. Also, there is no need to change the software channel since everything will be the same, and custom roms work with chinese version too.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] rafal.gz:
Thx a lot,

I was able to proceed with this rom by:

1. running custom twrp

2. installing rom via custom recovery

Now I'm glad :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] razorsbk:
Hello. I am trying to restore a full system backup, but after reboot the system wont start, it hangs at logo screen. Any idea ? Should i restore one partition at a time ? Should i use 'dehumanized's version ?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
Wouldnt help.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
Maybe a hardreset (hold power button for 10 seconds on running system) can help you. 2 weeks before I have done this as my phone comes on reboot trouble. After that, working. Restore backup working here, too. Completly. But anybody tells here that's better to restore system, data and boot separatly, step by step and then working.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
A new build is available. Incoming LineageOS 15 builds (or other oreo roms) will need this release (or newer) in order to work correctly.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Will old Nougat custom roms work with this recovery?

Wysłane z mojego XT1635-02 przy użyciu Tapatalka newest AOKP rom
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Yeah, sure
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] hamudistan:
Yes, just flashed and tested it. So I can confirm you, it works
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jinyo24:
Hi. I don´t see any option to make an EFS backup. Is that possible with some workaround with this recovery?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
There is no option to backup EFS in twrp. You can follow following steps to get the EFS backup and it works fine

Go to

TWRP-->Advanced-->Terminal

####To backup via TWRP terminal:####

dd if=/dev/block/bootdevice/by-name/modemst1 of=/sdcard/modemst1.emmc.win

dd if=/dev/block/bootdevice/by-name/modemst2 of=/sdcard/modemst2.emmc.win

####To restore via TWRP terminal:####

dd if=/sdcard/modemst1.emmc.win of=/dev/block/bootdevice/by-name/modemst1

dd if=/sdcard/modemst2.emmc.win of=/dev/block/bootdevice/by-name/modemst2

Hope this helps

:good:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] BtbN:
I don't think the modemstorage is what other phones call EFS. I'm not even sure if this phone has an EFS. modemst1/2 can be freely formated without loosing anything. Backing it up seems pointless.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
Or we can use this for backup ( twrp with EFS backup option )

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