Commit Graph

212 Commits

Author SHA1 Message Date
Jim Wu 4ed8f50dd8 Update prebuilt stub from EdXposed Manager 2020-03-23 14:49:20 +08:00
Jim Wu 9de3637c79 Update perbuilt stub from EdXposedManager 2020-03-23 14:27:50 +08:00
Jim Wu 0577113b63 Fix bad file owner 2020-03-23 13:26:45 +08:00
Jim Wu 5ef2b67e11 Fix 2020-03-23 13:10:32 +08:00
Jim Wu 6d742ac749 Update prebuilt stub from EdXposed Manager 2020-03-23 13:09:54 +08:00
Jim Wu 32e1565fa5 Remove persist check to fix #477 2020-03-02 23:42:43 +08:00
Jim Wu 70972674bc Fix path context & Adapt to latest Riru 2020-02-29 23:55:27 +08:00
Jim Wu ab4967543d Optimize Riru-Core detection 2020-02-29 23:55:27 +08:00
Jim Wu 7ddef7d3a2 Update stub prebuilt apk 2020-02-29 23:55:27 +08:00
Paulo Costa 4621b6a485 YAHFA: Support for android 10
Change-Id: I8d31014abff1ed15919ab10604a90be52d96c3a6
2020-02-29 23:55:27 +08:00
Jim Wu 612a2a0fc5 New test persist detection 2020-02-29 23:55:27 +08:00
Jim Wu 6537f38309 Update stub Manager app 2020-02-29 23:55:27 +08:00
Jim Wu 941c4f08f0 Optimize persist check 2020-02-29 23:55:27 +08:00
Jim Wu 5d52b6e203 Leave mount info to log 2020-02-29 23:55:27 +08:00
Jim Wu f8707b8118 Use app instead priv-app 2020-02-29 23:55:27 +08:00
Jim Wu 9b8ef35513 Add support for devices not have persist
Fix message
2020-02-29 23:55:27 +08:00
Jim Wu 71d1686788 Fix stub not include 2020-02-29 23:55:27 +08:00
Jim Wu 4d4c1e49d4 Fix stub not include 2020-02-29 23:55:27 +08:00
Jim Wu a408df090d Add support for deprecated custom Magisk 20.1 2020-02-29 23:55:27 +08:00
Jim Wu c4d0a3ee41 Add stub from EdXposed Manager 2020-02-29 23:55:27 +08:00
Jim Wu a7c7ee6ae0 Optimize installer display 2020-02-29 23:55:27 +08:00
Jim Wu e11ef87de5 Fix log cannot read 2020-02-29 23:55:27 +08:00
Jim Wu ebdcdf703f Fix log clear failed 2020-02-29 23:55:27 +08:00
Jim Wu ad202b870d Fix bootloop caused by multiple reasons 2020-02-29 23:55:27 +08:00
Jim Wu c3b13354c4 Add support for Magisk Alpha2 2020-02-29 23:55:27 +08:00
Jim Wu 6a8edfa410 Update description 2020-02-29 23:55:27 +08:00
Jim Wu 2c5c5f8cc8 Add interface to disable modules log
New method:
XposedBridge.log(String name, String text)
XposedBridge.log(String name, Throwable t)
2020-02-29 23:55:27 +08:00
Jim Wu 96185011cd Fix system app crash on Android Q 2020-02-29 23:55:27 +08:00
Jim Wu 63753d942f Fix OPPO Android P from @wuxianlin 2020-02-29 23:55:27 +08:00
Jim Wu 669a5b6f1a Format and bump version 2020-02-29 23:55:27 +08:00
Jim Wu d0c27f9747 Fix typo 2020-02-29 23:55:27 +08:00
Jim Wu b32801c89a Support old Magisk 2020-02-29 23:55:27 +08:00
Jim Wu bf1467a068 Remove useless file 2020-02-29 23:55:27 +08:00
Jim Wu 611361540d Fix SEPolicy not work 2020-02-29 23:55:27 +08:00
Jim Wu c49668d970 Fix can't create prop 2020-02-29 23:55:27 +08:00
Jim Wu d8c1320a4a Support Magisk v20.2 SEPolicy API
- Add custom sepolicy rule
- Add Riru version to log
- No hardcoded EdXposed version
- Magisk v20.2+ required
- No beta
2020-02-29 23:55:27 +08:00
m0viefreak fc18d49418 Support Magisk 20.2 custom sepolicy.rule
No need for custom Magisk builds anymore.
2020-02-29 23:55:27 +08:00
m0viefreak b928885f1f Use new Magisk installer method
- Convert install.sh to new customize.sh
- Set SKIPUNZIP=1 and handle the extraction ourselves
2020-02-29 23:55:27 +08:00
m0viefreak 794cad633b Update magisk installer script to latest version 2020-02-29 23:55:27 +08:00
Jim Wu 69d02c6c7f Update module description 2019-12-19 16:01:54 +08:00
imlk 7ea869e600 fix: replace whale so file to fix crash on x86_64
fix: hook art::OatFileManager::SetOnlyUseSystemOatFiles on AndroidQ
2019-11-04 14:48:13 +08:00
Jim Wu c677b622b3
Fix wrong log tag 2019-10-27 19:54:28 +08:00
Jim Wu 3bd049a386
Add Magisk version to log (#375) 2019-10-25 23:04:58 +08:00
solohsu dd042478d7 Remove supolicy commands, use magisk-custom-sepolicy-installer instead 2019-10-19 21:22:11 +08:00
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
solohsu 9e68041901 Bump version 2019-04-24 11:24:48 +08:00
solohsu 4ee0db8734 Bump version 2019-04-22 23:59:19 +08:00
solohsu 6e6327bec8 Correct resources types' offsets 2019-04-22 22:44:52 +08:00
solohsu 8a2cdbe47e Add class ResStringPool 2019-04-22 18:54:59 +08:00
solohsu bf9b270775 Add support for resources hooking. (2/2) 2019-04-22 16:12:18 +08:00
solohsu 711c589088 Add support for resources hooking. (1/2) 2019-04-21 11:46:58 +08:00
solohsu b8228e1da9 Merge asLody/Whale@e589299bbd 2019-04-03 11:05:32 +08:00
solohsu 68a3915a21 Bump version 2019-03-22 00:34:44 +08:00
solohsu 1dea799c83 Bump version 2019-03-21 23:53:09 +08:00
solohsu 346254f50b Generate edconfig for each backend 2019-03-21 23:48:01 +08:00
solohsu 5639dc79e0 Use yahfa as default backend 2019-03-21 23:11:40 +08:00
solohsu d3cf2246ec SandHook: Cherry-pick from branch sandhook
e027b877732e90f41bf5ac48b5e652909ffc2140,
66d21874edb5b918ba16b2c8e3aebb80cc1558ff,
713e2e3b03038d87f2349a642d52a74c8695a6a9,
eccdb67251c39910ff22f968597f9a309c9601b7,
9af84bdf02bd4321e9c1bd54b39d9638aa43a810,
68ce389a48c8bd5ae4eeefdbbc2e74363d103d89,
dd7960c771a7c0ad453b5073df05c80a988ddb5e,
061288a6b835207c4e9e3948b366f2aba1d85d24,
8d2ea787e70e6e992581e54053f080aacafd9e25,
227fc5a43c94e8a0a976050fc1f2f43fdc9b0047
2019-03-21 23:02:38 +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
solohsu e858ebd70b Introduce SandHook 2019-03-20 00:32:33 +08:00
solohsu 53d0dbd120 Refactor project structure 2019-03-19 14:32:44 +08:00