-
Qfil (to restore partitions)
-
Boot backups
Go to EDL mode and use Qfil to restore your boot_a and boot_b backups
Use the Magisk module linked above if you don't already have it installed
Go to mount in TWRP and unmount all partitions
Put parted in your platform tools folder, then run
adb push parted /cache && chmod 755 /cache/parted && /parted /dev/block/sda
Use
print all
to make sure that partition 32 is Windows
rm 32
Use
print all
to make sure that partition 31 is ESP
rm 31
Use
print all
to make sure that partition 30 is userdata
resizepart 30
126GB
quit
Go to the Wipe menu in TWRP and press Format Data, then type yes
Reboot your device and check if Android boots