XiaomiFirmwareUpdater / xiaomi-flashable-firmware-creator

Xiaomi Flashable Firmware Creator
https://xiaomifirmwareupdater.com/projects/xiaomi-flashable-firmware-creator/
GNU General Public License v3.0
149 stars 44 forks source link

fw+vendor package for vayu fails to flash inconsistently without utilizing dynamic_partitions_op_list #24

Closed kamild1996 closed 3 years ago

kamild1996 commented 3 years ago

The firmware + vendor package generated by the tool comes with an untouched dynamic_partitions_op_list, and with the reference to that file removed from the updater-script. Such a file is troublesome to flash, as depending on the currently present MIUI ROM on the device, it either requires two attempts to flash, or constantly fails to flash. Recovery log file from the flashing process: https://gist.github.com/kamild1996/a0db92ba4b1704d6bca95c68b1adbb7f

After some experimentation I found out that:

allows the package to flash successfully regardless of the MIUI ROM currently present on the device.

yshalsager commented 3 years ago

Thanks for your experimentation. Indeed the tool modifies dynamic_partitions_op_list, but seems I forgot to include it previously. Just fixed it in V2.2.2 with commit https://github.com/XiaomiFirmwareUpdater/xiaomi-flashable-firmware-creator/commit/022ce9c4639a36929ea2c56d33b69586e3c8b23f

Cheers!