Need help recover partition

Hello, i need help recovering the partition, my device is mi mix 2s (polaris) 64gb verision, the missing partitions are misc, recovery, cache,and cust.
i had to comment that 4 lines in “flash_all.bat” of fastboot firmware to make the flashing completed, it still not boot after flashing complete though.
Anyone having same device kindly sharing those partitions by dd and sector information.
Thanks you.