This project has been abandoned and redeveloped for the JVM. The new project can be found here.
Features:
- Debloater - Remove unnecessary apps and services
- Camera2 API Enabler - Enable the camera2 API of Android (TWRP required)
- Get device properties - Retrieve tons of statistics and information about your phone
- Image Flasher - Flash the boot/cust/modem/persist/recovery/system partition with an image (unlocked bootloader required)
- Wiper - Wipe the cache or perform a factory reset
- OEM Unlocker - Lock or unlock the bootloader (Unlocking is supported by the Mi A1 only)
- ADB Rebooter - Advanced rebooting options using ADB
- Fastboot Rebooter - Advanced rebooting options using fastboot
Warning: Use the tool at your own risk. Removing factory apps which aren't in the tool may break your phone.
Changelog (prior to GitHub release):
Update v2.0.0.0
- Added new apps to the Debloater
- Added the ability to uninstall any app using the Debloater
- Added the Camera2 API Enabler
- Cleaned up the code and optimised some algorithms
Update v1.2.0.0
- Added new apps to the Debloater
- Optimised the algorithm of the Debloater
- The tinted buttons are now red
Update v1.1.0.0
- Tinted the text on buttons that perform irreversible actions
- Fixed some minor bugs, optimised code
Update v1.0.5.0
- Fixed an issue with codename reading in ADB mode
- Added Hangouts to the Debloater
Update v1.0.4.0
- Fixed an issue with serial number reading in fastboot mode
Update v1.0.3.0
- Added App Vault and Xiaomi SIM Activate Service to the Debloater
Update v1.0.2.0
- Optimised device loading algorithms
- Bootloader status is now displayed in ADB mode
- Leftover processes get killed on exit
Update v1.0.1.0
- Fixed scaling issues caused by higher scaling settings
Frequently Asked Questions:
Q: The tool doesn't run on my Windows PC, is there anything I should have installed?
A: Yes, if you are running an older version of Windows that doesn't come with .NET Framework 4.6 or later pre-installed, you have to manually install it from here.
Q: The tool doesn't detect my phone even though it's connected and USB debugging is enabled. What gives?
A: Windows most likely does not recognise your phone in ADB. Install the universal ADB drivers from here.
Q: Do I need an unlocked bootloader or root access to use the tool?
A: The Image Flasher and the Wiper 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: The tool is called Xiaomi ADB/Fastboot Tools. Does that mean it only works with Xiaomi devices?
A: Well, ADB and Fastboot are universal interfaces for Android devices but some of the algorithms and methods used in the app are Xiaomi specific so yes.
Q: Does this replace MiFlash or MiUnlock?
A: No. Implementing their functionality in such a simple tool would only make it unnecessarily complex, and there's no need for that anyways, since these are easy to use, fully developed tools maintained by Xiaomi.