android 短信与电话模块分析 目的: 1. 何为AT指令? 2. 分析源码, 确认at指令的发送以及返回信息的内容, 是否可以抛到上层, 3. 当前的开关机检测机制是否准确? 4. 在适配rom的时候, 这方面涉及的到配置有哪些? rc文件, so库, system.prop at指令 AT指令是一种 Command language, 也叫…
下载busybox busybox下载 安装 root 系统 将busybox push 到 /system/xbin 下, 执行 busybox --install . 背景 由于刷机努比亚z18 mini, 导致相机启动不起来, 同样的mokee rom 在另一台手机上可以. mokee rom 刷机不更新 vendor分区, 那么出问题的也只…
译文 This repository contains tools and libraries for working with Android Verified Boot 2.0. Usually AVB is used to refer to this codebase. What is it? Verified boot is the pro…
工具 split_bootimg.pl 是一个perl 写的脚本工具, 按照boot.img 格式读取 mkbootfs, mkbootimg, bootsigner: 编译源码会在out/host/linux-x86/bin 下生成, 也可以从官网上下载 具体步䯅 split_bootimg.pl boot.img # 会得到 boot.img-…
FAQs and Common errors whille building custom roms (转) Disclaimer: Code: All these FAQs and Solutions are taken from my knowledge and experience if anything wrong please point…
性能优化 协议通信重构 就重构来说, 也经历了好几个项目了, 以前对重构一直也没有感觉, 只是看见代码逻辑混乱,代码风格丑陋, 然后按着自己的思维方式重新实现一番。但是在整个过程中, 没有涉及到算法, 没有注重内存,没有用上复杂的设计模式, 所以,这样的重构,总给我一种虚得感觉。 重构是为了什么呢? 下意识里,还是为了高效,运行的高效。 然而经历得…
主要是内核代码, vendor, device 下个文件夹下的工作. vendor 数据,可以在 /vendor, /system/vendor 下获取到 kernel 的源码应该也不是问题,剩下的就是devices下的工作 为了确保文件的完整性,将现有系统下的所有可能的文件都copy 下来,但是有些bin 文件没有权限, 己经是root用户了 查…
android ndk编程 在gsm语音监听库编译arm64-v8a库时, 总是会出现闪退 这样的闪退, android studio 的logcat也看不出日志, 所以还是要使用adb logcat 将日志存储在文件中分析 首先尝试了在 cmake 中添加 -std-gnu99 -g 使so 库可调试,看看是不是因为标准的问题, 这个时候就显示出…