yashsingh1/xdaforums huggingface dataset:
[Moto G6 Play Guides, News, & Discussion] Donavonn:
[MENTION=7718083]Spaceminer[/MENTION]
[MENTION=5752019]madbat99[/MENTION]

It's working now thanks to Spaceminer for the file. I wanna thank the both of you guys for helping me. I really appreciate it! Thanks again.
[Moto G6 Play Guides, News, & Discussion] madbat99:
Just curious, what model number do you have? All that trouble, doesn't seem like xt1922-x, seems more like aljeter. Or even ALI
[Moto G6 Play Guides, News, & Discussion] Donavonn:
I'm using the Boost Mobile variant. Check the screenshot I attached to the post.

[MENTION=7718083]Spaceminer[/MENTION]

The Audio Modification Library failed to flash on TWRP; something about "error process 1".

I'm pretty sure I need that in order to run V4A and the compatibility patch at the same time. Do you happen to know why that happens? I think it has something to do with needing magisk.
[Moto G6 Play Guides, News, & Discussion] dgdeepak000:
Thanks a lot!

Awesome you simply helped affirm a couple issues on my finish to lol just like the fstabs.qcom. I'm glad I may very well be of assistance to you and I am glad the guide worked. I'll be removing the fstabs.qcom link since they're now not wanted now
[Moto G6 Play Guides, News, & Discussion] blowingoff:
well, if you want only V4A working you don't need the audio mod library. i have just removed dolby and installed magisk V4A module and that's it. i have tried other audio mods and honestly they haven't worked. and obviously with no root V4A won't work. it does need the root to make changes, not just to be installed.
[Moto G6 Play Guides, News, & Discussion] fafadopolis420:
Ok so I did the unlock, root and all that went ok... Except now my g6 play is lagging pretty bad. Scrolling and selection response is borderline horrible. Any suggestions?
[Moto G6 Play Guides, News, & Discussion] madbat99:
Do not enable fingerprint verification in magisk. It lagged me pretty bad. As soon as I killed that crap, all was good.
[Moto G6 Play Guides, News, & Discussion] RodimusConvoy:
So if that solves the lag problem, how's the battery life? This phone is on sale again at Best Buy and I'm sick of my rooted Huawei having practically no battery life (among other things).

Its funny this phone and not the non-Play slightly more expensive (8-core) version keeps going on sale. Guess its popular?
[Moto G6 Play Guides, News, & Discussion] blowingoff:
it is popular and worth it.
[Moto G6 Play Guides, News, & Discussion] madbat99:
Battery is decent for my use. Gets me through the day. I do some reading in the morning. Tons of GPS all day.
[Moto G6 Play Guides, News, & Discussion] madbat99:
[MENTION=7718083]Spaceminer[/MENTION]

New Jeter kernel source is up!

https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-OCPS27.91-150-2
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
It's about damn time! Thank you for keeping an eye on that. I know what I'm doing later today! That is very exciting news.
[Moto G6 Play Guides, News, & Discussion] blowingoff:
so guys, is there a way to access internal storage through twrp? i've been trying to install gapps for a GSI rom but TWRP says my system partition has no storage space, I don't know if it has something to do with not accessing internal sd.
[Moto G6 Play Guides, News, & Discussion] madbat99:
To access internal, You have to format it an remove encryption.

If there's no room on your system partition, wipe it first. This phone has a big system partition. How much crap are you trying to load into it?

Use a smaller gapps. Usually You flash a gsi, boot up, then back to recovery to flash gapps
[Moto G6 Play Guides, News, & Discussion] Kelwayne:
Can this be done on linux? Motorola website says: Install the latest Motorola USB Drivers on your desktop, but it is just windows and mac. I'm leery of trying to use WINE...
[Moto G6 Play Guides, News, & Discussion] madbat99:
You don't need drivers on Linux. Just use fastboot commands
[Moto G6 Play Guides, News, & Discussion] Matiasfh01:
help

How can i just flash and install the TWRP? if doesnt flash the magisk file, the phone doesnt let me access to the recovery mode, it shows "no command" and i try any combination of buttons and doesnt care

please bring me some help please
[Moto G6 Play Guides, News, & Discussion] madbat99:
That's stock recovery you're seeing. You must unlock your bootloader.

Fastboot flash recovery recovery.img

Insert the actual name of your recovery.img you are trying to flash. Your system is likely replacing it with stock recovery because you are not flashing magisk.

Or removing the file that rewrites stock recovery.

But it may not boot without magisk because of DM verity
[Moto G6 Play Guides, News, & Discussion] Matiasfh01:
ya, im in stock firmware, and ive unlocked bootloader, i just flash the "moto-g6-play-jeter-patched-twrp.img" and do the factory reset just like the tutorial, i just want to skip the magisk install

u know what can i do to just install twrp and get access to internal storage?
[Moto G6 Play Guides, News, & Discussion] madbat99:
You have to format data, not just factory reset. Then you have to disable DM verity and forced encryption. Magisk is what does that part. Unless you know how to modify a boot.img yourself to do that, you can try this

But you might end up needing magisk anyways. Without disabling forced encryption and decrypting data, TWRP cannot read it. And without disabling DM verity, the system will not boot without encryption
[Moto G6 Play Guides, News, & Discussion] Matiasfh01:
ok, ill try, i just wanted to try without magisk, because the newest version (v18.1) pass safety net and all good, but sometimes turn red again with no purpose and doesnt let me use some apps that are hiden and all, thx for help
[Moto G6 Play Guides, News, & Discussion] ludeawakening:
I know it's been about a week since you posted, but did you manage to get everything working how you wanted it? If not there is a very simple solution for SafetyNet not allowing some to work. There is really no reason to not install Magisk and you won't have the full benefits of having a bootloader unlocked phone without it. Like I said, I'm not sure if you got your phone straightened out but this can be for anyone else that is having similar problems and happens to read this.

Alright... now to fixing the issues. After you have Magisk installed you need to download the liboemcryptodisabler module from here: https://xdaforums.com/apps/magisk/magisk-liboemcrypto-disabler-drm-t3794393 (make sure you thank ianmacd on the OP) This module bypasses DRM protection by hiding the fact you're bootloader unlocked and rooted.

Now open Magisk Manager and go to the Modules section and install the "liboemcryptodisabler-v1.2.zip" you downloaded. Go to your app settings and clear the cache on the Google Play Store app then reboot your phone... Profit :)

Now all apps will show in the Play Store as they should and it fixes the problem with stuff like Netflix and other various apps not playing or opening at all.
[Moto G6 Play Guides, News, & Discussion] toxicbalin:
i followed all steps after twrp ,

but at the moment to create backup cmd trows me an

"adb: error: failed to get feature set: no devices/emulators found"

any sugestions?

is there another way to create a backup ?
[Moto G6 Play Guides, News, & Discussion] J-Mizzle:
OP says it's verified to work on the Cricket variant but I get a response that my devices bootloader can not be unlocked. Am I missing something? Is there any other way to root, even without unlocking my bootloader?
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
OTA Pie Update

I've been holding off on rooting my g6 Play for the simple reason that i didn't need it.

I've found myself in need of root access due to the fact that Google won't allow un-rooted devices use Substratum anymore, which is very frustrating, the other issue(?) is that, earlier today, before knowing all of these things about Android 9.0, i updated(retbr), thinking everything would be a-okay.

So, here's my question, will i need to downgrade back to 8 to root and then move up to 9? Or can i do this directly from 9? Does this phone have an official TWRP yet?

I'd like to stay on Android 9 if possible.

Also, to clarify. I'm on the XT1922-5 (Brazilian Model) With Android 9.0

I just really need my custom themes, guys. sadface
[Moto G6 Play Guides, News, & Discussion] Grom9A:
Official Pie Update?
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
Yeah, we just got the official Pie update for the g6play via OTA
[Moto G6 Play Guides, News, & Discussion] Grom9A:
Can u please upload a OTA.Zip?
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
I'm afraid that's out of my field of expertise. But i'd gladly provide said file given that i knew how to. Are there any reccommended guides?
[Moto G6 Play Guides, News, & Discussion] madbat99:
Root procedure is exactly the same as it was on Oreo.

---------- Post added at 11:32 PM ---------- Previous post was at 11:31 PM ----------

