Repository navigation
Mi UnBootloader v1.0.0 🚀
Initial release of the Mi UnBootloader, a robust Flutter application designed to automate the Xiaomi Bootloader unlocking process.
🌟 Key Features
- 🤖 Automated Login & Token Extraction:
- Integrated
InAppWebViewfor secure Xiaomi account login. - Automatically extracts critical
serviceTokenandpopRunTokenrequired for unlocking.
- Integrated
- ⏰ Smart Background Service:
- Persistent foreground service that keeps running even when the app is closed.
- Precise task scheduling to execute unlock attempts exactly at 00:00 Beijing Time.
- 📱 Modern Material 3 UI:
- Clean, user-friendly interface with Dynamic Color support.
- Real-time status indicators (Service Running/Idle, Account Connected).
- Advanced settings hidden by default for a cleaner look.
- 📝 Integrated Logger:
- View detailed execution logs directly within the app (
Historyicon).
- View detailed execution logs directly within the app (
- ⚙️ Advanced Configuration:
- Adjust
Time Shiftto compensate for network latency. - Manual token override if needed.
- Adjust
🛠️ Technical Details
- Framework: Flutter (Dart)
- Architecture: Service-based architecture with separated logic for UI, API, and Background Tasks.
- Permissions:
FOREGROUND_SERVICE&WAKE_LOCKfor reliability.REQUEST_IGNORE_BATTERY_OPTIMIZATIONSfor Xiaomi/HyperOS persistence.
📋 usage
- Connect Account: Tap "CONNECT ACCOUNT" and log in via the official Xiaomi interface.
- Verify Status: Ensure tokens are loaded and the account status is "Ready".
- Start Service: Tap "START SERVICE".
- Note: On Xiaomi devices, ensure you manually enable Autostart and set Battery Saver to "No Restrictions" for this app.
- Wait: The service will automatically attempt to unlock at the target time.
⚠️ Requirements
- Android 10.0+ (Recommended)
- Active Internet Connection
- Valid Xiaomi Account
Created with ❤️ by Joss