yashsingh1/xdaforums huggingface dataset:
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
I finally bought this phone. It was on sale at a Target for $60 brand new. Couldn't pass that up.

I played around with the settings a bit, seems far snappier than my Huawei Elate. But I wonder if that's because I don't have data constantly streaming through it. See I haven't switched my sim just yet, I want to unlock bootloader and root first.

Jeter and Resus, April 18th Kernal. Going by memory since its in my car (I'm currently on break). After work I'll email Moto about unlocking it then download the necessary files in the first post in the meantime while I wait. I hope to be officially up and running by Wednesday.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
*Ugandan knuckles voice*

Welcome bruddah *begins clicking of tongue* we will show you da wae.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Ok, having bootloader unlock problems...

I followed the instructions on the Motorola site, even got the unlock key.

In command prompt, this is what happens:

C:\Windows>fastboot oem unlock [unlock key]

(bootloader) WARNING: This command erases all user data.

(bootloader) Please re-run this command to continue.

OKAY [ 0.007s]

Finished. Total time: 0.013s

C:\Windows>fastboot oem unlock [unlock key]

(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer

(bootloader) Options

OKAY [ 0.006s]

Finished. Total time: 0.011s

C:\Windows>

And when I go into settings, the OEM unlock is greyed out. I restart, I don't get the bad key warning. Not sure what I'm doing wrong.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Well playing a hunch I cut on wifi to my G6 Play (I did this at the library since I don't have wifi at my house). I let it update the Play libraries but I didn't take the security update (should I?). I then went into developer settings and this time OEM unlock wasn't greyed out. I check it, shut off the phone, rebooted into fastboot. Did the fastboot commands for OEM unlock twice like before, but this time on the second go it told me my bootloader was unlocked. I got the bad key! :) Then it proceeded to encrypt my phone before giving me the "Lets get started" prompts (since this process wipes data).

Wow so I'm ready to go. Bootloader is unlocked now so just gotta read through this a bit so I don't brick my phone. I spent most of the day on this bootloader unlock so I might wait till tomorrow. So, yeah, looks like Wednesday. One last day with the Huawei.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
How?

As per the instructions, since I'm copying and pasting here:

Step 6.) time to decrypt which will also format your data so make sure to make a backup. while still booted in twrp touch the "wipe" button then touch "format data", type yes and after its all done reboot to bootloader use this command.

Code:

adb reboot bootloader

CONGRATS! if you read this correctly and or didnt skim then you have successfully decrypted your device and backed up your stock recovery and stock boot.img. proceed below for root process.

ROOT PROCESS.

Step 1.) Run the following command from your computer to install the TWRP image to your device.

Code:

fastboot flash recovery twrp.img

Emphasis mine. It says to reboot the bootloader, not go back into TWRP. I did as was written, phone formated (gestating circle), encrypted itself, then "Hello Moto!"

Guess I should be lucky I'm not in a bootloop. But now I have to ask, are these instructions in order? Cause it seems like the dm verity disabler, the part that disables encryption, should come way early.

---------- Post added at 03:34 PM ---------- Previous post was at 03:13 PM ----------

No option to do this part. Its either back or reboot system.
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Yeah that's normal, select back. Then from TWRPs main menu, select reboot, then select recovery.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Ok, and after that you said "6. Once twrp boots up again, select mount and check the boxes for /data, /system, /vendor, /cache." It won't let me select data but it will let me select the other three. Do I just go ahead and select these three and then adb push the verity disabler zip?

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

When I go to wipe menu>>advanced wipe>>check "data">>Repair or change file system, it still says f2fs. Yet I can't select it in TWRP to mount it.
[Moto G6 Play Guides, News, & Discussion] Starkiller2:
[MENTION=4755434]RodimusConvoy[/MENTION] You can't mount data right after formatting. Flash it anyway
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Ok let me ask it another way:

1. fastboot flash recovery twrp.img

2. Use the volume keys while still in fastboot to select "recovery" then hit the power button.

3. Hit cancel at the decryption screen when twrp boots up.

4. In TWRP select wipe > format > type "yes" to continue. Do not reboot the phone yet.

5. In twrp select reboot > recovery.

6. Once twrp boots up again, select mount and check the boxes for /data, /system, /vendor, /cache.

7. Now flash the universal encryption disabler.

8. Let it boot once, then go back into recovery and flash Magisk.

Either I'm skipping #6 entirely, or I'm checking everything (system, vendor, and cache) but data since I can't check data. Which is it?
[Moto G6 Play Guides, News, & Discussion] Starkiller2:
Ok, I see what you're saying now. Are you using the updated twrp? Either is the updated version or the 16gb version. The updated one by [MENTION=7718083]Spaceminer[/MENTION] works on both.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
The updated one more specifically the one that says twrp for Android 9 works on Android 9 (pie) for both 32gb and 16gb models the twrps for 16gb model and 32gb model are for Android 8 (Oreo). There is nothing out of order here either.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Since I'm Oreo and not Pie I'm using the 32gb version. Just going by the instructions.

Right now I'm stuck on #6 here. I'm in the library and they close at 9pm EST so hopefully someone will respond by then. Either I ignore #4 or check the other three mentioned. :confused:
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Man I just had a junior member message me for help and he didn't realize he needed to use fastboot first. After he figured that out he was able to successfully do this so I really don't see why people are having such issues.... It was [MENTION=10000849]sevennine212[/MENTION] that got it going so yea
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Yo to make it entirely easier for us all and me and since you have Oreo do this. Please reflash the stock firmware for your device and model. Once you have reflashed stock reboot to fastboot and let us know when you are rebooted to fastboot after flashing the stock firmware. This will be the best possible way to receive the help you need is if we start from scratch
[Moto G6 Play Guides, News, & Discussion] ninjakira:
And also while flashing try this to prevent any further issues. DO NOT USE THESE FOLLOWING COMMANDS

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash dsp adspso.bin

REMEMBER DO NOT USE THOSE and try reflashing like normal minus those commands
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Here's the thing. I was stuck on a step, not YOUR step, but the step of someone else who was helping others having the same issue following YOUR instructions. I don't know why he answered them in practically real time but not me, but when I tried to back out of this now I'm in a weird bootloop between bad key and N/A.

My device can still be detected and I can still fastboot to TWRP but then it gives me...the same error the other two folks had.

So my thing is, I'd love to have BOTH of your help and not just yours since they can "interpret" your instructions a bit better than I and others can.

What is irritating me is that I mentioned twice I'm stuck on a step even correcting myself (#4 but #6) but you ignored me both times, but I didn't ignore YOUR instructions which is what got me here.

So when you preface this with post #127 I'm not sure what to think since that wasn't the problem I was having. I couldn't have gotten that far if I didn't understand fastboot so wtf.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
I'm literally the one the person that's made the guide telling you to retry from scratch and reflash so I can figure out what's going on. Like I said there's juniors members able to do this so there shouldn't be issues. To help ME better I would like it if you started fresh with reflashing stock. From there I can troubleshoot you as well as Starkiller2 and Spaceminer because one of them was gonna be bound to say what I'm saying now... After reflashing stock firmware and rebooting back to fastboot please let either me know in pm or on here.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
My issue wasn't fastboot related so it seemed an unnecessary and odd dig. If your instructions were so clear ("there's junior members able todo this!!!") no addedums by Starkiller2 nor Spaceminer would be necessary, correct?
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Lord all mighty dude lol I get where your coming from the frustration and everything. but I literally can't help you if I don't know where your at on your phone since I'm not in person. Now I'm fully willing to use Facebook messenger for video calling if needed but no one likes that idea when I throw it out. So the best way for me to know is if you reflash stock then go back to fastboot. From there if something goes wrong I can figure out the problem.
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
You got past the format "yes" part and you were able to reboot to recovery immediately after, but data won't mount? If this is what happened, just make sure /vendor and /system are mounted and flash the disabler. Let it boot, then flash magisk after you get setup.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
My point is you're still going to have to answer my original question cause even reflashing I'll run into the same problem.

I'll try and get this back to stock, I guess I'll be stuck with Huawei a little longer, and try to figure out where to go from there. Ironically I was considering the G6 Plus but figured $60 plus an active G6 Play community why not!
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Wish we could share memes on here def would be sharing the one that says "looks at me, I'm the captain now" lmao
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
I "think" I answered your question and you might have missed it. Check like 2 posts up. #134
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Well I will say I'm pretty sure the g6 plus at least has official twrp that decrypts it might have been the better choice in terms of rooting lol
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Sort of. #6 (that my mind wants to call #4 for some reason) of your initial addendum is "Once twrp boots up again, select mount and check the boxes for /data, /system, /vendor, /cache." It won't let me check data, but it will let me check everything else. That's why I was wondering if I should skip that step altogether, or check what I can (vendor, system, cache).

I am in TWRP right now. If I have to flash the whole image ok but I want to make 100% sure first. Apparently hitting recovery and "fastboot boot twrp.img" got me out of that, I guess, bootloop.

---------- Post added at 06:01 PM ---------- Previous post was at 05:59 PM ----------

Well what you quoted was to ninja, I didn't quote him cause I thought we were the only ones talking. My mistake. But I will give that a try.
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Yes, just mount what you can and flash the disabler. Vendor is the important one to have mounted for that.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Now it only show N/A,not even bad key anymore.

Hmm...

Both times it said data failed, which seemed weird/ironic when I flashed the zip for the disable dm verity.

I'm back in TWRP. I did make a TWRP backup, but I don't know how good that is since even there it wouldn't let me check data.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Having na is actually good lol so you booted twrp and formated data typing yes then rebooted to fastboot and flashed twrp? If so you should be able to see the internal storage and how much space it has now instead of it saying 0mb. If it does now you need to flash the disabler zip then magisk and your good
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Check data in twrp's wipe options. If it says ext4, format it to f2fs. You should boot.

---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------

Can confirm, N/A just means it worked.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
No. It always seems to fail, internal storage stays at 0mb.

When I try to install disable_dm_verity from tmp, it seems to work then at the end gives me the error "failed to mount '/data' (invalid argument). In red. Everything else seems to flash fine until the end. It'll say that then "...done."

---------- Post added at 06:46 PM ---------- Previous post was at 06:39 PM ----------

Rebooting it'll stay on N/A for a while, go black, back to N/A, N/A a third time, TeamWin splash page, OpenRecoveryScript which will stay on maybe a whole second, then repeat.

The only way to break this is power+volume down
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Then it's not decrypting which means you didn't type yes to format data. At least thats what it sounds like to me. Which since you've done this alot at this point most people would have just reflashed firmware and try again.. and usually there successful. I'm not sure if you reflashed stock since you didn't say anything about doing it. The best way I myself can help this is if you simply reflash stock then after boot twrp, hit cancel when it asks for a password, Take backup if you want, format data and type yes then reboot to fastboot/bootloader from twrp then flash twrp. At that point of flashing twrp you should be able to see internal storage. From that point adb push the files to tmp then flash disabler zip then magisk. Once you see N/A after flashing twrp that means twrp successfully flashed
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
...of course I've typed yes. Every time. I was considering uploading a video of this process. It simply will not touch data for some reason.

I'll upload pictures.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Could you please just reflash stock my guy. Your being quite hardheaded about that for some reason ? we can't help until you do that basically at this point. we need a fresh clean slate to work on
[Moto G6 Play Guides, News, & Discussion] ninjakira:
After you have reflashed stock. Reboot back into fastboot and tell us when your there
[Moto G6 Play Guides, News, & Discussion] Starkiller2:
Maybr he could format from fastboot and push an edited fstab?
[Moto G6 Play Guides, News, & Discussion] ninjakira:
That could be an option. But id rather a fresh reflashed phone first before trying that. Cause if it is an fstabs issue which it shouldn't be that means topjohnwu and Zackptg5 gonna have to update magisk and the disabler with a new fstabs patch as well. (I forget which one actually patches up the fstabs lol it was magisk and now it seems the disabler and magisk work together to do it.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Apologies, its just reflashing stock should be a last ditch effort. I had it (still there, took 8 minutes to download), but I had to be sure first, and with everyone agreeing N/A is a good sign...

Well Spaceminer got me squared away. Thanks to him, and thanks to you, too.

What an awesome feeling seeing the MagiSK Manager mask in the app trey. :highfive:
[Moto G6 Play Guides, News, & Discussion] ninjakira:
So your rooted and Everything is good to go now lol. Then congrats. Once you do the guide successfully it becomes one of these things where your saying to yourself "wow why was this so hard" lol
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Yeah Spaceminer figured out where I went wrong. He/she is something of a hero I see. :D

I gotta admit though, when I updated MagiSK and the phone rebooted, when the N/A popped up I held my breath until the Moto sequence started. :laugh:
[Moto G6 Play Guides, News, & Discussion] ninjakira:
And where did you go wrong if I may ask ?
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
When I first installed TWRP I forgot to check allow system changes. :angel:

---------- Post added at 08:30 PM ---------- Previous post was at 08:28 PM ----------

By the way, will taking this security update brick my phone since its now rooted? It says its the July 1st 2018 update.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
O lord ?????? yea I already know you def said "wow why was this hard" OMG I feel dumb for not even thinking of that lmao that's a literal first for me ? I'm sorry it took us so long to figure that simple little thing out lmao
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Oooo mmmmm your on like the first or second update when the phone came out ?? that sucks. Spoooo I hate to break it to you, your gonna actually have to reflash the stock firmware now. If you don't want pie then just reflash the latest firmware that still says 8.0.0. you can't take ota updates with a rooted phone and twrp you need the stock recovery. Use the guide and remember to allow system changes this time ?
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
Will it brick it though? Cause usually it just fails without bricking. Just making sure.

Also I thought the G6 Play, the unlocked Carrier-free version, wasn't getting Pie. Has that changed?
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Also added a new warning in the twrp download section lol
[Moto G6 Play Guides, News, & Discussion] ninjakira:
It shouldn't brick. The most it will do is download the ota but the ota won't be able to be installed cause the phone is no longer stock
[Moto G6 Play Guides, News, & Discussion] ry755:
You should add "fastboot erase modemst1" and "fastboot erase modemst2" to the instructions for reflashing stock. It fixed issues I had with LTE when downgrading from Pie to Oreo (plus it's included in the official flashfile.xml)
[Moto G6 Play Guides, News, & Discussion] jsommers:
Help please. I try to flash a custom Rom when I swipe install it ask me select target partition to flash image. The choices are system image , Boot, recovery. Can somebody tell me what partition to choose. Thank you.
[Moto G6 Play Guides, News, & Discussion] ry755:
Choose system image
[Moto G6 Play Guides, News, & Discussion] jsommers:
I did that it stay stock on bad key
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Well for starters there is no custom rom for the Moto g6 play.There is gsi (generic system image) that you can choose from but because they are made to be used on any project treble compatible device which Is any Android device shipped with Android 8 (Oreo) or higher and not specifically made for the Moto g6 play there will be issues and or bugs. The best I can do for you is say to follow the bottom of my guide for reflashing stock firmware invade you mess up. I have not messed around flashing gsi enough to feel comfortable being able to help with situations not involving stock firmware or a actual custom rom. There are about 5 guides I think for gsi that you can go to on here there.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
This is guide you would want. Be warned some gsi for the g6 play do not have Mobile data like LTE and will require a tad bit of advanced knowledge to fix it. lol

https://xdaforums.com/g6-play/development/roms-run-g6-play-gsi-t3904067

all credits for the gsi guide go to [MENTION=6498349]the-her0[/MENTION]
[Moto G6 Play Guides, News, & Discussion] jsommers:
Sorry I will explain myself better. I have a moto g6 play XT1922-5 (Aljeter retla) I follow your guide until step 3 on root process. I decide to install ressurection remix arm a everything was going well until I Flash it. I'd like to know what I did wrong, can I repair it, it I have to wipe everything and to start over. Thank you.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
To quote [MENTION=9129863]Starkiller2[/MENTION]. "Assuming youre already decrypted and in twrp,

Flash gsi

Swipe to factory reset

For gapps you have two options, one of these will work

1.Go to advanced wipe menu

Select system, change file system

Select resize file system

Swipe twice to resize because it will fail the first Time (no idea why)

Go back to main menu and install gapps

2. After flashing gsi, let it boot once then reboot to twrp, install gapps(not 100 percent guaranteed with every gsi, but kinda easier so worth a shot)

Install magisk or whichever root method you choose after gapps,

Reboot"

As it says this is assuming your already decrypted And in twrp. Best bet to make sure there ain't anything messed up just reflash stock firmware and try again. as I said earlier I'm not to familiar with gsi as I'm still learning how to properly do them myself hence why I directed you toward the gsi guide lol it is fixable but the way I fix it is reflashing stock and trying again. Aosip worked for me. Rr remix didn't but it worked for other people
[Moto G6 Play Guides, News, & Discussion] jsommers:
Thank you for your help I'll try it. I have to ask you something. It is normal when I try to flash the GSI TWRP ask for target partition to flash image. and give me choice system image , Boot, recovery.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Yes. When that option pops up definitely make sure you touch system. Also. Aosip does have a bug ( at least for for 16gb xt1922-7 Sprint model not sure about 32gb models) where Mobile data like LTE does not work. Starkiller2 also explains how to fix that. But again I'm not sure if that bug is there for international/us 32gb variants.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Thank you for the suggestion, it has been added ?.
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Just to add a small bit of info. If you flash a GSI, try to reboot, and twrp says "No OS installed", just ignore it and reboot anyways.

Twrp gives you different install options for images, because it can flash boot, recovery, and system images, but it has no way of knowing the difference between a system.img or a boot.img. As far as twrp knows, it's just an image file. It doesn't read the first name, just the file extension.
[Moto G6 Play Guides, News, & Discussion] jsommers:
Too much problem I'm going to revert on stock. Do you know how I can do that. I have recovery and Dm-verify install.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
The bottom of the guide contains everything you need to reflash stock.
[Moto G6 Play Guides, News, & Discussion] jsommers:
To reflash stock do I have to press Enter after each line on command. Because after paste the first line

(fastboot oem fb_mode_set) and press Enter I only have waiting for the device and can't write anything after that.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Are you in fastboot? Hold the power button and volume down button together until the bootloader/fastboot screen pops up then use the commands and enter them one at a time....
[Moto G6 Play Guides, News, & Discussion] jsommers:
Thank you for your help.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Anytime bud it what I'm here for lol
[Moto G6 Play Guides, News, & Discussion] elsinore79:
stuck

Step 2.) Use the volume keys on the device to select boot to recovery and TWRP will boot up again. swipe right to allow modifications. IT SHOULD NOT ASK YOU FOR A PASSWORD THIS TIME IF IT DOES YOU MESSED UP DURING THE DECRYPT PROCESs

when I get here It does not say swipe right to allow modifications, just opens twrp without password. xt1922-9 retus