/* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, fires, rigged elections, * thermonuclear war, or you getting fired because the alarms failed and you could not call in. Please * Ensure you have an advanced understanding of this device before flashing it! YOU are choosing to make these modifications or your own free will. */
- XT1922-3 Model
- XT1922-4 Model
- XT1922-5 Brazilian Model
- XT1922-7 Boost Mobile variant of this device with the code name JETER with Android 8.0.0 Build OCP27.91-23
- XT1922-9 Model
If you have done an OTA for your Device these boot.img's may not work for your device. We will need a newer boot.img to patch.
Please make backups using TWRP. Right now there is no ROM from moto for these devices that I've found. So proceed with caution.
Just make sure to download the correct boot.img for your device.
If you have another model please follow the first few steps to grab the stock boot.img and post it here and I can patch it.
The steps listed in this process WILL wipe your userdata. If you have anything you need to save back it up first.
- Unlocked bootloader.
- ADB/Fastboot installed on your machine ( https://developer.android.com/studio...platform-tools ) If you have issues with commands make sure you have a current build of ADB and fastboot.
Step 1.) Download https://drive.google.com/open?id=15b...stKIkKAz2ou59q this TWRP image to the ADB/Fastboot folder on your computer.
Step 2.) Reboot to your bootloader. You can do this by turning on your device and holding power and both volume buttons at the same time.
Step 3.) Once the device reboots to the bootloader type the following from your computer with your phone connected via USB.
fastboot boot moto-g6-play-jeter-patched-twrp.img
adb pull /dev/block/platform/soc/7824900.sdhci/by-name/boot stockboot.img adb pull /dev/block/platform/soc/7824900.sdhci/by-name/recovery stockrecovery.img
Step 5.) Now type:
adb reboot bootloader
Step 7.) Run the following command from your computer to install the relevant boot image to your device.
fastboot flash boot XT1922-9_no_dm-verity_boot.img
fastboot flash boot XT1922-7_no_dm-verity_boot.img
fastboot flash boot XT1922-5_no_dm-verity_boot.img
fastboot flash boot XT1922-4_no_dm-verity_boot.img
fastboot flash boot XT1922-3_no_dm-verity_boot.img
fastboot flash recovery moto-g6-play-jeter-patched-twrp.img
Step 10.) From your computer type the following into your command prompt/terminal from your adb/fastboot folder:
adb shell mount -o,rw /dev/block/platform/soc/7824900.sdhci/by-name/vendor /vendor
Step 12.) Run the following command from command prompt/terminal on your computer:
adb push fstab.qcom /vendor/etc/fstab.qcom
Step 14.) Download the Magisk Beta 16.7 zip file https://github.com/topjohnwu/Magisk/releases/ to your ADB/Fastboot folder.
Step 15.) Run the following command to push the boot image to your device
adb push Magisk-v16.4.zip /tmp
Step 16.) Flash Magisk-v16.4.zip from TWRP using the install option and navigate to the /tmp folder to select it and install it.
Step 17.) Reboot your device
Step 18.) It will say N/A in the top corner of your device for a few seconds. Then it will boot the the Motorola boot screen and you can setup your device as a new phone.
Step 19.) Verify Magisk Manager is installed and the root functionality works.
Step 20.) ???
Step 21.) Profit
CodyF86 and his Moto E5 thread for clues as to what it would take to turn off DM-Verity