[Moto G7 Play Questions & Answers] ggg777:
Hello everyone,

I need help to start on flashing g7 play etc. In the old days I flashed phones like galaxy s3, s4, s5 and Note 4, but I'm not an expert in all of this.

Then I changed to iPhone 6s and now I want to come back to Android.

My goal:

de-googled moto g7 play

Android 9/10 -> would prefer 10

if possible -> root

My Device:

moto g7 play - XT1952-1

(bootloader unlocked)

---

Build number:

PPYs29.105-134-7

---

If have read most of the Threads for the g7 play, but at the moment I'm a little scared to brick it.

I have some questions:

1. I copied together for myself a Instruction (at the end of post). Could you tell me if this is OK like this, or do I have to do additional things before start?

2. In my copied instruction, at the point of flashing the GSI (Instruction ROM: -> Step 1)

What does "Dirty flashing your g7 play" mean? Do I have something additional to do, before following the instruction, or is dirty flashing the following instruction of the post?

3. Modded phh -> I have no information about this, could you explain, or give me link?

4. Overlay -> I have no information about this, could you explain, or give me link?

Thanks for your help :)

---

INSTRUCTION: (it is a quick&dirty instruction)

ROM:

lineage-17.1-20200309-UNOFFICIAL-treble_a64_bvN.img.xz

DTBO:

dtbo.img

(https://drive.google.com/file/d/1pV6-LbNoMG0J8vcyAWN0QWYGx67vxBgT/view?usp=sharing)

---

---

Instruction ROM:

step 1

Dirty flashing your g7 play	-> what does that mean, what to do???

step 2

extract the gsi

step 3

put phone in fastboot mode and enter the commands

$ fastboot -w

$ fastboot flash dtbo dtbo.img

$ fastboot flash system [this is where you put your android 10 img]

$ fastboot boot twrp.img

(https://xdaforums.com/g7-play/development/gsi-images-g7-play-t3980807

#1)

------------------------

TWRP:

twrp.img

---

Instruction TWRP:

step 1

Fastboot boot twrp.img

step 2

Copy twrp to your external sdcard, or use adb push twrp.img /tmp/twrp.img

step 3

Go to Advanced > install recovery ramdisk then navigate to tmp or your external sdcard and select the twrp.img you copied

step 4

Use wipe > format > type "yes" to continue then use reboot > recovery from twrp's menus

step 5

Once twrp starts up again, wipe data & system, make sure system is mounted, then flash a GSI. Flash the universal disabler afterwards.

If you get a failed to unmount error, manually mount all partitions and reflash whatever it errored on

step 6

Optional: Flash my modded phh for root. (Install the apk after.) Never use Magisk! It will fail to root, cause a bootloop, or break twrp

FIX navbar on a GSI:

$ adb root

$ adb shell

$ setprop persist.sys.phh.mainkeys 0

$ reboot

(https://xdaforums.com/g7-play/development/recovery-dirty-ported-twrp-g7-play-t3947205/page41

#403)

------------------------

Modded phh: -> LOS16 & 17

modded-phh-superuser.zip

phh-su.apk

(https://xdaforums.com/showpost.php?p=81503713&postcount=240)

------------------------

Overlay: -> what does that mean???

treble-overlay-moto-g7play.apk.zip

(https://xdaforums.com/g7-play/development/recovery-dirty-ported-twrp-g7-play-t3947205/page41

#404)

------------------------