yashsingh1/xdaforums huggingface dataset:
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
You're welcome here, everyone is. And you're not being frowned upon because of your skill level. The questions you're asking though, have already been asked and answered all over XDA. There's a guide for practically anything android related here. This is also a place where people who develop and test software come to share knowledge. I mean, it's in the name. For these reasons, people here will expect you to do some research on your own before asking questions. Here's a good example...

Instead of saying something like "I don't know how to transfer a file to my phone." We would expect you to search for existing information and read up on how to do that. Because I promise you that information already exists here, as well as plenty of other websites, and a simple Google search would help you find it. We shouldn't need to guide you through that. Same thing with installing an app. There are guides here covering that too, explaining several different ways to do it. I'm insisting that you do some work and educate yourself first, because I don't want you to break your phone. Find a guide about adb/fastboot commands and read it. Find information about app installation and read it. I don't want to just give you fish. I want you to go fishing so that you can eat for life. That's why I gave you topics to read up on first, and said to come back if you're still having trouble.
[Moto G6 Play Guides, News, & Discussion] Starkiller2:
I only tried it for a short time so I can't say how well. There was a magisk module to put xposed framework in place, you may wanna try that. its what I used. if its still in the repo
[Moto G6 Play Guides, News, & Discussion] Grom9A:
Did u solve it? I have the same and i found the twrp
[Moto G6 Play Guides, News, & Discussion] Juan_Carrizo:
Really??? :confused: Read this thread again and find the Answer. :rolleyes:
[Moto G6 Play Guides, News, & Discussion] GT72:
Hey spaceminer . I suppose i did get in a little over my head, but after 6 days of research and trial and error, I sucessfully restored my OS with the backup file u gave me, Rooted with majisk v20..3 beta, and installed a few mods! I wanted to thank you again for helping me. But anywaysI do have a question. I was able to install the files u sent me with no problems, however every stock firmware zip , custom rom zip Ive tried to flash , and i mean every one says invalid zip file format. The bootloader is unlocked , its decrypted, and rooted. Its very frustrating as I have watched every tuturial , read everything i could find , about this, and just cannot flash my stock rom , or any custom roms, Tried the recovery method from a stock oreo backup file someone shared ,. When trying to use restore method , no partitions are available to select, when using install through twrp the invalid zip error. That error appeared with about 10 different zips Ive tried. I also noticed that on all of the zips have a corrupted disk img in 2 of the folders. how can it be that all of these zips are bad. Its got to be smtg Im missing. Anyone have any ideas?
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Extract the firmware zip to your adb/fastboot folder. You should read the flashfile.xml inside of it to see what gets flashed to where. The syntax when flashing is also important. It should always have this kind of format.

[fastboot] [operation] [partition] [file]

Example:

fastboot flash boot boot.img

