Commit Graph

30 Commits

Author SHA1 Message Date
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 54f5c435c5 Fix WhaleEdxpImpl not injected 2019-06-05 01:58:15 +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 ffdfe1a0cb Update Whale to asLody/Whale@c812ddd385 2019-05-17 00:10:41 +08:00
solohsu 34f9daebef Fix build errors 2019-05-16 23:03:28 +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 ae22d9839a Add resources hooking support for all variants 2019-04-24 10:47:27 +08:00
solohsu 2bf1acf601 Fix deopter not working 2019-04-24 10:24:28 +08:00
solohsu ee0995528a Minify all variant builds 2019-04-23 00:18:28 +08:00
solohsu bc8b2bc16b Add resources hooking support for all variants 2019-04-23 00:18:06 +08:00
solohsu c13ae31b4c Always use latest hiddenapi-stub jar built from sources 2019-04-20 12:23:14 +08:00
solohsu b8228e1da9 Merge asLody/Whale@e589299bbd 2019-04-03 11:05:32 +08:00
solohsu 7c7928760a Pull out common codes 2019-04-03 01:51:13 +08:00
solohsu 5e271ec3e5 Whale: rename package 2019-04-03 01:50:51 +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
solohsu 2194551c39 Update Whale binaries to asLody/whale@1315a5a74a
Previous one is built on wrong revision
2019-03-20 11:16:22 +08:00
solohsu d0b1d7c52b Introduce Whale hook for Android 2019-03-20 10:29:51 +08:00