在构建android源代码后,如何将flash应用到设备上?
因此,我在Ubuntu16.04 LTS虚拟机上构建了Android在构建android源代码后,如何将flash应用到设备上?,android,ubuntu-16.04,android-source,android-build,Android,Ubuntu 16.04,Android Source,Android Build,因此,我在Ubuntu16.04 LTS虚拟机上构建了Android10.0.0_r2源代码,通过Google Compute Engine为aosp_arm提供了很多.zip和.imgs in/out/target/product/generic 现在,我不知道如何将其闪存到设备上!由于某些原因,fastboot不再在我的设备上工作。我希望有一个.zip,我可以通过TWRP恢复闪存,但是有很多其他图像。搜索了很多之后,我运行了以下命令: # first, build the target-fi
10.0.0_r2
源代码,通过Google Compute Engine为aosp_arm
提供了很多.zip
和.img
s in/out/target/product/generic
现在,我不知道如何将其闪存到设备上!由于某些原因,fastboot不再在我的设备上工作。我希望有一个.zip
,我可以通过TWRP恢复闪存,但是有很多其他图像。搜索了很多之后,我运行了以下命令:
# 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
但是收到了一个错误,说
目标生成未指定恢复
那么,有谁能告诉我如何消除这个错误,或者更好地说,如何开始闪烁各种图像和拉链,以及哪些
我真的很感激