系统是msm8953编译ota版本:
1).全编系统;
2).执行make otapackage 命令
3).将out/target/product/msm8953_64/obj/PACKAGING/target_files_intermediates/msm8953_64-target_files-eng.zhoujinyan.zip文件拷贝到OTA目录中
cp out/target/product/msm8953_64/obj/PACKAGING/target_files_intermediates/msm8953_64-target_files-eng.zhoujinyan.zip ./OTA/new.zip
4). 差分包
./build/tools/releasetools/ota_from_target_files -v -p out/host/linux-x86 -i ./OTA/old.zip ./OTA/new.zip ./OTA/update.zip
注:
1.OTA整包目录:out/target/product/msm8953_64/msm8953_64-ota-eng.zhoujy.zip
2.也可以用msm8953_64-target_files-eng.zhoujinyan.zip制作整包:
./build/tools/releasetools/ota_from_target_files -v --block -p out/host/linux-x86 ./OTA/msm8953_64-target_files-eng.zhoujinyan.zip ./OTA/new_full.zip