yashsingh1/xdaforums huggingface dataset:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] prins29:
Okay I got it..

Did u tried with that script?

I and may be no one has this issue of freezing while installing firmware .. I don't understand why this is happening with you .
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Oez58:
Hello Prins big big thanks for tryining to help.

Finally i manged that my device is starting LineageOS.

But know my phone is starting always in Bootloader modus and i get always the Message "unlocked device...."

Post my question already on the LineageOS thread, therefore i dont want to go too much offtopic here.

It was reaaaaaaaaaaaaaally realy strange, im going to post the steps that i did hopefully later.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] prins29:
Unlocked bootloader msg is universal for Moto devices .. flash logo.bin by flashallthetime from MODs & apps division of XDA
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Oez58:
thx!! Unlcoked message disappeared.

only problem left is, UTAG "bootmode" configured as fastboot
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] prins29:
fastboot oem fb_mode_clear

Fastboot flash boot boot.img
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Oez58:
does not work.

Phone starts directly in TWRP and i have to select

reboot / bootloader

from Fastboot modus i must press start to start LineageOS.

Because starting in TWRP modus is to "risky" i send the fastboot command

fastboot oem fb_mode_set
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tag68:
The problem with mounting OTG and external SD may be caused by filesystem, exFAT seems not to be recognized. Is it possible to integrate exFAT support?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tomparr:
exfat support is integrated in the kernel. The problem is that the actual device (/dev/block/platform/soc/7864900.sdhci/mmc_host) does not exist in TWRP and is therefore not detected.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tag68:
The SD card problem then is caused by the missing device you mentioned. But I thought OTG would not work also until I tried a different stick.

So it seems there are two different things. Trying to access a 64 GB USB stick with ExFAT didn't work, but an 8 GB FAT32 was working fine. ExFAT is not the cause for the problem you say? Will try again with that stick.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tomparr:
I don't have an OTG cable to test it, but exfat is listed as supported filesystems when checking with 'cat /proc/filesystems'.

Maybe an additional propriatary component is missing.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] prins29:
OTG is Working for me since long. 64 GB SanDisk.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] MrPiper:
phone keeps booting into recovery have to go to bootloader to get it to start is there a way to fix this?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Oez58:
+1
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Have the same question - any solution - 3.1.0 twrp and RR 5.8.3 ??? This is urgent question .
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] klofisch:
Hello,

i have problem after flashing TWRP. I flashed it successfully,...and boot into. I didnt not change anything. But not the phone keeps showing the hint that the "phone is rooted and unthrusted...." and will start in 5 Seconds. But i doest boot. I can get in to twrp anyway.

What to do?

thanks

"
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
To remove that warning you have to flash logo.bin ( available on XDA ...Search it, it modified logo.bin )

If your device stuck at boot logo or boot looping ...Then reflash TWRP
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] klofisch:
It stucks at the warning about the unlocked Bootloader....
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Reflashed TWRP 4 times different version still phone boots to TWRP?...

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] klofisch:
Does might solve my problem with reflashing the boot.img?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
I also faced same problem ..... What I done is ..Flashed stock ROM ..Then flashed tarp again ...It worked .... Don't ask reasons why !!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
I really don't know if it help me... btw I noticed that my moto has 6gb die ram, while using 3gb of them... Is it normal that there is 6gb chip on board?

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] andy55:
Very very impossible. Only ever shipped with 3gb ram

http://m.gsmarena.com/motorola_moto_z_play-8310.php
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
View attachment 4115693
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
I know but is this possible MZP uses 3 gb from 6gb ram chip?

And back to topic is this resolvable problem with sdcard - to make it visible in recovery ?

And is this possible to avoid reboots to recovery - how to fix it ? --- that is fixed don't know why now, but in recovery no other directory than TWRP is visible and it is empty while it is not empty. Is there any other recovery more reliable?

Wys?ane z mojego XT1635-02 przy u?yciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] DROPENR:
Guys please help me !! i instaled TWRP on my moto Z but now I cant start the system !! its looping and going to TWRP automatic, even if i try to "reboot to system" from TWRP. any ideia how to fix??? thx so much and sorry for bad english
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] FreedFromDeath:
It's absolutely impossible.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
Have you tried wiping the cache partition?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] DROPENR:
yes, same problem. i just tried now, but still starting TWRP automatic.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
Are you sure you didn't mistakenly install TWRP in the boot partition?

What command did you use to flash TWRP?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] DROPENR:
i was following some video on youtube, using comand line on Minimal ADB and fastboot

