A Flutter application designed to unlock the bootloader of Xiaomi devices.
- Material 3 Design: Supports dynamic colors based on the user's wallpaper (Android 12+).
- Bootloader Unlocking: Automates the unlocking process.
- Background Service: Handles long-running tasks.
- Time Synchronization: Uses NTP for precise timing.
- Flutter SDK
- Android Studio / VS Code
- Java 17 (required for the build)
- Xiaomi Account with unlock permissions
-
Clone the repository:
git clone https://github.com/yourusername/mi_unbootloader.git cd mi_unbootloader -
Install dependencies:
flutter pub get
-
Set up signing keys:
- Copy
android/key.properties.exampletoandroid/key.properties. - Update
android/key.propertieswith your keystore path and passwords. - Note: The keystore file is NOT included in the repository for security reasons.
- Copy
-
Run the app:
flutter run
To build a release APK/Bundle:
flutter build apk --release
# or
flutter build appbundle --releaseEnsure android/key.properties is correctly configured before building.
This project uses the provided Flutter architecture with:
lib/services: Background tasks, Notifications, DB.lib/ui: User Interface screens.lib/core: Constants and core logic.
Developed by Joss Estrada.
