Rooting Guides

Root Google Pixel 4 And Pixel 4 XL With Magisk (Without TWRP Recovery)

Today in this article, we are going to teach you how to root Google Pixel 4 and Pixel 4 XL variants without TWRP custom recovery. Google has recently launched one of the best smartphones with better hardware and high specifications. Recently, Google has released factory images of both devices. So with the help of these factory images, you can easily root Google Pixel 4 and Pixel 4 XL using the Magisk tool. If you are the users of one of these devices and wish to root your device, then now you can root your device without installing the TWRP custom recovery.

The TWRP custom recovery is still not ported for Google Pixel 4 and Pixel 4 XL devices. We hope it will be available soon. We’ll share the link once the stable TWRP is available. If you are an advanced user and want to customize your device beyond the limits or want to get the admin rights of your device, then rooting is the way through that you can do all these kinds of tasks. We already know that Google Pixel devices are developer-friendly and easily customizable.

Given below we share a detailed guide on how to root Google Pixel 4 and Pixel 4 XL with Magisk without installing TWRP. Rooting is the process though that you can break all the restrictions from your device which is implemented by OEM’s. There are many advantages of rooting the smartphone such as flash custom firmware, Mods, Kernal, create and restore a backup, and much more. Also after rooting, you can enable the Pixel 4’s face to unlock in any app. If you wish to root Google Pixel 4 and Pixel 4 XL with Magisk without installing TWRP, then go ahead and follow the given instructions.

root Google Pixel 4
root Google Pixel 4


This guide containing the root package and instructions can be used only with the Google Pixel 4/ Pixel 4 XL. Check the model number of your phone if it is Google Pixel 4/ Pixel 4 XL then go ahead, otherwise not. Do not use these instructions for any other device or incorrect variant.


AndroidBlog will not responsible for any damage that occurred to your Google Pixel 4/ Pixel 4 XL during or after the rooting process. Proceed at your risk.


  • It is highly recommended to make a proper backup of your contacts, messages, photos, videos and other valuable data on your phone.
  • Device Bootloader should be unlocked.
  • The battery level of your phone should be at least up to 70% to avoid unexpected shutdowns while rooting.
  • Enable USB Debugging on your phone by navigating to Settings > Developer Options.
  • Download and install Google Pixel  USB Drivers on your PC.

Required Files:

Steps To Root Google Pixel 4 And Pixel 4 XL Using Magisk:

Extract and Patch Boot Image using Magisk:

  • First of all, download and install the Google Pixel USB driver to your PC.

  • Next, download the both factory images from the above link and extract it on your PC.

  • Now copy only the boot.img file from the extracted folder to your device storage.
  • Download the Magisk and Magisk manager on your phone.
  • Open the Magisk and Select the INSTALL option and choose Install again.
  • Tap on “Patch Boot Image File”.
  • Navigate to internal storage and select your device boot image that you’ve moved earlier.
  • Wait for a few seconds and the Magisk will start patching the boot image.
  • Once the boot image has been patched, copy the “patched_boot.img” from the internal storage and replace it in the same extracted ROM folder on your PC.

Install the Patched Boot Image on Pixel 4 and 4XL:

  • After extracting the boot image, you must move the patched boot image to the same folder. Press and hold the SHIFT key + right mouse click to open the command window on your PC.
  • Next, run the following command in the command prompt.
fastboot flash boot_<Letter> <patched_image_name>.img
  • Make sure to replace [patched_image_name.img] with the name of the with the patched boot image you extracted followed by the .img extension, and [letter] means boot partition A or B.
  • Now, the flashing process will start.
  • Once done, run the following command to boot your device.
fastboot reboot
  • You’re done. Now, check the root status and SafetyNet from below.

Done! you have successfully root Google Pixel 4 /Pixel 4 XL devices by using Magisk.

Source: XDA

Bhatti Junaid

He continuously writes tech articles and development code. Also, appreciates excellent food, exceptional coffee and great company. He has written 266 guides and other posts.

Related Articles

Leave a Reply

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

Back to top button