Our project is based on i.MX6 Sololite EVK with IMX6_JB43_110_ANDROID_SOURCE_BSP, as we all know,
system.img, recovery.img, boot.img and u-boot.bin are the 4 image files that will be generated for SD card/eMMC flashing. In this project, we need to integrate some customized APKs which should be pre-installed but should be able removed/updated by end user after product delivery. Which means they cannot be installed as system APPs in /system/app folder but User APPs in /data/app folder. However, we don't know how to generate the userdata.img neither the way to flash it into eMMC together with other 4 files, although we have the APKs put in myandroid/out/target/product/evk_6sl/data/app folder. Appreciate any suggestion/comment. Thanks in advance!