Add prebuilt APKs to Android AOSP system.img

后端 未结 4 1061
独厮守ぢ
独厮守ぢ 2021-02-04 06:47

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 actua

4条回答
  •  一整个雨季
    2021-02-04 07:00

    A good way of adding custom files to the system.img is to add them under vendor/your_name/product_you_want_to_add_them/proprietary/your_files_go_here and add a custom make file called device-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.mk add to call your device make file).

提交回复
热议问题