Cricket is not unlockable. Not rootable. Not sure why that's in the op. Moto retail is, att is not
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
How is it possible for it to work on Pie just as it did on Oreo? You got my hopes up but i'm not very well versed in Android enough (yet) to know how/why it'd be possible. Is it because of some lower level characteristic of the phone that allows it to be rooted regardless of what OS is on it?
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Because they're both systemless installs as far as Magisk is concerned, and the security between the 2 OS's are not much different. (Sepolicy) The biggest changes under the hood are permission related. Which doesn't matter when you have root, because root is the ultimate permission.
[Moto G6 Play Guides, News, & Discussion] madbat99:
OS really doesn't matter with systemless root. It's a modification made to the boot.img. And TWRP doesn't change just because the OS is updated. Plenty of devices on pie use magisk to root.

This guide is simple and not specific to Android version. Fastboot flash TWRP, use TWRP to flash magisk. Those are the basic steps for most devices running close to stock AOSP builds of Android.
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
Thanks for the clarification, really!

Another question is: Is it okay to use the latest Magisk Version? Currently 18.1?
[Moto G6 Play Guides, News, & Discussion] madbat99:
I'm using it now
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
Okay, that's great. I'll attempt to root my g6play with ota pie on the coming week. I will follow this guide. I will definitely come back with more questions and updates.
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
I just attempted to root. It didn't work. Everythin seemed to work fine but now at the end, Magisk isn't installed. Any ideas?

Edit: I installed Magisk manager and it does say Magisk 18.1 is installed, but i see nothing about root. Y'all got any ideas?

Edit: I guess it did work, i installed a magisk/root check app and superSU prompt came up and the app said i was rooted. So congratulations to me!

Awesome guide. Confirmed to work on Android 9.
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Is your G6 Play the 4 core or 8 core variant? And would you mind uploading the boot.img? I'd honestly love to get a copy of /oem, /vendor, and /system too if you're able. I really want to see if the official Pie boot.img still contains the bug I've been trying to fix.
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
I have a brazilian retail model, Octa-Core.

Are those files safe to share? I'll gradly help out if so. And by boot.img do you mean the backup that i was instructed to do by the guide?
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Yes it's safe, and yes a backup of the Pie boot.img. Only your /data partition contains personal information. Never share a backup of that part.
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
Alright, i'm currently at work. I'll look into uploading those later today, will report back here.

Thanks for the clarification.
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
I've had no access to my laptop for a while as i have gone on a work trip, i just tried to do the backup from a work computer. I get the password decrypt prompt on TWRP and it always fails, no matter what i put there, i have inserted my pin(the one i use to unlock my screen) but it doesn't work. What do y'all reccommend?
[Moto G6 Play Guides, News, & Discussion] madbat99:
TWRP cannot decrypt encrypted data on this phone. You don't need to decrypt data to take a backup of the boot.img. if you ever want to do a full data backup in TWRP, you'll have to format data first (which wipes it) and flash magisk to remove forced encryption. Re set up your device, then you can take data backups.
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
Dang, that just means i need to be extra careful with what i install then. I'd really like the process of making and restoring image back ups to be easier. Will TWRP ever be improved as to allow us to do that?
[Moto G6 Play Guides, News, & Discussion] madbat99:
It's an unofficial build of TWRP. It needs work to decrypt data. Why "extra careful what you install"? You can run your device unencrypted. Not a big deal.

You can take system and boot.img backups while still encrypted. Make the backups on external SD card though.
[Moto G6 Play Guides, News, & Discussion] GartimusPrime:
So I went through the process to unlock my bootloader, install TWRP and root. It all worked great, I even remembered to make a backup of stock.

I got it in my head to try out Treble and it was fantastic, THEN I got it in my head that I wanted to try another Treble ROM so I made a backup and flashed away, it didn't work so I reflashed my backup, which didn't work. It flashed but it brought me through the whole setup process like a new phone. I rebooted to recovery and flashed my stock backup, also didn't work, it also flashed but brought me through new setup again. That didn't bother me, didn't have much on there anyways. Upon rebooting I got an error, something about dexUser failed or something and the phone just isn't working right,

Long story short I am an idiot and I am in hopes reflashing my stock firmware will fix the issue since my phone is acting super funny.
[Moto G6 Play Guides, News, & Discussion] madbat99:
Did you remove encryption (and format data) before your first backup? This TWRP can't backup or restore encrypted data. That might be why the data part didn't restore, which resulted in having to setup again.
[Moto G6 Play Guides, News, & Discussion] GartimusPrime:
I did not. I am hoping reflashing stock will fix my issues. Once I find out if that fixes it, how do I remove encryption?

