随笔分类 -  android

摘要:https://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp 阅读全文
posted @ 2020-11-26 13:48 蒲城小农 阅读(217) 评论(0) 推荐(0)
摘要:在设备树中添加节点 chosen { stdout-path = &uart3; }; 将uart3作为console aliases { serial0 = &uart2; }; chosen { stdout-path = "serial0:115200n8"; }; 将uart2作为节点,并将 阅读全文
posted @ 2020-11-05 10:00 蒲城小农 阅读(836) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/tkwxty/article/details/105834911 一.问题现象 当我们尝试对Android源码下面的system/core/liblog源码目录下面的文件添加一些接口时,适配问题出现了,编译一直报错,如下所示: QSSI: not enab 阅读全文
posted @ 2020-10-10 10:57 蒲城小农 阅读(3927) 评论(0) 推荐(0)
摘要:LOCAL_MODULE_TAGS :=user eng tests optionaluser: 指该模组只在 user 版本下才编译eng: 指该模组只在 eng 版本下才编译tests: 指该模组只在 tests 版本下才编译optional:指该模组在所有版本下都编译 阅读全文
posted @ 2020-09-26 23:02 蒲城小农 阅读(959) 评论(0) 推荐(0)
摘要:作为android系统的核心机制,binder几乎贯穿整个android系统,binder的工作流程如下 1:客户端首先获得服务器端的代理对象。所谓的代理对象实际上就是在客户端建立一个服务的的“引用”,该代理对象具有服务的的功能,使其在客户端访问服务端的方法就像访问本地方办法一样, 2:客户端通过调 阅读全文
posted @ 2020-09-02 19:53 蒲城小农 阅读(351) 评论(0) 推荐(0)
摘要:1.system.img make systemimage 作用:它包含了整个系统,android的framework,application等等,会被挂接到 "/" 上,包含了系统中所有的二进制文件。(system.img是out/target.product/generic/目录下system目 阅读全文
posted @ 2020-08-20 19:03 蒲城小农 阅读(2041) 评论(0) 推荐(0)
摘要:http://gityuan.com/2015/12/19/android-process-category/ 阅读全文
posted @ 2020-07-27 11:26 蒲城小农 阅读(98) 评论(0) 推荐(0)
摘要:1. adb root 2. adb disable-verity (最新的adb 工具包才支持adb disable-verity命令,如果是Linux开发环境,则可使用工程编译结果目录out/host/linux-x86/bin下的adb执行文件) 3. adb reboot 重启设备 4. a 阅读全文
posted @ 2020-07-16 17:29 蒲城小农 阅读(1052) 评论(0) 推荐(0)
摘要:bootchart是用于记录开机时进程启动时间的工具 默认情况下是没有启用的,在init.rc中是有启动的,看如下代码 1 # Start bootcharting as soon as possible after the data partition is 2 # mounted to coll 阅读全文
posted @ 2020-07-14 19:37 蒲城小农 阅读(939) 评论(0) 推荐(0)