Skip to content

limitedeternity/MiFlash-Linux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

MiFlash-Linux

FLASH Firmware:

  1. Restart the device in fastboot mode;
  2. Connect the device to the PC via USB cable;
  3. Start the "XIAOMI TOOL" program from the terminal (cd Xiaomi_MiFlash/ && sudo ./go.sh) and copy the file of the .tgz firmware inside the "/Xiaomi_MiFlash/XIAOMI-FILE/" folder;
  4. Type "1" to start "FLASH Firmware";
  5. Select the firmware file (tgz) and wait for the end of the operation;
  6. Select the affected .sh file. The device will restart automatically.

Backup firmware:

  1. Restart the device in TWRP mode;
  2. Type "2" to start backup and end operations by pressing any key;

Flash TWRP:

  1. Restart the device in fastboot mode;
  2. Connect the device to the PC via USB cable;
  3. Start the "XIAOMI TOOL" program from the terminal (cd Xiaomi_MiFlash/ && sudo ./go.sh) and copy the file of the twrp recovery (.img) inside the "/Xiaomi_MiFlash/XIAOMI-FILE/" folder;
  4. Type "3" to start "TWRP flash";
  5. Select the recovery file for twrp (.img);
  6. The device will automatically restart in TWRP mode.

Flash boot.img:

  1. Restart the device in fastboot mode;
  2. Connect the device to the PC via USB cable;
  3. Start the "XIAOMI TOOL" program from the terminal (cd Xiaomi_MiFlash/ && sudo ./go.sh) and copy the file boot.img inside the "/Xiaomi_MiFlash/XIAOMI-FILE/" folder;
  4. Type "4" to start "flash boot.img";
  5. Select the boot.img file);
  6. The device will restart automatically in normal mode.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 89.4%
  • Python 10.6%