PAGalaxyLab/YAHFA

does this support Android 12 factory release image?

vegedreamgagnoa opened this issue · 5 comments

I saw that library-release.aar is for Android R / 11. Does YAHFA provide support for Android 12 factory release/public image?

Thanks!

tag @rk700 @rk700

rk700 commented

Not yet. Some native hooks are required to fix the issue but I haven't figured it out. #151

@rk700 I tried to hook FixupStaticTrampolines but didn't solve the issue, fixing the classlinker offset/pointer not helping either. I keep exploring as well.

你可以稍微思考一下为啥给系统库函数挂钩不会崩溃?是否和dex2oat优化以后有关?是否可以像SandHook在安卓7之前使用的挂钩方法一样?
这几个问题你可以思考一下,100%可以解决这个问题。

Solved, I got it working now to hook successfully on Android 12

@vegedreamgagnoa What was the problem and how did you solve it?