Some Android devices, particularly the flagships, get root within a month of release. For some, the wait is a month or two longer. as well as then there are those unusual gadgets that seem to take permanently to get a working root method. This might be since of a lack of designer interest, or technical difficulties or both. The Sony Xperia XZ1 is an example that would perhaps in shape in the former category. The gadget was released in August this year however it is only now, almost 4 months later that somebody lastly figured out a method to root it. That somebody would be XDA senior member N1ghtr08d, according to whom it took him a few days to root the device. thanks to his and modpunk‘s hard work individuals of the Xperia XZ1 can now set up TWRP healing as well as root Sony Xperia XZ1.
N1ghtr08d’s technique included utilizing a customized TWRP healing by modpunk to set up Magisk. You’ll likewise requirement a custom kernel port for the Xperia XZ1 by aledoom. all of this means that you will requirement to unlock the bootloader on your Xperia XZ1 before you can go ahead as well as root it. Sony, like many other OEMs, enables individuals to unlock the bootloader however unlocking includes its own disadvantage. For one, it wipes whatever on your phone as well as you will likewise lose the DRM secrets on your device. That means you won’t be able to utilize first-party features like Track ID as well as X-Reality. It would likewise assist if you’re a bit familiar with utilizing the Android Debug Bridge or as everybody lovingly phone calls it, ADB.
But if you’re not, don’t concern cause that’s the whole point of this article. To assist you with the process.
Requirements
Sony Xperia XZ1 with an unlocked bootloader.
ADB as well as Fastboot must be installed on your PC.
Windows individuals will likewise requirement to set up the USB drivers for Sony Xperia XZ1.
Ensure that your gadget is charged as much as at least 50%.
Enable USB debugging in designer options.
Warning
Unlocking the bootloader, rooting your device, installing custom recoveries or kernel, each as well as every one of these actions will space your warranty. nobody can assurance that doing all of this won’t damage your device. You must comprehend that there is always the rarest of possibilities that things may not work out. DroidViews or anyone else cannot be held accountable under such circumstances. On the plus side, if you’ve unlocked the bootloader already you can’t space your guarantee anymore.
Downloads
TWRP for Xperia XZ1 by modpunk (Rename downloaded data to twrp.img)
Andro+ Kernel port for Xperia XZ1 by aleddom.
Magisk v14.5
Move the download TWRP picture data (renamed to twrp.img) as well as the kernel picture (boot.img) to your adb installation folder for ease.
Install TWRP on Sony Xperia XZ1
Launch the ADB interface on your PC as well as link your phone to the PC via a USB cable. On Linux as well as Mac computers, you can just introduce the terminal as well as begin typing ADB or fastboot commands if ADB as well as Fastboot are installed. On a Windows PC, you can introduce the adb interface by going to the adb installation folder as well as entering cmd in the address bar. Alternatively, you can hold the shift key as well as right-click on an empty area in the folder as well as choose open command window here.
If this is the very first time you’re utilizing ADB, you should be asked to enable USB debugging permission to the computer on your phone. If not, type the command below in the adb command window to make it happen.
adb devices
This command is generally utilized to make sure adb detects the linked device.
Now reboot your Xperia XZ1 to the fastboot mode utilizing the complying with command.
adb reboot bootloader
Once your gadget is in the fastboot mode go into the complying with commands one by one to flash the recovery, flash the kernel as well as flash the kernel to the FOTA partition.
fastboot flash recovery twrp.img
fastboot flash boot boot.img
fastboot flash FOTAKernel boot.img
Each of the flashes should take not more than a few seconds. when done, utilize the command provided below to reboot your device.
fastboot reboot
Root Sony Xperia XZ1
Power off your device.
Now boot it into healing mode by pressing as well as holding the Power button as well as the volume down button together. when the gadget vibrates let go of the Power button however keep holding the volume down button until you see the TWRP sprinkle screen.
TWRP will ask you for a password to decrypt the data partition. If you utilize a lockscreen PIN or password, utilize that password to unlock TWRP. If you don’t utilize a secure lockscreen, enter default_password in the password field.
Once in TWRP, link the phone to your PC once again as well as transfer the Magisk v14.5 flashable zip to your gadget over the MTP connection.
On the TWRP primary page, choose set up as well as then cnull