Simple tool to work with Xiaomi Sideload
PS: This is my first time coding in C, My C skill sucks, so please don't judge my codes :)
Normal uses: ./xiaomi_adb
Termux uses: termux-usb -E -e "./xiaomi_adb " -r <usb_device_path>
How to flash sideload OTA
- ./xiaomi_adb --generate-sign <firmware_path>
- ./xiaomi_adb --sideload <firmware_path>
While generating sign phone will reboot and you'll need to reboot into Mi-Assistant mode again, that is neccessary because in some cases you can't sideload in device unless you have a press connection in sideload.
make