Commit Graph

371 Commits

Author SHA1 Message Date
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
Victor Tseng 5446571664 drop support for really old Blacklist App
remove the support of really old `com.flarejune.xposedblacklist`.
use the module blacklist function within EdXposed Manager instead.
2020-03-24 12:31:45 +08:00
Victor Tseng 9695a983b8 remove duplicated codes in edxp-sandhook
use the ones from `edxp-common` instead
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
binarynoise 05178a7182 Also log filename when loadFromDiskLocked failed
This would help to resolve the issue: now the user can look into that file and see what's inside an try to resolve the issue or fixing/cleaning up that file.
2020-03-14 11:37:07 +08:00
Wang Han d4aeddf5bc XposedBridge: Remove useless log(2) method
This is not used by any modules as they all use original Xposed
API, so this method is not defined. Furthermore, this is uselss
as we can always do getStackTraceString(new Throwable()) to
convert throwable to string.
2020-03-04 13:24:50 +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
Wang Han 347ebcdb7f Fix NPE in hookXposedInstaller() 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 5481615cc4 Fix SandHook null pointer exception 2020-02-29 23:55:27 +08:00
Jim Wu 3a5e54669c Remove useless log method 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 f0a52b2ae4 Redirect to wiki 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