一、ota 升级包制作:
完整包:
1.编译
source build/envsetup.sh
lunch msmxxxx_64-user
make -j8 dist
2.生成 update.zip 升级包
./build/tools/releasetools/ota_from_target_files --block -p out/host/linux-x86/ -k build/target/product/security/testkey -v out/target/product/msmxxxx_64/obj/PACKAGING/target_files_intermediates/msmxxxx_64-target_files-eng.ts_cwt.zip update.zipIncremental OTA:
cp out/target/product/msmxxxx_64/obj/PACKAGING/target_files_intermediates/msmxxxx_64-target_files-eng.ts_cwt.zip ota_update/msmxxxx_64-target_files-eng.ts_cwt_v1.zip
make installclean
source build/envsetup.sh
lunch msmxxxx_64-user
make -j8 distcp out/target/product/msmxxxx_64/obj/PACKAGING/target_files_int