[Android 10] – How To Root Google Pixel 2 XL – Using TWRP And Magisk

how to root google pixel 2 xl

Google Pixel 2 XL is one of the unforgettable phones within the Pixel Series. Most of the Pixel 2 XL owners don’t change their device, whether or not they need choices to upgrade or trade-in.

I do know the display isn’t good. But, something is usually attracting towards this mobile.

As per google promise, this device received Android 10. We may get Android 11 Also.

Most of the users root their device to use Custom ROMs. Pixel Experience ROM is loved by most of the Custom ROM users.

But, during this case, we have already got a Pixel Stock Android. Once you will try other Custom ROMs, Google’s stock ROM is healthier, unless you have got specific reasons.

Once you must use Root apps, you’ll work with third-party simulators. Because this process will have some additional steps compare with the traditional root process.

If you’re an everyday user and you recognize what you’re doing, you’ll proceed below. After root Google Pixel 2/XL Android 10, you may not get official updates from Google. once you are a Developer or regular Root apps user, you’ll follow the below guide to attain root on your mobile.

Root Google Pixel 2 XL Android 10
Root Google Pixel 2 XL Android 10

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

We thank XDA Developers- Topjohnwu and ne0ns4l4m4nder (Who successfully tested this method) Without their labor, We can’t make this method. Coming to root, you ought to have a correct reason, and you recognize what you’re doing.

Yes, with a minimum of 4 GB RAM and Qualcomm MSM8998 Snapdragon 835 processor, you’ll be able to use this mobile without root for 1-2 Years If you utilize correctly. Software is best 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 have already got Powerful specs and software. So, If you’re obsessed with some root apps, you’ll be able to root. But, if you would like to check, I won’t recommend it.

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

Google Pixel 2 XL International Variants comes with a versatile bootloader apart from some carrier locked devices. This suggests that different smartphone variants will be easily rooted. Also, the device can accept to put in TWRP recovery or the other custom recovery file/app alike.

But within the below method, we are visiting Root this device by using TWRP and Magisk. You’ll also Update Official TWRP using the official App when it’s released.

TWRP recovery maybe a custom recovery file that has to be installed on your devices because you’ll root them successfully. During this article, we explained the simplest method to follow and install Magisk on Google Pixel 2 XL.

However, the tool required for rooting this device is that the Magisk App.

You can flash TWRP after we flash the patched boot image file. With the assistance of TWRP Recovery, you’ll quickly flash the Custom ROMs into your Pixel 2 XL.

Before sharing the tutorial, you’ll want to grasp that, with the Magisk present on your device, you’ll easily install any root apps. Does it seem complicated? Relax, everything is going to be explained succinctly in bullets.

Things to check out for;

  • Check your device model number.
  • Install the latest Magisk Manager.
  • Make sure your device battery is charged above 50%
  • Backup your current files and data- Full Data Loss Process (save them on external storage).
  • Read the full tutorial before the process.

Pre-Requirement Steps

OEM-Unlock-and-USB-Debugging (1)

  • Enable USB Debugging Mode and OEM Unlock on your mobile. To try to do this; attend settings >>> about >>> Tap on the “Build Number” 7-10 times consistently to enable “Developer Options,” then attend the “Developer Options” and enable USB Debugging Mode, OEM Unlock and Enable the ‘Advanced Reboot.’ There is no complicated process in Google Pixel 2/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. You can save the data below in PC or OTG Cable. If you like OTG Storage, it will be very comfortable to use. The following files should be saved in fastboot folder.
  • Download Magisk.Zip (Latest Version), Copy it to Your PC, or OTG Cable.
  • Also, Download and save the TWRP File in your PC.

  • twrp-3.3.0-0-walleye.img (Google Pixel 2)
  • twrp-3.3.0-0-taimen.img (Google Pixel 2 XL)
  • Download and save the TWRP Installer files on your PC.
  • twrp-pixel2-installer-walleye-3.3.0-0.zip (Google Pixel 2)
  • twrp-pixel2xl-installer-taimen-3.3.0-0.zip (Google Pixel 2 XL)

Unlock Bootloader using ADB and Fastboot


  • Switch off your device. Then, enter into Fastboot mode. To try and do this- Press and hold down the Volume Down + Power buttons at an identical time a few times and connect your mobile with PC.


  • Press the Volume Down button to continue after you see the warning message.
  • Now, connect the Google Pixel 2 XL mobile to the computer via USB cable.
  • Launch the fastboot on your computer. Open a command prompt on your PC and sort below command.
  • It will show the connected devices. If you do not receive the device, restart the command prompt, and Disconnect and connect your Google Pixel 2 XL. If you are found, type the command below and press Enter.
  • fastboot flashing unlock (Pixel 2)
  • fastboot flashing unlock_critical (Pixel 2 XL)


  • Confirm Bootloader unlock 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 2/XL Firmware and save it on your PC (Factory Image file, not OTA). Your Current OS version and Downloaded Version should be the Same.
  • Download 7Zip-ZS Install on your PC. Extract the files in downloaded firmware using 7Zip-ZS. you’ll get plenty of knowledge. You must extract another .zip file inside the already extracted firmware to induce the boot file. Copy boot.img file to your mobile.


  • Download Magisk Manager (Download Latest version) or Magisk canary and Install it on your mobile. Open Installed Magisk and choose to Install in Magisk; it’ll enkindle zip file and Patch Vbmeta Image File. Select the Vbmeta Image file.


  • Navigate to your copied Vbmeta Image File and patch the file.


  • 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 try to do this- Press and hold down the Volume Down + Power buttons at the identical time for a few time.
  • Press the Volume Up button to continue once you see the warning message.
  • Now, connect the Google Pixel 2 XL mobile to the computer via USB cable.
  • Launch the fastboot on your computer. Open an electronic communication on your PC and sort 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 2 XL. If you are detected, type below command and Hit Enter.


  • astboot flash boot boot.img
  • After the process complete, Don’t Exit Fastboot Mode until we flash the following files. Type the below command to reboot again to the bootloader.
  • fastboot reboot bootloader

Flash TWRP

Google-Pixel-2 XL-TWRP

  • Launch the fastboot on your computer. Open a Command prompt on your PC and type below command. (Example- fastboot boot E:/Android/recovery.img)
  • fastboot boot path/recovery.img or fastboot boot recovery.img
  • After the process complete, It will boot into the temporary TWRP. Don’t Boot into standard OS until we flash magisk and other files.

Install Magisk and Installer in your Google Pixel 2/XL using TWRP

For OTG Process

This method is for only OTG users.

  • Select Wipe->Advance Wipe->Select Cache Data.
  • Return to Home of TWRP select Install.
  • Select TWRP Installer.Zip.
  • After the Installation again Return to Home of TWRP select Install.
  • Select Magisk.Zip.
  • After the Installation Reboot Your Mobile.
  • Don’t use Add more Zips, Install files one by one.

Method for PC Files Stored users

Use this method, If you stored all the files on the PC.

  • Select Wipe->Advance Wipe->Select Cache Data.
  • Return to Home of TWRP select Advanced>ADB Sideload.
  • Type below command to the sideload TWRP installer file.
  • adb sideload path/file



  • To better understand this command, type adb sideload and drag the information into a fastboot cmd window and hit enter.
  • Type below command to the sideload Magisk file.
  • adb sideload path/file


  • After the Installation Reboot Your Mobile.
  • You can also install Magisk Manager in your Mobile Applications. You’ll be able to select the foundation status using the Root Checker.

What more?

In my opinion, you don’t need rooting for your Google Pixel 2 XL. If you thought you may 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 the way much RAM you wish, you’ll never use this much RAM.

You must not Boot into Normal OS Booting, by pressing the facility button, after firmware flash. It’ll boot you to a Non-Rooted environment.

If you mistakenly urged and boot frequently, don’t panic, after setup everything, flip your device and boot into Rooted OS using above mentioned keys. Don’t Install any apps apart from trusted sites on rooted devices.

Third-party site apps can contain some background codes. So, Check twice before installing those apps.

Leave a Reply

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