• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Android Infotech

Android Infotech

Android Tips, News, Guide, Tutorials

  • News
  • Root
  • Firmware
  • Applications
  • Knowledge
  • Tutorial
  • I’m Bored
  • Deals
  • Donate
  • 🔎Search
Home » Root » Root Sony Xperia XZ1 Pie 9.0 using TWRP and Magisk

Root Sony Xperia XZ1 Pie 9.0 using TWRP and Magisk

by Selva Kumar A Leave a Comment

Sony Xperia devices are always unique in some way. Their dedication towards both Hardware and Software are still high. They provide regular patch updates and Major upgrades to all their device. Sony Xperia XZ1 got Pie 9.0 update. When coming to developing techniques like rooting, Sony devices need some additional steps. Fortunately, they support the official bootloader unlock process, that makes the process quite comfortable if you are a regular user. In my opinion, you don’t need to root your mobile until you have a strong reason. Rooted mobiles need proper optimizations. You will lose Official updates from Sony. You have to update your OS If there is a critical update manually. Compare with other Manufacturers; Sony always provides Software support. If you are a Developer or regular root apps user, you can follow below guide to Root your mobile.Sony Xperia XZ1 with Grey Ice Land Background

Read the article thoroughly before starting the process. It will give some ideas for the preparation. If you planned to flash Custom ROMs, you should check what will work and whatnot. Unofficial ROMs may contain a lot of significant bugs. If you want to install the update using TWRP, after the firmware flash, you should flash Magisk every time.

Table of Contents

  • Why should you Root Sony Xperia XZ1?
  • How to Root Sony Xperia XZ1 Pie 9.0 (G8341/G8342 Dual/G8343)
    • Things to check out for;
    • Pre-Requirement Steps
    • Unlock the bootloader using ADB and Fastboot
      • Check Compatibility
      • Unlock Steps
    • Flash TWRP
    • Install Magisk, and Kernel in your Sony Xperia XZ1 using TWRP
  • What More?

Why should you Root Sony Xperia XZ1?

We thank XDA Developer- topjohnwu, oF2pks (Who successfully tested this method) and linckandrea (For the Kernel file) Without their hard work, We can’t make this method. Coming to root, you should have a proper reason, and you know what you are doing. Yes, with a minimum of 4 GB RAM and Qualcomm MSM8998 Snapdragon 835 processor, You can use this mobile for regular tasks without root for 2-3 Years If you use correctly. Software is better compared with other manufacturers, Custom skin OS. Don’t root because everybody is saying when root your mobile it can become fastest. No. Rooting is to extract some performance from the device. But, you already have Powerful specs and software. So, If you are addicted to some root apps, you can root. But, if you want to test, I won’t recommend it.

Buy Samsung Galaxy S22 Ultra from $6.46/mo for 24 Months with Eligible Trade-In.
Samsung Galaxy S23 available for $0.00/mo with T-Mobile Credit and Trade-in Deal
Also Read-  Root Moto E5/Moto E5 Plus/Moto E5 Play Oreo 8.0 using TWRP and Install Magisk

How to Root Sony Xperia XZ1 Pie 9.0 (G8341/G8342 Dual/G8343)

Sony Xperia XZ1 International Variants comes with a flexible bootloader other than some carrier locked devices. This means that different smartphone variants can be easily rooted. Also, the device can accept to install TWRP recovery or any other custom recovery file/app alike.

TWRP recovery is a custom recovery file which must be installed on your devices because you can root them successfully. In this article, we explained the easiest method to follow and install TWRP recovery on Sony Xperia XZ1. However, the tool required for rooting this device is the Magisk App.

With the help of TWRP Recovery, you can quickly flash the latest version of Magisk into your Xperia XZ1 to gain root access. Before sharing the tutorial, you may want to know that, with the TWRP recovery present on your device, you can easily install any custom ROM or firmware. Does it seem complicated? Relax, everything will be explained succinctly in bullets.

