Why Link2SD doesnโt get rooted on Xiaomi and what to do about it
You are trying to transfer applications to SD-map Link2SD, But the software persists in making the error "failed to get superuser rights"? The problem is typical for Xiaomi smartphones, especially on firmware. MIUI 12-14. It's not the app itself, it's the root access features of the brand's devices, even if you unlocked the bootloader and installed Magisk, Link2SD You may not see the rights due to security restrictions MIUI or misconfigure.
In this article, weโll look at 7 proven ways to solve the problem, from basic checks to advanced Magisk settings and the kernel. Importantly, some methods require technical training, so read the warnings carefully before you act. If your Redmi or POCO isnโt unlocked yet, start with this โ without root Link2SD, it just wonโt work.
Before proceeding to the instructions, make sure that:
- ๐ฑ You have an up-to-date version installed. Link2SD (download only from Google Play or XDA Developers).
- ๐ Bootloader unlocked (checked by the command fastboot oem device-info).
- ๐ ๏ธ Magisk or other root manager is installed and running (check through the Magisk Manager app).
1. Root rights validation: Magisk and alternatives
The first thing you need to do is make sure that the root rights on the device actually work, and often people think they've unlocked the bootloader and installed Magisk, that's all set, but MIUI can block access to the superuser for individual applications, including Link2SD.
How to check:
- Install the Root Checker app from Google Play.
- If the status "Root access is properly installed" does not show, the problem is in the Magisk settings or firmware.
- Open Magisk Manager and go to Settings โ Superuser. Make sure the "Enable MagiskSU" switch is on.
If you have root, but Link2SD doesnโt see the right, try:
- ๐ Restart the device (sometimes Magisk does not apply the rights immediately after installation).
- ๐ฅ Update Magisk to the latest version via Settings โ Update.
- ๐ง Manually add Link2SD to the list of permitted applications in MagiskSU (Special User section) โ Log).
๐ก
If the Magisk Link2SD has stopped working after the update, try rolling back to version 25.2, which is more stable in some MIUI firmware.
2. Magisk setup for MIUI compatibility
MIUI is known for its aggressive approach to security, which often conflicts with root access. If you use Magisk but Link2SD is not authorized, the problem may be:
- ๐ DenyList (formerly MagiskHide) โ MIUI It can automatically block access.
- ๐ Incorrect Sepolicy settings (kernel security policies).
- ๐ Conflict with Magisk modules, for example, Xiaomi EU or disable MIUI Optimization.
Instructions for setting up Magisk:
- Open Magisk Manager and go to Settings โ Set up DenyList.
- Add to the list all applications related to MIUI Security: com.miui.securitycenter com.miui.guardprovider com.xiaomi.permmanager
- Reset the device.
- After the reboot, open Magisk โ Modules and make sure that the Zygisk module is active (if not, install it through the Repository).
If the problem persists, try disabling all Magisk modules and checking Link2SD. If it works, turn on modules one at a time to find the conflicting one.
What is Zygisk and why is it needed?
3. Link2SD permissions in MIUI Security
MIUI has built-in security that can block root access even for authorized applications, and if you don't give Link2SD special permissions, the program won't be able to use the superuser.
How to set up:
- Go to Settings โ Applications โ Application Management.
- Find Link2SD and open its settings.
- Include all permissions, especially: ๐ "Warehouseโ (for work with SD-card). ๐ง "Change of system settingsโ (for partition mounting). ๐ก๏ธ "Display on top of other applicationsโ (for notifications).
Settings โ Special permissions โ Access to root
Permitted.
โ ๏ธ Note: On some versions MIUI Root Access section 14 can be hidden. To open it, you need to first turn on Developer Mode (7 times click on Version). MIUI" in "About Phone"), and then in "Additional Settings" find "Local Updates" and click on three times "MIUI".
4.Problems with SD-map: formatting and mounting
Link2SD requires that SD-The map was properly formatted and assembled as ext2/ext3/ext4 or FAT32 (depending on the version of the application, if the map is formatted in NTFS or exFAT, the program will not be able to create a second partition on it to store application data.
How to prepare SD-map:
- ๐ Save all data from card to computer โ formatting will delete them.
- ๐ง Use the official utility from Link2SD Formatting: Open up Link2SD and select "Settings" โ Format SD-map. Select the file system ext4 (recommended FAT32. Confirm the action and wait for the completion.
PC
MiniTool Partition Wizard
ext4
After formatting, restart the device and check if Link2SD has an "Create Link" option for applications. If not, the problem may be mounting the partition.
Save data from the map|Format in ext4 through Link2SD|Reboot the phone|Check the mounting in the settingsโWarehouse-->
5. Firmware conflicts: MIUI EU, Global and China
Firmware version MIUI It has a strong impact on root rights, such as Chinese firmware (China). ROM) often block access to the superuser for third-party applications, and European (MIUI EU) They may have bugs with mounting SD-Here's how to fix the map:
| Type of firmware | Problem. | Decision |
|---|---|---|
| MIUI China | Blocking root for non-system applications | Install Magisk with MIUI Optimization Disabler |
| MIUI Global | Mounting errors SD-map | Format your card in FAT32 and use Link2SD Plus |
| MIUI EU | Conflict with sepolicy | Update Magisk to 26+ and enable Zygisk |
| Brush firmware (LineageOS, Pixel Experience) | No support for init.d | Install BusyBox Module for Magisk |
If you have MIUI China, the most reliable way to do this is to reflash the device on MIUI EU or Global.
- Download the firmware from Xiaomi.eu or the official website.
- Use TWRP to install (instruction: Wipe โ Format Data โ Install ZIP).
- After the firmware is installed, re-install Magisk.
โ ๏ธ Attention: Flashing with China ROM on Global/EU This can lead to data loss and blocking. IMEI Some models (e.g. Redmi Note) 10 Before the procedure, make a backup copy through TWRP โ Backup.
6. Alternative ways to transfer applications to SD
If none of the methods worked and Link2SD still doesnโt get root, consider alternative memory release options:
- ๐ Built-in function MIUI: Go to Settings. โ Annexes โ Application management. Select the application and click "Move to" SD-map" (not available for all programs).
App2SD
:
Android 6.0+
ADB-team:
Android SDK
adb shell pm set-install-location 2(install SD-map as default installation location).
Cloud storage:
Google Drive
Mi Cloud
Critical information: On devices with MIUI 13/14 Android 12+ portability SD-The card can be locked at the kernel level, in which case the only way out is to use clone applications (like Island or Shelter) that create isolated copies of programs.
๐ก
If Link2SD not working MIUI 14, try to roll back on MIUI 12.5 โ less restrictions on working with SD-map.