-
Notifications
You must be signed in to change notification settings - Fork 220
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
Pine.disableProfileSaver() causes SIGILL ILL_ILLOPC on MiUi 12 #18
Labels
bug
Something isn't working
Comments
make sure you bypass the restriction, using tiann/freereflection or something! |
Because I also have MIUI 12 and no problems here. I added a restriction bypass before using Pine. |
Can confirm on Mi 10i (Redmi Note 9 Pro) with MIUI 12.
0x7344add348 (address of crash point) - 0x7344add33c (address of ProcessProfilingInfo) = 0xc = 12, which smaller than the trampoline size on arm64. |
canyie
added a commit
that referenced
this issue
Dec 11, 2021
Android 12 changes the symbol of `ProcessProfilingInfo`, just follow the change. MIUI added a new function and move the implementation to it, the old function just call the new one, cannot be hooked due to small size, just hook the new one instead. Also removed the previous workaround as we really fixed this issue. This fixes #18.
Thank you! |
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
App crashes instantly when launched
Only happens on MIUI 12 (Android 11), works fine on other Android 11 roms.
Logcat
Some examples of affected phones (probably just all MIUI 12 phones):
Edit: Also seems to happen on Realme and Oppo phones
The text was updated successfully, but these errors were encountered: