Especially, if you are looking for an excellent camera and a pure stock Android OS experience then there’s no turning back [though the 60Hz display might leave something more to be desired]. Along the same lines, these devices are among the most popular players in custom development as well. If we talk about the 6A, then its kernel source and device tree are already up for grabs. As a result of this, custom ROMs and TWRP recovery might be on the way sooner than later. However, it’s the ability to gain administrative privileges that have always been at the top of the priority list for many tech enthusiasts. If you echo the same thought as well, then this guide shall help you root your Google Pixel 6A via Magisk patched boot.img. Follow along for the instructions.
Benefits and Risks of Rooting Pixel 6A
Once you root your device, you will be in a position to flash a plethora of mods. These include the likes of Magisk Modules, Substratum Themes, Xposed Framework via LSPosed, Viper4Android among others. Along the same lines, you could also flash a custom kernel and implement your desired CPU profile. However, such tweaks do comes in with a few risks as well.
To begin with, rooting requires you to unlock the bootloader- which will wipe of all the data and could nullify the warranty as well. Likewise, SafetyNet will be triggered which will result in your inability to use banking apps (though you could still pass SafetyNet in Rooted Android 12). So if all that’s well and good, then let’s get started with the steps to root your Google Pixel 6A via the Magisk patched boot.img file.
How to Root Google Pixel 6A via Magisk Patched Boot.img [Video]
The below instructions are listed under separate sections for ease of understanding. Make sure to follow the same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.
STEP 1: Install Android SDK
First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.
STEP 2: Enable USB Debugging and OEM Unlocking
Next up, you will also have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process.
So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.
STEP 3: Unlock Bootloader on Pixel 6A
Next up, you will also have to unlock the device’s bootloader. Do keep in mind that doing so will wipe off all the data from your device and could nullify its warranty as well. So if that’s all well and good, then please refer to our detailed guide on How to Unlock the Bootloader on Google Pixel 6A.
STEP 4: Get Pixel 6A Stock Boot.img
STEP 5: Patch Pixel 6A Boot.img via Magisk
STEP 6: Boot Pixel 6A Fastboot Mode
STEP 7: Boot Pixel 6A using Magisk patched Boot.img
On the other hand, if things don’t go as planned and your device ends up in a bootloop/ softbrick, then just a normal reboot will fix the issue. So on that note, let’s get started with the second approach. For that, execute the below command in the CMD window and your device will be booted to a temporarily rooted OS.
STEP 8: Permanent Root Pixel 6A via Direct Install
After executing the above command, your device will be booted to the OS with a temporary root. Here’s how to make it permanent: So with this, we round off the guide on how you could root your Pixel 6A device via Magisk patched boot.img. If you have any queries concerning the aforementioned steps, do let us know in the comments section below. We will get back to you with a solution at the earliest.
How to Root Google Pixel 6A running Android 13
Beginning with Android 13, Google has introduced the Anti Rollback Protection for the Pixel 6 series. Earlier, if anything went wrong on one slot, then your device would use the second slot to boot to the OS. However, since your second slot would still be having Android 12, it would end up triggering the Anti Rollback mechanism and your device might end up in a bricked state. To prevent that from happening, you should first install the Android 13 firmware to both the slots, using the instructions given here- Install Android 13 in Both Slots on Pixel 6A/6/Pro to Prevent Brick. Once that is done, you may then refer to the below steps to root your Pixel 6A running Android 13. As mentioned in STEP 7. we used the approach of temporary booting to the rooted OS and then used Magisk’s Direct Install method to permanently root your device. However, if you wish to root your device by directly flashing the patched boot.img, then use the below command:
How to Hide Root from Apps via Magisk DenyList [Android 12/13]How to Remove Navigation Bar Gesture Pill on Android 12 Without RootGuide to Pass SafetyNet on Rooted Android 12/Android 13How to Pass SafetyNet test after installing Xposed or EdXposed