The Xiaomi Mi 8, released in 2018, remains a popular smartphone among Android enthusiasts thanks to its powerful hardware (Snapdragon 845, 6/8 GB of RAM) and active support for custom firmware. However, over time, official MIUI updates stop coming out, and users face slowdowns, bugs or the desire to install a more recent version of Android. Phone firmware is a process that requires attention, but with the right approach it is available even for beginners.
In this guide, we will analyze all the current ways of firmware Mi 8 (codename dipper): from the official update via MIUI Updater to install custom firmware like LineageOS or Pixel Experience. Particular attention will be paid to unlocking the bootloader, a mandatory step for most methods, which many users miss when they get the error โThis device is locked.โ You will also find solutions to typical problems: hanging on the Mi logo, E3003 errors in the Mi Flash Tool, and ways to restore the โbrickโ.
Before you start, answer two key questions: 1. What is your goal? Updating to the latest MIUI, switching to clean Android, removing Blaatware or recovering from a crash? 2. Are you prepared for the possible loss of warranty (if it still works) and the risk of โbrickingโ the device? With proper follow-up, the probability of problems is minimal, but they do exist.
1. Firmware preparation: Backup and unlock the bootloader
The first and most important step is to save all the data, and the firmware, especially through Fastboot, completely erases the phone's internal memory.
- ๐ฑ Local Copy: Transfer Files to PC via USB-cable (enable File Transfer mode in notification curtain).
- โ๏ธ Cloud Storage: Upload photos to Google Photos, sync contacts with your Mi Account or Google account.
- ๐ Backup applications: use Mi Mover (built into the app) MIUI) Third-party utilities like Swift Backup (requires root).
Without unlocking the bootloader, most firmware methods will not be available. Xiaomi blocks it by default, and you need to unlock:
- Link your device to your Mi Account (go to Settings โ Xiaomi Account and log in).
- Activate the OEM Unlock option in Settings โ For developers (if there is no item, tap 7 times on the MIUI version in the About Phone section).
- Connect your phone to your PC, install the Mi Unlock Tool (download from the official website) and follow the program instructions.
โ ๏ธ Note: Xiaomi may refuse to unlock if the account is new or the phone was purchased less than 7 days ago, in which case wait or use alternative methods (for example, through the use of a new account or a phone). EDL-regime, but it's risky).
Make a backup copy of the data
Unlock the loader (if required)
Charge your phone at least 60%
Download the necessary firmware (official or custom)
Install ADB/Fastboot drivers on PC
-->
Method 2: Official update via MIUI Updater (without unlocking)
The easiest and safest method is to upgrade through the built-in MIUI Updater app, which is suitable if:
- ๐ฒ You need the latest stable version. MIUI for Mi 8.
- ๐ The bootloader is locked and you donโt want to unlock it.
- ๐ The phone is stable, but security updates are needed.
Instructions:
- Open Settings โ About the phone โ System update.
- Click on the icon ยซโฎยป (three dots) in the upper right corner and select Select Service Package.
- If the update is available, download it (weight ~1.5-2.5 GB) and confirm the installation.
If the update does not come โover the airโ, download the full package (.zip) from the official MIUI Downloads website (select the Mi 8 model, Russia region or Global).
โ ๏ธ Warning: Don't interrupt the upgrade process! If the phone has been getting stuck on the Mi logo for longer than 15 minutes, try clamping the power + Volume up for forced reboot, if that doesn't work, you'll need firmware through Fastboot.
๐ก
Official updates via MIUI Updater do not require unlocking the bootloader and retain a warranty, but are limited to the MIUI versions released by Xiaomi for your model.
3. Method 2: Fastboot firmware (official and custom)
Fastboot is a universal way to install both official and custom firmware.
- ๐ง Recovery of the phone after a failure ("brickยป).
- ๐ฅ Official installations MIUI fully discharged.
- ๐ ๏ธ Preparations for custom firmware installation (e.g, TWRP).
The work will require:
- ๐ฅ๏ธ Windows PC (recommended) 7/10/11).
- ๐ Cable USB Type-C (preferably original).
- ๐ฆ Firmware in.tgz or.zip format (for Mi) 8 fitting dipper_global_images or dipper_images Chinese version).
- ๐ ๏ธ Mi Flash Tool (download from the official website).
Step-by-step:
- Unpack the archive with firmware in a folder without Cyrillic characters (for example, C:\Mi8_Fastboot).
- Turn off the phone and press Power + Volume down to enter Fastboot mode (a hare in a hat-hushanka will appear).
- Connect your phone to your PC, launch the Mi Flash Tool and press Select by specifying the firmware folder.
- At the bottom, select Clean All (Full Cleaning) or Clean All and Lock (Cleaning) mode. + For custom firmware, use Clean All.
- Press Flash and wait until it is completed (the process will take 5-10 minutes).
If the Mi Flash Tool is E3003 or This device is locked, then the bootloader is not unlocked. Go back to the first partition and unlock.
What to do if the Mi Flash Tool can't see your phone?
| Mistake. | Reason. | Decision |
|---|---|---|
| E3003 | bootloader locked | Unlocking with Mi Unlock Tool |
| This device is locked | bootloader locked | Unlock the boot loader (see Section 1) |
| Flash not done | Problems with drivers or cable | Reinstall drivers, try another port/cable |
| The phone does not turn on after the firmware | Incorrect firmware or interrupted process | Repeat the firmware, select a different mode (Clean all) |
4. Method 3: Installation of custom firmware (TWRP + LineageOS/Pixel Experience)
Custom firmware such as LineageOS, Pixel Experience or HavocOS allows you to get a โpureโ Android without a MIUI shell, more recent versions of the system (for example, Android 13 instead of Android 10 in the latest official MIUI for the Mi 8), and additional features.
- ๐ Unlocked loader.
- ๐ง Established custom recaveri TWRP.
- ๐ฆ.zip firmware compatible with Mi 8 (dipper).
Installation steps:
- Install. TWRP: Download the last one. TWRP for Mi 8 from the official website (file) twrp-3.7.0_9-0-dipper.img Rename the file to recovery.img and put it in a folder with ADB/Fastboot. Enter the command line: fastboot flash recovery recovery.img fastboot boot recovery.img
- Sweeve custom firmware: Downloaded.zip with firmware (for example, LineageOS) put on SD-a card or internal memory. TWRP Choose the Wipe โ Advanced Wipe and mark Dalvik, Cache, System, Data. Press Install, select the firmware file and confirm the installation. Once complete, click Gapps (if you need Google services) and Magisk (for root).
โ ๏ธ Note: Some custom firmware may not support Banking applications (due to lack of SafetyNet) or a full-power camera (problems with Snapdragon 845 drivers). XDA Developers.
๐ก
Before installing custom firmware, check it is compatible with a modification of your Mi 8 (Global/China). Installing firmware for another version may lead to broken communications or sensors.
5. Solving problems after firmware
Even with the exact instructions, there can be problems.
1.The phone does not turn on (black screen or getting stuck on the Mi logo):
- ๐ก If the phone doesnโt respond at all, try to enter. EDL-Mode (connect the phone off to the PC by clamping Volume upwards) + Volume down, then insert the cable. EDL You will need Mi Flash Pro and an authorized Xiaomi account.
2. no network (IMEI is missing or no signal):
- ๐ถ Check if the firmware matches the phone region (e.g. Global for Mi 8 Global).
Fast battery discharge after firmware:
- ๐ Reset the battery settings: Settings โ Battery โ โฎ โ Optimizing the battery โ Drop it.
- ๐ Calibrate the battery: discharge the phone to 0%, then charge to 100% without interruptions.
- ๐ Check Active Applications in Settings โ Battery โ Battery utilization.
How to restore IMEI to Mi 8?
6.How to get back the official MIUI after custom firmware
If custom firmware was unstable or you want to return the warranty, you can set the official MIUI back.
- Download Fastboot firmware for your model from the official website.
- Unpack the archive and launch the Mi Flash Tool.
- In Fastboot mode, swipe your phone by selecting Clean all and lock mode (this will block the bootloader back).
After this procedure:
- โ The phone will return to factory condition.
- ๐ The bootloader will be blocked (the warranty is saved if it is still valid).
- โ ๏ธ All data will be erased, including internal memory.
If after firmware the phone requires authorization in Mi Account (anti-Rollback protection), enter the account details that was associated with the device before unlocking. If you do not remember the password, restore it on the Xiaomi website or contact for support.
7. Alternative firmware methods: EDL and QFil
If the phone has turned into a โbrickโ (it does not turn on, does not respond to buttons, is not determined in Fastboot), there is a last chance โ firmware through the phone. EDL-This is an Emergency Download Mode:
- ๐ฅ๏ธ PC with Qualcomm 9008 drivers installed.
- ๐ Special cable or closure of contacts on the board (for forced entry into the board) EDL).
- ๐ ๏ธ Mi Flash Pro or QFil.
- ๐ฆ Firmware in.mbn or.elf format.
Instructions for QFil:
- Connect the phone in EDL mode (usually just turn off the phone, pinch Volume up + Volume down and plug in the cable).
- In QFil, select Flat Build and specify the path to the file. prog_emmc_firehose_8998.mbn (It should be in the firmware archive).
- Click Load XML and select rawprogram0.xml and patch0.xml files.
- Press Download and wait until it is completed (the process can take up to 30 minutes).
โ ๏ธ Attention: Firmware through EDL โ The wrong thing can permanently knock your phone out of order. If you're not sure, go to the service center.