Skip to content

limitedeternity/MiFlash-Linux

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 3 commits ahead of IcemanDev:master.

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Upd
Aug 5, 2018
Aug 5, 2018

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.

About

Linux port of MiFlash utility

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 89.4%
  • Python 10.6%