Why canβt you just drag and drop a file to your desktop on Xiaomi?
Owners of Xiaomi smartphones (including models Redmi Note 12, Poco X5, Black Shark 5) often face a paradoxical situation: Android allows you to create shortcuts for applications, but standard means can not add to the desktop a shortcut for an arbitrary file - PDF document, photo, archive or even executable APK. The reason lies in the security policy of MIUI: the shell blocks direct access to the file system through the launcher to prevent accidental deletion of system data.
Unlike pure Android or Samsung smartphones, where a file manager with a βCreate a shortcutβ feature is enough for this task, Xiaomi will need a workaround. There are 5 proven methods that work on MIUI 14/15 without root rights: from embedded tools to third-party applications. Importantly, some methods may differ depending on the firmware version and device model - for example, on Redmi 10 with MIUI 13, the algorithm will be different from the Xiaomi 13 Ultra with MIUI 15.
Before proceeding, make sure that:
- π± The device has an up-to-date version installed MIUI (Check in the settings β The phone. β Version. MIUI).
- π The file for which the shortcut is created is not in the protected folder (for example, MIUI/Extra or Android/data).
- π File Manager Restrictions Disabled (Allow Storage access in Settings) β Annexes β Permits).
Method 1: Through the built-in file manager (powered by MIUI 14+)
The easiest method is to use the standard Files app (a blue folder icon) which is suitable for most modern Xiaomi devices, but may not be available on older models (like Redmi 5) or in regional firmware.
- Open the Files app and find the file you want (for example, a document.pdf in the Download folder).
- Slip the file and hold your finger for 2 seconds until the context menu appears.
- Select More β Create a shortcut (on some devices, the option is called Add to the desktop).
- Confirm the action β the shortcut will appear on the last screen of the desktop.
β οΈ Note: If you do not have the option to create a shortcut, then your version of Files is stripped down. Update the app via Google Play or use alternative methods below.
Make sure the file is not in the archive (ZIP/RAR)
Check the free space on the desktop (maximum 5Γ5 cells)
Turn off the "Light Launcher" mode in the settings of the themes
Allow Files to access the storage
-->
This method supports the following types of files:
| File type | Support for the label | Notes |
|---|---|---|
| PDF, DOCX, XLSX | β Yes. | Opens in a linked application (WPS, Google Docs) |
| JPG, PNG, WEBP | β Yes. | Preview of the miniature is available |
| APK, XAPK | β οΈ Partially. | Requires installation confirmation at launch |
| MP3, M4A | β Yes. | Replayed in the default player |
| ZIP, RAR | β No. | A label is created, but opens the archive, not the contents. |
Method 2: Use the folder widget (for MIUI 12-15)
If a standard file manager doesn't work, you can use the built-in Folder widget, which is universal for all Xiaomi devices, but has a limitation: the shortcut will not lead to a specific file, but to the folder in which it is located.
- Press and hold the empty space on the desktop, then select Widgets.
- Find the folder widget (yellow folder icon) and drag it to the screen.
- In the window that opens, select the folder that contains the target file (such as Download or Documents).
- Configure the display: you can choose the folder style (list or grid) and size (2Γ2 or 4Γ1 cells).
β οΈ Note: The folder widget does not support deep file integration β clicking the shortcut will open the contents of the entire folder, not a specific document.
π‘
If the Folders widget is missing, update the Themes system app (com.android.themes) via Google Play. On some firmware, it is hidden and requires manual activation.
Method 3: Third-party file managers (Solid Explorer, FX File)
For users who need advanced features (such as shortcuts for files in cloud storage or FTP), third-party file managers will be suitable.
- π Solid Explorer β Supports shortcuts for all files, including network resources (SMB, WebDAV).
- π FX File Explorer β has a built-in shortcut wizard with icon customization.
- π Root Explorer β Root-righted devices only (not recommended for beginners).
Example of settings in Solid Explorer:
- Open the application and find the desired file.
- Slip it and hold it, then select Create a shortcut in the menu.
- Select the Desktop and confirm.
- If necessary, change the label icon (Change the icon option).
Advantages of this method:
- β Works with files in Google Drive, OneDrive, NAS.
- β Support for customization of icons and label names.
- β There are no restrictions on file types (including: EXE via Wine).
How to change the shortcut icon in Solid Explorer?
Method 4: Shortcut Maker (QuickShortcutMaker)
For advanced users who need shortcuts with additional parameters (for example, running a file with specific arguments), specialized utilities will be suitable.
- π οΈ Shortcut Maker β allows you to create shortcuts for any Activity (including hidden features) MIUI).
- β‘ QuickShortcutMaker β Supports shortcuts for files, contacts, even system settings.
- π± Nova Launcher β alternative launcher with support for shortcut customization.
Instructions for QuickShortcutMaker:
- Install the app from Google Play (Android 5.0+ is required).
- Open it and select the Files tab.
- Find the file you want through your built-in browser or manually specify the path (e.g. /storage/emulated/0/Download/contract.pdf).
- Slip the file, then select Create a shortcut on the home screen.
- If necessary, change the name and icon.
β οΈ Note: Some antiviruses (e.g. Avast or 360 Security) may block shortcuts created through QuickShortcutMaker as "suspicious." Add the app to exceptions or temporarily disable protection.
π‘
QuickShortcutMaker allows you to create shortcuts not only for files, but also for hidden MIUI features β for example, direct start of the developer mode or test menu of the camera.
Method 5: ADB-Teams for experienced users
If none of the above methods worked (for example, on custom firmware or a limited-enabled device), you can create a shortcut through Android Debug Bridge (ADB), which requires a PC connection and basic command-line knowledge.
Algorithm:
- Turn on USB Debugging on your smartphone (Settings β About Phone β MIUI version β tap 7 times, then go back to Settings β Additional β For Developers).
- Connect the device to your PC and open the terminal (or PowerShell on Windows).
- Enter the command to check the connection: Adb devices should display the name of your device.
- Create a shortcut for the file (replace the path with the current one): adb shell am start -a android.intent.action.CREATE_SHORTCUT -n com.android.launcher3/.ShortcutCreator -d file:///storage/emulated/0/Download/example.pdf -e name "My document"
Notes:
- πΉ The team only works for base launchers AOSP (Xiaomiβs standard launcher may ignore it).
- πΉ For MIUI 15 you will need to specify another component name (check with adb shell dumpsys package).
- πΉ Labels created through ADB, Can disappear after reboot - to save the command: adb shell cmd shortcut create-immutable
Frequent problems and their solutions
Even after successfully creating a shortcut, Xiaomi users may encounter errors, and consider typical scenarios and ways to fix them:
| Problem. | Reason. | Decision |
|---|---|---|
| The shortcut disappears after the reboot | MIUI launcher clears shortcut cache | Use Nova Launcher or create a shortcut through ADB flag-headed --immutable |
| The label opens the wrong file | The path to the file has changed (for example, after moving) | Remove the shortcut and create a new one with the right path. |
| You can't create a shortcut for APK | MIUI Restriction on Installation from Unknown Sources | Allow APK installation in Settings β Privacy β Special permissions |
| The label does not display the icon | File Manager does not support preview generation | Use Solid Explorer or manually assign an icon |
β οΈ Attention: On devices with MIUI for POCO (for example, Poco F5) There may be no option to create shortcuts due to firmware optimizations, in which case only installing a third-party launcher (for example, Lawnchair) or using the software will help. ADB.