How to change partition before reflash the system

Writing secondary_gpt partition done
Fix/Ignore? Error: The backup GPT table is not at the end of the disk, as it should be. Fix, by moving the backup to the end (and removing the old backup)?
Fix
Fix/Ignore? Fix
Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 933106351 blocks) or continue with the current setting?
Model: ATA ZHITAI SC001 Act (scsi)
Disk /dev/sda: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
2 20.5kB 67.1MB 67.1MB kernel msftdata
3 67.1MB 134MB 67.1MB kernel_b msftdata
4 134MB 135MB 459kB kernel-dtb msftdata
5 135MB 135MB 459kB kernel-dtb_b msftdata
6 135MB 201MB 66.1MB recovery msftdata
7 201MB 202MB 524kB recovery-dtb msftdata
8 202MB 202MB 262kB kernel-bootctrl msftdata
9 202MB 202MB 262kB kernel-bootctrl_b msftdata
10 202MB 517MB 315MB RECROOTFS msftdata
11 517MB 517MB 18.4kB UDA msftdata
1 517MB 15.5GB 15.0GB ext4 APP msftdata

the extern disk is m2 sata 512GB, the log above is reflashing log. how to resize the partition to use all of the disk space of /dev/sda.

no one knows about it