Hi,
This guide is based on my experience with a Moto G6+ RETEU XT1926-3.
And it supersedes the explanations on this thread: https://forum.xda-developers.com/moto-g6/help/root-g6-t3786379
In any case is only for experienced users! If you like to create a more user friendly guide, then contribute to it!
GUIDE:
If you boot with the patched boot kernel and install Magisk with the direct mode then you will have a backup of the stock boot.img inside Magisk. Useful for OTA updates and to uninstall it. In this case points 4-7 is not required (but recomended). The backup is stored in "/data/stock_boot_XXXXXXXXX.img.gz".
PENDING: Disable dm-verity (/data encryption) for TWRP backups!
GREETINGS:
@jekyll86 for Magisk patched kernel image https://forum.xda-developers.com/moto-g6/development/guide-magisk-patched-boot-image-opw27-t3794977
@luiz_neto for patched logo https://forum.xda-developers.com/moto-g6/development/bootlogo-remove-message-unlocked-t3789155
@luiz_neto for unofficial TWRP for Moto X4 https://forum.xda-developers.com/showpost.php?p=76501832&postcount=3
@lohanbarth for Unlock Bootloader guide https://forum.xda-developers.com/moto-g6/how-to/guide-unlock-bootloader-t3791238
This guide is based on my experience with a Moto G6+ RETEU XT1926-3.
And it supersedes the explanations on this thread: https://forum.xda-developers.com/moto-g6/help/root-g6-t3786379
In any case is only for experienced users! If you like to create a more user friendly guide, then contribute to it!
GUIDE:
- Boot for first time (don't use your gmail user, just skip all!). Enable "developer options". Set "OEM Unlocking". Set "USB debugging".
- Get your Bootloader Unlock Key from Motorola: https://forum.xda-developers.com/moto-g6/how-to/guide-unlock-bootloader-t3791238
- Connect to PC with USB and Accept the connection. In the PC Shell:
"adb reboot bootloader"; "fastboot oem unlock UNIQUE_KEY" (2 times); "fastboot reboot bootloader". Afer end check that all is OK! - Insert SD-Card, and check it works!
- In the PC Shell:
"adb reboot bootloader"; "fastboot boot twrp-3.2.1-0-evert.img".
When the TWRP boots --> READ-ONLY mode! Inside "Mount" select "Micro SD card" and push button "Disable MTP". Open ADB shell.
WARNING: This TWRP is an unofficial version for Moto X4! Don't flash it! - Inside the ANDROID (ADB) shell:
"dd if=/dev/block/platform/soc/c0c4000.sdhci/by-name/boot of=/external_sd/boot.img"
"dd if=/dev/block/platform/soc/c0c4000.sdhci/by-name/logo of=/external_sd/logo.bin" - Power off, extract the SD-Card and secure copy your backup!
- Power on in fastboot mode. Then flash patched logo.bin (for disable unlock warning), and
flashboot patched kernel:
"fastboot flash logo logo.bin"
"fastboot boot patched_boot-MotoG6+-OPW27.113-45.img" - Reboot and make the initial setup with your regular user. Check that all is OK!
- Before any reboot install MagiskManager:
https://github.com/topjohnwu/MagiskManager/releases - Upgrade to lasted Magisk Beta:
- Inside the Magisk Manager "Settings", change "Update Channel" to "Beta".
- Then in the Main Magisk select "install" and "Install" the last version (v16.7) with "Direct Install".
- Reboot.
If you boot with the patched boot kernel and install Magisk with the direct mode then you will have a backup of the stock boot.img inside Magisk. Useful for OTA updates and to uninstall it. In this case points 4-7 is not required (but recomended). The backup is stored in "/data/stock_boot_XXXXXXXXX.img.gz".
PENDING: Disable dm-verity (/data encryption) for TWRP backups!
GREETINGS:
@jekyll86 for Magisk patched kernel image https://forum.xda-developers.com/moto-g6/development/guide-magisk-patched-boot-image-opw27-t3794977
@luiz_neto for patched logo https://forum.xda-developers.com/moto-g6/development/bootlogo-remove-message-unlocked-t3789155
@luiz_neto for unofficial TWRP for Moto X4 https://forum.xda-developers.com/showpost.php?p=76501832&postcount=3
@lohanbarth for Unlock Bootloader guide https://forum.xda-developers.com/moto-g6/how-to/guide-unlock-bootloader-t3791238
Last edited: