You might have heard the term “root” at least once in terms of android devices. But what exactly is root? Just like a windows operating system has an administrator account, similarly, the root is like getting administrator access to your device. We will see more about rooting and its advantages and disadvantages and how to root your Mi devices in this article.
What is root/rooting?
Rooting any Android device is the process of allowing devices such as mobiles, tablets or any other devices that run the Android operating system to gain privileged access also known as root access over the whole sub-system of android. Since the Android operating system is based on the Linux kernel, rooting any android device is just like using root access on a Linux operating system such as ubuntu, fedora, etc.
When a device is rooted, applications running on the device can ask the user for root access, which, when granted will run the application in privileged access mode through which the app can access and modify system components and settings which generally are not available to any other app other than the system apps.
What are the benefits of rooting?
Rooting has a lot of benefits that you will not be able to attain normally without root. In a general sense rooting is done on any device to overcome limitations imposed on the device by the OEM or the carrier with which the device is paired. Root allows you to modify system settings, alter system applications and components, use applications that require root and customize your device to a great extent.
Some advantages of rooting your device are
- With root access, you can customize every aspect of your device such as changing themes, accent colors, font, battery icon, boot animation, etc.
- You can control the kernel of your device which means you can control the frequency at which your CPU runs, you can overclock or underclock your CPU and GPU.
- You get full application control of your device meaning you can backup any data of any application and restore it in the same condition as you backed up.
- You can install custom firmware aka Custom ROM and software that require root such as Xposed framework, busy box, etc.
Disadvantages of rooting?
Rooting has lots of advantages but it also has some disadvantages such as
- If root access is granted to malicious apps, they can harm your phone and even steal your sensitive data.
- Applications that require a high level of security such as banking apps might not work properly or might not work at all in rooted devices. Though there are workarounds for this it is one added disadvantage of rooting.
- You need to cautious when doing anything with your device on the system level as small mistakes may render your device corrupt or unusable.
How to root?
Rooting your android device is a very straightforward process if you follow the process carefully. In this article, we will show you how you can root your Mi device very easily. But before rooting your Mi device you need to have some prerequisites.
- Your bootloader should be unlocked.
- You should have a custom recovery image for your particular device model. You can find the recovery image on XDA forums if it exists for your device.
- You will also need ADB and SDK platform-tools.
- Latest Magisk is also required to root your phone.
Make sure you back up all your important data before proceeding further as there is a chance of data loss during this process.
1. First, download SDK platform-tools from this link and extract it on your desktop or anywhere you would like.
2. You will also need a custom recovery for your device. It solely depends on the device if any developer has made a custom recovery for that device or not. And there is Mi account installed in your phone then remove Mi acconut from your phone and then reinstall find the most popular custom recovery images for your device from here
3. Download the latest recovery image for your device model and make sure that you don’t download the recovery of any other device model as it can cause problems.
4. Once you have downloaded the recovery image make sure it is in .img format. If it is in zip format then extract it. Now paste the .img recovery file in the SDK platform-tools folder. Make sure you rename the recovery image file to recovery.img.
5. Download the latest Magisk stable and place it in your device’s storage.
6. Now open the SDK platform-tools folder and press shift + right click together and select “open command window here” option.
7. Now power off your device and boot it in fastboot mode by pressing power + volume down button together.
8. Once the device boots in fastboot mode connect it with the computer using a USB cable.
9. Now type “fastboot devices” in the command window prompt that you opened in the 6th step.
10. If everything goes correctly you should see a random device id with fastboot written in front of it in the command prompt.
11. Now to install the custom recovery type this command in the command prompt “fastboot flash recovery recovery.img”. Here the second recovery.img specifies the name of your recovery file. You can also use another name if you want to. For example “fastboot flash recovery xyz.img”.
12. You should see some text on the command prompt window like “sending ‘recovery’… writing ‘recovery’” etc. once the window shows “Finished” you can disconnect your mobile from the computer.
13. Now hold Power + Volume up button together for few seconds until the phone show the Mi logo. Once you see the Mi logo leave both the button and wait for few minutes.
14. Once you boot into the custom recovery swipe the slider at the introduction screen to the right that says allow modification.
15. Once you enter the recovery find the “Install” option.
16. Click on “Install” and select the Magisk file from the file manager window.
17. Now sipe the slider at the bottom to start the installation process. The installation may take 1-2 minutes. Do not disturb the process until its finished.
18. Once the installation completes, click on the “Reboot” button. Now your device will start rebooting. It may take some time for the phone to boot up for the first time so don’t panic even if it takes 5-10 minutes.
19. Once the device boots up, you will find a new application named “Magisk Manager” in your app drawer. If you can’t find it download the latest Magisk Manager from here and install it.
20. Open Magisk manager and you should see something like “Magisk is up to date”. If you see “Magisk is not installed” in red color then boot into recovery and flash the Magisk zip file again and reboot.
21. If you are facing a phone locked situation when booting the phone up you might need to use mi account unlock tool app for pc.
22. Now you have root access on your device.
Rooting your device is totally worth it if you know what you want to do with it. It gives complete control over your phone so if you want to customize your device and enjoy the extra features of custom ROMS then rooting your phone is totally worth it.