canyie / Dreamland

A third-party Xposed framework implementation which supports Android 5.0~14.
GNU General Public License v3.0
757 stars 72 forks source link

白名单模式不太对 #7

Closed coderstory closed 3 years ago

coderstory commented 3 years ago

app和magisk包用了群里的测试版 发现问题如下

默认白名单模式下勾选 android 和systemui 在

 public void handleLoadPackage(XC_LoadPackage.LoadPackageParam loadPackageParam){
           XposedBridge.log("on handleLoadPackage");
           XposedBridge.log("current package "+loadPackageParam.packageName);
          .....

的日志中没找到android 和 systemui的打印输出 实际观测hook没生效

反而发现了打印了几个白名单中没有勾选的app

2020-12-09 16:04:42.500 9291-9291/? I/PineXposed: current package com.meizu.flyme.sdkstage
2020-12-09 16:04:42.936 9360-9360/? I/PineXposed: current package com.meizu.flyme.update
2020-12-09 16:04:45.604 10338-10338/? I/PineXposed: current package com.qualcomm.qti.sva
2020-12-09 16:04:51.683 10547-10547/? I/PineXposed: current package com.meizu.connectivitysettings
2020-12-09 16:04:53.693 10860-10860/? I/PineXposed: current package com.android.keychain

开启全局模式下可以看到对应的日志打印

2020-12-09 16:00:30.021 2299-2299/? I/PineXposed: current package com.android.systemui

但是全局模式下系统黑屏【日志稍后提供】

coderstory commented 3 years ago

all_2020-12-09_16-18-47.log

coderstory commented 3 years ago

flyme 8.2.0.0 meizu 17 android 10

canyie commented 3 years ago

systemui的问题还在查,不过可能没那么快,在学校没电脑,编译什么的很麻烦

canyie commented 3 years ago

systemui的问题也查清楚了,因为用了sharedUserId,导致getNameForUid返回的不是包名 在学校没电脑不好修复。。。

canyie commented 3 years ago

eee3cc519b473a3333fa9a55341b34d9cceb37b5