Thus, you will have to visit your smartphone manufactures website to see if the factory images are available for your device. The file will most likely be a .ZIP file with the boot.img compressed. So pay attention to the file you download. You will have to download this file to your computer.

Once downloaded, you will have to extract the .ZIP file. This can be done via the systems in-built extractor or via third-party apps such as 7-Zip. The extracted file should be named as boot.img. For OnePlus owners, this process is slightly more complicated. You must follow our guide on how to extract payload.bin from OTA or firmware. When you have the extracted file(s) ready, proceed to the next step.
3. Transfer the boot.img to the internal storage
The boot.img file that you extracted by following the 2nd step now has to be placed in the phone’s internal storage. Transfer the file from your PC to your phone and place it in the ‘Root Directory‘ or any folder where you can find it easily.
4. Download and install Magisk Manager (Canary)
At present, only the pre-beta or canary build of Magisk Manager supports rooting Android 11. Download the Magisk Manager from this official repository by topjohnwu. So after downloading the APK file, you will have to install it on your Android phone. Since this is an APK file and you will be required to give permission to install unknown apps.
5. Use Magisk Manager to patch the Boot Image
After installing Magisk Manager on your Android device, you need to launch it and tap on the Install button. You will see a pop-up asking for storage permissions. Tap on Allow to grant the storage permissions. You will then be greeted to the install screen. Here, you will see 3 options. Out of these three, enable both options that mention “Preserve” and make sure that the “Recovery Mode” option is toggled off. Then tap on Next to proceed.
In the Method section, tap on “Select and Patch a file” and then navigate to the location of the Boot.img file that you have extracted and placed in the phone’s internal storage earlier. Select the Boot.img file and then tap on Next. Now tap on Let’s go and wait for the program to finish its work. It should say “All done” when completed.
6. Transfer the Patched Boot Image to your PC
You will now have to transfer patched boot image file to your PC. This file will be located in the same folder/directory in which you placed the Boot.img file in Step 3. The file should be named as follows: magisk_patched.img.
Google Platform-tools will allow you to enter the commands to root your smartphone. Download the files for Windows | Mac | Linux. These files will be in a .ZIP format as well. Therefore, you will have to extract the files and you will be left with a platform-tools folder.
Open the ‘platform-tools‘ folder and then open a command prompt window in the folder. On Windows, you can press and hold the Shift key and then Right-click to bring up the context menu. From the menu, click on Open command window.

For Mac and Linux users, open the Terminal and then enter the following command:
- cd “platform-tools location”
You can get the location by simply dragging and dropping the platform-tools folder into the Terminal window. As an example, the command will be similar to this if the folder in on the desktop: “cd “C:\Users\dwayn\Desktop\platform-tools”. Hit the Enter Key once you have the command ready.
8. Switch to Bootloader Mode on your phone
First off, you will have to enable USB debugging on your phone. Head over to the Settings > Developer options > Enable USB debugging. This will allow you to send the command from your PC to your phone. In case you aren’t familiar with this, check out: What is USB Debugging, and how to enable it on any Android phone?
Once enabled, switch over to your PC and bring up the command prompt window you opened in Step 7. Make sure your phone is connected to the PC via a USB Cable. Proceed by entering the following command:
Your device will reboot into bootloader mode.
9. Flash the Patched Boot Image file
To make sure that your device has been recognized by your system, enter the following command: fastboot devices. If there are no issues, your device will be recognized.
If your device is recognized, proceed by entering the following command:
- fastboot flash boot “patched_magisk.img file location“
To get the location, simply drag and drop the patched_magisk.img file to the command prompt or terminal window. Users on Linux or Mac may have to enter ./ preceding the file location. Here’s an example:
- ./fastboot flash boot patched_magisk.img
When the process is completed, you have to enter the following command:
In case this does not work, enter this command:
That’s it. You have successfully rooted your Android device running Android 11. You can verify if the root has been successful by opening the Magisk Manager app. Once opened, you will see the Status as Normal and you will also be able to see the Installed version. This confirms that your device is indeed rooted. And you can now install any root application and tap on “Grant” to give the app root access. If you run into any issues while rooting your Android 11 device, drop a comment.