Can I get the document for A/B partition for OTA android 15 image update. Also need to know how to create a custom application to add in the image.
Hello,
For A/B partition documentation for Android OTA updates, I recommend reviewing these resources:
1. The official Android documentation at https://source.android.com/devices/tech/ota/ab provides comprehensive information about how A/B partitioning works with update_engine_client for Android OTA updates.
2. For i.MX specific implementation details, refer to the NXP Android documentation available at: https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications...
The i.MX8MP platform uses the A/B partition scheme by default for OTA updates, with configuration files located in the device/fsl/ directory of the Android source tree. This allows seamless updates with the system running from one partition while the other is being updated.
For creating custom applications to include in the Android image:
1. Build your application using Android Studio or your preferred development environment.
2. To add a prebuilt application to the system image, modify the device/fsl/imx8m/evk_8mp/evk_8mp.mk file (or your custom board configuration file) and add your application to the PRODUCT_PACKAGES variable.
3. If you need to include proprietary binaries, place them in the vendor/nxp/ directory structure with appropriate Android.mk files.
4. For applications requiring system permissions, you'll need to add appropriate SELinux policies and ensure proper signature verification.
The Android User's Guide for i.MX includes specific chapters on customizing the system image and implementing OTA updates that will provide more detailed instructions for your implementation.
regards