How to Root Android 12 [2 Methods]

Android 12 is the latest version of Android which is currently in beta but soon it will be released to the public. It is one of the major updates in years. In a few years, we only got a performance boost and some new features in terms of Android updates. But now Android 12 looks totally different and also bears many useful features. In case if you have updated to Android 12 and want to root your phone, then this guide is for you. Here you will know how to root Android 12.

Android 12 has completed its developer preview phase and now its second beta is live. Talking about its features, the Android 12 comes with a major UI overhaul in which it uses the Material UI-based theming system. It changes the accent color according to the wallpaper. Android 12 also has new widgets, new Quick settings, and more. It also supports Quad Bayer camera sensor, picture-in-picture improvement, a new way to manage WiFi connection, and more.

How to Root Android 12
Source:developer.android.com

Compared to Android 11, Android 12 comes with more customization options in which now you get more options. But still, there are many limitations because of security reasons. And if you want to get full control or privilege on your phone, then you can root your phone. Although the security has been improved in Android 12, you can still use the Android 11 method to root Android 12. But if you don’t know the process, check the steps below.

How to Root Android 12

Rooting is leveling up the privilege on Android smartphones that grant full control of your phone. You can change any settings or files on the smartphone. It also enables Android terminal support which you can use to run commands on your Phone. Some of the basic features of Root are custom fonts support, custom boot animation, third-party themes. There are many advanced features that you can use if you are aware of them.

So, if you want to get advanced features on your Android 12, you need to root Android 12. Luckily it is possible with the useful tool called Magisk. It is the best tool for rooting an Android phone seamlessly. Fortunately, it also works to root Android 12. And so here we are going to use Magisk to Root Android 12 phones. We will be sharing two different methods for rooting Android 12. Let’s start with the first method.

Method 1: Root Android 12 with Patched File

In this method we will use a patched file, it can be either a boot file or an AP tar file. For almost all Android phones we can use a boot image file. But for Samsung, you need to use the AP tar file in place of the boot image file. So, if in steps I refer to the boot image, you need to perform the same task for the AP file if you have a Samsung device.

Prerequisites:

Steps to Root Android 12 with Patched File

  1. Extract the firmware and copy the boot.img to your phone. Copy the AP.tar file for Samsung Firmware.
  2. Now install the Magisk app on your phone. On some phones, Canary build is effective so you can also try Canary Magisk.
  3. Go to Settings > Developer options and check if OEM unlocking is enabled.
  4. Open the Magisk app and click on the Install.
    How to root Android 12 with Patched file
  5. In the next step choose ‘Select and Patch a File’ from the option.
    How to root Android 12 with Patched file
  6. Browse and select the boot.img or AP.tar file, and it will start patching the boot image.
  7. The output file will be stored in the download folder with the name magisk_patched.img.
  8. Copy the patched boot image file to your computer in folder C:\adb. Also, rename the patched file to boot.img. Leave as it is in the case of the AP.tar file.
  9. Reboot your Android 12 phone to Fastboot mode and connect it to your computer. For a Samsung phone, you need to flash the AP.tar file with Odin tool, so use this guide (instead of the main AP file flash the patched AP file) and skip the steps mentioned after this.
  10. In the C:\adb folder (or platform-tools folder) press Shift + Right click on an empty area and select ‘Open Command window here’ or ‘Open PowerShell window here.’
  11. You can check if the device is connected or not by entering the below command that should return some device id.
    • fastboot devices
  12. Now enter the below command to flash Magisk and root Android 12.
    • fastboot flash boot boot.img
  13. After flashing the patched boot image. reboot your device to the system.
  14. Install Magisk Manager if it’s not already installed.
  15. Complete the in-app instructions, and the device will automatically reboot into the system.

Method 2: Root Android 12 with a Custom Recovery

Apart from using the patched file, we can use a custom recovery like TWRP for rooting Android 12. In this method the tool used is common and that is Magisk. Yes, same as the patched file method, we are going to flash Magisk directly using a custom recovery.

Prerequisites:

Steps to Root Android 12 with Custom Recovery

  1. First copy the Magisk zip to your phone, use an SD card if you have one.
  2. Go to Settings > Developer options and check if OEM unlocking is enabled.
  3. Now turn off your phone completely.
  4. Then boot your device into the custom Recovery. You can use a shortcut key combo which can be Power + volume down or Power + Volume Up.
  5. Once you see the custom recovery logo release both keys.
  6. Now in custom Recovery go to Install and select the Magisk.zip file.
    how to root Android 12 with TWRP
  7. Use the slider to flash Magisk and root your Android 12 phone.
    how to root Android 12 with TWRP
  8. Once done go back to the homepage of custom recovery.
  9. Now go to the Wipe > Advanced Wipe section and only wipe cache.
    how to root Android 12 with TWRP
  10. Then you can boot your phone into the system.
    how to root Android 12 with TWRP
  11. Once you are in the system look for Magisk app. And if the app is not installed automatically, then install it manually.
  12. And if you see that Magisk is showing a green tick in the installed section, then you have successfully rooted your Android 12 phone.
  13. In case if you change your mind, you can also flash Magisk uninstaller to remove the root from your Android 12.

That’s it, now you can check for root access on any third party root checker app on your Android 12 phone. Now you can use all the apps and features that require root access on your Android 12 running phone. Also, you can enable features that come disabled by default and not accessing before. And the best thing is you can use various Xposed Modules. Here is the guide to install Xposed Framework.

So there you have it, the complete guide on how to root Android 12 with TWRP recovery or without TWRP Recovery. If you have any queries let us know in the comment section below.

Also Check:

Explore Stories

AUTHOR.

Photo of author

Ashutosh singh

Computer Science graduate and tech enthusiast. Love testing new tech gadgets ever since my first windows phone from Samsung. Working as a technical writer for more than five years, and I believe I have also developed good SEO skills. In my spare time, I like watching movies, and playing games.

Leave a Comment

Share to...