unofficial twrp 3.3.1 Root Sony Xperia XZ2 Compact / Dual


twrp 3.3.1 Root Sony Xperia XZ2 Compact/Dual:

twrp 3.3.1 Recovery have Now been available for the Sony Xperia XZ2 Compact, user Who own Sony Xperia XZ2 Compact Smartphone can Root it using the Below Instructions.First you need to unlock it’s bootloader after That You can Root it by Flashing the Magisk

Sony Xperia XZ2 Compact Run on QCOM 845 SoC along With Android 8.0 4GB of RAM and  64GB of Storage. it Come With 5 Inch IPS Display With the Resolution of 1080X2160 Pixels.


  1. Rooting May Void Your Device Warranty.So Make a Backup of Your Data and ROM.
  2. In Some Cases Rooting Cause bootloop So Do at own Risk.
  3. Make Sure Your Phone at-least 50% Charge to Prevent accidental Shut Down During The Rooting Process.

Download Files:

  1. Magisk
  2. adb Fastboot tools
  3. No verity opt Encrypt
  4. twrp 3.3.1 Sony Xperia XZ2 Compact/Dual
  5. Credit: Martin-X3
  6. Working on XZ2 Compact & Compact Dual all Model With Stock kernel

How to unlock bootloader on Sony Sony Xperia XZ2 Compact:

How to Install twrp Recovery on Sony Xperia XZ2 Compact:

  1. Download and Setup Platform tools
  2. Download and Extract recovery.img & vbmeta [Must rename recovery.img] on Platform tools Folder
  3. Reboot Phone to bootloader & Connect Phone to PC using the usb cable.
  4. Now open CMD in the Platform tools Folder and type below Code.

Check Device:

fastboot devices

Flash vbmeta

fastboot flash vbmeta vbmeta.img

flash & boot to twrp

fastboot flash boot recovery.img
fastboot boot recovery.img
  • Your Phone booted in twrp Don’t bootup Yet! Go For Next Steps

How to Root Sony Xperia XZ2 Compact:

  1. Download & Move Magisk to Device Storage.
  2. Reboot phone to twrp by Pressing Volume up and Power button
  3. Make a Nandroid backup
  4. Flash Magisk 19.3 and No_verity _opt_encrypt.ZIP via Install.
  5. Flash Camera Fix ZIP from recovery Folder
  6. Reboot System now