i did "fastboot flash recovery recovery.img" works great

but then cant acess the system
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mirkosrc:
Did anyone manage to flash twrp-3.1.0-0-addison.img and install lineageos without bootloop or bricking the phone yet ? If yes, could you please post the steps you've done ?

..I know that description from the OP but the last posts seem to proof that there is still a risk..
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hitachy:
I've just done it now.

The steps were:

-backup old rom

-wipe data, system, cache & dalvik

-Install daily lineage

-Install daily stock opengapps

-reboot.

All works fine.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mirkosrc:
I'm on stock nougat and did not install twrp nor unlock my device until now. Do you think twrp will still work since my bootloader may be different (updated) to the ones from people who installed twrp from previous official Android versions?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hitachy:
I've unlocked my bootloader when I was in nougat stock and all works. Twrp works after 30 second of waiting.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mirkosrc:
I unlocked my device now and temporarily booted into TWRP. It asked for the decryption password. TWRP was not able to decrypt after I entered the password. How can I make a backup then? The encryption thing is new to me. [EDIT]: I did not set a device password after restarting. TWRP is not asking for a password. [/EDIT]

And when you started TWRP for the first time, did it ask for the encryption password? How did you proceed?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hitachy:
For me no password, just flashed alberto97's twrp permanently.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mirkosrc:
Nice. Did you install super su or the patcher before flashing lineageos to get rid of the verity check?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hitachy:
I'm not rooted right now, when I was i used extras addonsu from lineage website.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mijing:
Having trouble i flash lastest version twrp but Internal storage size 0 sdcard size 0 Showing .how can i backup how can i flash roms if storage are Zero pls help
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mirkosrc:
Thanks. Finally it works.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] vinnegsh:
did you manage to fix it? i'm having the same issue.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Kdx10:
Hi guys. Any help? Im helping my friend flashing twrp v3.1.0 but this error always appear. Thanks in advance
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
Are you sure the bootloader is unlocked?

Assuming it is, try "fastboot boot twrp.img"

If it doesn't work, re-download the file and try again.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] rogirogi:
Can I restore thisTWRP using data backed up in chineseTWRP?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Unbornlegend123:
I got this message a few times myself trying to upgrade twrp from 3.0.2 to 3.1.0. But after rebooting to recovery I had TWRP 3.1.0 check your recovery to be sure.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sidg2:
Sir when you launched a stable TWRP recovery with external SD card support for Moto Z Play??? Please make a stable version as soon as posible. Me and all moto z play users will be very thankful to you.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
That's just... wrong! Never ask for extra work nor ETAs, unless you're the dev's boss and you guys work in a corporate environment. Here in XDA, man... that's a crime, literally.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] karmacoma7:
softbricked.

Unlocked BL ->

FLASHED TWRP

TWRP Boots, but, cant see internal storage (microSD neither)

So I cant backup or restore or flash:

Could not mount /data and unable to find crypto footer.

Failed to mount /data (Invalid argument)

Unable to recreate data/media folder

Failed to mount /data (Invalid argument)

Unable to mount storage
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tag68:
If you can't access /data, you may use OTG. Most USB sticks and card readers are supposed to work this way. OTG adapter costs about 3 Euro.

Why did you flash twrp before checking with fastboot boot that it is completely working fine?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] timster01:
If you look at that users previous posts, you'll see a pattern of asking others to go above and beyond. I call it begging.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] tronoslycer:
were you able to resolve your problem?

---------- Post added at 03:30 PM ---------- Previous post was at 03:26 PM ----------

Hey guys, I will try to install twrp for addison but I don't know if it have problems with sd card and moto mods, could someone tell me more about this? and another questions, What is the best way to root my phone after twrp flashing?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] xoxys:
Same thing happens to me yesterday. To fix my phone i try to downgrade with this script. Afterwards the Phone won't boot the stock rom (maybe i missed something) BUT i flashed 3.1.0 TWRP again, boot to recovery and the data partition was fixed. So i was able to connect my phone to pc and copy lineageos to internal storage. I think some of fastboot commands inside the script repairs the internal storage data partition but i cant tell you which command... For me, all these Guides are a bit buggy or incomplete or outdated so be careful what you do.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Kdx10:
This is my exact problem a week ago. I resolved it like this, very first thing is download any rom/custom rom with or without gapps of your choice and the steps i did is first i boot in twrp recovery screen connect my phone to pc via cable then let the drivers installed in pc. 2nd i open up a minimal adb/fastboot (of course the rom you downloaded is in this path too) and type the command "adb devices" to confirm if its accessible then after that i typed " adb push (name of the rom in zip file) /sdcard/. " then after it finishes copying go to your phone which is in twrp mode then go hit the install button of twrp and you will see those file in your internal sd card and flash it after that power off your device. Do not reboot it. Keep it off for atleast 24 hrs. Then after 24 hrs open your device by holding power and volume down which will lead you to ap fastboot or also called as bootloader mode then look for "power" and press the power button of your device then you will see it booting.

