会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
梦过无声
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
7
下一页
2025年9月17日
GPS简单模拟
摘要: 注册回调 LocationListener,listener 被封装在 receiver 中 @Override public void requestLocationUpdates(LocationRequest request, ILocationListener listener, Pendi
阅读全文
posted @ 2025-09-17 13:04 梦过无声
阅读(25)
评论(0)
推荐(0)
2025年9月3日
Android Input事件
摘要: EventHub // frameworks/native/services/inputflinger/EventHub.cpp status_t EventHub::openDeviceLocked(const char* devicePath) { ... // Get device name.
阅读全文
posted @ 2025-09-03 19:00 梦过无声
阅读(36)
评论(0)
推荐(0)
2025年6月18日
Android Cgroup
摘要: 检查rc文件是否存在 static constexpr const char* CGROUPS_RC_PATH = "/dev/cgroup_info/cgroup.rc"; if (access(CGROUPS_RC_PATH, F_OK) == 0) { LOG(WARNING) << "Att
阅读全文
posted @ 2025-06-18 15:12 梦过无声
阅读(189)
评论(0)
推荐(0)
2025年1月14日
UiccCard流程.md
摘要: 官方示意图 * Following is class diagram for uicc classes: * * UiccController * # * | * UiccSlot[] * # * | * UiccCard * # * | * UiccProfile * # # * | * Uicc
阅读全文
posted @ 2025-01-14 15:21 梦过无声
阅读(56)
评论(0)
推荐(0)
2024年6月25日
SystemProperties修改属性流程
摘要: 设置属性 // frameworks/base/core/java/android/os/SystemProperties.java native_set(String key, String def); // frameworks/base/core/jni/android_os_SystemPr
阅读全文
posted @ 2024-06-25 10:36 梦过无声
阅读(117)
评论(0)
推荐(0)
2024年6月24日
Xposed源码笔记
摘要: Xposed XposedBridge hook模板 public static XC_MethodHook.Unhook findAndHookMethod(Class<?> clazz, String methodName, Object... parameterTypesAndCallback
阅读全文
posted @ 2024-06-24 18:42 梦过无声
阅读(512)
评论(0)
推荐(0)
2024年6月21日
Riru和Lsp
摘要: 参考 lsposed运行流程分析 riru 通过修改系统属性ro.dalvik.vm.native.bridge将libriruloader.so注入到zygote进程中 zygote会执行LoadNativeBridge函数, LoadNativeBridge函数会根据属性ro.dalvik.vm
阅读全文
posted @ 2024-06-21 18:52 梦过无声
阅读(548)
评论(0)
推荐(0)
2024年5月24日
Frida内置
摘要: Frida Gadget 方案 Frida Gadget 配置文件 { "interaction": { "type": "script-directory", "path": "/usr/local/frida/scripts" } } 网络方式 { "interaction": { "type"
阅读全文
posted @ 2024-05-24 13:54 梦过无声
阅读(667)
评论(0)
推荐(0)
AOSP构建
摘要: 五种预编译选项 var prebuiltTypes = map[string]string{ "SHARED_LIBRARIES": "cc_prebuilt_library_shared", "STATIC_LIBRARIES": "cc_prebuilt_library_static", "EX
阅读全文
posted @ 2024-05-24 13:23 梦过无声
阅读(176)
评论(0)
推荐(0)
2024年5月18日
ptrace attach 修改进程内存
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/ptrace.h> #include <stdint.h> #include <errno.h> #include <sys/wait.h> int main(int argc, char* a
阅读全文
posted @ 2024-05-18 23:40 梦过无声
阅读(155)
评论(0)
推荐(0)
1
2
3
4
5
···
7
下一页
公告