Commit Graph

230 Commits

Author SHA1 Message Date
NekoInverter a0f711249d Verify files during installation 2020-11-27 14:37:34 +08:00
kotori0 8482237918 update sepolicy 2020-11-25 21:39:48 +08:00
LoveSy 4570d8ff46 Fix snapshot blacklist 2020-11-25 20:36:44 +08:00
LoveSy 45b28da6e1 Remove debug log 2020-11-25 20:36:44 +08:00
LoveSy d34c76e119 Replace whale with dobby 2020-11-25 19:09:22 +08:00
LoveSy 103c7aa867 Fix API in edconfig 2020-11-25 19:09:22 +08:00
LoveSy f6cab13e22 Update sepolicy.rule 2020-11-25 01:14:58 +08:00
LoveSy 11f89ef0bb Minimize sepolicy 2020-11-24 23:25:01 +08:00
LoveSy 854021c7d8 Remove useless hooks 2020-11-24 23:25:01 +08:00
LoveSy 600c51d37e Fix empty line and installation from scratch 2020-11-24 23:25:01 +08:00
LoveSy c48ed75ae5 Typo 2020-11-24 23:25:01 +08:00
LoveSy b5b7203350 catch exception from fs::exist 2020-11-24 23:25:01 +08:00
LoveSy 2d7b982ff5 Module scope 2020-11-24 23:25:01 +08:00
LoveSy 14b85366a1 Fix build bug 2020-11-24 23:25:01 +08:00
LoveSy 0ece9b141d Better Hidden 2020-11-24 23:25:01 +08:00
LoveSy a5d6cbe44f Fix #643 2020-11-24 00:56:30 +08:00
kotori0 47ad6048d7 Use x86 with Dobby and remove Cydia Substrate 2020-11-22 19:02:26 +08:00
kotori0 df6257646c Fix ClassLinker offset for Android 8 2020-11-22 19:02:26 +08:00
kotori0 b6aae99990 Update commit hash for Dobby 2020-11-22 19:02:26 +08:00
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
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