How flash Android11(AOSP11) A/B OTA .zip file into target
Followed below steps :
- Compiled the source code
- $mkdir dist_output
- $make dist DIST_DIR=dist_output
- $./out/target/product/rk3399_ROCKPI4B_Android11/otatools/releasetools/ota_from_target_files dist_output/rk3399_ROCKPI4B_Android11-target_files-eng.test1-test.zip update1.zip
2022-05-27 15:43:16 – common.py – WARNING : Failed to read SYSTEM/etc/build.prop
2022-05-27 15:43:16 – common.py – WARNING : Failed to read VENDOR/etc/build.prop
2022-05-27 15:43:16 – common.py – WARNING : Failed to read PRODUCT/etc/build.prop
2022-05-27 15:43:16 – common.py – WARNING : Failed to read SYSTEM_EXT/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read SYSTEM/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read VENDOR/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read PRODUCT/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read SYSTEM_EXT/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read SYSTEM/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read VENDOR/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read PRODUCT/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read SYSTEM_EXT/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read SYSTEM/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read VENDOR/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read PRODUCT/etc/build.prop
2022-05-27 15:43:38 – common.py – WARNING : Failed to read SYSTEM_EXT/etc/build.prop
2022-05-27 15:43:39 – ota_from_target_files – WARNING : Duplicate block difference found. Device specific block diff for partition ‘system_ext’ overrides the one in generic script.
2022-05-27 15:43:39 – ota_from_target_files – WARNING : Duplicate block difference found.
Device specific block diff for partition ‘product’ overrides the one in generic script.
2022-05-27 15:43:39 – ota_from_target_files – WARNING : Duplicate block difference found. Device specific block diff for partition ‘odm’ overrides the one in generic script.
Compressing system.new.dat with brotli
Compressing vendor.new.dat with brotli
Compressing product.new.dat with brotli
Compressing odm.new.dat with brotli
Compressing system_ext.new.dat with brotli
write trust now…
write uboot now…
warning: no vbmeta.img in input target_files; not flashing vbmeta
wirte dtbo now…
no charge img; ignore it.
info: no resource image; ignore it.
no RKLoader.bin, ignore it.
info: no vendor_boot.img in input target_files; ignore it
info: no logo image; ignore it.
Update1.zip file is created. Is those process is proper , I need to do any more changes and How to flash A/B OTA .zip file into target device
Ref links :
source.android.com/devices/tech/ota/tools
Read more here: Source link