How to mount Android 10 vendor image file
5,504
If you only need to 'READ' the image contents:
sudo mount -o ro v.img somefolder
where "v.img" is your unsparsed ext4 image.
Related videos on Youtube
Author by
Robin
Updated on September 18, 2022Comments
-
Robin over 1 year
I used to extract Android vendor image via following steps:
Convert sparse image to raw image:
simg2img vendor.img v.img
Mount the raw image for copying files:
sudo mount v.img somefolder
However, when I try to do this on Android 10 vendor images (like this one from Google factory images), I always failed at 2nd step:
mount: wrong fs type, bad option, bad superblock on /dev/loop16, missing codepage or helper program, or other error
And the dmesg shows the following error:
EXT4-fs (loop16): couldn't mount RDWR because of unsupported optional features (4000)
I searched for these information online and got some potential solution like this one here, but it does not work.
Does anyone have an idea how can I mount and the new Android vendor image?
-
Robin over 4 yearsThanks a lot for your reminding, I should have thought of it:)
-
Andre Leon Rangel almost 3 yearswhat if you need to mount, add files and repack the image?