I downloaded the stock rom for Samsung Galaxy S10+ for Android 9 to extract the content of vendor.img.lz4 from AP.tar.md5.
As soon as I found and extracted the vendor.img.lz4 to my desktop I used lz4 -d vendor.img.lz4 vendor.img to decompress it and that worked.
file vendor.img says the following about the decompressed image:
vendor.img: Android sparse image, version: 1.0, Total of 281600 4096-byte output blocks in 14 input chunks.
If I use gnome-disks to mount it it shows up as mounted in that gui, but I can't see it mounted with df or mount or I'm perhaps missing something.
sudo mount -o loop vendor.img /mnt/vendor/ tells me:
mount: /mnt/vendor: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
What can I do to solve this?