Things to check out for;

  • Make sure your device battery is charged above 50%

  • Backup your current files and data, full data loss process (save them on external storage).

Pre-Requirement StepsOnePlus 6T OEM Unlock and USB Debugging

  • Enable USB Debugging Mode and OEM Unlock on your mobile. To do this; go to settings >>> about >>> Tap on the “Build Number” 7-10 times consistently to enable “Developer Options,” then go to the “Developer Options” and enable USB Debugging Mode, OEM Unlock. There is no complicated process in Sony Xperia XZ1.

  • Download and Install the Sony PC Companion (Windows) or Sony PC Companion for (Mac)
  • Also, download the ADB drivers. Install it on your PC.

  • Download Magisk.Zip (Latest Version) and Copy it to Your mobile SD card or Pendrive OTG Cable.
  • Pie Kernel (Optional) Download and Copy it to Your PC. This file helps you to maintain the Bootloader unlock and debug some Root issues in your device.
  • Download and save the TWRP File on your PC and rename it to recovery.img.

  • modified-twrp-3-3-1-poplar-XZ1-Pie (All the variants)
  • Copy all the above files into the Fastboot folder.

Unlock the bootloader using ADB and Fastboot

Your mobile should be supported to get the unlock code. Check this using the below step. If your mobile is supported get the code and unlock using unlock stages.

Check Compatibility

  • Go to Sony Developers Official Page to check if your device model is accepted for this.
  • You should signup for a new Sony Xperia account or log in with details to an existing account. Alternatively, you can use your Gmail account.

  • The device must be connected to the internet

  • Dual SIM Sony devices have two IMEI numbers. Use the IMEI 1 to get the exact unlock code for your deviceselect device sony

  • This action works for all Sony Android devices. However, you still have to check out if your device model supports such action (unlocking the bootloader);

Also Read-  Root Samsung Galaxy A70 SM-A705FN/GM/MN Pie 9.0 using Magisk

If your device is supported, then, go ahead with the steps below to unlock the boot loader.

Unlock Steps

  • Open your phone dialer and dial this code – *#*#7378423#*#*

    • Go to Service Info >>> configuration >>> rooting status >>> Check to see if bootloader unlocking is allowed or not. If it is allowed, then continue below.

    • Get the “download_inf.zip” file and paste it into the folder where you installed ADB and Fastboot.

  • Dial *#06# and copy down your Sony Mobile IMEI number.

fill details to get unlock ID sony

  • Return to the Sony Official page, select your device model, and provide your Email Id.

  • You will receive a link to your Email id, click on the link to get the Unlock code to use and unlock your bootloader.

  • Switch off your device. Then, enter into Fastboot mode. To do this; press and hold down the Volume Down button connect mobile to your PC using a USB Cable.
  • Go to the ADB and Fastboot folder, Launch the fastboot on your computer. Open a Command prompt on your PC and type the below command.

  • fastboot devices
  • It should display the connected devices. If you didn’t get the device, restart the command prompt and Disconnect and Connect your Sony Xperia XZ1. If you are detected type the below command and Hit Enter.
  • fastboot oem unlock 0x<insert your unlock code>

Note: you have to replace the key with your own generated Key

  • Tap “Enter” and wait for some time

  • Your mobile bootloader is now unlocked, reboot the device. Move to flash TWRP steps.

Flash TWRP

Sony Xperia XZ1 Fastboot Mode

  • Switch off your device. Then, enter into Fastboot mode. To do this; press and hold down the Volume Down button connect mobile to your PC using USB Cable.
  • Launch the fastboot on your computer. Open a Command prompt on your PC and type below command.

  • fastboot devices
  • It should display the connected devices. If you didn’t get the device, restart the command prompt and Disconnect and Connect your Sony Xperia XZ1. If you are detected type below command and Hit Enter.
Also Read-  Root Motorola Moto One 5G Ace XT-2013 Android 11 using TWRP and Install Magisk

