Receiving root-rights on Android opens access to hidden functions of the system, but turns the smartphone into a โwild territoryโ, where each step can either improve performance or permanently disable the device. This instruction will not only tell how to get root, but also explain why 80% of users abandon the idea after the first bad experience - and how you can avoid this.
In 2026, the process became more complicated: manufacturers tightened protection, and old methods like KingRoot or Framaroot stopped working on new firmware. We will analyze current methods for Samsung Knox, Xiaomi HyperOS, Google Pixel and other popular brands, and also show you how to check the compatibility of your device before begin manipulation. Without โmagic buttonsโ - only technical details and warnings about pitfalls.
What are root access and why you need them in 2026
root access (or rights superuser) are an analogue of administrator access in Windows, but for Android. They allow:
- ๐ง Remove built-in applications (bloatware) that cannot be uninstalled using standard methods (for example,
com.sec.android.app.launcheron Samsung). - โก Overclock the processor/GPU or, on the contrary, lower frequencies to save battery (through kernels like
FrancoKernel). - ๐ฑ Install custom firmware (LineageOS, Pixel Experience) with current versions Android on old devices.
- ๐ Block advertising at the system level via
AdAwayorBlokada. - ๐ Make a full backup of the system (including application data) using
TWRPorOrangeFox.
However 9 out of 10 users lose the warranty after receiving root access, and 30% of devices with an unlocked bootloader become vulnerable to attacks through exploits like DirtyCow or StagefrightManufacturers seem to be Samsung or OnePlus actively fighting root: on new models (for example, Galaxy S24 Ultra or OnePlus 12) a hardware lock is triggered RMM State, which can return the device to a โbrickedโ state after a reboot.
โ ๏ธ Attention: On devices with Android 14+ chips Snapdragon 8 Gen 3/Exynos 2400 some root methods (for example, viaMagisk) require disablingAVB 2.0in the bootloader. Without this, the system will boot intofastbootwith an errordm-verity verification failed.
Preparing the device: 5 mandatory steps before rooting
Before getting root, you need to prepare the phone - otherwise the risk of turning it into a โbrickโ increases 3 times. Follow this checklist:
Unlock OEM Unlock in the developer settings
Make a full backup of data on a PC or cloud
Check the processor model (Snapdragon/Exynos/Mediatek)
Download the correct version of Magisk (for Android 13/14 - 26.4+)
Install ADB/Fastboot drivers on your computer-->
Activate first developer mode: go to Settings โ About phone โ Build number and tap on it 7 times. Then in the menu that appears For developers turn on:
- ๐
OEM Unlock(unlocking the bootloader). - ๐ฅ๏ธ
USB debugging. - ๐
Network unlocking(if available).
For devices Samsung you will additionally need to disable Auto Reboot in Download Mode (hold Vol Up + Vol Down when connecting to a PC). (policy Xiaomi need to link account Mi to the device and wait 7 days (policy Xiaomi Anti-Rollback).
โ ๏ธ Attention: On some models Realme and Oppo (for example, Realme GT 6 or Oppo Find X7) unlocking the bootloader erases IMEI. You can restore it only through a service center - keep this in mind!
Ways to obtain root access in 2026: what works and what does not
Methods for obtaining root are divided into 3 categories: through custom recovery (TWRP), direct firmware (Magisk), and exploits (for older devices). Let's consider each taking into account current limitations.
| Method | Suitable devices | Complexity | Risks |
|---|---|---|---|
Magisk (patched boot.img) |
Google Pixel, OnePlus, Xiaomi (without Anti-Rollback) |
Average | Loss of OTA updates, triggered SafetyNet |
TWRP + Magisk |
Samsung (up to Galaxy S22), Sony Xperia, Moto G | High | Risk of brick with incorrect firmware recovery |
Exploits (DirtyPipe, CVE-2023-21036) |
Devices on Android 10-12 with unupdated kernel | Low | Temporary root, requires restart after reboot |
KingRoot/iRoot |
Device up to Android 8 (for example, Samsung Galaxy J5 2017) | Low | Installing backdoors, blocking with banking applications |
The most reliable way today is firmware Magisk via a modified boot.img. To do this:
- Download the stock firmware for your model from the website. manufacturer (for example, SamFW for Samsung).
- Extract
boot.imgfrom the archive (use7-ZiporPayload Dumperfor.ozip/.payload.bin). - Open
Magisk App, selectInstall โ Select and Patch a Fileand specifyboot.img. - Flash the received
magisk_patched.imgviafastboot:fastboot flash boot magisk_patched.imgfastboot reboot
Never tried|KingRoot/iRoot|Magisk|TWRP+SuperSU|Other-->
Root on Samsung: bypassing Knox and RMM State
Devices Samsung are the most difficult to root because of the system Knox and protection RMM StateEven after successful rooting, some functions (for example, Samsung Pay or Secure Folder) will stop working, and the counter Knox will work on 0x1, which will void your warranty.
For models Galaxy S23/S24 and newer you will need:
- Unlock the bootloader via
Odin(fileBLfrom the stock firmware). - Flash
TWRPfor your model (for example,twrp-3.7.0_9-0-d2xq.tarfor Galaxy S23+). - Install
Magiskto sectionrecovery(notboot!) to bypassAVB 2.0. - Disable
dm-verityvia moduleMagiskUniversal SafetyNet Fix.
On Samsung s Exynos (for example, Galaxy S22 Ultra Exynos) you can use an alternative method via Shizuku + ADB, but it only gives a temporary root until a reboot.
What will happen if you do not disable RMM State?
If you do not reset RMM State (via Odin or Combination Firmware), after rebooting the device will freeze on the logo Samsung s error Only official released binaries are allowed to be flashed. This can only be corrected by a complete flashing via Download Mode.
Root on Xiaomi, Redmi and POCO: the fight against Anti-Rollback
Xiaomi uses a system Anti-Rollback (ARB), which blocks the firmware of older versions. data-i="185">or custom recovery. On models MIUI or custom recovery. On models Redmi Note 13 Pro+ or POCO F6 when you try to flash TWRP you will receive an error Anti-rollback check fail.
Workaround:
- Unlock the bootloader via (requires account linking and waiting 7 days). data-i="196">Install Mi Unlock Tool (requires account linking and waiting 7 days).
- Sew
fastboot-firmware with disabledARB(look for versions markedARB Disabledon XDA Developers). - Install
OrangeFox Recovery(supports HyperOS better thanTWRP). - Flash
Magiskto sectioninit_boot(for Android 13+):fastboot flash init_boot magisk_patched.img
For devices on Mediatek (for example, Redmi 12) an additional shutdown may be required SLA (Secure Boot) via SP Flash Tool.
If banking applications (SberBank, Tinkoff) stop working after rooting, install the module MagiskHide Props Config and change device fingerprint (fingerprint) to a certified one (for example, google/redfin/redfin:12/SP2A.220505.008/7963333:user/release-keys for Pixel 5).
What to do after obtaining root access: setup and security
After successful root you need to:
- Install
Magisk Managerand check the root status in the sectionSuperuser. - Disable automatic check for updates (it can overwrite modified files).
- Configure
MagiskHideto bypassSafetyNet(required for Google Pay, Netflix HD). - Create a backup
EFS(for Samsung) ormodemst1/modemst2(for Mediatek) - this will saveIMEIin case of failures.
Useful modules for Magisk:
- ๐
Universal SafetyNet Fixโ undergoing certificationSafetyNet. - ๐ฎ
Game Turbo Modโ overclocking the GPU for games. - ๐ต
Disable Flag Secureโ allows you to take screenshots in protected applications. - ๐
Battery Charge Limitโ limits the battery charge (for example, to 80%).
To check the functionality of the root, use the commands:
su
id
If the response shows uid=0(root), then the root is active. To check SafetyNet run:
adb shell su -c "snet check"
Even with a successful root, some functions (for example Widevine L1 for viewing Netflix in HD) may be lost. They can only be restored by a complete reset and rollback to stock firmware.
Typical errors and how to fix them
Errors when obtaining root are divided. on software (fixable) and hardware (require repair). Let's consider the first ones:
| Error | Cause | Solution |
|---|---|---|
fastboot: error: Cannot generate image for userdata |
There is not enough space in the partition userdata or damaged fstab |
Flash stock firmware via Odin/SP Flash Tool |
Magisk: Installation failed: Invalid boot image header |
Wrong version Magisk or damaged boot.img |
Download Magisk Delta (fork with support for new devices) |
Stuck on the logo after flashing TWRP |
Incompatible version recovery or enabled dm-verity |
Flash disable_dm-verity_forceencrypt.zip via ADB Sideload |
Knox 0x1 on Samsung |
Protection triggered when unlocking the bootloader | Uncorrectable (only replacing the motherboard) |
If the device does not turn on (the so-called soft brick), try:
- Press
Vol Down + Powerto enterDownload Mode/Fastboot. - Flash the stock firmware via
Odin(for Samsung) orfastboot(for Pixel/OnePlus). - If that doesnโt help, use
EDL Mode(an authorized account is required Qualcomm).
โ ๏ธ Attention: On devices with Android 14 andDynamic Partition(for example, Google Pixel 8) incorrect firmwareboot.imgcan lead to the loss of the partitionsuper. It can only be restored throughfastboot enhancewith a complete repartition. memory.
FAQ: Answers to frequently asked questions about root access
Is it possible to get root without unlocking the bootloader?
On most devices - no. The exception is older models (up to Android 9), where exploits work. like DirtyCow or TowelRoot. On new smartphones (for example, Samsung Galaxy S24 or Xiaomi 14) without unlocking the bootloader it is impossible to get root due to hardware protection (AVB 2.0, RMM State).
How to hide root from bank accounts applications?
Install Magisk modules:
MagiskHide Props Config- changes the device fingerprint.Universal SafetyNet Fix- passes verificationSafetyNet.Shamiko- hides the root from applications usingrootBeerorRootChecker.
Also enable MagiskHide in the settings and add banking applications to the list of hidden ones. For SberBank Online you may need to additionally change the property ro.build.tags to release-keys.
Is it possible to update Android after receiving root?
Yes, but only manually.. Automatic OTA updates will overwrite the modified files and the device will stop booting. To update:
- Download the full stock firmware for your model.
- Extract
boot.imgand patch it viaMagisk. - Flash the update via
TWRPorfastboot, then flash the patchedboot.img.
On Samsung this will require disabling VBMeta via Odin (file vbmeta_disabled.tar).
How to remove root and return the warranty?
For complete removal of root:
- Remove
MagiskviaMagisk Manager(optionUninstall โ Complete Uninstall). - Flash stock
boot.imgviafastboot:fastboot flash boot boot.imgfastboot reboot - On Samsung additionally flash the stock firmware via
Odinwith the flagRe-Partition. - To reset the counter
Knoxyou will need a service center (officially this is impossible).
The guarantee cannot be returned if it has been unlocked bootloader (on Samsung checked by Knox, on Xiaomi by status BL Unlock).
Does root work on Android 14/15?
Yes, but with reservations:
- On Google Pixel 8/Samsung Galaxy S24 required
Magisk Delta(fork with supportinit_boot). - On Xiaomi HyperOS you need to flash
Magiskto the sectioninit_boot, and notboot. - Some functions (for example,
MagiskHide) may not work due to tighteningSELinux.
For Android 15 (Developer Preview) root is only possible on Google Pixel via fastboot boot with patch init_boot.