How To Root Android Without Using TWRP Recovery & PC in 2022
In summary, We can root an Android device in two ways; one uses a custom recovery like TWRP while the other is without the use of any recovery at all. This article explains the steps that you need to know about how to Root an Android device without TWRP recovery and PC.
For one who does not know, when we root a device then a small su (SuperUser) file gets placed in the system directory of the Android device. This file lets you have administrative privileges. Like this one shall have complete control over the device, once you get access you can tweak device settings as per need. Moreover, you can also install many mods, audio hacks, frameworks, and many more.
You may have a question that why you should opt for such a method of rooting? This has many reasons:
- You do not need to perform the extra step of installing this when you can do away with it easily.
- When you install this, you shall not receive any OTA updates which are very important; these do not only bring specific features but also carry monthly security updates released by Google. Not getting them would be a big loss.
You need this to flash a custom ROM, Kernel, mod, and other .zip or .img files. For now, we are only concerned with rooting.
Let’s get started!
How To Root Android Devices Without TWRP Recovery and PC
For this you need to perform 2 steps:
- The device needs to be booted by using a patched boot image file.
- This image file shall be flashed permanently using the Magisk Manager application.
Step #1: Prerequisite (Magisk Installation Without TWRP)
- Download and install this file on the device: Magisk App (version 23 onwards).
- Check if the device has ramdisk or not. For that launch this app and refer to the section under Magisk, you are good to process if it says yes, but if it says no then head to another guide.
- The bootloader shall be unlocked.
- Enable “USB Debugging” option. For this go to settings > about phone > click on build number 7 times > go back to settings > developers options > toggle on USB debugging switch.
- Through this shall wipe your data off but it is suggested to have a complete backup.
- Keep device charged, have at least 50% of charging.
- Install ADB and Fastboot tool to enter fastboot commands.
- Download and get USB drivers for the device, this helps to connect your device to the PC.
Step #1.1: Get your stock Boot.img ROM File
First, you need to extract the stock boot.img file, this is a bit complex as you cannot simply extract the firmware and get required partition files. The reason is that OEM packs ROM’s IMG files inside an encrypted package. Like OnePlus has such files inside payload.bin, Realme, Oppo has theirs inside OZIP format, and many more.
As you have hold of this image file, patch it through Magisk and flash it through fastboot commands. The function for both the old and new builds of this manager remains the same. The following update is for a device that runs Android 11, if not then you need to head to step 2A/2B.
Important information: Many users of Android 11 are facing this issue to resolve:
- Install Magisk Canary build inspite of the stability.
- Change update channel to Canary from the app itself.
- Once done, proceed to follow the steps to patch the stock boot file using Magisk and flash it through fastboot commands.
READ ALSO: Twitter: Something Went Wrong But Don’t fret (Fixed).
Step #1.2: Patch Stock Boot Image File with help of Magisk (Old App)
- Download “stock firmware”.
- Extract “boot.img file” from it.
- Transfer this to the internal storage of the device.
- Install this app on the device.
- Open it, click on the “install” button, next to its status.
- Again click “install” in the next menu.
- Click “select and patch a file”.
- Go to internal storage > select stock boot.img file which has been extracted earlier.
- Let it now do the patching process. Once done, copy this file named “magisk_patched.img” from device to system where you installed ADB and Fastboot tools.
Step #1.3: Patch Stock Boot Image File with New updated Magisk (More reliable)
- Open this application on a pixel device.
- Click on the “install” option lying next to magisk.
- From the method section, click “select and patch a file”.
- Browse to extract the file and select it.
- Click on the “let’s go” option present at top right.
- It shall now load the file and patch it accordingly. Once done, you shall get a download complete message.
- Patch file shall be saved in internal storage > download. Its name shall be magisk_patched.img.
As the file has been patched, flash it on the device and get root without TWRP. There are two ways in which this can be done; through fastboot commands or Magisk. We suggest that you go with the former method. For the Magisk method, we shall be using the Direct Install feature which is absent in many devices. To avoid any confusion go with the fastboot method and if there is any error then go with the other to root Android device without TWRP.
Step #1.4: Install Patched Boot Image Using Fastboot
- Connect the device to the system through USB cable.
- Transfer patched file from device to a platform-tools folder on the system.
- In the same folder, click right on the empty area while pressing the shift key.
- Choose “Open PowerShelll window here” option.
- You can also go to platform-tools on the system, type “cmd” in the address bar, and hit “enter”. This shall launch “command prompt”.
- To make sure the device is successfully connected type:
- To boot device to fastboot/bootloader mode:
Adb reboot bootloader
- To flash patched boot image file:
Fastboot flash boot magisk_patched.img
- For devices with A/B partition, you need to flash patched boot files to both partitions. For this type:
Run this first: Fastboot flash boot_a magisk_patched.img \\\\\\\\\\\\\\\\\\\\\\\\\\\\ After run this: Fastboot flash boot_b magisk_patched.img
- You might reboot the device by typing:
Stop here if the device is rooted. If this method did not work out like in our case only then proceed to install patched boot.img. Here is the full list of Fastboot commands if you want to further customize the experience.
Step #1.5: Install Patched Boot Image file Through Magisk
- Open Magisk application.
- Click on “install”.
- The dialog box which appears, click on “install”.
- Under the select method, choose the “direct install (recommended)” option.
- Now, this shall begin to flash patch boot image on the device.
- Once done, click on the “reboot” button there at the bottom right corner.
You have rooted your device successfully without TWRP recovery. Isn’t this amazing?
RECOMMEND READ: How To Properly Uninstall TWRP and go back to stock recovery.
Benefits of Rooting Android Device Without TWRP
Allows for taking full device Backups
The cloud shall back up some of the settings and app downloads but keep in mind that is not a true backup it is the only list of things for the phone to download and change.
Titanium backup is a famous backup used by rooters. It is important that you begin to tinker around with android software. If you un-install something important then this can be used to backup user data.
Remove apps you cannot uninstall
Having the ability to access administrator privileges over android provides full control over installed apps. Now you do not need to suffer from cluttered app drawers and reduced memory space occupied by pre-installed carrier and manufacturer apps. Cut Bloatware and keep apps you want.
You can disable apps in settings, be sure that they do not show up in the app drawer. You can also hide apps depending upon the user interface or launcher, but like this, you are still occupying space. The only way to get rid of the unwanted app is to root, but do not un-install something which is crucial, or else your handset shall not work properly. Applications like titanium backup help to organize this Bloatware.
Endless opportunities with custom ROMs
If you are not a big fan of stock Android then there are many other customized ROMs that offer features and improvements to the default experience of android.
You must have heard regarding Lineage OS, OmniROM, and Paranoid Android, most custom ROMs are at forefront of innovation on android offering many features which are not available anywhere else.
Along with these big third-party developers, there are also many small developers who tweak away at the core android experience offering these with good battery life over overclocked processor speeds. Moreover, these are updated to the latest version of android quickly giving you the best of both worlds.
READ ALSO: Fix TWRP Error 7 on Google Nexus and Pixel Devices.
Make your phones faster
There were times when phones were slow and needed an extra push, root users used to overclock processors to make things a bit snappier. Mid-end phones are pretty fast now and there is no need for that anymore, but there are many out there who still want things to speed up.
Even overclocking is not that popular, you shall be able to find that altering processor speeds is quite convenient. Do you own a powerful phone and want to save up some battery then Underclocking is an option. At times there is no need of all the power our specifications offer and we can really save resources. This makes it as the most unsung benefit of rooting.
Increase battery life performance
We all hate it when our phone battery is running out. We have seen advancements in terms of battery charging speed truth being said installed apps drain the battery down even when the app is not being used. Batteries too lose life in phones with time.
If you carry a phone then it allows having an app that saves battery life in real-time. The most popular one is Greenify which can discover which application is draining the battery while not being used. The app puts them in hibernation mode so that battery can last longer than normal.
Conclusion: Have you ever rooted your device without TWRP?
Rooting your Android devices is a very gray area and many say that it can void your warranty. However, as this is true the changes can be reverted if you know what you are doing. This is where I hope our guide on Rooting Android without TWRP Custom Recovery has helped you as we have tried to keep the steps as safe as possible to minimize the possibilities of bricking and boot looping your phone.