-
Notifications
You must be signed in to change notification settings - Fork 647
Riru v22 support #623
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
Riru v22 support #623
Conversation
|
Currently YAHFA working but SandHook failed to hook |
|
The issue above seems to be an old compatible issue with Android R (unable to hook static methods). So this PR is ready to be merged. |
Hi, i built the Yahfa version from your fork and my device failed to boot with it. Attached is the build of Yahfa |
If the issue persist with latest Canary Magisk, it's most probably because Magisk doesn't load sepolicy. |
I used Magisk canary v 21101 to flash which version should be used? |
|
topjohnwu/Magisk@0064b01
Any version after this commit.
|
It also struck on boot attached is the log. Magisk : 21005 |
|
@ayush5harma It seems there are some issue with your compilation process. Submodule |
This worked , grabbed the yahfa release form artifacts and it flashed and booted with success but the manager is showing inactive status (framework installed but not active) 😕 |
logs? |
|
Grab logs from adb please. |
Sorry about that please check these |
Are you using non-official EdXposed manager? log tag should be |
I enabled the modules and blacklisted apps upon restarting the same issue of installed but not active came up. Is blacklist mode causing this ? Turning off AppList mode fixed it again AppList mode is leading to installed but not active in both official and unofficial edxposed manager. UPDATE. : Enabling hide mechanism in riru fixed AppList mode .It wasn't enabled by default. And it's passing safetynet now. |
|
@ayush5harma I'm currently using white list mode on my main phone so it should work fine. |
@kotori2 yes it works now, AppList mode was causing it because hide wasn't enabled in riru by default. I enabled hide everything works well now. |
|
@ayush5harma I think Riru hide won't affect but who knows |
I actually read it in riru's readme : created an empty enable_hide file at that location rebooting enabled the hide mechanism, AppList mode started working, edxposed status was fixed and it now passes safetynet too which made me believe so |
|
i didn't use enabled_hide on riru and it passes safetynet just fine 😶 |
|
终于要合并这个pr了 |
TL;DR:
Installing this pr from CI will cause boot loop on ARM devices for now.Install from CI will work now.Breaking changes:
Issues:
Dobby messed up with backup functionAlready fixed.art::gc::Heap::PreZygoteForkon arm. They said they will look into it soon. Can't hook art::gc::Heap::PreZygoteFork on Android 11 with ARM jmpews/Dobby#109backupin debug build. This seems an old issue. I tried to fix with latest YAHFA, but it fails at callingbackup. I think @solohsu did some work arounds with older version of YAHFA. Anyway release build works fine,so I'm gonna just ignore this issue.android 11,调用backup崩溃 PAGalaxyLab/YAHFA#130Since now we can only getFixed in 1bfa9afClassLinkerinstance fromRuntime, we might need to getClassLinkerinstance offset for older version of Android.libsandhook-native.soneeds to be hide during installation.App list mode (aka Xposed Hide) seems dead. Needs further investigation.Solved by using self-compiled Riru v22. Official release is too old.riru-v22.0.zip
Notes:
If you want to try this pr out, comment_ZN3art2gc4Heap13PreZygoteForkEvrelated hooks/calls inedxp-core/include/art/runtime/gc/heap.h