- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 Android OTA系统升级---原理二
在一文中已经说明,android系统进行OTA包升级是通过/cache/recovery/command,与系统通信,接收升级命令指令,详细可以查看源码: bootable/recovery/recovery.c. //bootable/recovery/recovery.c的入口函数 main:intmain(int argc, char **argv) { tim
2017-11-29 20:47:33 616
原创 Android OTA系统升级---原理一
最近公司有个需求需要搭建服务器,通过对终端系统进行网络升级。对相关知识进行整理。android中OTA进行升级,首先需要使用源码中OTA升级包打包工具: build/tools/releasetools/ota_from_target_files 生成OTA包。包有两类:整体完全升级包和增量升级包。在android系统编译环境下,在终端下使用make otapackage生成。
2017-11-29 20:04:10 4066
原创 Ubuntu 下执行sh脚本 报错 :No such file or directory
Ubuntu 下执行sh脚本 报错 :-bash: ./build_xx.sh: /bin/sh^M: bad interpreter: No such file or directory执行sh脚本报这个错,很是郁闷,但是目录下的确有这个文件。网上搜索找到答案--https://superuser.com/questions/344533/no-such-file-or-director
2017-11-29 09:32:43 5242
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人