I am at work on my phone but it doesn't like me very much right now! As soon as I get home I am gonna try reflashing stock.
[Moto G6 Play Guides, News, & Discussion] madbat99:
In TWRP, format data. Then flash magisk. That should do it.
[Moto G6 Play Guides, News, & Discussion] TheMasterMindGT:
Good day friends, I have a question, I currently have motorcycle g6 play jeter with firmware OPP27.91-87, with root access, using magisk manager v18.1, by means of TWRP, but via ota send me the update opp27.91- 143, if I update via ote to this latest version, is it possible to get root access? someone has done this process.
[Moto G6 Play Guides, News, & Discussion] madbat99:
You cannot update via OTA. You must return to stock in order to update. Yes, you can root again after.
[Moto G6 Play Guides, News, & Discussion] ZiGi_FiGi:
Begging for help!!!

pls can someone pls explain me and clear things up how to root the G6 Play XT1922-3 model i have unlocked bootloader
[Moto G6 Play Guides, News, & Discussion] madbat99:
Fastboot flash TWRP.

Use TWRP to flash magisk.

Profit
[Moto G6 Play Guides, News, & Discussion] ZiGi_FiGi:
ok really thank you for the help but i forgot to ask how can i get backup of my stock firmware if something ****s up and i want to put it back?
[Moto G6 Play Guides, News, & Discussion] madbat99:
You can ADB pull the stock recovery. But an easier way for newer users...

Fastboot boot TWRP (instead of flash)

Use TWRP to do a backup of everything it let's you do.

Flash magisk in TWRP.

Now you're rooted with a backup, and still have stock recovery. If you want, you can use an app like flashify to backup stock recovery and then flash TWRP so you don't have to fastboot boot it every time you want to use it.
[Moto G6 Play Guides, News, & Discussion] ZiGi_FiGi:
im sure im getting annoying but again it all worked but when i set it as new and i made all other steps i cant see Magisk installed and i try again and again go to bootloader then go on the TWRP recovery then wipe all data and push the Magisk file but i downloaded v18.1 and i tried both stable and the beta versions so i dont get it why it is not installed???

Do i have to set some settings on in the TWRP or just leave them to default as i did???
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
You might have to install the Magisk Manager APK. I had the same issue as you.

Check this thread ----> https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Moto G6 Play Guides, News, & Discussion] madbat99:
Sometimes the manager doesn't get installed on the flash. Just download the manager app from the link above or extract it from the zip and install it.
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
I've been having some issues regarding USB Debugging, it always turns off after a reboot, making it unable to logcat while booting. Am I the only one?

And in another slightly off-topic question have you guys had any luck getting the Gravity Box beta working? I have successfully installed edxposed and riru through magisk, but Gravity Box just refuses to work. The solution the developer gave me is to work through the issue with him by providing logs, which I'm unable to do, due to the issue above.
[Moto G6 Play Guides, News, & Discussion] madbat99:
Are you on pie?
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
Yeah, I've been on Pie since before rooting
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
The debugging problem is normal. That's an android 4.4.2+ change. You need to edit the default.prop in your boot image. Unpack the boot.img, then find prop.default and default.prop in the ramdisk, and open both in a text editor and check them because I forget which one is which. One is just a symlink place holder, so ignore that one, the other is the actual file you need to edit. Look for,

ro.debuggable=0 & ro.adb.secure=1 then change ro.adb.secure=1 to ro.adb.secure=0, and ro.debuggable=0 to ro.debuggable=1, save, repack the image and flash it.

You'll want to use the boot.img that you rooted with magisk and disabled dm-verity for. Don't use the stock boot.img for that, or you'll have problems and need to reroot.
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
If anyone wants to grab my Unofficial TWRPs and make a dedicated thread in our development section, I would welcome it. I don't have any desire to make one myself, but I also feel it's needed for clarity. The first twrp is on page 11, post #101. The other is on page 18, post #172. Twrp on page 11 works for all 16gb models, and twrp on page 18 works for all 32gb models. (As far as I know.) If someone wants to take up the task I would be grateful for it.

