kotori0
2461a730a4
Fix conflict not saved
2020-11-22 19:02:26 +08:00
kotori0
46b2e87c58
Replace Whale with Dobby and rebase everything
2020-11-22 19:02:26 +08:00
kotori0
caf38beec2
Enable Riru hide support
2020-11-22 19:02:26 +08:00
kotori0
3e88e9326d
Fix sepolicy not applied
2020-11-22 19:02:26 +08:00
kotori0
9d0c5aaa68
add classlinker offset for Android 8-10
2020-11-22 19:02:26 +08:00
kotori0
6b7671f84f
Makes CI happy
2020-11-22 19:02:26 +08:00
kotori0
899fa1bbd6
Revert Cmake version change
2020-11-22 19:02:26 +08:00
kotori0
045fbe3346
Fix Sandhook
2020-11-22 19:02:26 +08:00
kotori0
5fc9d64971
Fix SandHook installation
2020-11-22 19:02:26 +08:00
kotori0
15c1aa51d3
Get ClassLinker instance from art::Runtime
2020-11-22 19:02:26 +08:00
kotori0
1ea3c22e1c
Riru v22 support
2020-11-22 19:02:26 +08:00
LoveSy
e9c03a8f37
Manually release all Xposed hooks and GC if blacklisted
2020-11-15 21:10:49 +08:00
LoveSy
3702bf333b
Filter process earlier
2020-11-15 21:10:49 +08:00
Jim Wu
00363c31db
Fix check android version Magisk template #611
2020-09-28 18:34:32 +08:00
LoveSy
782560ad96
Don't use sandhook on x86 devices
2020-09-16 23:43:06 +08:00
solohsu
b1bc7200a6
Disable resources hooking as default
...
Resources hooking might has been broken since Q
2020-08-03 17:57:07 +08:00
solohsu
b6c1a1bd01
Always write concerning sysprops to log
2020-08-02 20:51:07 +08:00
solohsu
02adea8691
Update isolated process checking method
2020-08-02 18:37:47 +08:00
solohsu
11e6eeb397
Deoptimize all callers of Application#attach(Context)
2020-08-02 18:35:35 +08:00
solohsu
e12c40b408
Add an annotation to remind compatibility checking
2020-08-02 18:29:16 +08:00
solohsu
b1838bf602
YAHFA: add global ref to backup method
...
(cherry picked from commit PAGalaxyLab/YAHFA@debcd063 )
2020-08-02 01:18:17 +08:00
solohsu
0336a2aa29
Uniform the use of new ArtMethod resolution strategy
2020-08-02 01:00:42 +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
1a7957e2ad
Merge branch 'master' into android_r
...
# Conflicts:
# appveyor.yml
# edxp-core/build.gradle
# edxp-core/src/main/cpp/external/yahfa/src/HookMain.c
# edxp-core/src/main/cpp/external/yahfa/src/env.h
# edxp-core/src/main/cpp/main/include/android_build.h
# edxp-core/src/main/cpp/main/include/art/runtime/oat_file_manager.h
# edxp-core/src/main/cpp/main/include/config.h
# edxp-core/src/main/cpp/main/src/native_hook.cpp
2020-08-01 22:24:48 +08:00
solohsu
cb1e86810e
Fix compilation error when debugging log is enabled
2020-08-01 22:08:02 +08:00
solohsu
32370d69ab
Fix fd for anonymous mmap
2020-07-31 15:10:07 +08:00
solohsu
398d8b0553
Bump version
2020-07-31 11:26:48 +08:00
solohsu
8d7a6627ab
Sync with YAHFA
...
This commit contains changes from
PAGalaxyLab/YAHFA@d617833 ,
PAGalaxyLab/YAHFA@87abb05 ,
PAGalaxyLab/YAHFA@ee20e5f ,
PAGalaxyLab/YAHFA@1324f85 ,
PAGalaxyLab/YAHFA@82d1873
2020-07-31 11:23:10 +08:00
双草酸酯
27f44d3c25
Fix bootloop on R Public Beta 2 ( #583 )
...
* Fix bootloop on R Public Beta 2
* Fix crashes with some apps
2020-07-30 21:40:53 +08:00
EBK21
1d60bb9d46
Fix property log not showing and do not force quicken ( #573 )
...
* fix property log not showing
* do not force quicken
2020-07-05 12:56:53 +08:00
lrh2000
1374ff6745
Keep the log catcher alive.
2020-06-23 22:34:53 +08:00
EBK21
cd8c3b5639
Do not force quicken, preserve dex2oat flags ( #571 )
...
* Do not force quicken, preserve dex2oat flags
* Add value with space
2020-06-19 11:14:00 +08:00
solohsu
56fd1ecfd4
Android R: fix bootloop
...
- use sandhook-native to hook linker
- symbol fix
2020-04-27 17:16:19 +08:00
swift_gan
a61ad081e7
AndroidR: pre support
2020-04-27 14:07:14 +08:00
Jim Wu
40273e9ed9
Temporarily set SELinux to Permissive to install stub
2020-04-08 13:40:56 +08:00
Jim Wu
4d9d8adc32
Determine whether random files exist
...
....if exist, regenerate
2020-04-07 11:52:30 +08:00
Jim Wu
00e18cf3b6
Add switch to disable hidden api bypass
...
link #387
2020-04-06 15:01:18 +08:00
Jim Wu
ea00d06937
Update prebuilt stub from EdXposed Manager
2020-04-05 18:00:39 +08:00
Jim Wu
fd7b17f090
Resetting the library so path
...
Prevent some software from detecting EdXposed (2/2)
It works with latest SafetyNet!
Now allows each installation to be a unique Xposed framework
Completely erasing certain single, fixed features of the Xposed framework
2020-04-04 15:37:30 +08:00
Jim Wu
fe8e2c7e85
Bump version
2020-04-04 12:07:19 +08:00
Jim Wu
e905664403
Resetting the library file path
...
Prevent some software from detecting EdXposed
It works with latest SafetyNet!
Now allows each installation to be a unique Xposed framework
Completely erasing certain single, fixed features of the Xposed framework
2020-04-04 11:55:17 +08:00
Jim Wu
f1d8303978
Revert SafetyNet changes
...
Because SafetyPatch module already done this:
https://github.com/Magisk-Modules-Repo/safetypatcher/blob/master/common/post-fs-data.sh#L11
2020-04-01 23:35:44 +08:00
Jim Wu
55d5e5481f
Replace cmdline to pass SafetyNet (no SN Issues allowed)
...
Userspace parses this and sets the ro.boot.verifiedbootstate prop
according to the value that this flag has. When ro.boot.verifiedbootstate
is not 'green', SafetyNet is tripped and fails the CTS test.
Change verifiedbootstate from /proc/cmdline in order to fix the failed
SafetyNet CTS check.
2020-03-30 11:31:36 +08:00
Jim Wu
dc1fa7ee2d
Update prebuilt stub from EdXposed Manager
2020-03-29 16:18:30 +08:00
Jim Wu
3ce99eba18
Bump to 91: multi-user support
2020-03-26 00:02:03 +08:00
Victor Tseng
db5d51483d
lazy-update app data path in ConfigManager::IsAppNeedHook()
...
zygote always starts with `uid == 0` and then fork into a different user.
so we delay the evaluation until we get to the point where it's been hooked already.
this enabled multi-user support, since we can now find the config files!
2020-03-24 12:31:45 +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
12c74f165d
Reset log context
2020-03-24 09:28:51 +08:00
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