Solved: Weird issues flashing


loklok

Members
Aug 26, 2021
5
15
Hello there,

I am trying to flash the MIUI 12.5 stable rom via TWRP 3.5.2 on my Poco X3 NFC, but I am getting the same error every time I try.

The error is:
Code:
[liblp]Attempting to create duplication partition with name: system_ext
Failed to add partition system_ext to group qti_dynamic_partitions.
script aborted: assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))
assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))error: 25
Updater process ended with ERROR: 7

The part
Code:
script aborted: assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))
also comes up with other ROMs that I have tested after MIUI 12.5. I was able to flash MIUI 12.0.9 for a test, although it has numerous issues like being extremely slow, and I cannot enable WiFi at all, even after several reboots. When it prompts me to update to 12.5, I run into the same issues as with a manual download and flash.

Things I have tried to solve the problem:
  • Factory reset in TWRP (~25x)
  • Reboot TWRP a lot
  • Format data (~10x)
  • Advanced wipe dalvik, data, internal storage, cache (~5x)
  • Try TWRP 3.5.1 instead of 3.5.2
  • Try OrangeFox R11.1 instead of TWRP
  • Remount partitions as RW in TWRP 3.5.2
I tried to google the problem via "dynamic_partitions_op_list" but came up empty except for recommendations to just keep formatting data again and again until it works, which I have tried a lot to no avail. Some person somewhere said it might be necessary to wipe system as well, but I cannot figure out how to do that in TWRP 3.5.2.

Do you have any idea what I should do?

PS: Before attemping to flash anything, I made a backup that I also cannot restore. It hangs at 0MB of data restore, no progress even after 6 hours.

Edit: The history of that phone is Stock -> Pixel Experience -> Current Problem. It has never been rooted or had any special or weird stuff done to it.
 
Hello there,

I am trying to flash the MIUI 12.5 stable rom via TWRP 3.5.2 on my Poco X3 NFC, but I am getting the same error every time I try.

The error is:
Code:
[liblp]Attempting to create duplication partition with name: system_ext
Failed to add partition system_ext to group qti_dynamic_partitions.
script aborted: assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))
assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))error: 25
Updater process ended with ERROR: 7

The part
Code:
script aborted: assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))
also comes up with other ROMs that I have tested after MIUI 12.5. I was able to flash MIUI 12.0.9 for a test, although it has numerous issues like being extremely slow, and I cannot enable WiFi at all, even after several reboots. When it prompts me to update to 12.5, I run into the same issues as with a manual download and flash.

Things I have tried to solve the problem:
  • Factory reset in TWRP (~25x)
  • Reboot TWRP a lot
  • Format data (~10x)
  • Advanced wipe dalvik, data, internal storage, cache (~5x)
  • Try TWRP 3.5.1 instead of 3.5.2
  • Try OrangeFox R11.1 instead of TWRP
  • Remount partitions as RW in TWRP 3.5.2
I tried to google the problem via "dynamic_partitions_op_list" but came up empty except for recommendations to just keep formatting data again and again until it works, which I have tried a lot to no avail. Some person somewhere said it might be necessary to wipe system as well, but I cannot figure out how to do that in TWRP 3.5.2.

Do you have any idea what I should do?

PS: Before attemping to flash anything, I made a backup that I also cannot restore. It hangs at 0MB of data restore, no progress even after 6 hours.

Edit: The history of that phone is Stock -> Pixel Experience -> Current Problem. It has never been rooted or had any special or weird stuff done to it.
Did you reset the phone with a fastboot rom via MIFLASH?
 
Did you reset the phone with a fastboot rom via MIFLASH?

I did download MiFlash and installed a fastboot rom between the time of posting and now, and I came here to say that doing this with a 'clean all' flash of v12.0 followed by an OTA update to 12.5 fixed the problem. The first flash of xiaomi.eu via TWRP 3.5.2 still failed, but a second worked out alright after formatting data once more.
 
  • Like
Reactions: Poney70