The flashfile however, does not list things in the same order as the flashing syntax. (Why? I don't know.)

It looks like this in the flashfile.xml...

<steps interface="AP">
<step operation="getvar" var="max-sparse-size"/>
<step operation="oem" var="fb_mode_set"/>
<step MD5="9283cdc0875db683ee35ce94a8a417cc" filename="gpt.bin" operation="flash" partition="partition"/>
<step MD5="db5960d9bb9737df2e9f3194497193e8" filename="bootloader.img" operation="flash" partition="bootloader"/>
<step MD5="d5634687e607d11a71b0e5dae45f0da8" filename="NON-HLOS.bin" operation="flash" partition="modem"/>

So... these turn into this when you actually flash things, because we need to follow the correct syntax.

fastboot flash partition gpt.bin

(gpt.bin actually makes the partitions, so that's why this one gets flashed to "partition". The rest will look very normal.)

fastboot flash bootloader bootloader.img

fastboot flash modem NON-HLOS.bin

Just remember to flash everything in order and you should be okay. If the bootloader.img or gpt.bin fail to flash, just skip them. If you can flash them, do it, if not don't worry about it. Those things never downgrade, so if they don't flash, it just means you already have the newest version of those files installed. That being said...

How do you rollback to Oreo?

Flash everything in the Oreo firmware, and follow the flashfile like normal, but when you flash NON-HLOS.bin to your modem partition, use the NON-HLOS.bin from the latest Pie firmware instead. This fixes LTE on Oreo. If for some reason sound isn't working, or you have audio problems, flash adspso.bin from the latest Pie firmware to your dsp partition. Any time you flash a new modem, always remember to wipe the old ones with, fastboot erase modemst1 and also, fastboot erase modemst2. Good luck! I think this will get you where you want to be.
[Moto G6 Play Guides, News, & Discussion] GT72:
Hey, Was just curious , is that the stock pie firmware that u sent me, or is it a custom rom? I do really like the "no bloat" and the launcher. Its growing on me. The problem is that it wont detect my sim card.
[Moto G6 Play Guides, News, & Discussion] GT72:
Just to clarify , Ive been trying to flash all of these zip files through twrp after transferring them to my sd card. Thats when i get the invalid zip file format. I thought u said thats the easiest way to do it when I started this. Is this the correct way ?

Update: Sucessfully Insalled stock oreo firmware! Now to try Majisk and root.
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Most zips can be flashed in twrp, just not firmware zips. If you wish to debloat, I can drum up a list of safe to remove apps. What I sent you was a backup of my stock Pie. Use Magisk v19.3, and disabler version 5/21/19 if you have any problems with root. (There are copies in this thread somewhere, if you can't find them I'll help you out.)

If you wish to take the plunge and debloat things yourself...

Make a backup of /vendor, /data, /oem, and /system first. Then navigate to /oem/app & /oem/priv-app and start deleting things you don't want. (Delete whole app folders.) Then do the same in /vendor/app, /system/app & /system/priv-app. If you delete the wrong thing(s), the system will bootloop. If that happens, just restore the last place you were working in and make a note not to do that again. It's good practice to always wipe the dalvik cache after removing apps. You can delete the folder /data/dalvik-cache and reboot, or you can do it from twrp's wipe > advanced wipe menu.
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Material Twrp

Flash this to recovery using fastboot or directly install the image from your existing twrp. Be sure to grab the appropriate version for your device.

xt1922-x

xt1922-3

amx
[Moto G6 Play Guides, News, & Discussion] GT72:
hi, Im having trouble finding the 5-21-19 version of the disabler. the one in the link is 1-6 -2020 (or 1-16 ). And it doesnt seem to work...
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
At the bottom of the first post in this thread.
[Moto G6 Play Guides, News, & Discussion] riquemonteiro:
Is this working? I mean, everytime i try this, i **** up my phone

I just got an used G6 Play, like 1 week ago

And i want to use custom roms but EVERYTIME i try to do this, it goes as following:

I boot the twrp.img, it asks the password, i skip, i backup boot.img and recovery.img and ok, i reboot to bootloader

Then i flash recovery twrp.img, ok, i enter recovery mode in twrp, then ok

Then i Format Data, flash Disable.zip and Magisk.zip, then, if i try to reboot, it gives warning "No OS installed"

This can't be right, i mean..

So everytime after this i have to re-install the Stock Rom. And i dont know what i'm doing wrong, i mean. Any help?
[Moto G6 Play Guides, News, & Discussion] dotKin:
Ignore that warning, it shows up even when you have a system. What happen if you reboot to system anyways?
[Moto G6 Play Guides, News, & Discussion] riquemonteiro:
Bootloop

That's why i have to reflash stock rom always.
[Moto G6 Play Guides, News, & Discussion] madbat99:
After you format data and type yes, reboot recovery then flash disabler then magisk (magisk 19.3). Once booted up you can update magisk in magisk manager.
[Moto G6 Play Guides, News, & Discussion] riquemonteiro:
Thats what i do everytime

Here follows:

I format data, type yes, reboot recovery and then swipe to allow modifications

Then i flash disabler, then magisk, then i reboot and it goes straight to bootloop.

So i see no other choice. I literally am not able to disable encrypt and root my phone with this method i think.
[Moto G6 Play Guides, News, & Discussion] dotKin:
Is your device aljeter? Some vendor images didn't work for me and I had to flash a generic vendor.img, not from a carrier or country specific
[Moto G6 Play Guides, News, & Discussion] riquemonteiro:
well i guess it is, i have a XT-1922-5 Brazil

the stock rom i download is aljeter retbr and it works, so..
[Moto G6 Play Guides, News, & Discussion] dotKin:
It doesn't seem like you're doing something wrong... If you're getting bootloops I'd recommend to flash retail instead
[Moto G6 Play Guides, News, & Discussion] Starkiller2:
That's normal, it's gonna say that every time until you boot it once. Just boot it anyway
[Moto G6 Play Guides, News, & Discussion] crudpuppy:
I follow these to a t. But when ever I flash current or versions you have in guide I end up in a boot loop showing the key over and over if I just flash firmware and go says bad key and then proceeds fine tried disable verity and magisk and either or any combo results in the same.
[Moto G6 Play Guides, News, & Discussion] dotKin:
I forgot that the main post doesn't have the older versions of Magisk and the disabler. You need the Force Encryption disabler from June and Magisk 19.4 and older in order to boot
[Moto G6 Play Guides, News, & Discussion] crudpuppy:
Ok magisk older is no problem where can I find the proper disabler?
[Moto G6 Play Guides, News, & Discussion] dotKin:
The XDA app doesn't allow me to attach files (buggy as usual) but you can find the files here https://xdaforums.com/g6-play/development/g6-play-unofficial-twrp-xt1922-x-t4038873
[Moto G6 Play Guides, News, & Discussion] MaveFL:
Hello. Months after giving up trying to install TWRP I finally found this one which works perfectly for my phone (1922-3) and I've finally managed to install Lineage OS 17.1 GSI (Which works perfectly btw). The only problem is that I can't flash it on my phone, it says that it's damaged or corrupt, I can only boot this via fastboot. What to do?
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Replace the kernel and dtb inside of twrp's split image folder, with the ones from your stock recovery. Android image kitchen or magiskboot can unpack/repack them.
[Moto G6 Play Guides, News, & Discussion] RubenGreg:
I am just wondering if there is a reason to install twrp and decrypt.zip

After unlocking is it OK to just download system-quack-arm-aonly-vanilla.img from https://github.com/phhusson/treble_experimentations/releases

fastboot flash system system-quack-arm-aonly-vanilla.img

Of course give it a random decrypt password. It fails and then reset phone. Is this also OK? Any suggestions appreciated

( I do not need magisk or root).

(At least this works on my Redmi Go or the vanialla gsi img).
[Moto G6 Play Guides, News, & Discussion] raffieltiger:
The TWRP is necessary to flash the zips, and yes both zips need to flash correctly to remove encryption. But if you get to TWRP the second time and the password prompt is still there you need to go back and do the previous steps.

You won't have any luck trying to flash the system with a different system img file until the encryption is broken by the decryption patch, because it needs that patched boot.img from the decryption patch.

Rooted and removed encryption on XT1922-1 (Boost Mobile). None of the other guides work for this phone. Thanks to everyone who contributed :D.
[Moto G6 Play Guides, News, & Discussion] rbprbp:
Can i downgrade from pie to oreo ?

pie update messed up for this device for me

my device is XT 1922-10.

baseband- jeter

and my sw channel is retin.
[Moto G6 Play Guides, News, & Discussion] gio1203:
Someone could confirm that Root Works on XT1922-4 Android 9 ?
[Moto G6 Play Guides, News, & Discussion] Starkiller2:
You can but you have to be very careful, don't flash gpt, or bootloader. EVER. otherwise yes, just leave those two out

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

It does
[Moto G6 Play Guides, News, & Discussion] CodenameRevy:
I'm having an issue.

I've followed the guide and all, but when I type

fastboot oem get_unlock_data

I get:

(bootloader) Unlock Data Unavailable
(bootloader) Failed

Device info:

Stock Pie

XT1922-3

CID: 0x0000

Unlocked Carrier
[Moto G6 Play Guides, News, & Discussion] gio1203:
Thanks Man
[Moto G6 Play Guides, News, & Discussion] watchman759:
I have a moto g6 1925, I forgot password and couldn't get into phone. I went into twrp to delete lock files which worked great but I find I need to be able to lock phone. I could factory reset but that's a lot of redoing setting for monitoring software. does anyone have the 4 lock files they could send me with no password/patterns on them? Thank you
[Moto G6 Play Guides, News, & Discussion] EduApps:
Man, you are my hero!!

In my first root atempt (in another device), i had serious complications. Well, im 16 year old so my mother dont trust me. Seriously thanks!!
[Moto G6 Play Guides, News, & Discussion] Krzychu7100:
Hi, I tried to flash twrp for aljeter oreo 32gb. I unlocked bootloader and when flashing twrp i getting message '(bootloader) Image not signed or corrupt', also tried version from unofficialtwrp.com and still same
[Moto G6 Play Guides, News, & Discussion] Mohdmuneer2507:
Please Help

Hi, I am new here plz can any one link a video tutorial or compete guide to add twrp in my moto g6 play Xt-1922-10, sw channel: retin

I will be so much thankful ??
[Moto G6 Play Guides, News, & Discussion] DulfaGreyny:
Please Add

Hi

It may be a good idea to add that for Bluetooth to work with custom rom's it may require the following:

1. Install Magisk

2. Install Magisk Modules: a) Audio Modification Library b) ViPER4Android

