How to mount AOSP .img files?
I generate *.img by building AOSP . Like ramdisk.img,boot.img etc. I want to mount this file. I'm using Ubuntu. skoperst You cannot mount boot.img file, as it's not a valid filesystem The boot.img file contains ramdisk and kernel binary ( zImage ) and possibly dt.img (device tree). There is an excellent open source project: mkbootimg_tools at GitHub . You can use it to split the boot.img file and unpack the ramdisk. simg2img Some Android images are compressed by default for some builds. This is the case for example of the HiKey960 build with lunch hikey960-eng , but not for emulator builds e.g