The Pixel 4 is one of the most talked about phones of 2019, so you know there will be a lot of support for external developers. Mods already appear, so you want to install Magisk as quickly as possible to get root access. The current method used to get root is a bit long, but it is worth it.
With Rooting you can adjust, adjust and change anything you would ever want at system level. With the help of Magisk you can also pass through Google's SafetyNet. This means that you can continue to use all your favorite financial apps, such as Google Pay, without any worries. Magisk has undergone some major changes for Android 10 and the Pixel 4, so let's get started so you can watch it.
- Pixel 4 or Pixel 4 XL ( non-Verizon models)
- Windows, Mac or Linux computer
- USB cable
First you have to unlock the bootloader of your phone, with which you can run unofficial firmware such as Magisk. Keep in mind that unlocking the bootloader will automatically erase your data, but there is no way around it. If you have not already done so, go to the tutorial below to unlock your bootloader.
The files below are only intended for use in November 2019 build of Android for the Pixel 4 or 4 XL. To ensure that your phone is compatible, go to Settings -> About Phone and tap & # 39; Android Version & # 39 ;. If the field says "Android security patch level" November 5, 2019 you are ready to go. If not, update your telephone.
Normally you should download the factory image package from Google, unpack only the boot image, transfer the image to your phone, run through the Magisk Manager app to to patch and add the root files, then send it back to your computer and flash the patched boot image in Fastboot. But not this time.
Download one of the pre-patched boot copies that we have found instead. These are the official Google boot images and the only change is that they were done through Magisk. Press one of the links below from your computer to download the patched boot image for your device and carrier:
If you do not want to use a pre-patched image, you can do this yourself with the following steps:
- Download the full factory image package for your model
- Unzip the downloaded ZIP
- Unzip the second ZIP in the unzipped folder
- Locate the "boot.img" file and move it to the storage of your phone
- Install Magisk Manager
- In Magisk Manager, tap "Install" next to "Magisk is not installed"
- Tap "Install" in the pop-up
- Select "Select a file and patch it"  Use the file selector to select the file boot.img
- . Tap "Done" when you're done
- Move the file patched_magisk.img back to your computer
] Step 4: Install Magisk Manager on your pixel
Now you need the latest version from the Magisk manager app from the link call pick you up and install it on your phone.
After the app has finished downloading, tap the "Download complete" message to start the installation process. You may need to enable "Install unknown apps" for the browser with which you download the app, but you can tap "Install" if you provide it. Tap "Open", after which you can go to the next step.
Step 5: Download the Platform-Tools package
To flash the patched boot image and enable root, you need the SDK Platform-Tools from Google on your computer. Click on one of the links below to download the tool, then unzip the ZIP and place the extracted folder on your desktop .
Now you must bring your phone into a state that it can accept the Fastboot command to push the modified boot image file to your system. Long press the on / off button and then tap "Switch off" to switch off your phone completely.
When the phone turns off, press and hold the power button and the volume down button simultaneously until the Fastboot Mode menu appears. Make sure your phone is connected to your computer and leave the phone in this way for the next step.
Your phone should currently be in Fastboot Mode. From here you must open a command window in the platform tools folder on your computer so that your phone and computer can communicate with each other.
If you are using Windows, press the Windows button on your keyboard, then type "cmd" and press enter to open a command prompt window. If you use Linux or Mac, simply open the "Terminal" app.
Now type "cd" in the prompt and add a space, but do not press enter yet. Instead, drag the platform-tools you extracted from your desktop in step 5, and then place it at the top right of the command window. This will fill in the location of the folder. If that is the case, press enter.
It's time for the fun part: with the Fastboot command that give your Pixel 4 full root access. Type the following command, but do not press enter yet.
fastboot flash boot
Note: Mac, Linux, and Windows PowerShell users may need to add a dot and a slash before entering Fastboot commands (e.g., / fastboot flash boot).
Now add a space and find the file magisk_patched.img that you downloaded in step 3. Click and drag this go to the command prompt window and release it. This should fill the full location path of the file, at which point it is safe to hit enter .
Once the "magisk_patched.img" file is installed on your Pixel 4, you must restart your device to Android. To do this, type the following command and press enter to confirm your choice.
With the above command you can restart your phone from Fastboot Mode without physically touching the device. It is useful to know if you plan to use Fastboot commands in the future to install other mods or system updates.
Now that your phone has backed up the restart, go to the Magisk Manager app and then tap the arrow next to "Tap to start SafetyNet check" to ensure that you pass Google's SafetyNet check. As soon as the message "SafetyNet Check Success" appears and you get two green check marks, you are all set. Now you can take your Pixel 4 to the next level with full root access. Happy modding!