I’m building Android for my TAO 3530 board, booting for a SD card, and wanted to install my own app onto the Android “image”. Here is how I did it
If you’ve got a built apk place it in:
and you’re done.
Difference between /rootfs/data/app & /rootfs/system/app:
If placed in /rootfs/data/app the user will be able to uninstall the app.
If placed in /rootfs/system/app the user will NOT be able to uninstall the app. This is how AT&T or other service providers stick their bloatware on phones. User can’t delete the app because they don’t have necessary (root) permission to uninstall it.