Ps... Sorry for the long post. I am just trying to explain it as brief as possible. I hope it will works too in your situation. Warm regards :good:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Thanks to [MENTION=1829889]vache[/MENTION] we have working SDCard now (a new build is up). Meanwhile omni team pushed a fix for adb backup to 7.1 branch so that's another working feature!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Good, but is this build work, on my phone it don't start? Flashed from older recovery.

Yes, recovery don't start hangs on welcome screen - tested again. File downloaded from German site.

Tested from fastboot - and .... it boots to recovery after a lot of time - my be because of sdcard reading - it takes 3-4 minutes ( my fault sorry) . I hope it is only on first boot ...

Yeeesss ... it works , only first boot takes much longer than before :)

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] coyotefiveoh:
Amazing! Can I flash this .IMG via twrp? Or has to be fastboot?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] prins29:
Working ? flashed throught twrp 3.0.0 and now external sd is mounted.. thank you for your hardwork.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
SD is mounted - but internal memory is not visible in internal file manager.

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mercuriox85:
All work fine....mount sd and internal whit no problem.

Flashed whit flashify.

Inviato dal mio XT1635-02 utilizzando Tapatalk
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
Almost all is ok , I don't know if start time of recovery can be a little bit faster , and twrp file manager in my case don't see internal storage .
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sidg2:
[MENTION=4480917]Alberto97[/MENTION] [MENTION=6192363]tag68[/MENTION] I have noticed some bugs in this latest twrp recovery ( twrp-3.1.0-1-addison.img May 11, 2017 ):-

1. It takes a long time to load and it looks like slow & sluggish.

2. Also when completely loaded it hangs and touch screen not working. We have to press power button off and then ON, then touch working.

3. It is really very slow to make backups and take a very very long time to complete as compared to other twrp recoveries on the same sd card. (My SD card is a fast Sandisk class 10 32GB USH1). It also take the same amount of time on internal sd card ( a little bit fast ). I have very fewer apps and data.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
A newer version is up. [MENTION=4480917]Alberto97[/MENTION], man you're faster than flash, thank you!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sidg2:
[MENTION=4480917]Alberto97[/MENTION] the problem is still there in this latest twrp recovery ( twrp-3.1.1.0-addison.img May 19, 2017 ):-

1. It takes a long time to load (freeze in twrp logo for at least 25 to 30 seconds ). This problem is not with other phone's twrps.

2. Also after completely loaded, it hangs and touch screen not working. We have to press the power button to off and then ON, then touch will work.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] OrBy:
Flashed 3.1.1.

Booted it and got the classic "need to press the power button twice to turn off and on the screen before I could tap on anything" - but once that was done was able to select SD and perform a backup.

Backing up to my 200gb Sandisk card now - Looking good!!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] DroneDoom:
I think I have the answer to your problem:

1. Contact a forum moderator

2. Tell them you want your xda account deactivated

3. Profit for all of us
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jimi Mack:
Instead of just listing your complaints, supply the OP with a log from TWRP and maybe he can track down the issue. It is always nice to supply something to help as to just point out problems.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Kdx10:
V3.1.1 is up. And its changelog is f*ckin good. I will thank you now sir idol alberto.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
3.1.1 ....works fine all is good

:good:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sebx_g1:
After installing latest twrp - I got bootlop on aokp rom , before it worked very well , nothing helps - factory reset also , restoring twrp backup as well .... hmm ... strange thing . I hope I have logs to attach here in few minutes ....

Logs are not taken strange... freshly flashed rom after factory reset works again.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] sillycat98:
Ok, I have a quick question. This seems to work fine, boots up if I do fastboot boot twrp*.img but when I try to flash it I get errors... The last unlocked phone I had was a Moto G LTE, like the first gen Moto G. I just wanted to know if this is normal for this phone. It boots the new image if I try to adb reboot recovery but the error just throws me off.

fastboot flash recovery twrp-3.1.1-0-addison.img

(bootloader) has-slot:recovery: not found

target reported max download size of 536870912 bytes

sending 'recovery' (11374 KB)...

