Szaki / XiaomiADBFastbootTools
- вторник, 15 сентября 2020 г. в 00:26:02
Kotlin
A simple tool for managing Xiaomi devices on desktop using ADB and Fastboot
Warning: Use the program at your own risk!
Enable developer options in Android.
Enable USB debugging in Android.
Connect your device to the computer and launch the application. The device is going to ask for authorisation, which you'll have to allow.
Wait for the application to detect your device. The device info should appear in the top left section.
Put your device into Fastboot mode by holding power and volume down simultaneously until the Fastboot splash screen comes up.
Connect your device to the computer and launch the application.
Wait for the application to detect your device. The device info should appear in the top left section.
Yes, the Xiaomi ADB/Fastboot Tools was developed in Kotlin for the Java Virtual Machine so it needs the JRE to run, version 11 or later.
Install Oracle Java from here or OpenJDK from here. Ninite also includes AdoptOpenJDK.
Install Oracle Java from here. You can also use Homebrew to install it (oracle-jdk
).
Install Oracle Java from here or OpenJDK from your preferred package manager (openjdk-11-jre
).
Windows most likely doesn't recognise your device in ADB mode. Install the universal ADB drivers from here, reboot your PC and try again.
The Flasher, Wiper and Camera2 modules in Fastboot mode require an unlocked bootloader but everything else works without rooting or unlocking.
All applications in the list are safe to uninstall. You might lose access to some services but the device will keep working just fine. Some other apps, like Gallery or Security, aren't listed because uninstalling them would soft brick your device.
The OS sees which apps have been disabled and it can re-enable them whenever it pleases but it cannot do the same with uninstalled apps. Apps you disable may come back anytime and you can also re-enable them in the Settings, while uninstalled apps will only return if you reinstall them (using ADB or an APK) or factory reset the device. There's no difference when it comes to their impact on the system, however, functionality or performance wise, so I recommend uninstalling apps which you believe pose a security/privacy risk and disabling everything else.
No, you are free to install updates without the fear of bricking your device or losing data.
No, uninstalled apps should only come back when you reinstall them or factory reset your device.
There are some apps Global MIUI doesn't let you uninstall but Chinese MIUI does. If you try to uninstall an app like that, the tool might hang. If that happens, close the tools, disconnect your device, uninstall the app manually, then launch the tools again and reconnect your device to proceed.
If the attempted uninstallation of an application results in a failure or anything other than success, that isn't a bug or an issue within the program. It means that ADB was not able to uninstall the application and there is nothing we can be do about it. Similary, if an uninstallation has no result at all (neither success nor failure), that means that ADB didn't report anything, therefore the program cannot derive any information about the successfulness of the uninstallation.
Simply reinstall them using the Reinstaller module when connected in ADB mode. In case the Reinstaller module is disabled because your device doesn't support it, you must perform a factory reset.
ADB and Fastboot are universal interfaces on Android but some of the algorithms and methods of the app are specific to Xiaomi devices, so mostly yes.
No. Fastboot ROM flashing is available so MiFlash can mostly be replaced but implementing EDL flashing or bootloader unlocking on MIUI would only make the program unnecessarily complex.