If you like to customize your Xiaomi Poco C31 and have complete control over its firmware, then the first thing you should do is root it. You can root the Poco C31 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.
Below you have a detailed tutorial on how to root your Poco C31. 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.
Contents
How To Root Xiaomi Poco C31 with Magisk
Installing Magisk on your phone is done in two steps. The first step is to unlock the bootloader and make it accept unofficial images, the second step is to extract boot.img file and flash it on your Poco C31.
Before you go ahead with the tutorial below, please read all of the warnings below. 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 ADB drivers for the Xiaomi Poco C31. If you don’t have the proper drivers, the computer will not recognize your phone.
Step 1: Unlock the Xiaomi Poco C31 Bootloader
Android phones come with a locked bootloader, including the Poco C31. A locked bootloader means you cannot flash custom images and root the phone. As a result, you need to unlock the bootloader before you proceed with the next step. Follow this article to learn how to unlock the bootloader on the Poco C31.
Step 2: Patch the boot image with Magisk
First of all, you need to download a stock Poco C31 ROM (firmware). We will patch the boot image of the ROM and then flash it on the phone to gain root access. There are many websites online where you can download Xiaomi firmware.
- Once you have downloaded the firmware, extract it. You will see a few new files.
- Download and install the latest Magisk app.
- Open Magisk and go to Install > Install > Patch boot image file.
The app will patch the boot image and will store it on your phone. Copy this file onto your computer and rename it to “boot.img”
Step 3: Flashing the patched boot image
- Connect your phone to your computer, and from a CMD window command, enter the following command:
- If your phone doesn’t have A/B partition system:
fastboot flash boot boot.img
- If your phone has A/B partition system:
fastboot flash boot_a patched_boot.img fastboot flash boot_b patched_boot.img
- If your phone doesn’t have A/B partition system:
- Once the patched image has been flashed, reboot your phone.
That is it, Now that you have installed Magisk on your Xiaomi Poco C31, you can later update Magisk directly from the Magisk app. If you want to update to another version of the firmware, also patch it through the app first, and then flash it. With Magisk you can now enjoy all root benefits plus Magisk’s module system.