Closed Anubiska closed 5 months ago
What files ?
Issue: Copying files to /data/data or /data/media during build so they're visible to AOSP File Manager after boot.
Documented Solution:
PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,files_folder,system/files_folder)
(this works)system/core/rootdir/init.rc
in the post-fs-data section: copy /system/files_folder/file.txt /data/media/file.txt
(this works too)Android/data
, Android/media
or Android/obb
Issue 1.1: Installing APK (Magisk App) to /data during build:
Documented Solution:
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)
to the Android.mk of the appThank you so much. I would like to donate to your cause, is there a BTC address or coffee button?
Hello, is it possible to add two system files that need to be in /system/framework and /system/etc/permissions of the final image, before or during the build process?
Thanks so much!