构建android源代码后如何烧录到设备?

问题描述 投票:0回答:1

因此,我通过 Google Compute Engine 在 Ubuntu 16.04 LTS VM 上为

10.0.0_r2
构建了 Android
aosp_arm
源,然后在
.zip
中为我提供了很多
.img
/out/target/product/generic

现在,我不知道如何将其刷新到设备!由于某种原因,fastboot 不再在我的设备上运行。我原本以为可以通过 TWRP 恢复来刷新

.zip
,但实际上还有很多其他图像。经过大量搜索后,我运行了以下命令:

# first, build the target-files .zip
. build/envsetup.sh && lunch tardis-eng
mkdir dist_output
make dist DIST_DIR=dist_output

./build/tools/releasetools/ota_from_target_files dist_output/aosp_arm-target_files.zip ota_update.zip

但收到错误消息

target build has specified no recovery

那么,谁能告诉我如何消除这个错误,或者最好是如何闪烁各种图像和 zip,以及哪些?

我将非常感激。

android ubuntu-16.04 android-source android-build
1个回答
0
投票

我现在也遇到同样的问题。问题解决了吗?

© www.soinside.com 2019 - 2024. All rights reserved.