OKAY [ 0.275s]

writing 'recovery'...

(bootloader) Image not signed or corrupt

OKAY [ 0.270s]

finished. total time: 0.550s

Thanks in advance
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
You see that because the recovery image is not OEM signed. Everything works just fine though.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Serial Kazama:
Hi i upgrad the TWRP by using the APP Flashyfi .

Copie the twrp.img to your phone. Open Flashyfi -> accept root request -> select Recovery image - > chosse a file -> go to the downloaded twrp - flash -> reboot. :fingers-crossed:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Unbornlegend123:
Seems to work fine for me flashing in TWRP. Version number updated. Issues seem fixed. Having to power off the screen to get touch only once in awhile opposed to every time before.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] defilip69:
[MENTION=4480917]Alberto97[/MENTION] thank you so much for this :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Xecu:
I want to thank you for this info :good:.

I had the chinese twrp installed and flashing this version over it via fastboot failed. This app however did the job.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] henkephi:
Recovery loop help, please

Hey, first of all thank you for the recovery.

But I have a little problem, after i tried performing a factory reset from in the stock rom, I can't boot in to android.

everytime I restart it goes to the twrp recovery.

From what I've read I have to reset some partitions (fota and or misc), but i didn't find the correct way to do so for the mzp.

Hopefully there is a fix for that.

Thank you.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
How did you perform this factory reset exactly? I very much doubt your problem has anything to do with this recovery.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] henkephi:
recovery loop [solved]

yea, I know, that was stupid, but after a lot of panicking/running in circles and screaming and crying in the corner I discovered a way to exit this loop.

The stepps, if someone has the same problem, sadly it is (android-)version specific.

1. get the stock image and extract the original recovery.img

(I got mine from: https://xdaforums.com/moto-z-play/development/firmwares-stock-nougat-moto-z-play-t3599838)

2. flash the original recovery.img (to the recovery partition!!! ;))

3. reboot and profit

4. It could be that it is still stuck, but in the stock recovery, then you have to reboot the phone in fastboot mode, directly !after! it finished performing the wipe

5. boot twrp temporarly as described in the beginning of the thread and ether root with superSU/Magisk or disable verification with the zip file provided by OP.

6. I personaly performed another factory reset out of the OS, just to be shure all is as it should be.

7. the end.

feel free to correct my post.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] DroneDoom:
Restoring a system image doesn't actually restore in TWRP. I managed to flash the file through fastboot commands, it parsed the image in sections of 500Mb (it was a 4Gb image file) and it didn't break dm verity. Probably going to keep that file to revert to when wanting to install an OTA.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] BtbN:
Using twrp-3.1.1-0-addison.img, when trying to format Data, it asks me to type "continue".

But when typing, no key except for the "e" one actually types something, so I can't type continue and format data.

Worked it around for now by just formating from an adb shell.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jimi Mack:
Did you try going back to version 3.1.0 and see if you are having the same issue?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] BtbN:
No, I have the device setup and in use now, don't really want to format data anymore.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jimi Mack:
You do not need to format, just flash the older version in TWRP over 3.1.1 as an image.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] henkephi:
Excuse me, I ment download the zip (not img)(!which is not flashable in the usual way as I know!) which floats around in the xda of the mzp.

And yes it doesnt restore the verity stuff (bc you dont flash the system, just the original recovery),

but the verity sfuff is easy to work around, so I didn't care at the time (I was to pumped bc I got my phone back to life:laugh:).
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] BtbN:
Nevermind, I just misread the text, it wants me to type "yes", which is exactly the 3 keys that work.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] DroneDoom:
Please refrain from posting nonsense, I'm surprised you're able to post in the development thread with just 5 posts on your account. I was reporting that the backup option of a system image created by TWRP are worthwhile if you transition from a custom rom to stock rom via TWRP backup.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] cowboysgz:
I just went through the same problem lol I tried flashing twrp after flashing stock 7.1.1 but my gf was talking to me so I messed up the fastboot flash recovery twrp.img command so it showed me error in the command window but I just thought it didnt flash anything. I tried rebooting the phone but I bootlooped. Long story short, I had to flash stock april firmware and then 7.1.1 sideload but now everytime I try to restart the phone it boots into bootloader and I have to choose start everytime. Everything is stock though.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Kap_Tutan:
I have the same problem before. What ever i choose when restarting my device it will directly boot in bootloader mode and click start via power key to finally boot it up. But i manage it via "fastboot oem fb_mode_clear" (without the quotes) in fastboot command. Just try it bro. I hope it helps.