请问OTA 升级主要升级更新那些内容? 那些分区?
求仔细详细点?
http://blog.csdn.net/ylyuanlu/article/details/44457557
按照下面的命令执行一下就明白大概流程了,这是本地更新, 在线更新只不过就是如何获取代码了
ota_fullpath="./update.zip"
update_package=/cache/update.zip
result_dest=/cache/recovery/command
locale_path=/cache/recovery/last_locale
cp -a ${ota_fullpath} ${update_package}
mkdir /cache/recovery
echo "--update_package=/cache/update.zip" > ${result_dest}
echo -n "en_US" > ${locale_path}
rm -f $ota_fullpath
reboot recovery
照着这个命令执行就Okay, 这便是OTA 升级的核心部分!
Best Regards
Qing