How to Root Android 11 Using Magisk Manager

0
7

It’s been more than a month since Google released the Android 10 update. If you have updated your phone and want to root, then you will be happy to know that Magisk v21.0 has been released with full Android 11 support. In this guide, BangSep will shows you how to root Android 11 using Magisk. This can easily be done by patching the boot image of the Kqlian phone and then flashing the patched boot image using Fastboot.

Installing Magisk and rooting your device running Android 11 is quite easy. In short, you need to first get a copy of the stock boot image(image.boot) for your phone. Then you have to patch it. the boot image on the device using the Magisk Manager app. And finally, you have to flash the resulting patched boot image to your phone using the Fastboot command. The steps below will walk you through the process in detail.

Before you start, make sure you make a backup of all your important data. While nothing can be deleted from your phone while rooting using this method, it’s a good idea to preserve the data.

Required materials

  • Your Android 11 Smartphone Device
  • Windows Computer
  • USB cableÂ

1. Unlock bootloader or Unlock Bootloader

When installing Magisk and rooting your phone you have to flash the boot image patched to the phone. To do this, you have to unlock your phone’s bootloader first. If your phone’s bootloader is already unlocked , Unlock bootloader no need to do it again.

Please note that unlocking the bootloader will delete all data on your phone, including the internal storage.

Also read how to unlock bootloader for all Xiaomi phones How to UBL All Xiaomi Phones

2. Get boot.image

The second step is to get the stock image.boot for the software version currently installed on your phone,

If your phone manufacturer allows unlocking the bootloader, they’re more likely to also provide a download link for the factory image. This factory image (sometimes also referred to as a “fastboot image”) is in a .zip archive and contains an .imgfile from individual device partitions. For rooting process, you need a boot image file which is generally named as boot.img.

  Full specs of Honor V40 appear in new leak

Some manufacturers like OnePlus , Asus , etc, only provide OTA update packages (not factory images) for their phones. Users with devices from these manufacturers need to take extra steps to extract the OTA payload.bin for get the boot image file . An alternative (and easier) way to get the boot image is to search for your device’s specific section in XDA-Developer,

Once you have the boot image, transfer it to the “Download” folder of your phone’s internal storage. Actually you can copy it anywhere, but BangSep suggests a ‘Download’ folder for convenience.

Note: It is very important that the boot image you use matches the software version or build number currently installed on your phone. Using boot images from different versions may cause boot loops or some functions like WiFi, mobile data, etc.


3. Install Magisk Manager v8.0.2 +

First, download the Magisk Manager v8.0.2 (or higher) APK file from here directly to your phone. Then, launch the file manager app of your choice and navigate to the folder where the file was downloaded (generally the ‘ Download’ in internal storage). Find the downloaded file (e.g. MagiskManager-v8.0.2.apk) and Click on it to launch Android’s default package installer. Press “Install” and wait for the installation to complete. After that, press “Ok ” or “Done”.

4. Patching boot image with Magisk Manager

Now that you have both the boot image and Magisk Manager installed, it’s time to patch the . To do this, launch the Magisk Manager app and press the gear icon at the top right to access “Settings”. Click “Update Channel” and set it to “Beta”. This is because Magisk v21.0 is not currently available on the Stable channel, but only on the Public Beta channel (though it won’t be for long).

Next, return to the main screen, press “Install” and select “Select and Patch a File” from the list of available methods. A file picker will open, so navigate to the “Download” folder of your phone’s internal storage and select the boot image file (boot.img).

After the boot image is selected, press “Let’s Go”. Magisk Manager will start downloading the latest version of Magisk i.e. v21 and patch the boot image with it. Once done, the patched boot image will be saved in the “Download” folder.

  What is Cyberwarfare, Cyberterrorism, and Cyberespionage?

5. Set up Android platform tools on your computerÂ

has a boot image patched with Magisk and ready to be flashed to your phone. To do the flashing process, you need to prepare the Android platform tool on your computer. The file is Windows,

Once downloaded, extract the zip file to get the ‘platform-tools’ folder. Next, move this folder to an easily accessible location on your PC for installation. For example, move it to drive C: .


6. Launch a command line window inside the ‘platform-tools’ folder

With the tools installed, it’s important to launch a command line window inside the ‘platform tools’ folder. This is because the command line can only recognize files that are added to the PATH and/or are in the open folder. To do this:

On Windows: Open C:platform-tools. Hold down the SHIFT key on the keyboard and right-click on an empty space in the folder. Then select the option “Open a PowerShell window here”.
At this point, everything on your computer is now set up for flashing.

When entering the command mentioned, make sure to add it with a period and backslash [. ]

7. Transfer patched boot image to your computer

As mentioned earlier, boot images are stored in /Downloads after patching. It is named magisk_patched.img to make it easier for users to identify.

So connect your Android 11 device to computer via USB cable and enable “File Transfer” (MTP) mode on it. Then copy the patched Magisk boot image from within the “Download” folder to the “platform-tools” folder on your PC. Disconnect the phone after the transfer is complete.

8. Boot your phone into Fastboot Mode

Fastboot tool can only recognize and flash files to your phone via the bootloader interface, which is better known as “Fastboot Mode” or “Bootloader Mode”.

To enter Fastboot Mode, enable USB debugging on your phone, connect it to the computer, and run the adb reboot bootloader command from your computer.

  DuckDuckGo Vs. Google: Which Search Engine is Best

Another easier way to enter Fastboot Mode is to use a key combination when the phone is turned off. On many Android devices (especially Google Pixel and stock Android devices), this can be done by using the Volume Down and Power buttons simultaneously .

9. Flash Boot Patched Image to root your phone

Finally, it’s time to flash the patched boot image to install Magisk and root your Android 11 device. To do this, connect your phone to the computer via USB while in Fastboot Mode.

Then verify that your PC can recognize your phone through the bootloader interface using: “fasboot devices”

The command should return your device’s unique ID, as shown in the screenshot below.

Fasboit devices

10.Verify PC-Device connection via bootloader interface

Now enter the following command on your computer to flash the patched boot image to your phone:

fastboot flash boot

magisk_patched.img

It’s worth noting that the boot image will only be flashed to the currently active slot on devices that support system partition A / B . This is very useful for installing OTA updates on rooted phones.

After flashing is complete, reboot your phone into OS using:

“fastboot reboot”

You can disconnect now and wait for it to finish booting.

Your Android 11 device is now rooted. To verify this, launch the Magisk Manager app on your phone and check the info that corresponds to the “Installed” label. It should show the latest Magisk version. You can then check the SafetyNet status by pressing “Check SafetyNet”.

Now that you have root access, you can install and use some of the most popular root apps like Titanium Backup . You can also use Magisk Manager to install modules to add new features to the software.

Furthermore, if certain apps like banking and security apps stop working, just open ‘Magisk Manager’> ‘Settings’ and enable Magisk Hide. Since Magisk v20.4 , this feature is disabled by default on new installs due to the new SafetyNet authentication method.

Please remember to Root this Android 11 Phone using Magisk Manager Version 8.2 or later to avoid bootloop on your phone, Good Luck.

Happy Rooting Friends.