Obtaining root access on Android allows access to hidden system functions, but many users are faced with the problem: where exactly to look for these rights after installation? Unlike standard applications, root does not appear in the menu as a shortcut - it must be found through system tools, files, or special commands. This article will help you figure out where root is hiding on Android, which folders and files are responsible for superuser rights, and how to check for their presence without the risk of damaging the system.
It is important to understand that root itself is not a file or folder, but access level, which is managed through binary files (su), system services and modified kernels. However, traces of its presence can be found in certain directories, and it can be controlled through special applications. We will look at all possible places where the root can โhideโ, as well as tools for finding and diagnosing it.
1. Where is root physically stored on Android: system files and folders
Root access on Android is provided by several key components that are located in protected sections of the system. The main files responsible for the operation of superuser rights:
- ๐
/system/bin/suor/system/xbin/suโa binary file that processes requests for elevation of rights. Its presence is the main sign of a rooted device. - ๐
/system/app/Superuser.apkor/system/priv-app/Superuser.apkโa system application for managing rights (for example, SuperSU or Magisk Manager). - ๐ง
/data/adb/magisk.dbโa database Magiskwhere module settings and installation statuses are stored. - ๐ก๏ธ
/sbin/โ a directory with system binaries where modified kernel files may be located (for example,magiskorbusybox).
If you use Magisk (the most popular rooting method in 2026), then the main files will be hidden in the section /data/adb or integrated in boot.img. The classic subinary in /system is less common today due to tightened security in new versions of Android.
โ ๏ธ Attention: In Android 12+ and later, many system partitions are mounted in read-only mode (ro).An attempt to change files in/systemwithout prior repair may result in soft-brick (the device boots, but is unstable).
To see these files, you will need file manager with root access (for example, Root Explorer or FX File Explorer) or terminal with the command ls. Test example:
suls -la /system/bin | grep su
ls -la /data/adb/
2. How to check the presence of root through the terminal: commands for diagnostics
The most reliable way to find out if the device is rooted is to use ADB (Android Debug Bridge) or the built-in terminal. Below are the commands that will help diagnose the status of superuser rights:
| Command | What it checks | Expected result (if there is root) |
|---|---|---|
su --version |
Binary version su |
Output of the version (for example, su: v2.52) |
id |
Current user | uid=0(root) (if rights are active) |
which su |
Path to the binary su |
/system/bin/su or /system/xbin/su |
magisk --version |
Is Magisk installed? | Version number (for example, 26.4) |
If after entering su the terminal asks for permission, it means root is installed, but requires confirmation through the manager application (for example, Magisk or SuperSU). If the command returns Permission denied there are no rights.
For convenience, you can create a verification script. Save it as check_root.sh and run through the terminal:
#!/system/bin/shecho "=== Root Check ==="
su --version 2>&1 | grep -q "su:" && echo "โ su binary found" || echo "โ su binary NOT found"
id | grep -q "uid=0" && echo "โ Root access active" || echo "โ No root access"
which su 2>/dev/null && echo "๐ su path: $(which su)" || echo "โ su path not found"
3. Applications for finding and managing root: what to install
If you do not want to work with the terminal, you can use specialized applications. They will not only show if you have root, but will also help. manage rights for other apps. Popular tools:
- ๐ง Magisk Manager - official application for management Magisk. Shows root status, installed modules and allows you to hide root from certain applications (for example, banking).
- ๐ก๏ธ Root Checker - a simple utility for checking the presence of superuser rights. Does not require root to work, but will show whether root is active. it.
- ๐ Root Explorer โa file manager with access to system folders. Allows you to view and edit files in
/system,/dataand other sections. - ๐ Terminal Emulator โa terminal for Android, where you can manually enter commands from the previous section.
Important: some applications (for example, Root Checker) may show false positive results if the device is installed Magisk in hidden mode (MagiskHideFor accurate diagnosis, it is better to use a combination of the terminal and a file manager.
If Magisk is not detected by applications, try disabling the "MagiskHide" option in settings and reboot the device. This will help banking applications and games โseeโ the original firmware.
Example of working with Magisk Manager:
- Open the application and check the status at the top of the screen (should be written
Installed: XX.XX). - Go to section
Modules- displayed here installed modules (for example, for modifying system files). - In the section
Superuseryou can see a list of applications that are allowed root access.
4. Root in custom firmware: where to look in LineageOS, Pixel Experience and others
If you are using custom firmware firmware (for example, LineageOS, Pixel Experience or Resurrection Remix), then the location of root may differ from standard Android. In most cases, superuser rights are integrated into the firmware itself and are controlled through:
- ๐ฑ Built-in settings: In some firmware (for example, Havoc-OS) root is included in menu
Settings โ System โ For developers โ Root access. - ๐ง Addon scripts: Some firmware require a separate installation of a ZIP file with root (for example,
LineageOS SU Addon). c/system/addon.d/. - ๐ ๏ธ Magisk in custom firmware: Even on unofficial assemblies it is often used Magisk to manage modules. Check the presence of the file
/data/adb/magisk.img.
Example of root activation in LineageOS 20:
- Go to
Settings โ System โ For Developers. - Find the option
Root accessand selectFor ADB and applicationsorOnly for ADB. - Confirm the security warning.
โ ๏ธ Attention: In firmware based on Android 13+, additional SELinux settings may be required (modePermissive). If, after enabling root, applications do not gain access, check the SELinux status with the commandgetenforce(should bePermissive).
How to switch SELinux to Permissive?
Use command setenforce 0 in the terminal. However, this is a temporary solution - after a reboot the mode will return to Enforcing. For a permanent change, you need to modify the kernel or use special Magisk modules.
5. Hidden traces of root: where else can the superuser hide? data-i="140">Sometimes root is installed, but is not detected by standard methods. This can happen due to:
Sometimes root is installed, but is not detected by standard methods. This may happen due to:
- ๐ต๏ธ Hidden Magisk: If enabled
MagiskHidethe binarysucan be hidden from applications. Check for the presence of the file/sbin/magiskor/data/adb/magisk/magisk. - ๐ Temporary root: Some exploits (for example, DirtyCOWgive rights only until a reboot. After a reboot, traces disappear.
- ๐ฆ Modified boot.img: In some cases, root is built into boot image, but does not have a separate binary. Check the hash
boot.imgthroughsha256sum /dev/block/bootdevice/by-name/boot. - ๐ Symbolic links: The binary
sumay be a link to another file. Check this with the commandls -la $(which su).
If you suspect there is a root but can't find it, try these steps:
โ๏ธ Finding the hidden root
Search example via logcat:
adb logcat | grep -i "magisk\|root\|su"
adb shell "find / -name 'su' 2>/dev/null"
6. Dangers of searching for root: what can go wrong
Incorrect search or modification of system files can lead to serious problems:
- ๐ฅ Soft-brick: Deleting or damaging files in
/systemwithout a backup can make the device inoperable (hangs on logo). - ๐ Blocking bootloader: On some devices (for example, Samsung Knox or Pixel with a locked bootloader), an attempt to get root causes the flag to be triggered
RMM/Knox, which makes it impossible to install official updates. - ๐ก๏ธ SELinux violation: Incorrect file permissions (
chmod) or contexts (chcon) can cause the system to refuse to boot. - ๐ต Loss of warranty: Manufacturers (for example, Xiaomi, OnePlus) may void the warranty if root is detected.
Critical information: On devices with hardware protection (for example, Samsung Exynos or Qualcomm Secure Boot), an attempt to modify system partitions without unlocking the bootloader will lead to a complete lock (hard-brick). Before any action, check the bootloader status with the command fastboot oem device-info or fastboot getvar unlocked.
โ ๏ธ Attention: Starting with Android 14, Google has tightened the requirements for device certification. Installing root can lead to loss of access to Google Pay, Netflix HD and other services that check the integrity of the system. (SafetyNet).
7. Alternatives to root: when you don't need to look for a superuser
If your goal is simply to access system functions, you may not need root. Consider alternatives:
| Task | Alternative to root | Example tool |
|---|---|---|
| Removing built-in applications | ADB commands | adb shell pm uninstall -k --user 0 com.example.app |
| Data backup | ADB Backup | adb backup -apk -obb -shared -all -f backup.ab |
| Changing system ones settings | Shizuku + AppOps | Application AppOps for managing permissions |
| Installing custom fonts/themes | Overlay modules (without root) | Substratum or Andromeda |
For example, to remove unnecessary applications without root:
- Connect the device to the PC and activate
USB debugging. - Enter the command:
adb shell pm list packages | grep 'samsung\|bloat'(replace
samsung\|bloatto the name of an unnecessary package). - Uninstall the application for the current user:
adb shell pm uninstall -k --user 0 com.samsung.knox.app
ADB commands work without root, but require a connection to a PC and USB debugging enabled. This is a safe way to modify the system and does not violate the warranty.
FAQ: Frequently asked questions about finding root on a computer. Android
Is it possible to get root without unlocking the bootloader?
On most modern devices (Android 10+) - no. Manufacturers block modification of system partitions without unlocking bootloaderExceptions:
- Vulnerabilities in older versions. Android (for example DirtyCOW for Android 7).
- Some devices Xiaomi with a mi account (you can get temporary root via Mi Unlock).
Please note: unlocking the bootloader resets the device to factory settings!
Why is Magisk not visible in the system, but root works?
This happens because of the function MagiskHidethat hides traces of root from applications and the system. To see Magisk:
- Open Magisk Manager.
- Go. in
Settings โ MagiskHideand disable it. - Reboot the device.
After this, the binary su and the modules will become visible.
How can I find out which rooting method was used on my device?
Check the following signs:
- ๐น File presence
/system/bin/suโ classic root (SuperSU). - ๐น File presence
/data/adb/magisk.dbโ Magisk. - ๐น Availability of application KingUser or iRoot โ Chinese root solutions (often unstable).
- ๐น Absence
su, but commands workmagiskโ Magisk modesystemless.
Is it possible to hide root from banking applications?
Yes, but success depends on the rooting method and Android version:
- ๐น Magisk + MagiskHide: Hide root from most applications (including SberBank, Tinkoff).
- ๐น Universal SafetyNet Fix: Module for Magisk, which bypasses the check
SafetyNet. - ๐น Island (Work Profile): Launch banking applications in an isolated profile.
Configuration example:
- Install the module
Universal SafetyNet Fixvia Magisk. - Enable
MagiskHideand add the banking application to the hide list. - Reboot the device and check the status
SafetyNetthrough the app YASNAC.
What to do if after searching for root the device stops booting?
If the device freezes on the logo or goes away in bootloop, try:
- Boot into
Recovery Mode(usuallyPower + Volume Up). - If custom recovery is installed (TWRP), flash again
MagiskorDisable_Dm-Verity_ForceEncrypt. - If the recovery is standard, try resetting the settings (
Wipe Data). - As a last resort, flash the stock firmware via
Fastbootor Odin (for Samsung).
For Samsung s Knox may require official firmware via Smart Switch (but this will reset the counter Knox only on some models).