hello forks welcome back to romprovider.com, on this article we will guide you on how to flash a partition table or gpt using fastboot mod, if you have corrupt your device partition table by flashing a wrong image or something else then you can write it back by following the below Instructions.
Steps:
- make sure bootloader is unlocked
- grab a gpt.bin or gpt_main0.bin from device firmware or dump from a alternative phone
- move file to platform tools folder
- put phone to fastboot mod and connect it to computer using usb cable
- Now send below code via cmd
fastboot flash partition 'filename.bin'
- then reboot
fastboot reboot
Note: if device completely dead no recovery no fastboot then you have to write it using the respective board’s flash tool (qfil, sp flash tools & upgrade download tool)