solohsu
e2fb9709e4
Ensure necessary system props
...
Some other Magisk modules may override the system props we set, e.g.
compiler-filter, which will likely result in boot loops.
We PLT hook native getSystemProp implementation methods to make sure
the values of related system props are always what we want.
Fix #156 .
2019-03-16 14:10:25 +08:00
solohsu
66814e6cae
Rename Riru module id
2019-03-12 20:16:07 +08:00
solohsu
c44086bd0b
Fix IncompatibleClassChangeError when invoking original method
2019-03-12 16:49:38 +08:00
solohsu
bbd2f77c9e
Remove redundant modules loading
2019-03-11 02:50:14 +08:00
solohsu
c28c2cb065
Fix inconsistent use_white_list flag
...
Still, app_data_file is not accessible to some process, e.g. bluetooth
process on some devices, hence they would get a wrong use_white_list
flag.
What's worse is that these process cannot know whether they are
black/white listed or not. As a workaround we take a black/white list
snapshot in zygote.
2019-03-10 22:28:09 +08:00
solohsu
d5cda2bd98
Review the process of bootstrap
...
Fix potential bootloop when using dynamic module list mode.
2019-03-10 17:05:06 +08:00
solohsu
b5b3280c9f
Use a more stable symbol to deoptimize method
...
Now deoptMethod API supports all Android versions >= 6.0
2019-03-10 08:59:34 +08:00
solohsu
30e7dfd3d8
Wait GC to complete before each hook
2019-03-06 17:51:03 +08:00
solohsu
bb4fcffe20
Fix potential bootloop on OnePlus devices when using black/white list mode
2019-03-02 16:37:23 +08:00
solohsu
ff595542c4
Add a Riru module api "shouldSkipUid"
...
to skip uid filtering in riru-core
2019-03-02 02:47:58 +08:00
solohsu
37bf64a1ee
Use native methods instead of parameters passing
2019-02-28 20:08:03 +08:00
solohsu
2ac5eb19c9
Suspend all threads when doing hook stuffs to prevent crashes caused by GC
2019-02-28 18:05:01 +08:00
solohsu
9a0044b674
Add a switch to enable boot image deoptimization selectively
2019-02-28 00:51:06 +08:00
solohsu
628d4e7ab0
Add an interface to deoptimize specified ArtMethod for Android Pie
2019-02-27 23:51:10 +08:00
solohsu
f473834c7b
Fix dynamic modules is always enabled when black/white list mode is on
2019-02-24 20:46:20 +08:00
solohsu
a80eae7190
Deoptimize boot image on runtime start.
...
All framework methods should be hook-available now
2019-02-24 19:10:15 +08:00
solohsu
10815d3176
Fix bootloop
2019-02-22 22:48:40 +08:00
solohsu
65c1064620
Remove test code
2019-02-22 22:37:34 +08:00
solohsu
2f871cdbf6
Fix fatal error caused by not whitelisted files opened in zygote
2019-02-22 16:50:02 +08:00
solohsu
9e21bc9e19
Bring back new black/white list mode
2019-02-22 11:33:07 +08:00
solohsu
3fb6a478df
Move config manager to Java world
2019-02-20 19:59:35 +08:00
solohsu
2b6a39bd1a
Refactor dynamic modules feature
2019-02-20 15:00:19 +08:00
solohsu
aed3318ee3
Remove global mode option and ensure bootstrap hooks installed for all zygotes
2019-02-20 14:23:55 +08:00
solohsu
8b0a9fc11e
Uncomment logging codes
2019-02-20 03:05:46 +08:00
solohsu
4b55e3d033
Fix "ELOOP: too many symbolic links encountered"
2019-02-17 04:32:54 +08:00
solohsu
68cf907041
Disable hidden API policy on Android Pie
2019-02-15 14:37:36 +08:00
solohsu
af885e7f31
Make sure bootstrap hooks working
2019-02-11 16:36:20 +08:00
solohsu
285ced4cf9
Fix IllegalAccessException via inline hooking method "IsInSamePackage" in libart.so, using Whale framework
2019-02-09 20:29:03 +08:00
solohsu
084496b4da
Fix installer app is not hooked in some cases
2019-02-05 21:47:36 +08:00
solohsu
90b2f72721
Revert "Migrate to new EdXposedManager installer app"
...
This reverts commit 0327664
2019-02-05 16:21:51 +08:00
solohsu
0327664f3e
Migrate to new EdXposedManager installer app
2019-02-04 03:27:46 +08:00
solohsu
bb1ac0349c
Fix system_server hook not working when using whitelist mode
2019-02-04 03:24:29 +08:00
solohsu
a0d713715d
Add a debugging switch to enable instant modules loading
2019-01-29 23:40:59 +08:00
solohsu
a362c984c9
Fix global mode not working properly
2019-01-29 20:19:50 +08:00
solohsu
ce5c2bbe47
Add support for EdXp Manager
2019-01-27 19:35:33 +08:00
solohsu
d57d602420
Fix memory issues when hooking too many methods in one process
2019-01-25 22:08:42 +08:00
solohsu
4fc020501d
Support arch x86 and x86_64
2019-01-22 20:06:37 +08:00
solohsu
117d3b2ecd
Remove debug dex path
2019-01-21 00:58:09 +08:00
solohsu
628ac9fd33
Migrate to GitHub
2019-01-19 01:54:14 +08:00