Skip to content

remote · 跨进程数据类 ​

跨进程传递的数据模型(Parcelable)。server 与客户端之间通过 Binder 传递这些对象。

文件组成 ​

remote 顶层 ​

类内容
InstalledAppInfo已安装虚拟 App 信息(apkPath/odexFile/libPath/appId),客户端遍历模块时用
InstallResult安装结果
AppTaskInfo安装任务信息
VDeviceInfo伪造设备信息(设备信息伪造)
StubActivityRecordStub Activity 还原记录(Stub Activity)
PendingIntentData / PendingResultDataPendingIntent / 广播结果数据
ReceiverInfo接收器信息
SyncInfo同步信息
BadgerInfo角标信息
Problem问题记录
VParceledListSlice跨进程 List 传递

remote/vloc ​

类内容
VLocation伪造经纬度(含 toSysLocation 反检测)
VCell伪造基站(CID/LAC/MCC/MNC)
VWifi伪造 WiFi 扫描结果(SSID/BSSID/level)

os ​

类内容
VUserHandle虚拟用户句柄(getUid(userId, appId) 编码)
VUserInfo虚拟用户信息
VUserManager用户管理
VEnvironment虚拟环境路径(所有私有目录/odex/数据目录)
VBinder虚拟 Binder 工具

VEnvironment 是所有虚拟路径的来源——getDataAppPackageDirectory/getOdexFile/getVirtualLocationFile 等被 server 各服务使用,见 PMS 的目录布局。

数据类在系统中的流转 ​

每个 Parcelable 都是 server 与 client 之间一次 Binder 调用的载荷——理解它们的字段就是理解虚拟系统各服务的跨进程契约。

基于 VirtualApp 与 epic,仅供学习研究。VirtualApp 禁止商用。