[Sony Xperia XZ Guides, News, & Discussion] awadnisar:
Continue at your own risk

I am not responsible for anything bad happen to your phone,

e.g bricked devices (by flashing wrong firmware) or anything else and hopefully not.

PREREQUISITES :

1- ADB Tools. V1.3 | V1.4.3

2- Flashtool for flashing/creating ftf.

3- XpiriFirm for downloading ftf.

4- Xperia XZ drivers.

5- Xperia XZ drivers for fastboot mode.

INSTALLATION

1- ADB Tools

Download and run EXE file and follow the instructions to install.

for win 8/10 use V1.3

2- Flashtool

Goto to Flashtool's official website download and install exe.

3- XpiriFirm

Download the Zip extract and run EXE.

4- XZ drivers/ 5- XZ drivers for fastboot mode.

Download the and extract both in different locations/folders and

right click the *****.inf {in both case different} files and press install.

At the end goto C:/Flashtool/drivers and run the Flashtool-drivers.exe

and install, check Sony Xperia XZ, flashmode drivers and fastboot drivers.

UNLOCKING BOOTLOADER: {If you have already then skip this step}

INFORMATION

Unlocking Bootloader Opens the door to System files of your device. This allows you to flash images onto the main system partitions of the phone, after unlocking you will lose the DRM keys and phone's warranty will be void, it will also factory reset your device.

>>Backup Your TA Partition to save your DRM keys.<<

UNLOCKING

1- Open Dialer.

2- Dial *#*#7378423#*#*

3- Press service info than configuration.

4- Check if “Bootloader Unlock” is yes under Rooting status.[If not then your device can not be unlocked]

5- Goto settings > about phone > developers option and ensure that OEM Unlock and USB Debugging is on.

6- Goto Xperia BLU page and Choose Xperia XZ at the bottom of the page.

7- Enter your Email and you will receive a link in your mail. Follow the steps given by Sony.

8- BE CAREFUL and, from now on, DON’T ENABLE the MyXperia. It could hard brick your phone.

YOUR DEVICE IS NOW UNLOCKED

FLASHING OREO FTF

1- Download Oreo Firmware using XpiriFirm.

If you have already one {.192, .401, .184} you can flash it.

2- {Latest Recomended (**.*.*.*.192)}

3- Create and Flash the Ftf using Flashtool

HELP

FLASHING CUSTOM RECOVERY {TWRP}

1- Download the latest TWRP image file.

2- Paste it in your Fastboot directory and rename it as recovery.img

3- Connect your phone to PC using original cable while pressing power up

{The Notification light will turn Blue}

4- Open cmd in the folder where you pasted recovery.img.

{Press Shift button + Right click and press "Open Command window here"}

5- Enter the command

fastboot flash recovery recovery.img

6- Reboot your device into recovery.

Guide 1.1

{Turn off your device. Hold power button + volume down after vibration leave power button}

7- Check "Never show ********* " and swipe to allow all modification.

8- Press Wipe > Advanced Wipe > Check data > Repair or change file system > change file system > EXT 3 > swipe

Important {Same step again but this time EXT4}

9- Power Off the device.

FLASHING KERNEL AND MAGISK

1- Download Kernel for your build number {Image file}.

>>Find in this folder<<

2- Download Magisk v18.1 or latest from here.

3- Download DRM Fix Mode.

4- Download Saftey Net cleaning tools.

5- Copy all in your SD card.

6- Boot into recovery.

{Check Guide 1.1 above}

7- Press Mount and Check System > Back to home screen.

8- Press Install > Install Image > Select the downloaded Kernel > Select boot and Swipe.

9- Goto Install section again and flash DRM Fix Mode.

10- Flash Saftey Net Cleaning Tools.

11- Flash Magisk v18.1.

12- Reboot Device and See If the magisk manager Installed.

;)>>U have stock 8.0 rooted<<;)

{If Magisk Manager not Installed}

1- Download Magisk Manager (apk).

2- Install the apk Manually.

3- Reboot to recovery and flash Magisk v18.1 (zip) again.

;)>>U have stock 8.0 rooted<<;)

Installing Xperia XZ2 + Xperia 10 port

You can now install the port zip {Optional}, Goto to the thread.

​