UPDATE: Root achieved see thread here
I've managed to extract the boot.img from my device using the following steps, but patching it with MAGISK ends up with boot loop.
Here are the steps I've done.
I've unlocked the bootloader using the standard methods. All ADB commands are run from a computer with ADB and fastboot setup.
Connect phone to computer, enabled ADB usb debugging.
Once the device reboots to the bootloader.
https://drive.google.com/file/d/1Q7CIF2-byTW7ERUXFU0XlWFYZQM5hysd/ DO NOT FLASH THIS TO YOUR DEVICE only boot from it. This is a patched Moto E5 TWRP image. It takes a while to boot.
Don't mess with anything inside TWRP.
Once TWRP boots from your computer type:
Once the device reboots and you're back in android run
This will push the stockboot.img to your sdcard folder
Intall Magisk Manager - https://github.com/topjohnwu/MagiskManager/releases/download/v5.7.0/MagiskManager-v5.7.0.apk
Patch stockboot.img located on your sdcard using magisk manager.
This will pull the patched_boot.img to your computer
Once the device reboots into the bootloader you can run
From here it boots to "N/A" and you get nothing. It just hangs there forever.
From here you can just flash the stockboot.img using the steps below
Hold power + volup + voldown which will boot back to the bootloader
Now you're back on the stock bootloader and the device will boot up like normal.
Anyone have any advice on how to get MAGISK to patch correctly? The stock boot.img is ~16.8MB and the patched one from magisk is 12.1MB. I'm guessing that's the issue, but I'm not sure what else to do.
I've managed to extract the boot.img from my device using the following steps, but patching it with MAGISK ends up with boot loop.
Here are the steps I've done.
I've unlocked the bootloader using the standard methods. All ADB commands are run from a computer with ADB and fastboot setup.
Connect phone to computer, enabled ADB usb debugging.
Code:
adb reboot bootloader
https://drive.google.com/file/d/1Q7CIF2-byTW7ERUXFU0XlWFYZQM5hysd/ DO NOT FLASH THIS TO YOUR DEVICE only boot from it. This is a patched Moto E5 TWRP image. It takes a while to boot.
Don't mess with anything inside TWRP.
Code:
fastboot boot moto-g6-play-jeter-patched-twrp.img
Code:
adb pull /dev/block/platform/soc/7824900.sdhci/by-name/boot stockboot.img
adb reboot
Code:
adb push stockboot.img /sdcard/
Intall Magisk Manager - https://github.com/topjohnwu/MagiskManager/releases/download/v5.7.0/MagiskManager-v5.7.0.apk
Patch stockboot.img located on your sdcard using magisk manager.
Code:
adb pull /sdcard/MagiskManager/patched_boot.img
Code:
adb reboot bootloader
Code:
fastboot flash boot patched_boot.img
fastboot reboot
From here you can just flash the stockboot.img using the steps below
Hold power + volup + voldown which will boot back to the bootloader
Code:
fastboot flash boot stockboot.img
fastboot reboot
Anyone have any advice on how to get MAGISK to patch correctly? The stock boot.img is ~16.8MB and the patched one from magisk is 12.1MB. I'm guessing that's the issue, but I'm not sure what else to do.
Last edited: