By l1rox3 and adrian-refck
The ultimate restoration and rescue documentation for the Xiaomi Mi A1 (Tissot). Fix hard bricks (QFIL), solve bootloops, and restore a stable, rooted Android 8.1 system with custom optimizations.
Estimated Time: 30–60 minutes (depending on your scenario and experience level)
We wrote this guide because we spent a year working and trying to restore this device. At times, the phone was completely dead and had to be re-flashed from scratch, but there was no proper comprehensive guide available. Once we successfully finished the project (and the phone is now fully functional with root again), we decided to publish this guide along with the necessary files on GitHub to save others the time and hard work.
⚠️ IMPORTANT WARNING: Please do NOT download the newest Fastboot ROM! Flashing the newest ROM will cause the device to fall into a bootloop.
This guide provides a step-by-step walkthrough to completely restore your Xiaomi Mi A1 (Tissot).
- Scenario 1: The device does not turn on and provides no image -> Go to Step 1.
- Scenario 2: The device shows an image but is in a bootloop or similar state -> Go to Step 2.
Prerequisite: Ensure your bootloader is unlocked before starting. If it is locked, please refer to a video tutorial on how to unlock it.
- Tissot Fastboot ROM V9.6.4.0: Download Global Fastboot
- Tissot Fastboot ROM V9.6.4.0: Download Global Fastboot
- TWRP v3.7.0_9.0-tissot: Download Recovery
- Magisk v17.3: Download Zip
- Modified System Image: Download system_root.img (3GB via MEGA)
- Required Apps (Attached in Releases):
System Root Info.apk,Tissot Optimizer.apk,Root Terminal.apk
Author: adrian-refck
If your device is "dead" and shows no signs of life, use QFIL to make it bootable again.
- Open the device: Watch tutorials if needed (e.g., YouTube), but only open the housing—do not replace the battery.
- Locate Test Points: Find the specific test points for Tissot online.Youtube
- Preparation: Download the firmware (Android 8 is recommended).
- Flashing: Start QFIL. Bridge the two test points while plugging the USB cable into the phone. The device should now be selectable in QFIL.
Disclaimer from Adrian: I accept no liability. Opening the device voids the warranty. These instructions are based on personal experience.
- Troubleshooting: If you encounter a "Sahara Protocol Error", try different cables or USB ports; QFIL is very sensitive.
- Battery Note: If a light illuminates after flashing while the battery is connected, try leaving the battery disconnected until the system starts.
✅ Once the device has been successfully flashed via QFIL and shows signs of life, proceed to Step 2 to complete the full system restoration.
Author: l1rox3
- Navigate to the extracted Fastboot ROM folder.
- Boot the device into Fastboot Mode (Hold Volume Down during startup).
- Run
flash_all.bat(Windows) orflash_all.sh(Linux/macOS). - Important: After the script finishes, return to Fastboot mode immediately. The
persist.imgis often skipped. - Flash the persist image manually from the
/imagessubfolder:fastboot flash persist images/persist.img fastboot reboot
- Setup: It may restart a few times. Just leave it plugged in and wait for the setup to appear. During initial setup, skip Wi-Fi. Downloading the latest updates immediately will cause a bootloop. Disable automatic software updates in settings once the setup is complete.
Follow these steps exactly to avoid issues.
- Flash ROM: Enter Fastboot and run
flash_all.batorflash_all.sh. - Flash Persist: Once the script reboots the phone, return to Fastboot and flash the
persist.imgto prevent crashes:fastboot flash persist images/persist.img fastboot reboot
- Initial Setup: It may restart a few times. Just leave it plugged in and wait for the setup to appear. Select "US English" and skip everything (SIM, Wi-Fi, Password). Disable all Google data collection and Xiaomi services.
- Enable Debugging: Go to
Settings->About Phone-> TapBuild Numberuntil Developer Mode is active. InDeveloper Options, enable USB Debugging and Enable view attribute inspection. - Prepare Magisk:
Note: Use only version 17.3 for Android 8.1 Oreo compatibility.
adb devices adb push Magisk-v17.3.zip /sdcard/
- Boot TWRP:
adb reboot bootloader fastboot boot twrp-3.7.0_9-0-tissot.img
- Install Magisk: In TWRP, go to
Mountand ensureDatais checked. Go toInstall, select the Magisk zip, and swipe to flash. (Ignore/vendormessages). Reboot to System. - App Installation: Once the Magisk app appears in the menu, install the provided APKs:
adb install System_Root_Info.apk adb install Tissot_Optimizer.apk adb install Root_Terminal.apk
- Final System Flash:
adb reboot bootloader fastboot flash system_a system_root.img fastboot reboot
- Activation: Open System Root Info, select "Accept & Apply Root Changes", and grant permanent Root access. Repeat for the other two apps to finalize the configuration.
- Tools: TWRP, QFIL, Magisk
- Graphics: Android Logo and Lock Icon via Vecteezy
Happy Modding!