0

I trying create AP OTA zip file on AOSP11 in (android11) for ROCchip.

Cloned source code from https://wiki.radxa.com/Rockpi4/rockpi-android11 and copied the source code.

would like someone to let me know How to create AB OTA zip file. Ideally give me valuable tips such as references, or step-by-step guide for that if it's possible. My ROM is based on Android 11.

Thank you in advance.

GNK
  • 1,036
  • 2
  • 10
  • 29
  • Why do you want to create A/B OTA, but not normal OTA. You can check whether a/b is enabled by "adb shell getprop ro.build.ab_update". If A/B is disabled in rockpi-android11, it's difficult to enable A/B. To enable A/B, you should change the partition layout to enable A/B, and set AB_OTA_UPDATER to true, and ... – Yong May 30 '22 at 09:30
  • it seems not enabled. Empty response is coming ,when I ran "adb shell getprop ro.build.ab_update" command.Could you please share any docs or tips to enable A/B OTA and AB_OTA_UPDATER is true in /device.../BoardConfig.mk – GNK May 30 '22 at 09:45
  • https://source.android.com/devices/tech/ota/ab – Yong May 30 '22 at 13:48
  • commented "BOARD_RECOVERYIMAGE_PARTITION_SIZE","BOARD_CACHEIMAGE_PARTITION_SIZE" and "BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE" in my source code. But getting compilation errors. en/RECOVERY/resource.img: No such file or directory – GNK May 31 '22 at 07:48

0 Answers0