Commit Graph

68 Commits

Author SHA1 Message Date
swift_gan b9b10b510e AndroidQ : fix native hook & update sandhook 2019-09-19 17:12:37 +08:00
solohsu 9256898503 Delay the loaded package callbacks
util LoadedApk#getClassLoader is called
2019-06-27 16:34:46 +08:00
solohsu a26990ec99 Fix dummy resources classes not found when resources hook is disabled 2019-06-27 16:28:53 +08:00
solohsu d06cb1ffbd Instant modules: allow black/white mode to preload modules 2019-06-26 13:18:49 +08:00
solohsu 1df3d88c13 Instant modules: update module list in zygote before child process forked 2019-06-26 13:18:48 +08:00
solohsu 93170d9388 Bump to beta 2019-06-24 15:39:35 +08:00
solohsu 46073ea70a Fix EOL 2019-06-21 14:00:51 +08:00
solohsu ee2a3f5d02 Fix crash when hooked static method invokes class initialization 2019-06-20 21:42:13 +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 6dccef53d3 Add version info for locally building 2019-06-16 23:03:55 +08:00
AeonLucid db0a589b11 Add Appveyor versioning (#299)
* Add Appveyor versioning.

* Improve version format.

* Update version format.
2019-06-16 22:52:07 +08:00
solohsu c5791951db Fix exceptions when hooking pending methods 2019-06-16 00:54:11 +08:00
solohsu 11e25d9d84 Fix nullptr crash 2019-06-15 00:44:11 +08:00
solohsu ea57c60765 Fix class status checking on Oreo 2019-06-14 20:54:18 +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 7eaae6d898 Use inline hook to append allow-across-fork file whitelist 2019-06-14 15:20:10 +08:00
solohsu c4978b7344 Fix JNI ref leaks 2019-06-14 15:20:10 +08:00
solohsu 3d863cb4c2 Add support for Android Q (API Level 29) 2019-06-14 15:20:10 +08:00
solohsu 8e3afb0362 Fix bootloop 2019-06-06 14:45:51 +08:00
solohsu fe10afb663 Use ComposeClassLoader 2019-06-06 11:39:28 +08:00
solohsu 74144b8f1a Fix broken function 2019-06-05 02:32:20 +08:00
solohsu 692d43cc57 Fix SystemServer hook not working 2019-06-05 02:10:07 +08:00
solohsu d05bd0fe19 Fix SystemServer class not found 2019-06-05 00:20:51 +08:00
solohsu 18bd0a8c0f Wait to hook static methods once their trampolines are fixed up 2019-06-05 00:09:59 +08:00
solohsu e7cdc25ab1 Add Xposed API implementation for bootstrap hooks 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 be6e449fb4 Migrate to cmake 2019-06-05 00:09:59 +08:00
Jim Wu 6d1690f379
Fixes logs not appearing
ElderDrivers/EdXposedManager#16
ElderDrivers/EdXposed-Magisk#3
2019-05-31 14:22:06 +08:00
Jim Wu 3c86d1fe02
Update module description 2019-05-17 21:41:53 +08:00
solohsu 004caa9fef Differentiate with builds in Maigks repo 2019-05-17 21:34:04 +08:00
Jim Wu b298227f71
Update the name to the same as Magisk Repo 2019-05-17 20:28:34 +08:00
Jim Wu f0ac959ea4
Update the name to the same as Magisk Repo 2019-05-17 20:27:23 +08:00
solohsu a8576708fb Temporary fix for hooker method index exceeding method cache size 2019-05-17 15:02:39 +08:00
solohsu 55333f1f47 Keep Riru module misc files for convenience
Prevent libriru_edxp.so not being loaded caused by edxp dir being
deleted when switching between different variants
(in one case where you firstly install a new variant and then uninstall
old one in the Magisk Manager).
2019-05-17 00:29:58 +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 c1c648a1f8 Use different Magisk module ID for each variant 2019-05-14 23:46:26 +08:00
solohsu 560733396c Update to work with Riru-core v19
Add support for Android Q beta3
2019-05-13 13:39:46 +08:00
solohsu 50444072b0 Fix dummyClassLoader being detached when replacing app classloader
Fix #236.
2019-05-09 00:20:01 +08:00
solohsu 065fe7b5c3
Use Substrate native hooking for arm32, x86 and x86_64 (#243)
Fix arm32 native hooks failures on some devices.
2019-05-09 00:11:42 +08:00
solohsu 9a9a3d15c4 Add uninstaller shell script 2019-05-01 23:10:40 +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 aba57dc40f Add resources hooking support for MIUI 2019-04-30 00:24:44 +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