Mobile devices based on the operating system Android version 9.0, also known as Pie, are still actively used by millions of people. Many owners of such smartphones are faced with limitations of the standard firmware, which prevent them from installing specialized software or completely customizing the interface. Obtaining privileged rights, or so-called root access, opens access to system partitions, allowing you to remove pre-installed junk and overclock the processor.

Previously, the rooting procedure required a personal computer, complex drivers and command line knowledge. ADB. However, modern methods allow you to perform this task directly from your phone, using only built-in functions and specialized utilities. In this article, we will look in detail at how to safely access the system on Android 9without connecting the gadget to a PC, and what risks exist.

It is important to understand that obtaining superuser rights is an irreversible process that affects the warranty of the device. Although modern methods are becoming increasingly secure, an error at any stage can lead to data loss or the smartphone turning into a โ€œbrick.โ€ We will consider proven methods that are relevant for most popular models released during the heyday of the ninth version of Android.

Preparatory stage and risk assessment

Before proceeding with system modification, it is necessary to carry out thorough preparation. The main task at this stage is to save all important information, since the process of unlocking the bootloader, which is a prerequisite for rooting, almost always leads to a complete data reset. Back up your contacts, photos, and documents to cloud storage or external storage.

The next critical step is to check the security version and model of your device. Go to Settings โ†’ About phone and write down the build number. For Android 9 the level of the security patch plays a role: on very recent updates, some exploits may already be closed by Google developers. Also make sure that the battery charge is at least 60% so that the device does not turn off at the most critical moment.

โš ๏ธ Attention: Obtaining root access will automatically void the manufacturer's official warranty in most cases. In addition, banking applications and payment systems (Google Pay, Samsung Pay) will stop working in standard mode, as they detect a violation of system integrity.

You will need to enable USB debugging mode, even if the computer will not be used, since some router applications use internal debugging protocols to interact with the kernel. Go to Settings โ†’ About phone and click on the item Build number7 times to activate the developer menu. Then in the section that appears For developers activate the switch USB debugging.

๐Ÿ“Š What is your main goal of obtaining root access?
Removing system junk
Installing custom firmware
Using special modules
Just for fun

Unlocking the bootloader (Bootloader)

A bootloader is a app that runs before the operating system and verifies the digital signature of the loaded software. By default, it is locked by the manufacturer, which prevents the installation of modified recovery images or kernels. Without an unlocked bootloader, it is Android 9 impossible to obtain full root access, with the exception of rare vulnerabilities that are quickly closed.

The unlocking procedure differs for different brands. Devices Xiaomi require a special utility Mi Unlockwhich, unfortunately, often requires connecting to a PC and waiting from 7 to 168 hours. However, for many other brands, such as Motorola, OnePlus or Sony, you can get an unlock code through the manufacturer's official website by entering the device's IMEI.

If the official method of obtaining the code is not available or requires a computer, there are unlocking methods through the engineering menu or special applications that work directly on the smartphone. For example, some older models HTC or Huawei allowed you to do this through commands in the terminal. Enter the command fastboot oem unlock in the terminal emulator if your firmware supports executing fastboot commands from under the OS.

๐Ÿ’ก

Before unlocking the bootloader, be sure to unlink your Google account and find the device in the security settings, otherwise after the reset, FRP (Factory Reset Protection) protection will work and you will not be able to log in.

After entering the command or confirming the action on the site, the device will reboot into Fastbootmode. A warning will appear on the screen indicating that the device is not certified or that the data will be reset. Confirm the action with the volume buttons. The process will take a few minutes, after which the phone will boot like new, with clean settings.

Installing custom recovery (TWRP) without a PC

The standard recovery menu (Stock Recovery) has limited functionality and does not allow you to install files that are not signed by the manufacturer. To root, we will need a custom recovery, the most popular of which is TWRP (Team Win Recovery Project). It allows you to install ZIP archives with superuser rights directly from the internal memory of the phone.

The easiest way to install TWRP without a computer is to use the application Flashify or TWRP Installer, which are available on Google Play or on specialized forums. These applications require root access to operate, which creates a vicious circle. Therefore, this method is only suitable for those who already have temporary access to the system or who use specific exploits for initial access.

A more universal method for Android 9 is to use the application Official TWRP App. It automatically detects your device model and offers to download the appropriate recovery image. After downloading the image, the application will prompt you to install it. If you do not already have root privileges, this step may not work directly and will require using the flashing method through a system update application if the manufacturer has left such a loophole.

Installation method Requirements Difficulty Risk of being blocked
Via the Flashify application Presence of temporary Root Low Minimum
Via the Official TWRP App Unlocked bootloader Average Medium
Manual installation (fastboot) Computer and drivers High High
Through a software update (trick) Specific models High Critical

โš ๏ธ Attention: Application interfaces for flashing recovery may change depending on the version of Android and updates to the utilities themselves. Always check the names of menu items with current screenshots at the time of installation so as not to flash the wrong image.

If the automatic installation does not work, you can try the method of replacing the official update. Download the TWRP image, rename it to the name of the official update file for your firmware (for example update.zip) and place it in the root of the internal memory. Then go to the standard recovery menu and select installing the update from the memory card. This trick does not work on all devices, but often saves owners Samsung i LG.

What to do if TWRP is not installed?

If the application gives an error when trying to burn the image, try clearing the data of the Flashify application itself and restarting the phone. Also make sure that the "OEM Unlock" option is enabled in the developer settings. If this does not help, your model may have a protected recovery partition that cannot be overwritten without a computer.

Magisk firmware to obtain Root