Modules: https://zackptg5.com/android.php#aml
[Moto G6 Play Guides, News, & Discussion] OG_traugdor:
quick question

Perhaps there is a step I missed when but I try to type this command:

adb pull /dev/block/platform/soc/7824900.sdhci/by-name/boot stockboot.img

I get a message saying "remote object '/dev/block/platform/soc/7824900.sdhci/by-name/boot' not a file or directory"

I have to use ADB shell and

dd /if=/dev/block/platform/soc/7824900.sdhci/by-name/boot of=/sdcard/boot.img

and then I can pull with ADB.

Can anyone verify that this will work before I start flashing random stuff?
[Moto G6 Play Guides, News, & Discussion] jabu:
Seriously, this can't be emphasized enough. A simple typo in a flashing script can hard brick any device.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
this is not for custom roms, its for flashing stock firmware so that info is useless, also this thread and device are dead, i longer support this device ive moved to the moto g stylus which actually has custom roms, the moto g6 play is prolly the worst device moto had put out considering we had literal reconized devs on here tell us its not worth it lol if you choose to use this device OR any device without looking into the custom scene here on xda that is all on you
[Moto G6 Play Guides, News, & Discussion] IcaroDLima:
I created a new account only to thank you!

THANK YOU MANNNN!
[Moto G6 Play Guides, News, & Discussion] wis4m:
In 2020 i tried this and gave up and in 2021 finally figured it out. I just had to dig inside this thread. Maybe 2021 is not as bad. but anyway thanks for this thread!!!
[Moto G6 Play Guides, News, & Discussion] kac-:
Hi,