For a little history on where it came from...

My work indicates it originated from the twrp that [MENTION=6485916]squid2[/MENTION] built for the Moto E4. It was later ported by [MENTION=507615]kwiksi1ver[/MENTION] to work for the Moto G6 Play. Then later modified to include vendor support by me. Sometime after that, I updated it to work on the 32gb models. (xt1922-2/9)
[Moto G6 Play Guides, News, & Discussion] Kuntitled:
Will this affect my current state, as in, will i have to re-setup my whole phone?
[Moto G6 Play Guides, News, & Discussion] Spaceminer:
Nope, just be sure to make the changes in the same boot.img that you rooted with Magisk, and you definitely won't have any issues. If you use the stock boot.img you'll end up tripping dm-verity and probably loop.
[Moto G6 Play Guides, News, & Discussion] Sands207:
How can I convert the sparsechunks to a normal system.img so I can build a rom?
[Moto G6 Play Guides, News, & Discussion] madbat99:
There are plenty of instructions on how to do it, but an easy way is, flash it with fastboot. Then backup system in TWRP as an image.

Or here
[Moto G6 Play Guides, News, & Discussion] Sands207:
Thanks [MENTION=5752019]madbat99[/MENTION] I'll give that a shot ?

Edit: I was able to merge the sparsechunks using [MENTION=5787964]SuperR.[/MENTION]'s kitchen. I'll post my modified stock rom in a dedicated thread later today. Thank you for the help ?

Here is the link to the ROM thread, testers are needed https://xdaforums.com/g6-play/development/moto-g6-play-jeter-rom-alpha-t3913972
[Moto G6 Play Guides, News, & Discussion] sci4life:
I'm having problems unlocking the bootloader for my moto G 6. It's an ODPS27.91-106-4-6. They couldn't even do it at oneclickroot somebody please steer me in the right direction.
[Moto G6 Play Guides, News, & Discussion] madbat99:
That's just the build number of the update you're on. It's not the name or model of your device. This is the g6 play root thread.

Unlock is the same for all Moto.

Get your unlock code, enter it in fastboot.

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a

If it's att, cricket, or Verizon, give up.
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Hello all I'm sorry for the lack of help and reply. Thank you [MENTION=5752019]madbat99[/MENTION] for helping everyone and [MENTION=7718083]Spaceminer[/MENTION] for making newer twrps for us. I got promoted to manager at my job so it's been hard to get on here lately. I'll be updating the guide in the next few days to include the new working twrps for both 16gb and 32gb models to make it easier to find em. If anyone can confirm that this method of root works with the android pie update please lmk so I can include the info in the guide. If any additional details need to be added and or removed from the guide I would prefer to have another Senior member to catch me up and lmk what should be added and removed. I Love seeing even the little bit of progress that's been made for our g6 play devices compared to 4-5 months ago ?
[Moto G6 Play Guides, News, & Discussion] ninjakira:
the guide is updated now to include the new 16gb and 32gb model twrps, only the moto retail model can be bootloader unlocked not att/cricket models im sorry for that misinformation and its been corrected. included the command line needed for linux users to install adb. if anything else needs to be added or removed or explained a bit better/ easier please lmk so i can make this guide better lol
[Moto G6 Play Guides, News, & Discussion] wrecche:
No default.prop in boot.img ?

I must be going crazy.. I took the boot.img from the stock PIE firmware for my XT1922-1 build PPP29.55-25, extracted it using bootimg.exe and it does not have a default.prop file anywhere, so I cannot set ro.secure=0..

Where is default.prop..

I'm such a noob.. but I cannot decrypt the thing with so many stumbling blocks..
[Moto G6 Play Guides, News, & Discussion] ninjakira:
I found what your looking for. You have the aljeter. Not Jeter no problems though this guide should work still. Here is your stock firmware https://mirrors.lolinet.com/firmware/moto/aljeter/official/RETAPAC/ it was under Aljeter
[Moto G6 Play Guides, News, & Discussion] ninjakira:
Deleted. Idk why I did this lol
[Moto G6 Play Guides, News, & Discussion] Sands207:
Nice work my friend. Thank you for updating us. I'm on the Boost g6 play and im debating on upgrading to pie but I'm also wondering if i will lose root and twrp