Today, the gold standard for obtaining superuser rights is the manager Magisk. Unlike the outdated SuperSU, Magisk uses a system of system-less modifications, which allows you to hide the fact of obtaining root access from banking applications and Google services. For Android 9, this is the only reasonable solution.

The installation process begins by downloading the current Magisk APK file from the official repository on GitHub. Install the application as a regular app. Once launched, you will see a main menu with several options. Click on the button Install in the Magisk block. If you already have custom TWRP recovery installed, select the option Direct installation (Recommended).

If direct installation is not possible, select the option Select and flash the file and specify the path to the downloaded ZIP archive with Magisk firmware. The application will ask for confirmation to use superuser rights to write to the system partition. After confirmation, the firmware process will begin, which will take a few seconds. When finished, click the button Reboot.

โ˜‘๏ธ Checklist before flashing

Done: 0 / 5

After After rebooting your device, look for the new Magisk icon in the application menu. Go to the application settings and enable the function Zygisk (if available for your version) and Follow the list of exceptions. This is necessary for the correct operation of the modules and hiding the root. Now your device has full access to the file system.

Alternative methods: KingRoot and OneClickRoot

There are applications that promise to get root access in one click without unlocking the bootloader and installing recovery. examples - KingRoot, KingoRoot and OneClickRoot. They use a database of exploits for kernel vulnerabilities specific to specific versions of Android and processor models.

For Android 9 the effectiveness of such apps is extremely low. The ninth version of Android received major security improvements that closed most of the holes used by these utilities. However, on devices with processors MediaTek old generations, the chance of success still remains. Download the KingRoot APK file (only from the official website, versions from the Play Market are often cut down) and run a scan.

If the app finds a suitable exploit, it will try to inject its binary file into the system. If successful, you will receive limited root access. The main disadvantage of such methods is the installation of Chinese software with advertising and the impossibility of completely removing the root without flashing the device. In addition, such rights often do not allow you to install Magisk modules.

โš ๏ธ Attention: By downloading one-click rooting applications from third-party resources, you risk infecting your device with malware. Many fake versions of KingRoot contain Trojans that steal personal data. Use only trusted sources.

If KingRoot gives an error or the process freezes at 99%, do not try to restart it many times. This may result in a cyclic reboot (bootloop). In this case, the only way out is to enter Recovery mode and perform a factory reset (Wipe Data/Factory Reset).

๐Ÿ’ก

Using exploits (KingRoot) on Android 9 is rarely successful and carries high security risks. The method of unlocking the bootloader and Magisk is the only reliable and safe way.

Checking rights and setting up security

After successfully installing Magisk, you need to make sure that the rights really work. Download the application from Google Play Root Checker. Launch it and click the button Check Root. The application will ask for permission to access superuser - grant it. If you see a green message with congratulations, it means the procedure was successful.

Now you need to configure hiding the root for banking applications. In Magisk settings, enable Zygisk and restart your phone. Then go to the section Configure DenyList (List of exceptions). Find your bank's applications, Google Pay, Google Services Framework in the list and check the boxes next to them. This will prevent Magisk from interfering with their work, but at the same time hide the presence of root from them.

For complete hiding, it is also recommended to install the module MagiskHide Props Config or use the built-in function of hiding the Magisk application itself. In the manager settings, select Hide the Magisk application, come up with a new name (for example, โ€œSettingsโ€ or โ€œCalculatorโ€) and reinstall it. This will change the package name of the application, and banking software will not be able to detect it by name.

Possible problems and their solutions

During the rooting process, users often encounter common errors. One of the most common is that the device goes into an endless reboot (Bootloop). This happens if an incompatible TWRP image was flashed or the system partition is damaged. To solve the problem, you need to hold down the power and volume buttons, enter Recovery mode and do Wipe Data/Factory Reset.

Another problem is the lack of Internet after obtaining root access. This could be due to a firewall conflict or DNS settings. Check to see if you have installed modules that block network activity. It is also worth resetting the network settings in the menu Settings โ†’ System โ†’ Reset settings.

If the Magisk application disappeared after a reboot, the deviceโ€™s protection may have worked or a system update may have overwritten modifications. In this case, you will need to re-flash the ZIP archive via TWRP. Make sure that you have downloaded a version of Magisk that is compatible with Android 9as new versions of the manager may require more recent versions of Android.

How to return to the original state?

To completely remove root access, open the Magisk application, click the "Delete" button and select "Full removal". The device will reboot and restore the original boot image. If the bootloader has been unlocked, it will have to be locked back via Fastboot, otherwise the phone may not boot.

Frequently asked questions (FAQ)

Is it safe to Root Android 9 in 2026?

Security depends on your actions. The process of unlocking the bootloader and installing Magisk itself is safe as long as you follow the instructions. However, having root access reduces the device's protection from malware that can access system files. Be careful with the rights you grant to applications.

Will I be able to use Sberbank and other applications after rooting?

Yes, you can, but only with the correct settings. You need to enable Zygisk in Magisk settings and add banking apps to your DenyList. In some cases, additional disguise through modules may be required, since banks are constantly updating root detection methods.

What to do if the phone is stuck on the logo after flashing the firmware?

Donโ€™t panic. Press and hold the power button and the volume down (or up, depending on the model) button for 10-15 seconds to force the device to restart. If this does not help, enter Recovery mode (usually Power + Volume Up) and perform a data reset (Wipe Data). This will delete all files, but will restore system functionality.

Is it possible to get Root without unlocking the bootloader on Android 9?

Theoretically, yes, using kernel vulnerabilities (exploits), but in practice there are almost no such working methods left for Android 9. Most of the vulnerabilities have been patched by security updates. Attempting to use old exploits may damage the system. It is safer and easier to unlock the bootloader.