Xiaomi smartphone owners often face an overloaded MIUI shell that slows down the system with advertising, unnecessary services and restrictions. The alternative is to install a βcleanβ Android (AOSP), but most guides require a connection to a computer. In fact, you can flash the device without a PC β right from your phone, using a recovery TWRP manager and custom firmware like LineageOS or Pixel Experience.
In this article, we will discuss the only working way to install stock Android on Xiaomi without a computer, taking into account the nuances of unlocking the bootloader through the official Mi Unlock app (yes, it is possible!) and circumventing restrictions on new models. Importantly, the method is not suitable for all devices - the compatibility table below is provided. We will also analyze the risks, from bricks to loss of warranty, and give a checklist for secure firmware.
We warn you right away: it takes care, and a mistake in unlocking a bootloader or picking the wrong firmware can turn a phone into a brick, but if you follow the instructions and use proven builds, the chances of success are 90 percent even for beginners, let's start with preparation.
1 What Xiaomi models support the installation of pure Android without PC
Not all Xiaomi smartphones can be flashed without a computer, but the main limitation is an unlocked bootloader, which is harder to block on new models (released after 2021), and the compatibility table below is popular devices:
| Xiaomi model | Support for TWRP without PC | Ease of unlocking the loader | Recommended firmware |
|---|---|---|---|
| Redmi Note 10 Pro (sweet) | Yes. | Medium (you have to wait 7 days) | LineageOS 20, Pixel Experience 13 |
| Poco X3 Pro (vayu) | Yes. | Light (unlock in 1 day) | ArrowOS 13, crDroid 9 |
| Redmi Note 9 Pro (joyeuse) | Yes. | Difficult (requires an account Mi) | Havoc-OS 4.19 |
| Mi 11 Lite (renoir) | Partially (patch needed) | Very difficult (anti-rollback) | DotOS 6.2 |
| Poco F3 (alioth) | Yes. | Average (3 days waiting) | Evolution X 7.5 |
If your model is not listed, check its code name on LineageOS. Mediatek processor devices (such as Redmi 9A) often do not support custom firmware due to the bootloader's closed source code. Also, note the Android version: Android 13+ firmware may not run on older models due to the lack of drivers.
β οΈ Note: On devices with Dynamic Partition (e.g. Xiaomi) 12T) installation TWRP No PC is possible β section modification is required super.img, What is done only through fastboot on the computer.
2.Phone Preparation: Unlocking the bootloader without a computer
The first and most difficult step is unlocking the bootloader. Xiaomi officially allows this through the Mi Unlock app, but since 2022, the process has become more complicated. It used to be enough to link the Mi Account to the device, now new models require a wait of 3 to 7 days. Here's how to do it without a PC:
- Link your Mi Account to your phone Go to Settings β Xiaomi account β Mi Cloud and log in. Make sure your profile has a valid phone number (required for you to log in). SMS-confirmation).
- Put the debugging on. USB and OEM-Unlock Activate Developer Mode by pressing Settings 7 times β The phone. β Version. MIUI. Then go to Settings. β Additionally. β For developers and include: π§ Debugging by USB (USB Debugging) π Unlocking OEM (OEM Unlocking) π Unlocking the bootloader (Mi Unlock Status)
Install Mi Unlock without PC
Download. APK-Mi Unlock file (Android version) and install it. Launch the application, log in and follow the instructions. The screen will display a waiting timer (from 72 to 168 hours).
π‘
If the app gives you a βCouldnβt verify deviceβ error, try temporarily disabling the VPN and using mobile internet instead of Wi-Fi.
β οΈ Note: On some models (e.g. Redmi Note 11), unlocking via Mi Unlock without a PC is not possible β the application requires a connection to a computer to complete the process. In this case, an alternative method is to use a Telegram bot to generate an unlock code (details in the spoiler below).
Alternative way to unlock through Telegram-bot
Once successfully unlocked, the phone will reboot to fastboot mode with Unlocked at the bottom of the screen. TWRP.
3. Installation of TWRP without a computer: step-by-step instructions
TWRP (Team Win Recovery Project) is a custom recovery that allows you to install firmware, backup and restore the system, and you can install it without a PC using the Official TWRP App or manually using fastboot using the terminal on the phone itself. Let's look at both methods.
Method 1: Official TWRP App (for supported models)
- Download the Official TWRP App from Google Play or from the TWRP website.
- Open the app, grant root rights (if required), and select your device model.
- Click Select TWRP to Install β download the latest version for your device.
- Select Install Recovery and confirm installation. The phone will reboot to TWRP.
Method 2: Through the terminal (for all models with unlocked bootloader)
If the first method fails, use the Termux terminal:
- Install Termux from Google Play.
- Enter the commands in order: pkg update && pkg upgrade pkg install wget wget https://eu.dl.twrp.me/{device code}/twrp-{version}.img fastboot flash recovery twrp-{version}.img fastboot recovery Replace {device code} and {version} with current data (for example, for Poco X3 Pro this will be vayu and 3.7.0).
For each firmware, it is required:
- Firmware file (usually in.zip format)
- Gapps (Google Services) β download the NikGapps or OpenGapps version for your Android.
- Magisk (optional, for root rights) is the latest version here.
β οΈ Note: Do not download firmware from third-party sites (for example, 4PDA or XDA In 2023, there was a rise in the incidence of custom assemblies being infected by miners and spyware. Always check the hash of the file (SHA-256) formal.
π‘
For stable work, choose firmware marked "Official" or "Stable." Nightly builds may contain critical bugs.
5. Installing Clean Android Through TWRP: A Step-by-Step Process
Now, to the most important step, which is installing the firmware, it's important to follow the procedure to avoid errors:
- Reset the data to B TWRP Go to Wipe. β Advanced Wipe and mark: ποΈ Dalvik / ART Cache π System π Data π Cache
Swipe for confirmation, it will delete all the data from the phone!
Install the firmware
Go back to the main TWRP menu, select Install, and specify the path to the firmware file.
- π If the firmware requires a vendor or firmware, install them to the main one. ZIP.
- π± Pixel Experience may require a patch disable_force_encrypt (Look for the threads on the subject XDA).
- After installing the firmware (without restarting!), install: NikGapps-core (or other Gapps package). Magisk-v{version}.zip (if root is needed).
- Reboot Select Reboot β System. The first launch can take 10-15 minutes.
π‘
If your mobile network is not working after firmware, check the APN settings in Settings β Mobile Network β Access Points (APN). Often manual operator settings help.
6.Setting up a clean Android: the first steps after installation
Once you have a successful boot, you have to set up the basic system configuration, and unlike MIUI, pure Android requires manual configuration of some settings:
- π§ Language and region: C Settings β System system β Language and input add Russian (if it is not in the list, download the language pack).
- πΆ Mobile Network: Activate Data Transfer to Settings β Network and Internet β Mobile network. If necessary, set up APN.
- π Security: Enable Settings β Security β Screen locking (recommended) PIN graphical).
- π Updates: For LineageOS, check out OTA-Update in Settings β System system β Updating the system.
If the banking application still does not run, try:
- Disable Magisk completely (in settings).
- Use alternative payment methods (e.g. Mir Pay).