How to make OTA.zip for SDcard Upgrade
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
在6582上一个新feature, 从UI入口支持SD卡升级, 在此介绍怎么去做这个升级包及配置相关文件 OTA.zip
[SOLUTION]
1. Enable SystemUpdate: EngineerMode--->Others--->System update options--->Sd card Update
2. Build : makemtk [project] new
makeMtk [project] otapackages
Full package:[project]-ota-eng.[username].zip ,rename as updat.zip;
or delta package, please use command : build/tools/releasetools/ota_fROM_target_files -n -i old.zip
new.zip update.zip
3. META-INF(/com/google/andriod/updater-script) (from full package)
scatter.txt:partition Layout information(from full package)
type.txt: type of update package(from full package)
config.xmlconfigure follow info by yourself ,please preference build.prop)
4.将以上文件 files (update.zip, META-INF, scatter.txt, type.txt, configure.xml)打包为 **.zip
5. copy **.zip to SD card , entry setting--->system update
config.xml info:
– Build number: The build number of the new version
– Language: The default language of the new version
– Oem: The oem of the new version
– Operator: The operator of the new version
– Product: The product of the new version
– Publish time: When the new versionis published
– Version name: The version of the new version
– android number: The version of Android (e.g. Android 4.2)
– Flavor:
– Notes: What’s newin the package, shown to users
在6582上一个新feature, 从UI入口支持SD卡升级, 在此介绍怎么去做这个升级包及配置相关文件 OTA.zip
[SOLUTION]
1. Enable SystemUpdate: EngineerMode--->Others--->System update options--->Sd card Update
2. Build : makemtk [project] new
makeMtk [project] otapackages
Full package:[project]-ota-eng.[username].zip ,rename as updat.zip;
or delta package, please use command : build/tools/releasetools/ota_fROM_target_files -n -i old.zip
new.zip update.zip
3. META-INF(/com/google/andriod/updater-script) (from full package)
scatter.txt:partition Layout information(from full package)
type.txt: type of update package(from full package)
config.xmlconfigure follow info by yourself ,please preference build.prop)
4.将以上文件 files (update.zip, META-INF, scatter.txt, type.txt, configure.xml)打包为 **.zip
5. copy **.zip to SD card , entry setting--->system update
config.xml info:
– Build number: The build number of the new version
– Language: The default language of the new version
– Oem: The oem of the new version
– Operator: The operator of the new version
– Product: The product of the new version
– Publish time: When the new versionis published
– Version name: The version of the new version
– android number: The version of Android (e.g. Android 4.2)
– Flavor:
– Notes: What’s newin the package, shown to users
