[Upgrading, Modifying and Unlocking] fiftytwo:
Hello fellows,

after reading and trying this and that for a while I almost succeded in flashing LeOS on the KKM2, but flashing the system partition ends with an error when writing to system. I'm wondering if something is wrong with the partition table? I've got only basic linux and android knowledge and at this pint I don't know what the problem might be.

Does anyone make maybe see whats the problem might be or point me in the right direction? Any help is greatly appreciated.

I am flashing from LinuxMint with the latest platform tools.

Thanks advance...

This is what I got:

trs@one:~/kkm2/platform-tools$ sudo ./fastboot --disable-verity --disable-verification flash vbmeta ../vbmeta.img

Rewriting vbmeta struct at offset: 0

Sending 'vbmeta' (4 KB) OKAY [ 0.006s]

Writing 'vbmeta' OKAY [ 0.003s]

Finished. Total time: 0.010s

trs@one:~/kkm2/platform-tools$ sudo ./fastboot flash boot ../boot.img

Sending 'boot' (32768 KB) OKAY [ 1.014s]

Writing 'boot' OKAY [ 0.417s]

Finished. Total time: 1.433s

trs@one:~/kkm2/platform-tools$ sudo ./fastboot flash recovery ../recovery.img

Sending 'recovery' (32768 KB) OKAY [ 1.015s]

Writing 'recovery' OKAY [ 0.416s]

Finished. Total time: 1.433s

trs@one:~/kkm2/platform-tools$ sudo ./fastboot -w

Erasing 'userdata' OKAY [ 0.146s]

mke2fs 1.46.2 (28-Feb-2021)

Creating filesystem with 6311931 4k blocks and 1581056 inodes

Filesystem UUID: c461ec1d-20a3-48d5-9ee2-b70201874eef

Superblock backups stored on blocks:

32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

4096000

Allocating group tables: done

Writing inode tables: done

Creating journal (32768 blocks): done

Writing superblocks and filesystem accounting information: done

Sending 'userdata' (180 KB) OKAY [ 0.012s]

Writing 'userdata' OKAY [ 0.039s]

Erasing 'cache' OKAY [ 0.007s]

mke2fs 1.46.2 (28-Feb-2021)

Creating filesystem with 110592 4k blocks and 110592 inodes

Filesystem UUID: 4395bd20-d598-4b9d-a3d7-20f9fe49362b

Superblock backups stored on blocks:

32768, 98304

Allocating group tables: done

Writing inode tables: done

Creating journal (4096 blocks): done

Writing superblocks and filesystem accounting information: done

Sending 'cache' (68 KB) OKAY [ 0.008s]

Writing 'cache' OKAY [ 0.019s]

Erasing 'metadata' OKAY [ 0.005s]

Erase successful, but not automatically formatting.

File system type raw data not supported.

Finished. Total time: 0.394s

trs@one:~/kkm2/platform-tools$ sudo ./fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.002s]

< waiting for any device >

Finished. Total time: 18.082s

trs@one:~/kkm2/platform-tools$ sudo ./fastboot erase system

Erasing 'system' OKAY [ 0.060s]

Finished. Total time: 0.063s

trs@one:~/kkm2/platform-tools$ sudo ./fastboot flash system ../LeOS-R-RW-a64-bvN.img.xz

Invalid sparse file format at header magic

Resizing 'system' OKAY [ 0.003s]

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

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

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

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

OKAY [ 14.375s]

Writing 'system' FAILED (remote: 'No such file or directory')

fastboot: error: Command failed

trs@one:~/kkm2/platform-tools$