How To Root Google Pixel 5a 5G with Magisk (Detailed Guide)

If you like to customize your Pixel 5a 5G and have complete control over its firmware, then the first thing you should do is root it. You can root the Pixel 5a 5G by using Magisk, the most popular rooting tool for Android phones. Magisk enables root and allows you to completely customize the system of the phone. Furthermore, you can use modules with the help of Magisk Manager. There are different modules that serve different purposes that you can freely download and enable.

Below you have a detailed tutorial on how to root your Pixel 5a 5G. You will need to unlock the bootloader, patch the firmware, and install Magisk. If you get stuck in any of the steps of the tutorial, leave a comment down below and we will assist you.

How To Root Pixel 5a 5G with Magisk

To flash Magisk and root your phone, you first need to have an unlocked bootloader. Then you need to install Magisk Manager and flash the patched image file. All the steps are clearly explained below.

WARNING

Before you go ahead with the tutorial below, please read all of the warnings below. Do not proceed if you do not want your data to be erased. NaldoTech shall not be held responsible if anything wrong happens with your phone.

  • This process will wipe your phone. When you unlock the bootloader for the first time to install Magisk, a full data wipe will be performed. Please make a data backup before you continue, otherwise, you will lose all of the data.

Pre-requisites

  • Make sure that your phone is charged to at least 60%. This ensures the phone will not accidentally turn off during the process.
  • Make a full backup of the data on your phone. The process below involves unlocking the bootloader, which will delete everything on your phone.
  • Download and install the proper USB drivers for the Pixel 5a 5G. If you don’t have the proper drivers, the computer will not recognize your phone.

Step 1: Unlock the Pixel 5a 5G bootloader

The first step is to unlock the bootloader. If you already have done so, then jump to the second step. If you have a locked bootloader, then learn how to unlock the Pixel 5a 5G bootloader.

Please note that all the data on your phone will be erased after unlocking the bootloader. We recommend you make a full backup of your data before going any further.

Step 2: Patch the firmware with Magisk

  1. Download the latest stock firmware for your Pixel 5a 5G from Google’s official site.
  2. Once you have downloaded the firmware, extract it. You will see a few files.
  3. One of the files is named boot.img. Move this file to the internal storage of your phone.
  4. Download and install the latest Magisk app APK.
  5. Open Magisk Manager and go to Install > Install > Select and Patch a file. (Make sure Recovery Mode is off.).

Step 3: Flash the patched Magisk image

  1. Navigate through the storage and select the archived image file. The image will be patched and the new version will be found under /sdcard/download/magisk_patched.img
  2. Connect your phone to your PC using a USB cable.
  3. Transfer the patched file to your computer.
  4. Boot your phone into fastboot mode one more time.
  5. Open CMD and enter the following command:
    fastboot flash boot "magisk_patched.img"
  6. The tool will flash Magisk on your Pixel 5a 5G.

Now that you have installed Magisk on your Pixel 5a 5G, you can later update Magisk directly from the Magisk Manager app. If you want to update to another version of the firmware, also patch it through Magisk Manager first, and then flash it. With Magisk you can now enjoy all root benefits plus Magisk’s module system (SafetyNet).

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Wallpapers

- Advertisement -