ThisCalculator

Everyday

Root Sony Xperia Z5 Premium E6853: Step-by-Step Guide

Updated · Standard formula, shown below

Root Sony Xperia Z5 Premium E6853: Step-by-Step Guide

Rooting your Sony Xperia Z5 Premium (E6853) gives you full administrative control over the Android operating system, allowing you to remove bloatware, install custom ROMs, use root-only apps, and tweak system settings for better performance or battery life. This guide walks you through the entire process, from unlocking the bootloader to installing Magisk. Before you start, be aware that rooting voids your warranty, can make your device less secure, and carries a small risk of bricking if steps are done incorrectly. Backup all important data before proceeding.

What You’ll Need

  • A Windows PC (or a virtual machine with Windows) – the tools are Windows-based.
  • Your Sony Xperia Z5 Premium (E6853) with at least 60% battery.
  • Original USB cable that supports data transfer.
  • Backup of your personal data (photos, contacts, etc.) – rooting will wipe your phone.
  • Internet connection to download the required files.
  • Patience – the process takes about 30-45 minutes.

Step-by-Step

  1. Backup your device. Connect your phone to a computer and copy all important files (photos, videos, documents) to a safe location. Your phone will be wiped during the bootloader unlock step.
  2. Enable Developer Options and USB Debugging. On your phone, go to Settings > About phone and tap “Build number� seven times until you see “You are now a developer!�. Then go to Settings > Developer options and enable “USB debugging� and “OEM unlocking� (if available).
  3. Install the necessary drivers. Download and install the Sony USB drivers (from Sony’s official support page) and the Google USB driver (via Android Studio or SDK Manager) so your PC can communicate with the phone.
  4. Download the required tools:
    • Minimal ADB and Fastboot – a lightweight tool that provides the necessary command-line utilities.
    • Newflasher – a tool to flash firmware and other partitions on Sony devices.
    • Magisk APK – the rooting solution that will patch the boot image.
    • Your phone’s stock firmware (FTF file) – download the correct E6853 firmware from a trusted source like XperiFirm. This is needed to extract the boot image.
  5. Unlock the bootloader. Go to Sony’s official unlock website (developer.sony.com/develop/services/direct-unlock) and enter your device’s IMEI (dial *#06# to get it). You’ll receive an unlock code. Then:
    • Power off your phone.
    • Hold the Volume Up button and connect the USB cable to your PC – this puts the phone in fastboot mode (blue LED).
    • Open a command prompt in the ADB folder and type: fastboot devices to confirm your phone is detected.
    • Type: fastboot oem unlock 0x[YOUR_UNLOCK_CODE] (replace with the code you received). Confirm on the phone screen when prompted.
    • Your phone will reboot and wipe – this is normal.
  6. Extract the boot image from the firmware. Use a tool like Flashtool or XperiFirm to download the firmware and extract the boot.img file from the FTF archive.
  7. Patch the boot image with Magisk.
    • Install the Magisk APK on your phone (transfer the APK and boot.img to your phone’s storage).
    • Open the Magisk app and tap “Installâ€� next to “Magiskâ€�.
    • Choose “Select and Patch a Fileâ€�, then select the boot.img you extracted.
    • Magisk will create a patched image file (usually in Download folder) named something like magisk_patched-xxxxx.img.
    • Copy this patched image back to your PC.
  8. Flash the patched boot image.
    • Power off your phone.
    • Hold Volume Up and connect the USB cable to enter fastboot mode again.
    • In the command prompt, type: fastboot flash boot magisk_patched-xxxxx.img
    • After it finishes, type: fastboot reboot.
  9. Verify root. Once your phone boots, open the Magisk app – it should show “Installed� with the Magisk version. You can also install a root checker app from the Play Store to confirm.

Common Mistakes

  • Skipping the bootloader unlock. If you don’t unlock the bootloader first, the patched boot image won’t flash and you’ll get an error.
  • Using the wrong firmware. Make sure the boot.img you patch is from the exact E6853 model and the same Android version your phone is running. Mixing versions can cause boot loops.
  • Not enabling USB debugging. Without it, ADB commands won’t work and the phone won’t be recognized.
  • Incorrect fastboot mode. The Z5 Premium uses Volume Up to enter fastboot, not Volume Down (which is for download mode). If the LED is red, you’re in the wrong mode.
  • Not waiting for the boot to complete. After flashing, the first boot can take up to 10 minutes – don’t panic and don’t unplug the phone.

Tips

  • Always use the original USB cable and a USB port directly on your PC (avoid hubs) to prevent connection drops.
  • Keep a copy of the original boot.img – you can reflash it to unroot later.
  • After rooting, install a good backup app (like Titanium Backup) to make system backups before tweaking anything.
  • If you plan to install custom ROMs, make sure they are specifically for the E6853 variant, as the Z5 Premium has a different display and hardware than the regular Z5.
  • Disable any security lock (PIN, fingerprint) before flashing – sometimes it can cause issues with the boot process.

Troubleshooting

  • “fastboot devicesâ€� shows nothing: Reinstall drivers, try a different USB port, and make sure you’re in fastboot mode (blue LED). If the LED is red, you’re in download mode – hold Volume Up instead.
  • Boot loop after flashing: This usually means the patched boot image is incompatible. Re-download the firmware, extract the boot.img again, and re-patch with Magisk. If it still loops, flash the original boot.img to restore, then try again.
  • Magisk app shows “N/Aâ€� after boot: The patched image didn’t flash correctly. Reboot to fastboot and re-flash the patched image, ensuring the command completes without errors.
  • Phone stuck on Sony logo: This can happen if the boot image is from a different Android version. Try flashing the original boot.img to get back to a working state, then redo the patching with the correct firmware.
  • Unlock code not accepted: Double-check that you entered the IMEI correctly (dial *#06#) and that you are using the correct code format (including the “0xâ€� prefix). Contact Sony support if it persists.

Frequently Asked Questions

Q: Will rooting my Xperia Z5 Premium remove the DRM keys?
A: Unlocking the bootloader will permanently destroy the DRM keys (like X-Reality and camera enhancements). You can back them up before unlocking using tools like TA Backup, but that requires root first – a catch-22. Most users accept the loss of these features.

Q: Can I still receive OTA updates after rooting?
A: No, OTA updates will fail because the system partition is modified. You’ll need to flash updates manually via Newflasher or use custom ROMs that provide updates.

Q: Is it possible to unroot later?
A: Yes, you can flash the original boot.img (or a stock firmware) to unroot. This will also relock the bootloader if you wish, but the DRM keys will not be restored.

Q: Does rooting void my warranty?
A: Yes, unlocking the bootloader and rooting voids the Sony warranty. Some countries have consumer laws that protect you, but generally Sony will refuse service for rooted devices.

Q: What is the difference between Magisk and SuperSU?
A: Magisk is the modern choice – it provides systemless root, which means it doesn’t modify the system partition, making it easier to hide root from apps and pass SafetyNet (in some cases). SuperSU is older and less maintained.

Q: Will rooting improve battery life?
A: It can, if you use root apps like Greenify or amplify wakelocks. But it can also hurt battery life if you install aggressive tweaks. It’s up to your usage.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.