solohsu
1b68d3fbe0
Change the default filter but not dex2oat-flags
...
dex2oat-flags will override all other filters, e.g."pm.dexopt.bg-dexopt"
2019-03-11 20:31:45 +08:00
solohsu
bbd2f77c9e
Remove redundant modules loading
2019-03-11 02:50:14 +08:00
solohsu
3097077261
Fix incomplete logs
2019-03-11 00:32:38 +08:00
solohsu
39109e27f1
Bump version
2019-03-11 00:12:23 +08:00
solohsu
2c49377ba2
Use logcat -f to save logs
2019-03-11 00:07:41 +08:00
solohsu
47c500b96d
Clean up loaded module callbacks for blacklisted app
...
Otherwise a few applications would get stuck at launch screen,
for unknown reason.
2019-03-10 22:34:51 +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
88e0d33c2a
Prepare v0.3.0.0_beta3
2019-03-09 14:20:55 +08:00
solohsu
d32b9b455c
Disable obfuscation for easy debugging
2019-03-09 14:15:17 +08:00
solohsu
921ac4d095
Fix bootloop caused by method access verification
...
On some devices, default compiler filter is set to "speed", where
"quicken" is needed to skip method access verification when accessing
backup method from hook method.
2019-03-09 14:12:28 +08:00
solohsu
2aa88718a0
Update README.md
2019-03-07 22:30:43 +08:00
solohsu
039e5060e7
Update README.md
2019-03-07 14:36:14 +08:00
solohsu
b13299ab1a
v0.3.0.0_beta2
2019-03-06 18:14:32 +08:00
solohsu
30e7dfd3d8
Wait GC to complete before each hook
2019-03-06 17:51:03 +08:00
solohsu
93cea40f85
Merge pull request #134 from C3C0/master
...
Perform explicit garbage collection before every backupAndHook
2019-03-06 17:41:42 +08:00
C3C0
bb635d05be
Perform explicit garbage collection before every backupAndHook
...
Gives GC a chance to do its work before every hook so there is less chance
it gets in the way in the middle of hooking procedure which does critical
memory block operations.
Attempts to fix GC related crashes such as those reported in #127
2019-03-06 08:53:08 +01:00
solohsu
4b38f4af5a
Revert "Suspend all threads when doing hook stuffs to prevent crashes caused by GC"
...
This reverts commit 2ac5eb1
2019-03-05 22:59:30 +08:00
solohsu
28204939d1
Clean up system.prop
2019-03-05 20:21:33 +08:00
Jim Wu
b589ca5acf
Add a '-'
2019-03-02 22:57:36 +08:00
solohsu
5fe1116a6e
Bump to v0.3.0.0
2019-03-02 20:30:00 +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
03ec9fa13f
Reduce unnecessary IO when using compat mode
2019-03-02 01:07:42 +08:00
solohsu
628a3ce5da
Fix compat mode not working correctly along with black/white list mode
2019-03-01 23:50:31 +08:00
solohsu
f74cf04361
Fix EdXposed Magisk module can't be loaded on some devices
2019-02-28 23:56:28 +08:00
solohsu
441106915f
Deoptimize methods in framework to make their callees hookable
2019-02-28 21:39:30 +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
Shauli Bracha
c94f5543c0
supolicy: added system_app to mlstrustedsubject ( #109 )
...
* supolicy: added system_app to mlstrustedsubject
* Update post-fs-data.sh
2019-02-25 21:54:00 +08:00
solohsu
0208d9f846
Change logcat pattern to write to error.log
2019-02-24 23:02:48 +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
367c4eb8ab
Fix versionCode
2019-02-24 20:44:44 +08:00
solohsu
cf66f9f217
Bump to v0.2.9.9_beta3
2019-02-24 19:14: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
7c08e34821
Remove unnecessary SELinux patch rules
2019-02-24 19:10:15 +08:00
solohsu
2686467bc9
Add logging
2019-02-24 19:09:15 +08:00
solohsu
e42a4e0979
Merge pull request #107 from C3C0/master
...
supolicy: added platform_app to mlstrustedsubject
2019-02-24 19:05:30 +08:00
C3C0
0cd00c915a
supolicy: added platform_app to mlstrustedsubject
...
This allows access of platform apps such as SystemUI to app data files
on devices having SELinux with MLS constrains.
Fixes bug #106 also discussed in #98
2019-02-23 23:53:54 +01:00
solohsu
1542487ffb
Bump to v0.2.9.9 beta2
2019-02-22 22:50:38 +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
15508e21c6
Add logging
2019-02-22 18:01:51 +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
6eae86eb0f
Support EdXposed Manager and Xposed Installer.
...
Priority: EdXposed Installer > EdXposed Manager > Xposed Installer
2019-02-22 00:15:43 +08:00
solohsu
56d8126202
Revert "Remove workaround for Application#attach"
...
This reverts commit bc878ec
2019-02-20 20:11:30 +08:00