如何为Rockchip AOSP11(Android11)ROM创建和更新AB OTA ZIP?
我尝试在Rocchip(Android11)中的AOSP11上创建AP OTA ZIP文件。
克隆的源代码来自 https://wiki.radxa.com/wiki.radxa.com/rockpi4/rockpi4/rockpi4/rockpi-android11 并复制源代码。
希望有人让我知道如何创建AB OTA ZIP文件。 理想情况下,请给我有价值的技巧,例如参考文献或逐步指南。我的ROM基于Android 11
。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道这是否仍然与您相关,但是如果其他人遇到了这一点 -
如果
getprop ro.build.ab_update
在您的设备上返回空,则意味着它是non -a/ B设备,这意味着您无法轻松使其成为A/B设备。您必须更改整个分区布局,并复制分区,不确定您的设备是否有足够的空间。更容易的是创建常规的非A/B更新。尝试在此处遵循步骤: https://source.android.com/droid.com/docs/docs/core/ OTA/工具构建OTA软件包 - 设备的完整或增量I don't know if this is still relevant for you, but if someone else comes across this -
If
getprop ro.build.ab_update
returns empty on your device, it means that it's a NON-A/B device, which means you cannot easily make it an A/B device. You would have to change the whole partition layout, and duplicate the partitions, not sure that your device has enough space for it. Much easier would be to create a regular Non A/B update. Try following the steps here: https://source.android.com/docs/core/ota/tools to build the ota package - full or incremental for your device