Coder Social home page Coder Social logo

5l1v3r1 / xiaomiadbfastboottools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from louwii/xiaomiadbfastboottools

0.0 1.0 0.0 10.34 MB

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

Home Page: https://szaki.github.io/XiaomiADBFastbootTools/

License: MIT License

Kotlin 100.00%

xiaomiadbfastboottools's Introduction

Xiaomi ADB/Fastboot Tools 😊

Modules

  • App Manager - Uninstall/reinstall/disable/enable system apps and services on demand
  • Camera2 - Enable Camera2 and EIS (TWRP required)
  • File Explorer - Transfer files between a device and a computer using ADB
  • Screen density - Tweak screen density by overriding the DPI value
  • Screen resolution - Tweak screen resolution by overriding the width and height values
  • Device properties - Retrieve tons of statistics and information about your device
  • 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

Downloads

Available downloads:

  • Executable JAR
  • OS-specific ZIP (JAR with ADB and Fastboot binaries included)

If you have ADB and Fastboot in PATH (installed system-wide), you can use just the JAR, otherwise download the OS-specific ZIP.

Warning: Use the program at your own risk!

Instructions

Connecting 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.
      • In order to use the Screen density and Screen resolution modules, enable USB debugging (Security settings) as well.
    • Android One: Go to Settings > System > Developer options and enable USB debugging.
  3. Connect your device to the computer and launch the application. The device is going to ask for authorisation, which you'll have to allow.

  4. Wait for the application to detect your device. The device info should appear in the top left section.

Connecting 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 the computer and launch the application.

  3. Wait for the application to detect your device. The device info should appear in the top left section.

FAQ & Troubleshooting

The application doesn't work. Is there anything I should have installed?

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.

On Windows/MacOS, install Oracle Java from here or OpenJDK from here.

On Linux distributions, install openjdk-11-jdk, openjdk-11-jre or later.

If the application says that it cannot find ADB/Fastboot even though you have downloaded the OS-specific ZIP, open a terminal inside the extracted folder and enter java -jar XiaomiADBFastbootTools.jar.

The app on Windows doesn't detect my device even though it's connected and USB debugging is enabled. What could be the issue?

Windows most likely doesn't recognise your device in ADB mode. Install the universal ADB drivers from here, reboot your PC and try again.

Do I need an unlocked bootloader or root access to use the app?

The Flasher, Wiper and Camera2 modules require an unlocked bootloader but everything else works without rooting or unlocking.

What apps are safe to uninstall?

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 apps, like Gallery, aren't listed because uninstalling them would soft brick your device.

Do uninstalled system apps affect OTA updates?

No, you are free to install updates without the fear of bricking your device or losing data.

Do uninstalled system apps come back with updates?

No, uninstalled apps should only come back when you reinstall them or factory reset your device.

Why does the Uninstaller hang on some apps?

There are many factory apps Global MIUI doesn't let you uninstall but China MIUI does. If you try to uninstall an app like that, the tool will 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.

How do I regain uninstalled system apps?

Simply reinstall them using the Reinstaller module when connected in ADB mode.

The app is called Xiaomi ADB/Fastboot Tools. Does that mean that it only works with Xiaomi devices?

ADB and Fastboot are universal interfaces on Android but some of the algorithms and methods used in the app are specific to Xiaomi devices, so yes.

Does this replace MiFlash or MiUnlock?

No. Fastboot ROM flashing is available so MiFlash can mostly be substituted but implementing EDL flashing or MIUI unlocking would only make the program unnecessarily complex.

xiaomiadbfastboottools's People

Contributors

louwii avatar szaki avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.