2sw / XiaomiADBFastbootTools

A simple tool for managing Xiaomi devices on desktop using ADB and Fastboot

Home Page:https://saki-eu.github.io/XiaomiADBFastbootTools/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xiaomi ADB/Fastboot Tools

Modules

  • Uninstaller - Remove pre-installed apps and services on demand
  • Camera2 - Enable Camera2 and EIS (TWRP required)
  • Device properties - Retrieve tons of statistics and information about your device
  • Screen density - Tweak screen density by overriding the DPI value
  • Flasher - Flash any partition with an image, boot to any image or flash a Fastboot ROM (unlocked bootloader required)
  • Wiper - Wipe the cache or perform a factory reset
  • OEM Unlocker & Locker - Lock or unlock the bootloader (Unlocking is only supported by Android One devices)
  • ROM Downloader - Get links to the latest MIUI Fastboot ROMs or download them right away
  • Rebooter - Advanced rebooting options using ADB/Fastboot

Download the executable JAR from here.

Warning: Use the program at your own risk. Removing apps which aren't listed in the Uninstaller by default may brick your device.

Instructions

Loading a device in ADB mode

  1. Enable developer options in Android.

    • MIUI: Go to Settings > About device and tap ‘MIUI version’ seven times to enable developer options.
    • Android One: Go to Settings > System > About device and tap ‘Build number’ seven times to enable developer options.
  2. Enable USB debugging in Android.

    • MIUI: Go to Settings > Additional settings > Developer options and enable USB debugging as well as USB debugging (Security settings).
    • Android One: Go to Settings > System > Developer options and enable USB debugging.
  3. Connect your device to your computer and launch the application. The device will ask for authorisation right away, which you have to allow.

  4. Load your device by clicking Menu > Check for device in the application. Your device info should appear.

Loading a device in Fastboot mode

  1. Put your device into Fastboot mode by holding power and volume down simultaneously until the Fastboot splash screen comes up.

    • If your device is loaded in ADB mode, you can enter Fastboot mode by clicking Menu > Reboot device to Fastboot.
  2. Connect your device to your computer and launch the application.

  3. Load your device by clicking Menu > Check for device in the application. Your device info should appear.

Frequently Asked Questions

  • Q: The application doesn't launch on my computer, is there anything I should have installed?

    • A: Yes, it was developed in Kotlin and needs the Java Runtime Environment to run. You can install Java from here. On Linux, you need to have OpenJDK 8 and OpenJFX installed. Please note, that Java 11 does not come with JavaFX so you may have to uninstall OpenJDK 11 in order to run the application.
  • Q: The app on Windows doesn't detect my device even though it's connected and USB debugging is enabled. What could be the issue?

    • A: Windows most likely does not recognise your device in ADB mode. Install the universal ADB drivers from here.
  • Q: Do I need an unlocked bootloader or root access to use the app?

    • A: The Image Flasher, Wiper and Camera2 modules require an unlocked bootloader but everything else works without rooting or unlocking.
  • Q: Do uninstalled system apps affect OTA updates?

    • A: No, you are free to install updates without the fear of bricking your device or losing data.
  • Q: Why does the Uninstaller hang on some apps?

    • A: There are many factory apps Global MIUI doesn't let you uninstall but China MIUI does. If you try to uninstall such an app, the tool will hang. Disconnect your device, uninstall the app then connect and load your device again to proceed.
  • Q: How do I regain uninstalled system apps?

    • A: When you uninstall apps, you erase them from /data so you need to factory reset (wipe data) to make your device reinstall them (from /system).
  • Q: The app is called Xiaomi ADB/Fastboot Tools. Does that mean it only works with Xiaomi devices?

    • A: ADB and Fastboot are universal interfaces for Android devices but some of the algorithms and methods used in the app are specific to Xiaomi devices, so yes.
  • Q: Does this replace MiFlash or MiUnlock?

    • A: No. Fastboot ROM flashing is available so MiFlash can mostly be substituted but implementing EDL flashing or unlocking in such a simple tool would only make it unnecessarily complex.

About

A simple tool for managing Xiaomi devices on desktop using ADB and Fastboot

https://saki-eu.github.io/XiaomiADBFastbootTools/

License:GNU General Public License v3.0


Languages

Language:Kotlin 100.0%