[Xiaomi Mi Pad 5 Pro] Drakzor:
Hi im am always getting an error while trying to flash the roofts image.

Atm I have had a fresh ArrowOS installed.

proceded to resize the userdata to end at 32GB

(parted) resizepart 34

# 34 is the partition number for userdata

End? [253GB]? 32GB

then executed the following

# esp partition for booting

(parted) mkpart esp fat32 32GB 32.5GB

# set the esp partition as `EFI system partition type`

(parted) set 35 esp on

# partition for installing Linux

(parted) mkpart linux ext4 32.5GB 100%

then I executed

fastboot erase dtbo_b

this was a sucessfully

and now on fastboot flash linux rootfs.img.xz (its the latest image provided) I cannot flash it and I get this error message

C:\adb\new>fastboot flash linux rootfs.img.xz

error: write_sparse_skip_chunk: don't care size 1212071280 is not a multiple of the block size 4096

Sending sparse 'linux' 1/3 (786428 KB) error: write_sparse_skip_chunk: don't care size 1212071280 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 1212071280 is not a multiple of the block size 4096

OKAY [ 18.940s]

Writing 'linux' OKAY [ 0.000s]

error: write_sparse_skip_chunk: don't care size 406769008 is not a multiple of the block size 4096

Sending sparse 'linux' 2/3 (786428 KB) error: write_sparse_skip_chunk: don't care size 406769008 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 406769008 is not a multiple of the block size 4096

OKAY [ 19.031s]

Writing 'linux' FAILED (remote: 'Error: Last flash failed : Bad Buffer Size')

fastboot: error: Command failed

now ArrowOS no longer boots as well as Linux, how can I correct this "write_sparse_skip_chunk: don't care size 1212071280 is not a multiple of the block size 4096" error?

here is a print of the current partition tables

(parted) p free

p free

Model: SAMSUNG KLUEG8UHDC-B0E1 (scsi)

Disk /dev/block/sda: 253GB

Sector size (logical/physical): 4096B/4096B

Partition Table: gpt

Disk Flags:

Number Start End Size File system Name Flags

16.4kB 24.6kB 8192B Free Space

1 24.6kB 32.8kB 8192B switch

2 32.8kB 65.5kB 32.8kB ssd

3 65.5kB 98.3kB 32.8kB dbg

4 98.3kB 131kB 32.8kB bk01

5 131kB 262kB 131kB bk02

6 262kB 524kB 262kB bk03

7 524kB 1049kB 524kB bk04

8 1049kB 1573kB 524kB keystore

9 1573kB 2097kB 524kB frp

10 2097kB 4194kB 2097kB countrycode

11 4194kB 8389kB 4194kB misc

12 8389kB 16.8MB 8389kB bk06

13 16.8MB 25.2MB 8389kB logfs

14 25.2MB 33.6MB 8389kB ffu

15 33.6MB 50.3MB 16.8MB oops

16 50.3MB 67.1MB 16.8MB devinfo

17 67.1MB 68.2MB 1049kB oem_misc1

18 68.2MB 84.9MB 16.8MB ext4 metadata

19 84.9MB 101MB 15.7MB bk08

20 101MB 134MB 33.6MB splash

21 134MB 168MB 33.6MB bk09

22 168MB 235MB 67.1MB ext4 persist

23 235MB 302MB 67.1MB ext4 persistbak

24 302MB 336MB 33.6MB mtdblk

25 336MB 403MB 67.1MB logdump

26 403MB 503MB 101MB minidump

27 503MB 638MB 134MB rawdump

28 638MB 1711MB 1074MB ext4 cust

29 1711MB 10.8GB 9127MB super

30 10.8GB 10.8GB 131kB vbmeta_system_a

31 10.8GB 10.8GB 131kB vbmeta_system_b

32 10.8GB 10.9GB 33.3MB bk010

33 10.9GB 11.0GB 134MB ext4 rescue

34 11.0GB 32.0GB 21.0GB userdata

32.0GB 32.0GB 438kB Free Space

35 32.0GB 32.5GB 499MB esp boot, esp

36 32.5GB 253GB 221GB linux

253GB 253GB 1036kB Free Space

(parted)

It seems I was forgetting to "unzip" the image as it was on .img.xz format