Closed ElectroBoy404NotFound closed 2 months ago
edl gpt . --genxml --memory=ufs
. run something like this --> high chance that your backup gpt header partition is uncorrupted --> write to primary gpt header partition with the backup .bin
Edit: Not sure if your device has backup gpt header partition but it is good to try. hmm I looked at the code for gpt header dump, and you might want to make sure it is correct, since I suspect that the dump of the backup is not correct.
edl gpt . --genxml --memory=ufs
. run something like this --> high chance that your backup gpt header partition is uncorrupted --> write to primary gpt header partition with the backup.bin
Edit: Not sure if your device has backup gpt header partition but it is good to try. hmm I looked at the code for gpt header dump, and you might want to make sure it is correct, since I suspect that the dump of the backup is not correct.
Nope; My device doesn't have backup gpt
Finally, I found the stock rom for this device. It has the gpt backup
Hi!
I recently corrupted the GPT on my device. I only have the output of the printgpt command from a few months ago:
Any way to fix it?