How to Install Magisk & Root Google Pixel 2 or Pixel 2 XL

Rooting any Android Phone will make your Phone more fast and better from before. After doing this, you will get various Hidden Features and boost your Phone’s Speed and. Rooting any Android Phone is not a big task. The Google Pixel 2 and Pixel 2 XL also comes with the , so you can toggle a setting and send a Fastboot command, then start flashing custom firmware right away.

The method used for Rooting theor Pixel 2 XL uses Magisk, so you’ll still be able to play Pokemon GO, use Android Pay, and enjoy all the little things that other root methods typically allows. This rooting method involves some initial preparations like download a copy of your phone’s boot, patch it with the Magisk Manager app, then flash the patched version with Fastboot.

Before trying this method of Rooting on your Google Pixel 2 or Pixel 2 XL phone, you have to first. So, in this article, I am going to explain you the method for successfully rooting your Google Pixel phone and installing Magisk.

How to Install Magisk & Root Google Pixel 2 or Pixel 2 XL

Before starting the process, the basic requirement is that you must have an Unlocked Bootloader, Window, Mac, or Linux computer and a Data Cable. Now, follow these easy steps and root your Google Pixel 2 or Pixel 2 XL Phone. But if you don’t know, then you can read this article.

 Download Boot Image of your Phone

The initial step for starting Rooting your phone is to download the Boot Image of your Phone. If you’re running the stock firmware that came with your Pixel 2 or Pixel 2 XL, you can download this file from. Also, you can use the custom kernel if it is formatted for fastboot flashing (i.e., the kernel comes as an IMG file).

Downloading the stock boot image from Google is an easy way of doing this. So, to begin with, follow the instructions.

First, go to your Phone Settings and then Click on the About Phone option in the last. After this, note your current firmware’s build number. Now, go to the and select your model from the menu on the right. After this, match the build number you found on your phone with one of the firmware downloads on Google’s site, then click the “Link” button to download the firmware. See the image below for your reference.

 Extract the Boot Image File

The next step is to find the downloaded file and extract it. For this, follow these easy steps:

Open the folder where you have downloaded the Boot Image File from the Google. The file name should start with the word “walleye” (Pixel 2) or “taimen” (Pixel 2 XL). Extract that file with any archive manager.

After this, you will see another folder inside the archive, open that also. Now, you will see different files, search for the archive labeled either “image-walleye” or “image-taimen” and double-click it.

After opening the folder, you’ll see several IMG files, but you should only be concerned with one: boot.img. Search for this file and then drag and drop it to the. For your reference, see the image below.

 Transfer The Boot Image files to your Google Pixel 2 Phone

Now, it’s time to transfer the Boot Image file to yourfrom PC. You can do this by several methods. If you have a data cable, then connect your PC to your phone and transfer the file. Also, you can upload the file to youraccount and download it on your phone using the Google Drive.

 Install Magisk Manager on Google Pixel 2 or Pixel 2 XL

Now, its time to use the Phone. After successful transfer of Boot Image file to your phone, now you have to install the Magisk Manager app. The function of this app is to manage the root access on your phone. Now, open the web browser andfor downloading the apk file.


After the downloading is finished, now you have to install the app. For doing this, you have to just tap on the downloaded file and click on the Install button.

 Patch the Boot Image File with Magisk Manager

After installing the Magisk App, now open that app. You will see a prompt on first-run, go ahead and tap “Install“. If this pop up doesn’t appear on your screen, you can manually tap the “Install” button in Magisk Manager’s main menu, then press “Install” on the popup. After this, a new pop up will appear, tap on the “Patch Boot Image File“. See the image below for your reference.


Now, the next step is to open the Boot File. For this, you can use file picker interface like File Explorer app installed on your Google Pixel 2 Phone. Alternatively, you can pull the “boot.img” file directly from your Google Drive account in the same side navigation menu.


After selecting the boot.img file, tap “Allow” to give Magisk Manager permission to access the file. From there, wait while the tool patches your boot image, then take note of the storage location for the “patched_boot.img” file. See the images below for your reference.


 Transfer the Patched Boot Image Back to Your PC

After the above step finish, you have to note the storage location of the patched_boot.img file. Now, again connect your Phone to your PC. For this, you can use any of the methods like transfer through data cable, Google Drive app, and any other file transferring apps.

 Boot into Bootloader Mode & Connect to Your PC

Now, you have to put your phone into bootloader mode.  Before doing this, remember to unlock the Bootloader of your Google Pixel 2 or Pixel 2 XL. If you have not done it yet, then refer to this article:

If you have unlocked the bootloader, then restart your phone and when the screen goes black, press and holds the volume down button. After a few seconds, you’ll be greeted by Android’s bootloader menu. After this, don’t select anything, just stay on Bootloader menu and then connect your Phone to PC.

 Install ADB & Fastboot on Your Computer

Now, in this step, you have to Install the ADB and Fastboot on your computer system. If you have already Unlocked the Bootloader, then these applications must be installed on your PC. Because these are the essential applications.

 Open the Command Prompt in the Right Directory

Now, press thebutton on your, then type in “cmd” and hit enter to do so. With this, thewill open. Once you’ve got the command window open, you’ll need to change directories to the platform-tools folder before you can send the Fastboot command to. To do that, type “cd” (without the quotes) followed by a space, then paste in the file location for your platform-tools folder.

For this, you have to find the platform-tools folder on your PC and copy the location from the address bar at the top of your file browser. Now, paste this address in Command Prompt.

 Patched Boot Image Flashing

Now, type “fastboot flash boot” (without the quotes) into the command prompt, then add a single space but don’t hit the enter.

After this, find the patched_boot.img file that you transferred to Step 6. Drag the file and drop it into the command window. This will insert
the file location directly after space you entered, so the full command should be something like “fastboot flash boot C:\Downloads\patched_boot.img“. (The path may vary according to the file location). You can see the image below for your reference.

Now, after entering the file location, press enter. The process will start and take a few seconds, and when it’s done, you’ll see a message saying it’s done.

After finishing the process, now you have to make sure that “Start” option is highlighted on your phone in the bootloader menu. If it isn’t, use the volume keys to select it. From there, press the power button once and your phone will boot back up. After the process will finish, your phone will be fully rooted.

So, this is all for this article. Hope you have successfully rooted yourand Pixel 2 XL. If you find any issue in the above-mentioned steps, you can contact us for the solution. If you want to suggest some easy method for rooting the Google Pixel phone, then please comment below.

If you find this article resourceful, then please share it on social media and also with your friends. For more articles on Google Pixel 2 or Pixel 2 XL, stay tuned with us. Thanks for reading this article.


(Visited 543 times, 1 visits today)

Loved, what we Wrote ? Share this: