Root Google Pixel 4/XL Android 10 using Magisk

0
49
Root Pixel-4-XL

Google Pixel 4 and Pixel 4 XL got mixed reviews. It Comes With 6 GB RAM and Qualcomm SDM855 Snapdragon 855, and  It is a flagship device. In My Opinion, unless you have a strong reason, you should not root your mobile. Most of the users’ Root and Flash TWRP to use Custom ROM that is based on Stock Android. But, Here Your mobile comes with Android 10 Stock version, You will get 3 Year guaranteed updates. After Root, you will not receive official updates. If you are a Regular user, stay with the Official version. When you want to use one or two root requited apps, you can use Simulators to do that. If you are a Developer or regular root apps user, you can follow the below guide to root your mobile. This method is based on Magisk. So, You can’t Install other Custom ROMs and Custom Recovery based Installations. But, You can use Magisk modules to do some necessary operations like Soli configuration.

Why should you Root Google Pixel 4 and Pixel 4 XL?

We thank XDA Developers- topjohnwu and cursixx (Who successfully tested this method) 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 6 GB RAM and Qualcomm SDM855 Snapdragon 855 processor, You can use this mobile without root for 4-5 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 fast. 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.

How to Root Google Pixel 4 XL Android 10 (International versions)

Google Pixel 4 XL 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.

We are going to Root this device by using Magisk. You can install Official TWRP using the official App when it is released. TWRP recovery is a custom recovery file that must be installed on your devices because you can root them successfully. In this article, we explained the easiest method to follow and install Magisk on Google Pixel 4 XL. However, the tool required for rooting this device is the Magisk App.

You can flash TWRP once it is available. With the help of TWRP Recovery, you can quickly flash the Custom ROMs into your Pixel 4. Before sharing the tutorial, you may want to know that, with the Magisk present on your device, you can easily install any root apps. 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 Steps

OnePlus-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 Google Pixel 4/XL.
  • Download the ADB drivers. Install it on your PC.
  • Also, download the regular Partition Fastboot drivers Install It on your PC. Use these drivers to flash the Boot image file.

Unlock Bootloader using ADB and Fastboot

Google-Pixel-4-XL-Fastboot-Mode

  • Switch off your device. Then, enter into Fastboot mode. To do this- Press and hold down the Volume Down + Power buttons at the same time for some time and connect your mobile with PC.
  • Press the Volume Up button to continue when you see the warning message.
  • Now, connect the Google Pixel 4 XL mobile to the computer via 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 Google Pixel 4 XL. If you are detected, type below command and Hit Enter.
fastboot flashing unlock
  • Confirm unlock Bootloader in your Mobile Screen.
  • After the successful unlock, your device will automatically reboot to the standard OS.
  • Check again enable “Developer Options,” then go to the “Developer Options” and enable USB Debugging Mode, OEM Unlock. Sometimes they disabled themselves after the boot.

Preparing Patched Boot Image file

  • Download Google Pixel 4/XL Firmware and save it on your PC (Factory Image file, not OTA). Your Current OS version and Downloaded Version should be the Same.
  • You can use Phone Info to know your firmware version.

Google-Pixel-4-XL-Extracted-Firmware-Files

  • Download 7Zip-ZS Install on your PC. Extract the files in downloaded firmware using 7Zip-ZS. You will get a lot of data. You should extract another .zip file inside the already extracted firmware to get the boot file. Copy boot.img file to your mobile.
  • Download Magisk Manager (Download Latest version) and Install it on your mobile. Open Installed Magisk and Select Install in Magisk; it will ask For zip file and Patch Boot Image File. Select the Boot Image file.
  • Navigate to your copied Boot Image File and patch the file as .img format.
  • Wait for the process to complete, In the end, you will get magisk patched .img file. The .img file will be in the same folder where you have the boot.img.
  • Copy magisk_patched.img file to your PC. Rename the file to boot.img again.

Flash Patched Recovery Image using ADB and Fastboot

  • Switch off your device. Then, enter into Fastboot mode. To do this- Press and hold down the Volume Down + Power buttons at the same time for some time.
  • Press the Volume Up button to continue when you see the warning message.
  • Now, connect the Google Pixel 4 XL mobile to the computer via 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 mobile, restart the command prompt and Disconnect and Connect your Google Pixel 4 XL. If you are detected, type below command and Hit Enter.
fastboot flash boot boot.img
  • After the process complete, 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.
  • After entering into Stock recovery mode, Go to Wipe Data/Factory Reset and Select Yes to wipe data. It will erase your saved data in your device. Don’t Boot into OS, Read below Boot stages before booting.

Boot into Rooted OS

  • Press and Hold Volume Up + Power buttons, release all the keys once the Bootloader warning appears. You have to set up your device like a new device.
  • Stock Recovery Boot – Press and Hold Volume Up + Power buttons, release keys while you hold the Volume Up key.
  • You will see Magisk Manager in your App drawer. If you can’t find the app, you can install Magisk Manager on your mobile.

Conclusion:

In my opinion, you don’t need rooting for your Google Pixel 4 XL. If you thought you could Improve Performance by root with the Qualcomm SDM855 Snapdragon 855 Octa-Core processor and 6 GB RAM, your device can perform well. If you don’t know how much RAM you need, You will never use this much RAM. You should not Boot into Normal OS Booting, by pressing the power button, after firmware flash. It will boot you to a Non-Rooted environment. If you accidentally urged and boot frequently, Don’t panic, after setup everything, switch off your device and boot into Rooted OS using above mentioned keys. 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.

For further queries and questions let us know in the comment section below!

Also Read: How to Guide to Unlock Bootloader on Nokia 6.2 and Nokia 7.2

LEAVE A REPLY

Please enter your comment!
Please enter your name here