Commit Graph

54 Commits

Author SHA1 Message Date
LoveSy 9553af5bb7 Move sandhook cache to /data/misc
Close #681
2020-12-24 21:36:54 +08:00
LoveSy c84c09b2d5 Revert "Optimize dexmaker for yahfa"
This reverts commit 1dde1467f89f697de736db0eb0d21e9043113884.
2020-12-24 21:36:54 +08:00
LoveSy 8c838c6d6d Enable yahfa's cache 2020-12-24 21:36:54 +08:00
LoveSy ba6c61fc1e Optimize dexmaker for yahfa 2020-12-24 21:36:54 +08:00
LoveSy 3f769e51e8 Revert Gradle changes 2020-12-13 14:02:21 +08:00
kotori0 9c0a5d6abc Fix SandHook build 2020-12-11 17:14:54 +08:00
kotori0 de1dd6cdcf Fix gradle errors 2020-12-11 14:27:47 +08:00
kotori0 35bdae390b Add SandHook-hooklib to source tree 2020-12-11 03:31:56 +08:00
LoveSy 2c3eee62c0 Avoid entrypoint overwritten in Android R 2020-12-10 21:57:12 +08:00
LoveSy 598d555e02 Enable xposed api for R for pending hook 2020-12-10 21:57:12 +08:00
LoveSy b577d4c2b3 Fix native crashes in R 2020-12-10 21:57:12 +08:00
LoveSy e36c3ed314 Merge with latest Yahfa 2020-12-10 21:57:12 +08:00
LoveSy f5f2582efb Fix debug build 2020-11-28 03:17:12 +08:00
LoveSy 103c7aa867 Fix API in edconfig 2020-11-25 19:09:22 +08:00
LoveSy 6c1761ae54 Fix class conflict 2020-11-24 23:25:01 +08:00
LoveSy 14b85366a1 Fix build bug 2020-11-24 23:25:01 +08:00
LoveSy 0ece9b141d Better Hidden 2020-11-24 23:25:01 +08:00
solohsu e12c40b408 Add an annotation to remind compatibility checking 2020-08-02 18:29:16 +08:00
solohsu 6b7c8e4942 Android R: add hooker for new method signature
com.android.server.SystemServer#startBootstrapServices(com.android.server.utils.TimingsTraceAndSlog)
2020-08-01 23:48:10 +08:00
solohsu e4f24e4674 Fix debug build
This resolves #584
2020-07-30 15:56:31 +08:00
Victor Tseng efe0869390 use paths in native ConfigManager
instead of duplicating them all over native and managed space...
there are many of them and most of them are quite inconsistent...
2020-03-24 12:31:45 +08:00
Jim Wu 37f6ae523d Optimize: remove redundant judgment from SandHook 2019-12-19 18:09:53 +08:00
solohsu f6d2e3b62f Optimize module loading under dynamic-modules mode
by only loading newly added or updated modules
2019-06-19 16:35:20 +08:00
solohsu 5cba146185 Whale: fix bootloop 2019-06-17 22:45:01 +08:00
solohsu 661a675a09 Black/White mode: postpone initZygote callbacks
in case some modules hook methods in zygote, which would be
propagated into blacklisted processes
2019-06-17 16:13:21 +08:00
solohsu 3334a6d9f6 Uniform log tags 2019-06-14 15:20:10 +08:00
solohsu ed968eb7cc Exclude WebViewLoader, webview_zygote and isolated processes 2019-06-14 15:20:10 +08:00
solohsu fe10afb663 Use ComposeClassLoader 2019-06-06 11:39:28 +08:00
solohsu 18bd0a8c0f Wait to hook static methods once their trampolines are fixed up 2019-06-05 00:09:59 +08:00
solohsu c38affbf3a Refactor Java code 2019-06-05 00:09:59 +08:00
solohsu c362449e33 Refactor native code 2019-06-05 00:09:59 +08:00
solohsu a8576708fb Temporary fix for hooker method index exceeding method cache size 2019-05-17 15:02:39 +08:00
solohsu 83ecd3ae97 Deoptimize resources hook related methods only if needed
For now deoptimization is only done on MIUI with resources hooking enabled.
2019-05-16 21:45:15 +08:00
solohsu 975bfd20cc Fix crash caused by StrictMode in systemui process 2019-05-16 21:21:18 +08:00
solohsu 17c703e74e Fix crashes when forking webview_zygote on OnePlus devices 2019-05-01 01:03:15 +08:00
solohsu b99089fafa Bump version 2019-04-30 17:35:45 +08:00
solohsu 7d5a72b683 Dynamically create XResourcesSuperClass and XTypedArraySuperClass
To support ROMs using custom Resources subclasses.
2019-04-30 00:23:56 +08:00
solohsu ee4d48c1b4 Add a native method to remove final flag of class 2019-04-29 20:26:27 +08:00
solohsu 20c83e4db7 Postpone XResources native methods registering 2019-04-29 20:20:56 +08:00
solohsu a325ebe255 Merge branch 'master' into resources-hook
# Conflicts:
#	edxp-whale/src/main/java/com/elderdrivers/riru/edxp/whale/config/WhaleHookProvider.java
#	edxp-yahfa/src/main/java/com/elderdrivers/riru/edxp/yahfa/config/YahfaHookProvider.java
2019-04-24 11:11:05 +08:00
solohsu 2bf1acf601 Fix deopter not working 2019-04-24 10:24:28 +08:00
solohsu bc8b2bc16b Add resources hooking support for all variants 2019-04-23 00:18:06 +08:00
solohsu 3930799086 Disable resources hooking when initialization failed 2019-04-22 22:55:48 +08:00
solohsu bf9b270775 Add support for resources hooking. (2/2) 2019-04-22 16:12:18 +08:00
solohsu 6804043a6c Edxp-YAHFA: minify build 2019-04-20 12:27:23 +08:00
solohsu c13ae31b4c Always use latest hiddenapi-stub jar built from sources 2019-04-20 12:23:14 +08:00
solohsu 7c7928760a Pull out common codes 2019-04-03 01:51:13 +08:00
solohsu 346254f50b Generate edconfig for each backend 2019-03-21 23:48:01 +08:00
solohsu d546ecd81c Clean template_override directory before build 2019-03-21 20:48:16 +08:00
solohsu e1ccb12eac Keep dalvikdx and dexmaker jars up-to-date automatically 2019-03-21 18:33:15 +08:00