Reset Super Partition Layout (Fix Dynamic Partitions)

Reset Super Partition Layout (Fix Dynamic Partitions)

𝑲𝒍𝒂𝒖𝒔 π‘΄π’Šπ’Œπ’‚π’†π’π’”π’π’

Warning ⚠️:

This script overwrites the super partition metadata. It does not wipe partition contents, but it resets the dynamic partition layout.

Use only if dynamic partitions are corrupted or flashing fails.

πŸ’ΏStep 1: Boot into TWRP and open terminal

πŸ’ΏStep 2: Run the wipe script

>In the terminal, type:

sh /sbin/wipe-super.sh

>Note:

By default, the script uses the bundled common super_empty.img.
To use your own image, place it inside the root of your internal storage.
OTG is also supported - if TWRP mounts your USB drive, you can place super_empty. img at the root of the OTG storage and the script will detect it.

πŸ’ΏIf you want to verify view the log in terminal

>type:

cat /tmp/wipe-super.log

πŸ’ΏHere's an example of logs to confirm if it's

>Successful:

wipe-super: starting
wipe-super: using /sbin/super_empty.img
0+1 records in
0+1 records out
5288 bytes (5.1 K) copied, 0.001684 s, 2.9 M/s
wipe-super: success

>Failure:

wipe-super: error - super_empty.img not found

Report Page