Fastboot Flash Recovery

  • fastboot flash recovery recovery.img
  • After the process complete, Type below command to boot into TWRP.
  • fastboot reboot
  • If you can’t reboot your mobile using above command, Press Volume Down+ Power button to exit Fastboot mode. When the screen goes off, Immediately Press Volume Up + Power buttons to boot into Recovery mode.
  • It will boot into the temporary TWRP. Don’t Boot into standard OS until we flash magisk.

Install Magisk, and Kernel in your Sony Xperia XZ1 using TWRP

  • In TWRP, Make a full Backup on External SD Card or Pendrive using OTG Cable.
  • After the process complete, Reboot to Bootloader using TWRP Option. Reboot->Reboot Bootloader.
  • Go to TWRP menu. Select Wipe->Advance Wipe->Select Cache Data.
  • Return to Home of TWRP select Install.
  • Select Magisk.Zip.
  • Again Return to Home of TWRP select Install.
  • Select Kernel.Zip.
  • After the Installation Reboot Your Mobile.
  • You can also install Magisk Manager in your Mobile Applications. Download Root Checker to check your mobile root status.

Sony Xperia XZ1 Pie Root Checker

What More?

In my opinion, you don’t need to root for your Sony Xperia XZ1. If you thought, you could Improve Performance By root; With the Qualcomm MSM8998 Snapdragon 835 Octa-Core processor and 4 GB RAM, your device can perform well. If you don’t know how much RAM you need, You will never use this much RAM. Don’t Install any apps other than trusted sites on rooted devices. Third-party site apps can contain some background codes. So, Check twice before installing those apps. If you want to return to stock firmware, flash Sony Xperia XZ1 Pie 9.0 firmware. If you face any problems during this process, comment below.

Source, (2)

Selva Kumar A

Selva Kumar is an Android Devices Enthusiast, Who Can Talk and Write About Anything If You Give a Hint About the respective devices. He is a Computer Science Graduate and Certified Android Developer, Making His Career towards this Technology. He is always eager to try new Android devices — not only Software level but Hardware-level Also. Beyond this, He is a Good Swimmer, Guitarist.

Related Posts:

  • Root Sony Xperia XZ2/Compact/Premium Android 10 using TWRP and Magisk
  • Download Sony Xperia 10/Xperia 10 Plus Android 10 Firmware (.ftf…
  • Download Sony Xperia 1 III Android 12 Firmware (.ftf creation)
  • Download Sony Xperia 5 II Android 12 Firmware (.ftf creation)
  • Download Sony Xperia 10 III Android 12 Firmware (.ftf creation)
  • Download Sony Xperia 1 IV Android 12 Firmware (.ftf creation)
Share This Post:

Filed Under: Root Tagged With: Magisk, Sony, TWRP

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Join With Us

Deal of the Day

Samsung Galaxy S22 Ultra For $6.95/mo at Samsung Online Store.

Recent Posts

YouTube TV Black Screen Issue

YouTube TV update on Apple TV fixes Black Screen Issue

Oppo Find X6 Pro 1 Inch Sony Camera Sensor

Oppo Find X6 Pro Released with Sony’s 1-inch 50MP sensor

Google Pixel 8 Video Editing

Video Unblur coming to Google Pixel 8

YouTube Shorts Thumbnail Edit Video

How to Change YouTube Shorts Thumbnails?

T-Mobile and Mint Mobile Merger Ryan Reynolds and CEO

No Change in the $15/mo Mint Mobile Plan after T-Mobile Acquire

Advertisement

Footer

Copyright © 2023 AndroidInfotech.com, All Rights Reserved, Android is a trademark of Google Inc. All contents on this blog are copyright protected and should not be reproduced without permission.

  • Subscribe
  • Sitemap
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Our Image License
  • Hosted on Google Cloud
  • Ad Partner Ezoic
  • Corporate Office