-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dreamland Manager 显示框架未安装 #38
Comments
在开机后首次启动 Dreamland Manager 时,logcat 显示以下错误:
|
I don't understand Chinese but I get the same issue probably, running lineageos gsi with android 14 |
初步确认问题如下:在我的系统上
注意 Dreamland 框架实际上已经激活(能主动 hook Manager 进程)但其和 Manager 进程的通信出现了一些问题,使得 Manager 无法识别激活状态。 下图为在此处添加 debug print 获取到对应的 Reflection 上所有声明过的 field。 我的系统基于 AP2A.240805.005,即 Android 14.0.0 R55,对应代码在此处 ,和截图对比可以发现实际运行时其它 field 都有,唯独少了 Dreamland 获取 Dreamland/app/src/main/java/top/canyie/dreamland/Main.java Lines 165 to 169 in d4dbb2e
可见 Dreamland 需要它的唯一用处是通过 @Override
public LoadedApk getPackageInfoNoCheck(ApplicationInfo ai) {
return getPackageInfo(ai, mCompatibilityInfo, null /* baseLoader */,
false /* securityViolation */, true /* includeCode */, false /* registerPackage */);
} 将该函数的 stub 修改为这一 overload 并且删除获取 值得注意的是,这一单参数 overload 是最近的 Android 版本引入的,Android 13 QPR 1 的源码中还没有这个 overload 的声明,因此这一改动会使得 Dreamland 不再兼容 Android 13 以及更早的版本,所以暂时还不能提 PR。 根据 @Master0fEvil 的说法,如果 LineageOS 21 GSI 也存在此问题,可能是 LineageOS 对 @Master0fEvil You can use translation software to understand the contents of this thread. My apologies for the inconvenience. I prefer to post issues in Chinese in a predominantly Chinese community to facilitate smoother communication. Btw, thanks for reporting your experience! |
@realSaltyFish it's all good, I'm using lineage's default browser ATM so don't have a way to translate, but I found out lineageOS 21 already has built in spoofing for microg, so that's probably why this spoofing method isn't working lol |
LineageOS, Android 14 (API 34), arm64-v8a, Magisk 27.0, Dreamland 2.1_2106, Dreamland Manager 0.0.8
在安装梦境框架前已经启用了 Zygisk,从 Magisk 刷 zip 包时也显示安装了 Zygisk flavor,但 Dreamland Manager 显示框架未安装(The device does not currently support the dreamland framework)
Magisk 日志如下:
日志中出现
riru_dreamland
是正常的吗?尝试过禁用 Zygisk 并安装远古版本 Riru,此时 Magisk 显示安装了 Riru flavor 的梦境框架,但是重启后 Manager 依然显示未安装。
鄙人不才,对安卓的了解不如大佬深入,但也算有一点理解和排查问题的能力,大佬需要什么信息尽管说。
The text was updated successfully, but these errors were encountered: