Commit Graph

115 Commits

Author SHA1 Message Date
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
solohsu 3fb6a478df Move config manager to Java world 2019-02-20 19:59:35 +08:00
solohsu e8b18bcf6a Fix wrong version 2019-02-20 17:48:11 +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 f417209b81 Revert "Save zygoteInit callbacks to invoke after process forked"
This reverts commit 8c4682e
2019-02-20 13:20:39 +08:00
solohsu 6254660b9b Prevent OnePlus Android P from bootloop 2019-02-20 03:05:46 +08:00
solohsu 8b0a9fc11e Uncomment logging codes 2019-02-20 03:05:46 +08:00
Jim Wu 11f4ca8d82
Fix log path 2019-02-19 13:25:18 +08:00
Jim Wu a315373de3
Fix bugs 2019-02-19 12:43:01 +08:00
mlgmxyysd d23fa42483 Use old Installer to save log 2019-02-19 12:18:27 +08:00
Jim Wu 0a778fc1c0
Bump version 2019-02-19 00:35:47 +08:00
Jim Wu c426f41cf8
Bump version 2019-02-19 00:35:14 +08:00
Jim Wu c8dda9fc79
Bump version 2019-02-19 00:34:28 +08:00
Jim Wu bda5d1c760
Bump version 2019-02-19 00:32:43 +08:00
Jim Wu f3db0011cf
Bump version 2019-02-19 00:31:08 +08:00
Jim Wu 210866d49d
Migrate Log Catcher 2019-02-19 00:30:12 +08:00
Jim Wu 3554b66293 Bump version (#87)
* Bump version

* Bump version

* Sync description
2019-02-18 17:08:48 +08:00