XT1922-3 32GB with Pie here

TWRP from guide 32gb+model+oreo+twrp.zip couldn't do format (Unable to format to remove encryption.). The problem was mkfs.f2fs had some linking issues.

Other TWRP versions had no touchscreen support on my device but I booted 16gb+model+oreo+twrp.zip and from adb shell execuded

mkfs.f2fs -t 0 /dev/block/mmcblk0p56

w/ success, went back to 32gb+model+oreo+twrp.zip (w/ GUI working), installed Dm-Verity and it's ok now.

Cheers.
[Moto G6 Play Guides, News, & Discussion] stem69:
Rooted an XT1922-2 (Jeter) with the above instructions. Many thanks.
[Moto G6 Play Guides, News, & Discussion] user34653:
Is this rom compatible with encryption?
[Moto G6 Play Guides, News, & Discussion] bradmoss:
when I try to do the flashing using "fastboot flash recovery twrp.img" I get "Image not signed or corrupt"

I am using the Android Pie version https://www.androidfilehost.com/?fid=6006931924117921849
[Moto G6 Play Guides, News, & Discussion] bradmoss:
Cannot install Magisk-23.0.zip it fails with "invalid file format" and "no digest file found"
[Moto G6 Play Guides, News, & Discussion] dotKin:
It's a commom issue, try

fastboot boot twrp.img

and flash the img through TWRP
[Moto G6 Play Guides, News, & Discussion] bradmoss:
it worked, but then I installed supersu 2.79 because I needed the root in ordet to install an app as a system app for it to survive a phone reset. Then I got full root and did turn the app into a system app. To check I reset the phone and checked the app survived. Now I am trying to repeat the process but can't get the root again, it seems it was just luck (good luck the first time or bad luck now).
[Moto G6 Play Guides, News, & Discussion] Peqee96:
Alguno que hable español ? me tira error la pagina de motorola, ingreso el codigo del fastboot oem get_unlock_data y me dice " there is a an error with your resquet", estoy con terrible bootloop por la bateria de cuarta y no me deja hacer nada
[Moto G6 Play Guides, News, & Discussion] Pessmaur:
this is specifically for....... XT1922-3

Oreo 8.0.0

32gb

Reteu

Thanks. Everything worked. I want to thank all of you for this info. Also, i want to make it easier for those that have the same phone model as me. It was alot of sweat to make it work. I had to search this thread up and down 1000 times. worth it though. again thanks. So if u have the same model as me i will post where to look on this thread.

- if you cannot make backup of boot and recovery, the file path must be changed or you can just make backup from TWRP.

(/dev/block/platform/soc/7824900.sdhci/by-name/boot must be changed to /dev/block/platform/soc/by-name/boot if i remember correctly)

- If you get Error: 1 (cannot wipe), download the "custom xt1922-3 TWRP" (thanks!) found here

https://xdaforums.com/t/g6-play-unofficial-twrp-xt1922-x.4038873/#post-83480705

- see post 391 (regarding older versions of decrypt and magisk)

and other posts

- flash the normal TWRP for decryption etc and follow normal steps
[Moto G6 Play Guides, News, & Discussion] EspenEldritch:
I am also running into this issue, everything else seems to be running just fine. jeter 16gb oreo

Edit: Also I would like to sing the praises of the (sorry I'm new to this so if this isn't right feel free to laugh at me) debugging script at the end. I had originally during a past attempt installed the wrong firmware onto my phone and managed to brick it to the point of not being able to boot to stock but this finally fixed it! great work.

An interesting issue i ran into and solved during this process is the first time i attempted it, like some other users I had some problems accessing the /temp directory, however i remembered that my phone was always really finicky with connecting and didn't like to share files while debugging. i went back to stock and solved this issue through messing around with some other cache/setting problems and then it was smooth sailing from there.
[Moto G6 Play Guides, News, & Discussion] fjleo9:
I especially logged in to say a HUGE HUGE THANKS for yr post. I followed each step PRECISELY as you said here & I have ABSOLUTELY NO PROBLEMS with TWRP, MAGISK or being rooted. Your instructions/explanations are clear, concise and informative. Keep up the great work. Once again, many thanks.(y)(y)(y)
[Moto G6 Play Guides, News, & Discussion] Motorocker:
I have tried both ways but cannot seem to mount "data" in twrp with any method, the "format data" under "wipe" just keeps failing with "Could not mount /data and unable to find crypto footer." And a load of other "Failed to mount" errors. Any idea what is wrong?
[Moto G6 Play Guides, News, & Discussion] Motorocker:
"The file you are trying to download is no longer available

This could be due to the following reasons:

The file has been removed because of a ToS or AUP violation

Invalid URL - the link you are trying to access does not exist

The file has been deleted by the user" Have you still got the correct twrp for my XT1922-2 by any chance?
[Moto G6 Play Guides, News, & Discussion] ninjakira:
I'm glad to see people are still able to use this successfully it's been quite a while since I've had this device lmao currently using moto edge (2021) lol, and it makes my heart full knowing you're a new member and you actually followed it all and read it thank you for taking the time to read everything lol
[Moto G6 Play Guides, News, & Discussion] fjleo9:
Yes, unfortunately I broke my MOTO G8 Plus and a friend gave me his old MOTO G6 Play to use. So yes, It's quite an old phone but with your instructions I could at least ROOT it and change the ROM...LOL Thanks again..
[Moto G6 Play Guides, News, & Discussion] Handsome Jack:
oh nose.

I just flashed with Magisk-25.2.zip
[Moto G6 Play Guides, News, & Discussion] Handsome Jack:
Not sure if it was my phone Sprint/XT1922-7_JETER_SPRINT_8.0.0 (16gb model)

DO NOT install the latest Universal Encryption Disabler.

Do NOT install the latest Magisk.

Go here https://xdaforums.com/t/g6-play-unofficial-twrp-xt1922-x.4038873/

Get those 2 files from the link above.
[Moto G6 Play Guides, News, & Discussion] SmeggMann99:
Links are dead, can't install RR because of it...
[Moto G6 Play Guides, News, & Discussion] PhoneSapphire33:
I flashed according to your instructions but after rebooting it says N/A and it is not rebooting to the system. Any solutions?
[Moto G6 Play Guides, News, & Discussion] SmeggMann99:
I have the same problem, you're probably using a wrong twrp version just like me... sadly all links already died
[Moto G6 Play Guides, News, & Discussion] PhoneSapphire33:
@SmeggMann99

Try this-

https://xdaforums.com/t/updated-g6-play-jeter-twrp-and-decrypt-guide.3886165/

It worked for me

I recommend not flashing Magisk.

boot it up first and then format data

Boot to bootloader and flash TWRP

Format Data from TWRP after booting it

reboot recovery

format data again

restart

You may see an encrypting phone message after booting That is no problem. it will boot successfully
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
I totally forgot that this can happen. Thank you for catching that!
[Moto G6 Play Guides, News, & Discussion] blowingoff:
ok.so the thing get even more complicated. i'll check everything later but in advance: last time i tried, after formatting the /data partition kept formatted as f2fs and such.

I dont know if "data format" is working as twrp can not mount /data
[Moto G6 Play Guides, News, & Discussion] madbat99:
Nevermind
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
We have the same issue on the same device, right? Xt1922-5 retbr
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Check out these pictures, I just want to make sure you're formatting data correctly by using the "format data" button. It should look like this when you do it. I read through everything and I'm still scratching my head over here trying to figure out what's causing the problem.