Rooting an Android device is a process that allows you to gain access to the root directory of your device. It allows you to install apps and tweaks that aren’t allowed in the Google Play Store, which gives you more control over your Android device. However, it also comes with risks such as voiding your warranty and making your device more vulnerable to security threats1.
There are several ways to root an Android device, but the most popular methods are using KingRoot, Kingo Root, Magisk Root, and One Click Root. Here are the general steps for rooting an Android device using KingRoot:
Method 1 (KingoRoot)
- Download the KingRoot app from their website.
- Install it onto your Android device.
- Open the KingRoot app and click on the ‘Root’ button.
- Allow the process to complete2.
Method 2 using Magisk and Magisk Manager
Magisk is a powerful tool that can help you customize some aspects of your phone or even grant you root access. It is a tool that can be used to gain root access on your device, similar to legacy tools like SuperSU, but it’s not limited to just that. Developed by XDA Senior Recognized Developer topjohnwu, Magisk is a portal that enables all sorts of modifications on your Android phone. Apart from root access, you can also try out a whole lot of derivative components called “Magisk modules” that you can install for different purposes. There are modules for theming, ad blockers, enabling Camera2API, and a lot of other system-level modifications you can’t do otherwise. If you’re a power user and want to extend the functionality of your phone and push it to its limits, you need to try out Magisk1.
Here are the steps to install Magisk on your Android device:
- Download the latest version of Magisk Manager from the official website 1.
- Identifying the type of boot image
- Download the latest version of the Magisk app from the project’s GitHub repository.
- Since the APK of Magisk is hosted outside the Google Play Store, you may need to allow sideloading apps from unknown sources first and then manually install the downloaded package.
- After installing, open the Magisk app.
- Locating the stock boot image
- In order to patch the boot image for your device, you need to extract it from the firmware package.
- Patching the boot image
- In Magisk Manager app, tap on Install > Install > Patch Boot Image File > Select and Patch a File.
- Flashing the patched boot image
- Connect your phone to your PC via USB cable.
- Open a command prompt or terminal window in the same directory where you have saved the patched boot image file.
- Enter fastboot flash boot patched_boot.img (replace patched_boot.img with the actual name of your patched boot image file).
- Rebooting your device
Here are some benefits of using Magisk:
- You can install OTA updates without losing root access.
- You can hide root from apps that don’t work with rooted devices.
- You can use Google Pay and other banking apps that don’t work with rooted devices.
- You can use apps that require SafetyNet certification.
Here are some risks of rooting your Android device:
- You may void your warranty.
- You may brick your device if something goes wrong during rooting.
- You may expose yourself to security risks if you’re not careful about what you do with root access.
Here are the steps to unroot your Android device with Magisk:
- Uninstall Magisk from the app
- To fully unroot a device originally rooted using Magisk, the most straightforward way is to opt for the built-in “Uninstall” option available on the application itself.
- After tapping the button, you’ll be greeted with the option to restore the stock partition images and completely uninstall Magisk.
- To remove Magisk and all modules, tap on “COMPLETE UNINSTALL”.
- The Magisk app will run the necessary scripts to remove Magisk from your phone and restore your device’s original boot image.
- As soon as the process ends, the phone will automatically reboot and you’re finished.
2. Uninstall Magisk from TWRP
- In case you can’t boot to Android, but have access to a custom recovery like TWRP, you can still uninstall Magisk.
- To do so, rename the Magisk APK to uninstall.zip, boot to recovery mode, and flash it like any other ordinary flashable zip.
Method 3 TWRP
TWRP stands for Team Win Recovery Project. It is an open-source software custom recovery image for Android-based devices. TWRP is a custom recovery image that provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions usually not supported by stock recovery images. Here are some of the things you can do with TWRP:
- Flash custom ROMs and kernels.
- Create full backups of your device.
- Wipe data and cache partitions.
- Mount partitions.
- Install Magisk to root your device.
To use TWRP, you need to boot your phone into recovery mode. The exact steps to do this may vary depending on your device. Once you’re in TWRP, you can use the touchscreen interface to navigate through the menus and perform various actions.
Here are the steps to install TWRP recovery on your Android device:
- Download the TWRP image for your device from the official TWRP website.
- Install ADB and Fastboot on your computer.
- Connect your phone to your computer via USB cable.
- Open a command prompt or terminal window in the same directory where you have saved the TWRP image file.
- Enter the following command:
adb reboot bootloader
- Once your phone is in bootloader mode, enter the following command:
fastboot flash recovery twrp.img
(replace twrp.img with the actual name of your TWRP image file). - Once the flashing process is complete, enter the following command:
fastboot reboot
Here are the steps to root your Android device with TWRP:
- Download the latest version of Magisk from the official Magisk website.
- Copy the Magisk ZIP file to your phone’s internal storage.
- Boot your phone into TWRP recovery mode.
- Tap on “Install” and select the Magisk ZIP file.
- Swipe the slider to confirm installation.
- Once the installation is complete, tap on “Reboot System”.
Here are some benefits of using TWRP:
- It lets you install custom OS and kernels.
- It gives the user a way to backup data, restore your phone from backups, or create an android.
- It offers a console that can be used for various functions, like viewing logs and flashing zip files.
To use TWRP, you need to boot your phone into recovery mode. The exact steps to do this may vary depending on your device. Once you’re in TWRP, you can use the touchscreen interface to navigate through the menus and perform various actions.
Here are some steps to unroot Android with TWRP:
- Download and install TWRP recovery on your device.
- Boot into TWRP recovery mode by pressing and holding Volume Up + Power button simultaneously until TWRP logo appears on screen.
- Tap on Wipe > Advanced Wipe > Select Data > Swipe to Wipe.
- Go back to TWRP main menu and tap on Install > Select Magisk Uninstaller zip file > Swipe to confirm flash.
- Reboot your device.
Here are some risks of rooting your Android device:
Please note that rooting your Android device may void the warranty on the device. It may also make the device unstable or completely brick the hardware if not done properly1.
- You may void your warranty.
- You may brick your device if something goes wrong during rooting.
- You may expose yourself to security risks if you’re not careful about what you do with root access.
I hope this helps! Let me know if you have any other questions concerns or at all faced any issues using any of the above methods.
No comments:
Post a Comment