I’m building AOSP from source. What I would like to do is to include a few prebuilt files in the generated system.img as part of the make process. I’m trying to find the actual file that creates the system.img and add a few lines there. Any idea?
Thank you in advance.
A good way of adding custom files to the
system.imgis to add them undervendor/your_name/product_you_want_to_add_them/proprietary/your_files_go_hereand add a custom make file calleddevice-product_name.mk.After that’s done, just define which files are to be copied from the proprietary folder and inside (e.g.
vendor/samsung/crespo/device-vendor.mkadd to call your device make file).