Set of firmware and instructions for Mi 9 (cepheus)
All the instructions are written for an unlocked bootloader!
Utilities and applications
savagemessiahzine.com |
Platform-tools (adb / fastboot) |
r.30.0.5 |
Windows (If you have problems using r.29.0.6)
savagemessiahzine.com |
Platform-tools (adb / fastboot) |
r.29.0.6 |
Windows savagemessiahzine.com |
Platform-tools (adb / fastboot) |
r.23.1.0 |
Windows (Support XP)
Hashtab �
file checksum utility Firmware
Official Global
Firmware with pre-installed GApps. Of the languages ​​- Chinese, English, Russian, Ukrainian, and many bourgeois.
Stable firmware EEA
Firmware with pre-installed GApps. Of the languages ​​- Chinese, English, Russian, Ukrainian, and many bourgeois.
Stable firmware Russia
Firmware preloaded GApps. Of the languages ​​- Chinese, English, Russian, Ukrainian and many gourmet. The main difference from the Global / EEA - pre-installed software for the local market (Yandex, etc.).
Stable firmware China
Firmware with pre-installed Chinese applications and services. Of the languages ​​- Chinese and English, no Russian.
Stable firmware Build based on official mi-globe
"Constructor" based on xiaomi.eu assemblies.
Select the appropriate build options and pressCreate ROM Firmware on the project website Archive assemblies on the basis of official Step by step instructions are not! We use one or the other depending on the needs, for example:
* The bootloader is unlocked, installed firmware via fastboot, you need to install only rekaveri - 3.1.1
* The bootloader is unlocked, installed firmware via fastboot, you need to install Magisk - 7.1.1
1. Check the status of the boot loader
1. Swinging
Platform-tools (adb / fastboot) (spoiler
Utilities and applications ) and unpack the contents of the archive into an empty folder on your PC / laptop
2. We transfer the smartphone to the mode
fastboot (turn off, hold down the power and volume buttons minus, after the vibration release the power button and wait for the picture with the hare to appear). We connect it to a PC / laptop
3. In the file folder
adb / fastboot we clamp
Shiftand by pressing
right mouse buttonchoose
Open command window 4. In the console window that opens, sequentially type the commands
fastboot devices
fastboot oem device-info
� If a
fastboot gives out
Device unlocked:true - loader
unlocked � If a
fastboot gives out
Device unlocked:false - loader
blocked by 2. Firmware smartphone
1. Swinging
Platform-tools (adb / fastboot) (spoiler
Utilities and applications ) and unpack the contents of the archive into an empty folder on your PC / laptop. It is recommended to create a folder in the root of the local disk and specify a simple name (for example, 111)
2. Downloading firmware (spoiler
Firmware version for
fastboot ) and unpack the folder with files
adb / fastboot . Unpack necessary so that the list of files in the folder
aboutmatched the screenshot below (the number of files may differ in the end, depending on the firmware version):
3. We transfer the smartphone to the mode
fastboot (turn off, hold down the power and volume buttons minus, after the vibration release the power button and wait for the picture with the hare to appear). We connect it to a PC / laptop
4. In the file folder
adb / fastboot run
flash_all.bat You cannot use the flash_all_lock.bat batch file ("flash and lock the bootloader") when installing the official (Global / EEA / Russia) firmware for the Chinese version of the smartphone Use a batch file flash_all_lock.bat ( "flash and lock the boot loader") may be in the transition between the official (Global / EEA / Russia) firmware on the global version of the smartphone If running flash_all.bat error occurs "Missmatching image and device" or "Current device antirollback version is greater than this package"
⚹ Open the batch file with any text editor
⚹ Remove the upper unit to the line
fastboot% * erase boot || @echo "Erase boot error" && exit / B 1
⚹ Save the changes and run the batch file again.
If after starting flash_all.bat the console window opened and immediately closed
⚹ We start the console through Win + R (in the opened window type cmd)
⚹ Go to the file folder
adb / fastboot ⚹ Drag the batch file to the console window and press Enter
5. Wait for the reboot and disconnect the smartphone
3. Install / Update TWRP
3.1. installation
3.1.1. fastboot
1. Swinging
Platform-tools (adb / fastboot) (spoiler
Utilities and applications ) and unpack the contents of the archive into an empty folder on your PC / laptop. It is recommended to create a folder in the root of the local disk and specify a simple name (for example, 111)
2. Swinging
archive and unpack its contents in the folder with the files
adb / fastboot take any other rekaveri If desired format from .img
updated list, Rename it
twrp.img and copy the replacement to the folder
3. We transfer the smartphone to the mode
fastboot (turn off, hold down the power and volume buttons minus, after the vibration release the power button and wait for the picture with the hare to appear). We connect it to a PC / laptop
4. In the file folder
adb / fastboot run
flash_twrp.bat We translate the smartphone in TWRP
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
We allow to modify the System if it is asked about this when launching TWRP! 5. Enter the password to lock the screen to decrypt the data, and access to the internal memory. If the password has not been set in the system or rekaveri not support decryption - Using USB Flash through OTG for further operations
6. Copy to the root of the internal memory (for the convenience of searching in TWRP)
twrp.img and
Dm-Verity & ForceEncrypt Disabler and disconnect the smartphone
7. Install
Install Image âžž choose
twrp.img âžž section
Recovery âžž set |
Reboot âžž Recovery 8. Install âžž choose Dm-Verity & ForceEncrypt Disabler âžž install
9. Reboot âžž System
3.2. update
3.2.1. fastboot
TWRP update viafastboot no different from the installation. Just rename the desired image to twrp.img and move it with the replacement in the folder with the files adb / fastboot
3.2.2. TWRP
1. We connect the smartphone to the PC / laptop, copy it to the root of the internal memory (for the convenience of searching in TWRP) the desired image and disconnect it. Or download this image directly via smartphone
We translate the smartphone in TWRP
⚹ Turn off
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
2. Install
Install Image âžž choose the image of TWRP âžž section
Recovery âžž waiting for the end of the process
3. Reboot âžž Recovery
If at this stage the smartphone hangs on the Mi logo
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
4. Installation / update the build on the basis of official
4.1. Installation based on the official build
It is highly recommended to install the firmware copied to USB Flash, in order not to get a smaller amount of free internal memory! 1. Downloading firmware (spoiler
Firmware )
2. Check the MD5 firmware after downloading. Perfect for this purpose.
Hashtab (tab in the file properties)
3. Install TWRP according to the instructions
3.1.1 (Except points 8 and 9)
4. Wipe ➞
Format Data (Confirm input format
yes )
5. Wipe ➞
Advanced wipe âžž section
Cache (the remaining sections will be overwritten by the firmware installation script)
6. Reboot âžž Recovery If at this stage the smartphone hangs on the Mi logo
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
7. Configure TWRP (language selection, time zone setting, etc.)
8. Copy the firmware to the root of USB Flash and connect via OTG-cable. Either we connect the smartphone to the PC / laptop, copy it to the root of the internal memory (for the convenience of searching in TWRP) and disconnect the smartphone
9. Install âžž choose firmware âžž tick on reboot after installation âžž wait for the end of the process
4.2. Updating the assembly on the basis of official
1. Downloading firmware (spoiler
Firmware )
2. Check the MD5 firmware after downloading. Perfect for this purpose.
Hashtab (tab in the file properties)
We translate the smartphone in TWRP
⚹ Turn off
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
3. Making the necessary wipe (instructions
5.2 )
4. Reboot âžž Recovery If at this stage the smartphone hangs on the Mi logo
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
5. Copy the firmware to the root of USB Flash and connect via OTG-cable. Either we connect the smartphone to the PC / laptop, copy it to the root of the internal memory (for the convenience of searching in TWRP) and disconnect the smartphone
6. Install âžž choose firmware âžž tick on reboot after installation âžž wait for the end of the process
5. Updating the firmware
5.1. Official (Global / EEA / Russia / China)
When updating via the system updater ("3 points")
Can update
Global (MI) âžž Global (MI)
EEA (EU) âžž EEA (EU)
Russia (RU) âžž Russia (RU)
China (CN) China (CN)
Withraising firmware version data will be saved
All other transitions
⚹ In the presence of an unlocked bootloader, via fastboot (more details in the instructions 6.1.1 and 6.2.1 )
⚹ If there is an unlocked bootloader, through TWRP (more details in the instructions 6.1.2 and 6.2.2 )
5.2. Assembly on the basis of official
� Withraisingfirmware versions andassembly from the same team or author: Wipe Cache
� Withloweringfirmware versions andassembly from the same team or author: Wipe Cache and Format Data
� Withraising / lowering / savingfirmware versions andtransition to assembly from another team or author: Wipe Cache and Format Data
6. Go to the firmware on the firmware
6.1. EEA / Russia / China âžž Global
6.1.1. fastboot
� Instruction 2
6.1.2. TWRP
It is highly recommended to install the firmware copied to USB Flash, in order not to get a smaller amount of free internal memory! 1. Downloading firmware (spoiler
Firmware ) and
Dm-Verity & ForceEncrypt Disabler 2. Check the MD5 firmware after downloading. Perfect for this purpose.
Hashtab (tab in the file properties)
3. Install TWRP according to the instructions
3.1.1 (Except points 8 and 9)
4. Wipe ➞
Advanced wipe âžž section
Cache (the remaining sections will be overwritten by the firmware installation script)
5. Configure TWRP (language selection, time zone setting, etc.)
6. We copy the firmware and Dm-Verity & ForceEncrypt Disabler to the root of the USB Flash and connect via the OTG cable. Either we connect the smartphone to the PC / laptop, copy it to the root of the internal memory (for the convenience of searching in TWRP) and disconnect the smartphone
7. Install âžž select firmware âžž add Dm-Verity & ForceEncrypt Disabler to the queue âžž tick on reboot after installation âžž wait for the process to finish
6.2. Building on the basis of official âžž Global / EEA / Russia / China
6.2.1. fastboot
� Instruction 2
6.2.2. TWRP
It is highly recommended to install the firmware copied to USB Flash, in order not to get a smaller amount of free internal memory! 1. Downloading firmware (spoiler
Firmware ) and
Dm-Verity & ForceEncrypt Disabler 2. Check the MD5 firmware after downloading. Perfect for this purpose.
Hashtab (tab in the file properties)
We translate the smartphone in TWRP
⚹ Turn off
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
3. Wipe ➞
Format Data (Confirm input format
yes )
4. Wipe ➞
Advanced wipe âžž section
Cache (the remaining sections will be overwritten by the firmware installation script)
5. Reboot âžž Recovery If at this stage the smartphone hangs on the Mi logo
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
6. Configure TWRP (language selection, time zone setting, etc.)
7. We copy the firmware and Dm-Verity & ForceEncrypt Disabler to the root of the USB Flash and connect via the OTG cable. Either we connect the smartphone to the PC / laptop, copy it to the root of the internal memory (for the convenience of searching in TWRP) and disconnect the smartphone
8. Install âžž select firmware âžž add Dm-Verity & ForceEncrypt Disabler to the queue âžž tick on reboot after installation âžž wait for the process to finish
6.3. Global / EEA / Russia / China âžž assembly on the basis of official
� Instruction 4.1
7. Installation / Magisk deleting and updating firmware installed with Magisk
7.1. installation
7.1.1. Official (Global / EEA / Russia / China)
1. Install TWRP according to the instructions
3.1.1 (Except points 8 and 9)
2. Swinging
Magisk 3. Connect your phone to your PC / laptop, copy Magisk the root of the internal memory (for ease in TWRP) and disconnect the smartphone. Or copy to USB Flash Magisk root and connect on the OTG-cable
4. Install âžž choose Magisk âžž tick on reboot after installation âžž wait for the end of the process
If the Magisk icon does not appear on the desktop
⚹ Additionally install
Magisk Manager 7.1.2. Assembly on the basis of official
1. Swinging
Magisk 2. Install âžž choose Magisk âžž tick on reboot after installation âžž wait for the end of the process
If the Magisk icon does not appear on the desktop
⚹ Additionally install
Magisk Manager 7.2. removal
1. We connect the smartphone to a PC / laptop and copy it to the root of the internal memory (for the convenience of searching in TWRP)
Magisk-uninstaller . Or download directly via smartphone
We translate the smartphone in TWRP
⚹ Turn off
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
2. Install âžž choose
Magisk-uninstaller âžž put a tick on the reboot after installation âžž waiting for the end of the process
7.3. Firmware upgrade with established Magisk
1. Downloading firmware (spoiler
Firmware )
2. Check the MD5 firmware after downloading. Perfect for this purpose.
Hashtab (tab in the file properties)
3. Swinging
Magisk We translate the smartphone in TWRP
⚹ Turn off
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
4. Making the necessary wipe (instructions
5.2 )
5. Reboot âžž Recovery If at this stage the smartphone hangs on the Mi logo
⚹ Clamping the power and volume buttons plus
⚹ After the vibration, release the power button and wait for the launch of TWRP
6. Connect your phone to your PC / laptop, copy the firmware and Magisk the root of the internal memory (for ease in TWRP) and disconnect the smartphone. Or copy the firmware and Magisk in USB Flash root and connect on the OTG-cable
7. âžž select the Install firmware âžž wait for process termination
8. Reboot âžž Recovery 9. âžž select the Install file Magisk âžž put a check on reboot after installation âžž wait for process termination
Post has been editedCamerado - 07.11.20, 20:44Reason for editing: updating links