Commit Graph

161 Commits

Author SHA1 Message Date
kotori0 697b2b2fdb Cleanup unused files 2020-11-22 19:02:26 +08:00
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