Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install TWRP on Moto Z Play & Root (Force Encryption)

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide walks you through installing TWRP (Team Win Recovery Project) on the Moto Z Play, rooting it with Magisk, and disabling force encryption so you can use custom ROMs or keep your data unencrypted. You'll need an unlocked bootloader, a Windows PC, and basic comfort with command-line tools. The process wipes your device, so back up everything first.

What You'll Need

  • Moto Z Play with bootloader unlocked (if not, follow Motorola's official unlock process first)
  • USB cable and a Windows PC (or Linux/macOS with ADB installed)
  • ADB and Fastboot tools installed on your PC (from Google's official platform-tools)
  • TWRP image file for Moto Z Play (download from the official TWRP site, filename like twrp-3.x.x-x-addison.img)
  • Magisk ZIP (from the official Magisk GitHub releases) and optionally a custom kernel that disables force encryption (e.g., a kernel with 'forceencrypt' removed)
  • Backup of your data (photos, contacts, etc.) – the process will wipe your phone

Step-by-Step

  1. Enable Developer Options and USB Debugging
    On your phone, go to Settings > About Phone and tap 'Build number' seven times. Then go to Settings > Developer Options and enable 'USB debugging' and 'OEM unlocking' (if not already done for bootloader unlock).
  2. Install ADB and Fastboot
    Download the official platform-tools from Google, extract to a folder like C:\adb, and add it to your PATH or open a command prompt in that folder.
  3. Connect your phone to PC
    Plug in your phone via USB. On the phone, accept the RSA fingerprint prompt. Verify connection by running adb devices – your device should list as 'device'.
  4. Boot into Fastboot Mode
    Turn off your phone. Hold Volume Down + Power for a few seconds to enter fastboot (bootloader) mode. You'll see a screen with 'Fastboot' and a menu. Connect to PC if not already.
  5. Unlock the Bootloader (if not done)
    If you haven't unlocked, run fastboot oem unlock and follow the on-screen warnings. This wipes your phone immediately. If already unlocked, skip this step.
  6. Flash TWRP Recovery
    In fastboot mode, run: fastboot flash recovery twrp-3.x.x-x-addison.img. Do not reboot yet. After flashing, use the volume keys to select 'Recovery mode' and press power to boot into TWRP.
  7. Allow System Modifications
    When TWRP first boots, it may ask to keep system read-only. Swipe to allow modifications (this is necessary for rooting).
  8. Backup Current ROM (Optional but Recommended)
    In TWRP, tap 'Backup', select Boot, System, Data, and Vendor, then swipe to back up. This gives you a restore point.
  9. Wipe Data and Cache
    Tap 'Wipe', then 'Format Data' and type 'yes' to confirm. This removes encryption and user data. Then go back and do a 'Swipe to Factory Reset' to clear cache.
  10. Install Magisk (Root)
    Tap 'Install', select the Magisk ZIP file you transferred to the phone's internal storage (or use ADB sideload: adb sideload Magisk-vXX.zip). Swipe to install, then reboot to system. You'll now have root access.
  11. Disable Force Encryption (for Future ROMs)
    Force encryption is a flag in the boot image. Simply wiping data and not re-encrypting works temporarily, but the stock kernel will re-encrypt on next boot. To permanently disable it, flash a custom kernel that has 'forceencrypt' removed. You can find such kernels on XDA for the Moto Z Play (e.g., a LineageOS kernel or a custom kernel like 'ElementalX'). In TWRP, install the kernel ZIP and reboot. After that, encryption will stay off.
  12. Verify Root and Encryption Status
    After reboot, install the Magisk Manager app (if not already) and open it to confirm root. To check encryption, go to Settings > Security > Encryption – it should say 'Encrypted' or 'Not encrypted' depending on your choice. If you want to stay unencrypted, ensure the kernel doesn't force encryption.

Common Mistakes

  • Flashing TWRP and rebooting to system immediately – This can cause TWRP to be overwritten by stock recovery. Always boot directly into recovery after flashing.
  • Not formatting data – If you don't format data, the phone will still be encrypted and TWRP may not be able to decrypt it, leading to boot loops.
  • Using the wrong TWRP image – The Moto Z Play codename is 'addison'. Downloading for the wrong device (like Z Play Droid) can brick your phone.
  • Skipping the bootloader unlock – Without an unlocked bootloader, flashing TWRP will fail with 'not allowed' or cause a security error.
  • Not backing up – The process wipes all data. Forgetting to back up means losing everything.

Tips

  • Always use the latest official TWRP from twrp.me – unofficial builds may be unstable.
  • Keep your phone charged above 50% during the process to avoid interruption.
  • If you plan to use custom ROMs, many already have force encryption disabled; you may not need a custom kernel.
  • After rooting, you can use Magisk modules to hide root from banking apps if needed.
  • Write down your bootloader unlock code – you'll need it if you ever re-lock the bootloader.

Troubleshooting

Phone boots into bootloop after flashing TWRP

This usually happens because you didn't format data. Boot back into TWRP (hold Volume Down + Power, select Recovery), then go to Wipe > Format Data and type 'yes'. Then reboot.

Fastboot doesn't recognize the device

Ensure you have the correct USB drivers installed (Motorola USB drivers). Try a different USB port, and check that you're in fastboot mode (the screen should say 'Fastboot'). Run fastboot devices to verify.

Phone is encrypted but TWRP can't decrypt

This happens if you didn't format data before booting. Boot into TWRP, go to Wipe > Format Data, and then reboot. If you want to keep encryption, you'll need to enter your password in TWRP when prompted – but if you can't, formatting is the only fix.

Magisk install fails

Make sure you downloaded the correct Magisk ZIP for your device (universal builds work). Also, ensure your system is not read-only – in TWRP, go to Mount and check that 'System' is mounted, or swipe to allow modifications when prompted.

Root not working after reboot

Open Magisk Manager – if it says 'Requires additional setup', let it download and reboot. If it still fails, reinstall Magisk via TWRP and wipe cache.

Frequently Asked Questions

Does this void my warranty?

Yes, unlocking the bootloader and flashing custom recovery/root voids Motorola's warranty. It's irreversible unless you re-lock the bootloader (which may not restore full warranty).

Will I lose my data?

Yes, the bootloader unlock and formatting data will wipe your phone completely. Back up everything before starting.

Can I keep encryption and still root?

Yes, you can root with Magisk and keep encryption. Just don't format data – instead, in TWRP, use 'Decrypt' with your password. However, TWRP may have issues with some encrypted ROMs; it's often easier to disable encryption.

What is force encryption and why disable it?

Force encryption is a security feature that encrypts your phone's data automatically. Disabling it allows faster performance and easier custom ROM development, but it means your data is not protected if your phone is lost or stolen.

Can I relock the bootloader after rooting?

Yes, but it's not recommended because it can cause boot issues with custom ROMs. If you do, you'll lose root and TWRP will be replaced by stock recovery.

Is it safe to use OTA updates after rooting?

No, OTA updates will likely fail or brick your device because the system partition is modified. You'll need to manually flash updates or use a custom ROM with its own update method.