Guide | How to Root Android Sony Xperia XZ1 Using Magisk

Guide | How to Root Android Sony Xperia XZ1 Using Magisk.

Root Xperia XZ1. At this time we will show you how to Root Sony Xperia XZ1 device. The following root tutorial is sourced from N1ghtr08d as the senior member of the XDA discussion forum. here is a bit information about the device we will use for the root experiment. Sony Xperia XZ1 Released 2017, September. Comes with 5,2 Inch IPS LCD capacitive touchscreen, 16M colors. Powered by Octa-core (4x2.35 GHz Kryo & 4x1.9 GHz Kryo) CPU, Qualcomm MSM8998 Snapdragon 835 chipset, Adreno 540 GPU. Xperia XZ1 run on Android 8.0 (Oreo).

If you decide to root your Xperia XZ1 with this method, you will lose your DRM keys. As a result, you won’t be able to use first-party features like X-Reality or Track ID. To get root access on Xperia XZ1 you need to magisk and flash a modified version of TWRP and that you use a custom kernel.

Let's start this guide.
Root Android Sony Xperia XZ1
Root Android Sony Xperia XZ1

Prerequisite.

  1. Unlock Your Device Bootloader 
  2. Enable Developer option
  3. Enable ADB debugging.
  4. Download modpunk's port of TWRP. Here
  5. Then, Download aledoom's port of the Andro+ kernel. Here
  6. Download Magisk-v14.5(1456).zip Here
  7. Download ADB Fastboot tool and Extract the ADB Fastboot Tool anywhere on your computer. eg. desktop.

Instructions.

Flash TWRP recovery.

  1. Connect the Xperia XZ1 to the computer.
  2. Then, Open the Extractor ADB and Fastboot folder and Open Command Window by pressing Shift Key + Right Mouse Click.
    open command window
    open command window
  3. Then, Reboot the Xperia XZ1 into Bootloader – Type the following command at the command prompt.
    • adb reboot bootloader
  4. Or you can use the 2nd method to boot your Sony Xperia XZ1 into bootloader.
    • Turn off the phone.
    • Then, press and hold the Volume Up and attach a USB Cable from your PC
    • it will boot into the bootloader. 
    • Then, the LED will be blue.
  5. Now your Xperia XZ1 will boot into bootloader.
  6. Copy all prerequisite files above (recovery and the boot image) into the ADB and fastboot folder.
  7. Then, type the following command to flash boot image and recovery.
    • fastboot flash recovery twrp-3.2.0-0-poplar-patchlevel-2017-11-05.img 
    • fastboot flash boot boot.img fastboot 
    • flash FOTAKernel boot.img
  8. This will take a time until the process is completed.
  9. Once the process is done, type the command to reboot your Xperia XZ1.
    • fastboot reboot.
  10. Now, Reboot the system and then power off the Xperia XZ1.
  11. Finish.

Install Magisk to Root device via TWRP.

  1. Copy latest magisk to the phone root directory.
  2. Then Power off your phone.
  3. Boot your phone into TWRP recovery. How to boot Sony Xperia XZ1 into TWRP recovery?
    • Press and hold the power button + the volume down button
    • Release the Power button when your phone vibrates once.
    • But, keep holding the volume down button until you see the TWRP splash screen.
  4. Once your phone enters TWRP recovery screen,  It will ask you for your password to decrypt the data partition.
  5. You need to enter the PIN number or password you use on your phone lock screen.
  6. But, if you don't use any lock screen security then the password is: default_password
  7. From the TWRP main menu tap Install.
    TWRP Sony Xperia XZ1
    TWRP Sony Xperia XZ1
  8. Then, browse where you save magisk.
  9. Now, swap to start flashing magisk to your phone.
  10. Once TWRP successfully flashes magisk to your device, now select reboot to the system.
  11. Finish.


from Android Guide http://ift.tt/2DRhXtN

Subscribe to receive free email updates:

0 Response to "Guide | How to Root Android Sony Xperia XZ1 Using Magisk"

Post a Comment