LoveSy
cef4137c7a
[core] Manually release ElfImg ( #747 )
2021-06-15 10:06:53 +08:00
LoveSy
b49001cfab
[README] Support Android 12 Beta 2 ( #745 )
2021-06-12 02:05:19 +08:00
LoveSy
9ccef6b794
[core] Fix broadcast receiver after soft reboot ( #739 )
...
`sendToBridge` stucks the binder thread so that
`ActivityManagerService`'s receipent won't be called
2021-06-10 06:53:53 +08:00
LoveSy
9c8f9beb49
[core] Check system properties ( #732 )
2021-06-05 14:03:38 +08:00
LoveSy
4cb731c1fb
[core] Completely switch to ElfImg ( #730 )
2021-06-04 02:07:53 +08:00
LoveSy
f010322c91
[core] Fix get module source ( #725 )
2021-06-03 10:42:32 +00:00
LoveSy
0ad10cf369
[core] Check pending exception ( #724 )
2021-06-03 10:17:15 +00:00
LoveSy
b1198f83a0
[core] Log before hooked app crash ( #700 )
2021-05-30 18:52:12 +08:00
tehcneko
e91332c2b7
[app] Add missing copyright headers
2021-05-30 18:30:02 +08:00
LoveSy
a694d2bc73
[core] Check cast before returning from hooker ( #696 )
2021-05-30 15:18:13 +08:00
LoveSy
efa42a4eb0
[core] Remove isSamePackage hook ( #690 )
2021-05-28 19:58:01 +08:00
tehcneko
a6f0e666b8
The great cleanup + fix proguard ( #689 )
...
* [app] Fix proguard
* [core] Remove unused proguard rule
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-05-28 16:42:43 +08:00
LoveSy
4035493602
[app] Show user name ( #688 )
2021-05-28 15:42:52 +08:00
LoveSy
de98686532
[core] Check loadedApk package name when getting manager binder ( #687 )
...
Some OS, like MIUI, inject other loaded apk to manager and will
cause annoying warnings
2021-05-27 14:15:59 +00:00
LoveSy
7e6c230494
[core] Unblock receiver by calling finish receiver ( #685 )
2021-05-26 18:37:22 +00:00
LoveSy
18c7f60171
[core] Fix compatibility with 8.1 ( #683 )
2021-05-26 23:09:26 +08:00
LoveSy
c741133b67
[core] Delay kill ppid ( #682 )
...
* Delay kill ppid
* remove useless nohup
* Exit when received uncaught exception
2021-05-26 10:56:09 +00:00
LoveSy
d67b34fd16
[core] Remove RiruHook ( #677 )
...
* First, dex2oat flags are not read by zygote and its
child but installd so hooking it with Riru does nothing.
* Second, we do not set native flag for methods so
we don't need to handle the Oreo special case.
2021-05-25 08:49:30 +00:00
LoveSy
106aea6da8
[core] Fix #674 ( #675 )
2021-05-25 15:50:57 +08:00
Wang Han
4ad1d95915
[core] Drop useless hook for Huawei ( #673 )
...
* We don't force recompilation of pre-optimized
APKs now so this is useless and does not even
work as performDexOpt() hook was removed.
2021-05-25 05:07:09 +00:00
vvb2060
7403a17b82
Make AS happy ( #672 )
...
* Suppress error
* Register data binding generated files
2021-05-25 11:03:01 +08:00
vvb2060
6034d97e17
[core] Fix version code ( #671 )
2021-05-24 18:25:32 +00:00
LoveSy
550eacfccb
[core] Fix deamon name & fix daemon exit ( #668 )
2021-05-24 16:37:55 +00:00
LoveSy
21d05486df
[core] Remove reflection hook ( #666 )
...
We previously hook reflection because we want only the hooker class
to have the privilege to access the backup method. However, we now
found that the backup method is a private copy and cannot be accessed
by outer classes, so we remove the relection hook for efficiency.
2021-05-24 08:34:22 +08:00
Wang Han
bf63d97fb6
[core] Consolidate MIUI check ( #663 )
2021-05-23 17:05:24 +08:00
Wang Han
b98979d69b
[core] Optimize imports
2021-05-23 14:34:13 +08:00
Wang Han
29d673e3fa
[core] Move ModuleLogger to util package
...
* It has nothing to do with native now.
2021-05-23 14:34:13 +08:00
Wang Han
c3cc4b2b5c
[core] Remove API level check for inline hook ( #660 )
2021-05-23 05:04:08 +00:00
LoveSy
7f83efb2d5
[core] No longer trust testonly manager ( #656 )
2021-05-22 21:36:12 +08:00
Wang Han
37dd63be81
[core] Correct process name for android in module log ( #651 )
...
* It can only be NULL for system_server.
2021-05-22 19:13:46 +08:00
Wang Han
d853be4367
[core] Honor `remove` flag for incompatible modules
2021-05-21 21:26:52 +08:00
RikkaW
d85ef90275
Refuse to install if Riru is disabled or will be removed
2021-05-21 21:26:52 +08:00
RikkaW
7e6a0b81a3
Fix check Riru
2021-05-21 21:26:52 +08:00
LoveSy
02fd5be2fc
[core] Switch to user if needed
2021-05-21 16:45:40 +08:00
tehcneko
e2bb7d42f2
[app] Start and query activity from backend
2021-05-21 16:45:40 +08:00
tehcneko
15775da810
[core] Add queryIntentActivities and startActivityAsUserWithFeature
2021-05-21 16:45:40 +08:00
tehcneko
a07239eeb1
[core] Check if MIUI
2021-05-21 12:45:34 +08:00
LoveSy
3600359b33
[core] Extend modules' scope for themselves to all users
2021-05-21 12:45:34 +08:00
LoveSy
9d417fa6cf
Load module together with package name
2021-05-21 12:45:34 +08:00
LoveSy
384681bbb8
[core] Prevent MIUI dual remove packages
2021-05-21 12:45:34 +08:00
LoveSy
4e40cf9802
[core] Send IApplicationThread to daemon
2021-05-21 12:45:34 +08:00
tehcneko
a5c1397516
Update dependencies ( #638 )
2021-05-20 11:36:29 +00:00
LoveSy
9680f39a1f
[Template] Support S Beta 1
2021-05-19 13:13:35 +08:00
LoveSy
9899bbfb95
[core] Check status of dladdr ( #626 )
2021-05-19 03:45:24 +00:00
LoveSy
ee57426443
[core] Remove incorrect flags ( #625 )
2021-05-18 20:34:09 +00:00
LoveSy
61bee4743a
[core] Remove deleteOnClose which causes lock fail ( #624 )
2021-05-18 17:41:02 +00:00
LoveSy
85a4d4eea1
[core] A better way to launch daemon ( #622 )
2021-05-18 16:45:22 +00:00
LoveSy
bc944bd6ee
[core] Fix cmdline detection ( #621 )
2021-05-18 21:22:08 +08:00
LoveSy
cb665d4eeb
[core] Clean scope automatically for mutli-users ( #620 )
2021-05-18 19:04:10 +08:00
LoveSy
fd32c3107a
Detect system framework injection status ( #619 )
2021-05-18 06:25:06 +00:00
LoveSy
0cb223afea
[core] Startup daemon in service.sh if post-fs-data.sh stucks ( #615 )
...
Some modules may stick `post-fs-data.sh` of Magisk (for example running `resetprop`), leaving daemon unstarted.
In such case, we should try to startup daemon in `service.sh` though it's a bit too late.
2021-05-18 13:39:22 +08:00
Howard Wu
a81009d8ee
Prevents duplicate versionCode in log ( #614 )
2021-05-17 22:55:48 +08:00
Howard Wu
3cb07c6a40
Prevents versionCode from being displayed twice during installation ( #611 )
2021-05-17 14:09:55 +00:00
Howard Wu
6de7f3b6b4
Add versionCode to the 'version' displayed in the Magisk module ( #610 )
...
* Add versionCode to the 'version' displayed in the Magisk module
Used to get the version code more clearly from the Magisk module list.
* Add a space
2021-05-17 21:54:40 +08:00
LoveSy
20bcaf9e0b
[core] Try to fix module logger ( #609 )
2021-05-17 21:04:37 +08:00
LoveSy
d861198738
[core] Fix module update ( #608 )
2021-05-17 12:52:32 +00:00
LoveSy
dc8deae175
[core] Add missing component filter ( #602 )
2021-05-17 12:49:18 +08:00
LoveSy
9c1bbd5606
[core] Fix package listener ( #600 )
2021-05-17 05:21:51 +08:00
vvb2060
e272e48e86
Install to profiles ( #592 )
2021-05-15 21:29:49 +00:00
vvb2060
5ec10c89bb
Fix uninstall ( #588 )
...
* Fix uninstall
* Bump version again
* Add installExistingPackageAsUser
* Drop INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS
* Fix activation
* 反了
* 空格
Co-authored-by: Wang Han <wanghan1995315@gmail.com>
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-05-15 12:46:14 +00:00
LoveSy
09ac0e3af4
[core] Fix stupid bug ( #586 )
2021-05-15 05:40:05 +00:00
LoveSy
c8f2dffbca
[core] Fix on Android Q- ( #585 )
2021-05-15 12:39:28 +08:00
LoveSy
5032bc0b15
[core] Prefs for modules in non-primary user space ( #582 )
2021-05-15 12:34:27 +08:00
LoveSy
0df0a14808
[core] Workaround for service manager overwritten on Android R ( #581 )
2021-05-15 03:05:04 +08:00
vvb2060
d9f95d1280
Use Java writer ( #579 )
2021-05-14 16:36:47 +00:00
Wang Han
3d28e5e5a0
[core] Remove trailing slash for /data/adb/lspd ( #576 )
...
* Which causes unzip fail because it becomes /data/adb/lspd//...
2021-05-14 14:38:21 +00:00
tehcneko
279fbb8ecf
Bump version ( #572 )
2021-05-14 08:56:51 +00:00
LoveSy
dbc0226d66
[core] Recognize module from other user profile ( #555 )
...
Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-05-14 16:28:12 +08:00
tehcneko
bcd5fd004f
[core] Require Magisk 23+ ( #566 )
2021-05-12 05:56:02 +00:00
vvb2060
a5aa86ec31
[core] Show incompatible frameworks id ( #564 )
2021-05-11 10:23:12 +00:00
LoveSy
aa857a3705
[core] Fix register receiver permission ( #561 )
...
责任全在 @RikkaW
2021-05-11 08:40:40 +00:00
tehcneko
7f539c8dbe
[app] Allow using system accent color as theme color (S+) ( #560 )
...
* Compile with Android S SDK
* [app] Allow using system accent color as theme color (S+)
2021-05-11 15:44:24 +08:00
Wang Han
14b1fc555b
[core] Replace remaining xposedmodule references ( #559 )
2021-05-10 15:28:23 +08:00
Wang Han
95f0305b12
[core] Abort installation on devices with incompatible frameworks ( #557 )
...
* [core] Abort installation on devices with incompatible frameworks
* Update util_functions.sh
* Update util_functions.sh
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-05-10 09:41:33 +08:00
LoveSy
5f68cbea36
[core] Fix Android O MR1 ( #544 )
2021-05-06 13:42:34 +00:00
tehcneko
7139c3f11f
[app] Added option to disable forced display of the application launcher icon on Android 10+ ( #541 )
...
* [core] Grant android.permission.WRITE_SECURE_SETTINGS
* Disable jetifier
* [app] Added option to disable forced display of the application launcher icon on Android 10+
2021-05-06 12:27:38 +00:00
LoveSy
0e66782101
[core] Fix Android P ( #542 )
2021-05-06 19:18:27 +08:00
LoveSy
d22a4efe72
[core] Only allow hidden api for recognized classloaders ( #537 )
2021-05-06 14:09:02 +08:00
LoveSy
94ef17f06d
[core] `nativeinit` does not have to check .so postfix ( #540 )
2021-05-06 12:05:28 +08:00
LoveSy
fdc7a4d8d9
[core] Refine native api ( #538 )
2021-05-05 15:07:47 +08:00
LoveSy
96b9942df0
[core] New value of kAccPreCompiled for S ( #531 )
2021-05-02 11:45:46 +08:00
Howard Wu
cf59bfbac9
abortC does not exist ( #530 )
...
* abortC does not exist
* Update post-fs-data.sh
2021-05-02 09:51:44 +08:00
LoveSy
476bd8f7c2
[gradle] Update AGP ( #528 )
2021-05-01 15:38:40 +00:00
LoveSy
1ade0de9c4
[CI] Fix build dependency of release ( #525 )
...
* [CI] Fix build dependency of release
* Fix depend path
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-04-28 03:48:21 +08:00
vvb2060
0fdf5adf3e
Ensure keystore file exists ( #524 )
2021-04-28 02:16:41 +08:00
LoveSy
a462d603c2
[core] Refine native api [breaking change] ( #522 )
...
* [core] Refine native api [breaking change]
* abi
* mprotect
2021-04-27 17:01:19 +00:00
LoveSy
41fd9be898
[core] Proper way to use attribute ( #518 )
...
* [core] Proper way to use attribute
* Update riru
2021-04-27 10:10:09 +08:00
tehcneko
0409f3af97
[core] Remove SELinux permissive check
2021-04-25 21:31:10 +08:00
vvb2060
4feb66be91
exit script ( #507 )
2021-04-25 21:18:05 +08:00
tehcneko
d7897b67d9
[core] Remove useless codes ( #505 )
...
* [core] Replace tabs with spaces
* [core] Remove useless codes
2021-04-24 14:59:35 +08:00
vvb2060
86304f11ce
Remove migration setting ( #504 )
...
* Add self check
* clean
* Update description
* Remove migration setting
since c5bac3415c , it has been invalid
2021-04-24 12:43:23 +08:00
vvb2060
12c2876384
Use libcxx prefab ( #502 )
2021-04-23 19:27:19 +00:00
LoveSy
362ab24859
Install native hook iff needed ( #496 )
...
* iff: https://en.wikipedia.org/wiki/If_and_only_if
2021-04-20 00:44:10 +08:00
vvb2060
2eae90dfe7
Generate SignInfo ( #493 )
2021-04-18 11:27:35 +08:00
vvb2060
d6541bb594
Refine gradle scripts ( #492 )
2021-04-18 01:35:55 +08:00
RikkaW
9b2a7516f7
Fix typo
...
Fix https://github.com/Magisk-Modules-Repo/riru-core/pull/4
2021-04-16 13:06:01 +08:00
LoveSy
03d5f1b444
[core] Fix in rare case system hooks invalid ( #486 )
2021-04-13 20:59:08 +08:00
vvb2060
20ba09408f
Change to use dependencies ( #481 )
...
org.apache.commons:commons-lang3
de.upb.cs.swt:axml
2021-04-13 04:08:40 +08:00
LoveSy
c56c89327b
Revert "[core] FastNative ( #467 )" ( #469 )
...
Someone report keeping annotation on release build make some java methods call failed.
This reverts commit 65f387f429 .
2021-04-08 13:03:22 +00:00
Wang Han
80646bfa3c
[core] Remove @FastNative annotation of onPostFixupStaticTrampolines() ( #468 )
...
* This is not even a native method.
2021-04-08 07:32:54 +00:00
LoveSy
65f387f429
[core] FastNative ( #467 )
2021-04-07 17:46:51 +08:00
LoveSy
8ed46a0c18
[core] No more PIE
2021-04-06 14:47:30 +08:00
LoveSy
0109da15d8
[core] Add missing NDEBUG
2021-04-06 14:47:30 +08:00
LoveSy
1ded91da62
[core] Set optimize flags correctly ( #461 )
...
Close #459
2021-04-06 09:15:40 +08:00
LoveSy
69a3e04ede
[core] Debug so should place under /system ( #460 )
...
Otherwise, unwind will fail
2021-04-06 00:29:40 +08:00
Wang Han
fac2399b84
[core] Actually require Magisk v21+ ( #458 )
...
* Because magisk --path is not available till this version.
2021-04-05 12:22:23 +08:00
LoveSy
80bc9c0b35
[core] RAII JNI interface ( #444 )
...
Co-authored-by: Wang Han <wanghan1995315@gmail.com>
2021-04-03 19:35:39 +08:00
LoveSy
caa1bef21f
[core] Remove useless codes ( #441 )
2021-04-01 18:52:44 +08:00
LoveSy
a384697655
[core] Update JNI helper ( #440 )
2021-04-01 10:17:39 +00:00
LoveSy
eecef24179
Update gradle ( #437 )
2021-03-31 06:19:37 +00:00
LoveSy
989e9e1bb6
[core] Test ccache ( #436 )
2021-03-30 23:17:57 +08:00
LoveSy
16982c5a3e
[core] Fix ccache on master build ( #435 )
2021-03-30 22:58:19 +08:00
Wang Han
7f1f5ced93
Include util_functions.sh from magisk --path ( #434 )
2021-03-30 07:50:12 +00:00
LoveSy
8bc0991275
[core] Use util function to check riru version ( #433 )
2021-03-30 05:48:06 +00:00
RikkaW
e2b15b05dd
Don't extract riru.sh to MODPATH
2021-03-30 13:08:06 +08:00
LoveSy
fa97300d58
[core] Small refine of ElfImg ( #431 )
2021-03-30 12:38:08 +08:00
Wang Han
e2c222ac1c
[core] Add an empty new line in uninstall.sh ( #430 )
...
* Or `echo` will directly append command in the existing line,
which makes `/data/misc/lsp*` not removed.
2021-03-30 11:48:06 +08:00
LoveSy
3fb6dc741b
Disable hide on debug build
2021-03-29 17:42:50 +08:00
LoveSy
084ec536e6
Keep debug symbols for debug
2021-03-29 17:42:50 +08:00
LoveSy
f551ed8724
[core] Strip .preinit_array ( #425 )
2021-03-29 00:33:21 +08:00
LoveSy
f3e9fd6b8f
[core] Hash for looking up symbols ( #424 )
2021-03-28 22:28:46 +08:00
LoveSy
63065646fe
[core] Fix name check ( #423 )
2021-03-28 08:04:30 +00:00
LoveSy
69e5feffce
[core] Use ElfImg instead of DobbySymbolResolver ( #419 )
2021-03-28 07:14:57 +00:00
LoveSy
3f80d37364
[core] Move riru definitions from cmake to gradle ( #422 )
2021-03-28 15:01:33 +08:00
LoveSy
833eef49ec
[core] Support interface default method ( #420 )
2021-03-27 12:31:06 +00:00
LoveSy
a1201ae42b
[CI] Update cache
2021-03-27 07:49:11 +08:00
LoveSy
e5d61affdd
[core] Build libc++ ourselves ( #406 )
2021-03-26 07:11:35 +00:00
LoveSy
a30d306a11
[core] Remove useless code ( #409 )
...
Since we change the package name, we don't have to hook old manager
which use contants.
Since we have released new stable version, we should prepare for
randomize package name and therefore don't need to fix package name
mismatch.
2021-03-26 04:13:54 +00:00
tehcneko
14f809d62f
[core] Update dependencies
2021-03-25 21:52:06 +08:00
vvb2060
4fcb689e55
Use Java 11 ( #398 )
2021-03-23 07:10:56 +08:00
Wang Han
eaf64f91a0
[core] Enforce Riru 25 in documents ( #397 )
2021-03-22 10:28:53 +00:00
rovo89
5b9c8b6c5b
[core] Ignore PACKAGE_CHANGED for single components
...
The event is needed to detect e.g. if a package has been frozen, but it
can also occur if components (e.g. receivers) are disabled/enabled. Ignore
the event in these cases.
2021-03-21 11:54:26 +08:00
Wang Han
9d06351073
[core] Keep R value of kAccPreCompiled flag ( #386 )
...
* Although this flag is likely to change on future S release,
just keep R value for now because we don't want to break
present DPs. What's more, this flag is always used with
kAccCompileDontBother, so not removing it should not
be harmful.
https://android-review.googlesource.com/c/platform/art/+/1646010
2021-03-20 13:57:56 +00:00
Wang Han
40fcde9ce0
[core] Refine module log output
...
* Add E/I to indicate error or information, while we are at
it, slightly change output format.
2021-03-20 21:47:03 +08:00
Wang Han
9b081dac37
[core] Remove special handling for com.sygic.aura
...
* Was introduced in original Xposed because this app implemented
low-level resource class replacements iteself and would crash with
resource hook enabled, which is not the case anymore.
2021-03-20 21:47:03 +08:00
LoveSy
2d8a9932f2
[core] Only clear precompile on R or above
2021-03-20 19:52:44 +08:00
Wang Han
a08c5402bc
[core] Remove unreachable SDK checks for YAHFA
2021-03-20 19:52:44 +08:00
LoveSy
a6b4ed548e
[core] Refactor Yahfa
2021-03-20 19:52:44 +08:00
LoveSy
aa98da59da
[core] Fix resource hook on S ( #377 )
2021-03-20 01:23:01 +08:00
Wang Han
88f1f693c6
[core] Slightly clean up scripts ( #376 )
2021-03-19 13:55:08 +00:00
tehcneko
39aa9952b5
[core] Print version to logcat ( #375 )
...
* [core] Print version to logcat
* [core] Check module id on init
2021-03-19 21:21:11 +08:00
LoveSy
83786b6dea
[core] Fix notification when modules updated/installed ( #370 )
...
Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-03-18 01:24:34 +00:00
tehcneko
7c1ea44479
[app] Update dependencies ( #368 )
2021-03-17 12:24:29 +08:00
LoveSy
55248342fc
[core] Support Riru 25 ( #367 )
2021-03-17 08:08:30 +08:00
LoveSy
c6bfffc785
[core] Fix pendding hook for os with newer art ( #363 )
2021-03-15 20:20:19 +08:00
vvb2060
b7c18eb12c
Use dobby prefab ( #361 )
2021-03-15 09:12:24 +00:00
LoveSy
85b252c1b8
[core] use proper dobby interface ( #356 )
2021-03-14 17:50:34 +00:00
LoveSy
52d0e98e83
[core] Embrace c++20 ( #352 )
2021-03-13 07:11:53 +00:00
Wang Han
7086c682c2
[core] `io_github_lsposed` -> `org_lsposed` ( #351 )
2021-03-13 05:50:11 +00:00
Wang Han
9896a1b193
[core] Fix stupid error in package name check ( #349 )
2021-03-13 03:30:22 +00:00
LoveSy
1de629f6e8
[core] Compile time string ( #346 )
2021-03-13 03:57:21 +08:00
Wang Han
04620f525e
[core] Fix uninstallPackage() check for old manager ( #345 )
2021-03-12 22:20:01 +08:00
tehcneko
ace4412d31
[core] Fix package installation on S ( #343 )
2021-03-12 12:01:41 +00:00
tehcneko
5a26cec58c
[core] Use riru.sh from riru module template ( #340 )
...
* [core] Use riru.sh from riru module template
* [core] Remove unused scripts
* [core] Fix riru version in log file
2021-03-12 08:57:47 +00:00
LoveSy
7eda1f6845
[CI] Use ccache to cache github action building
...
* Try ccache
* Cache Cmake
* No ccache in gradle cache
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-03-12 02:07:35 +08:00
LoveSy
4fa8839bae
[core] Add no-rtti & no-exceptions to cppflags ( #335 )
2021-03-12 00:47:30 +08:00
tehcneko
edf41b715f
[core] Fix riru version check
2021-03-11 19:34:34 +08:00
LoveSy
7afb339219
[core] Fix build
2021-03-11 19:34:34 +08:00
LoveSy
c5bac3415c
[core] Support riru24 ( #329 )
...
* Support riru24
* tmp aar for build
* Check riru version
* Rename libriru_lspd to liblspd
* Fix hiddenapi
* Use maven
2021-03-11 10:57:06 +00:00
Wang Han
696309af0b
[core] Uninstall old manager on boot automatically ( #330 )
...
* [core] Uninstall old manager on boot automatically
* Update PackageService.java
2021-03-11 11:40:16 +08:00
vvb2060
b4131fd6c4
New packagename ( #326 )
2021-03-10 17:09:34 +00:00
LoveSy
a7a59d21e4
[core] No more live patch ( #317 )
2021-03-10 06:40:13 +00:00
LoveSy
7dd171b2bb
[core] Check sepolicy in backend & try livepatch
2021-03-10 02:41:58 +08:00
tehcneko
11da19b64c
Fix module description
2021-03-09 18:51:28 +08:00
LoveSy
f6415478f2
[shell] No more cache
2021-03-08 23:59:52 +08:00
LoveSy
7d52c215ad
[core] Completely remove SandHook ( #293 )
2021-03-08 22:50:43 +08:00
LoveSy
7d1652af05
[core] Prevent bootloop when rirud is dead ( #286 )
...
closes #285
2021-03-07 17:07:42 +00:00
LoveSy
b5c1a0778f
[DexBuilder] Properly handle utf8 string ( #282 )
2021-03-07 22:24:30 +08:00
LoveSy
f3680cdd07
[core] Refactor resource hook & remove useless files ( #281 )
2021-03-07 20:47:03 +08:00
LoveSy
e72414b08c
[core] Supress hook warning on old R ( #280 )
2021-03-07 16:59:35 +08:00
tehcneko
83045a69a7
[core] Fix uninstalling
2021-03-07 16:02:42 +08:00
tehcneko
e5e7c3617f
[core] Return actual uninstall status to manager
2021-03-07 15:38:57 +08:00
tehcneko
60be0e2071
[core] Log uninstall status message
2021-03-07 15:38:57 +08:00
tehcneko
4ce43df88f
[core] Upgrade manager if older version installed
2021-03-07 15:38:57 +08:00
LoveSy
cb6f14a41a
[core] Fix pending hook for Android S ( #278 )
2021-03-07 15:03:12 +08:00
LoveSy
80abe3dc64
[core] No need to uninstall if upgrade manager under the same sign
2021-03-07 14:14:38 +08:00
LoveSy
74f4404d7a
[core] Merge manager into Magisk zip
2021-03-07 14:14:38 +08:00
tehcneko
d6ea773aa8
[manager-service] Add uninstallPackage
2021-03-07 14:14:38 +08:00
LoveSy
cc6155b496
[core] Auto install manager when invalid
2021-03-07 14:14:38 +08:00
tehcneko
5e5b4a976f
[app] RikkaX ( #268 )
2021-03-05 07:41:20 +00:00
vvb2060
cb5940bc1a
Optimize apk size ( #263 )
2021-03-04 18:00:22 +08:00
LoveSy
ef7e3d07c5
[core] Make hook functions' names more resonable for debug ( #262 )
2021-03-04 08:08:10 +00:00
vvb2060
8e86ace802
Upgrade to AGP 7, ready to use Java 11 ( #261 )
...
* Update gradlew
./gradlew wrapper --gradle-version 6.8.3
* Fix line separator
* Fix build
Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-03-03 16:35:50 +00:00
LoveSy
534b9f4fe6
[core] No verbose and debug log in release build
2021-03-03 23:27:33 +08:00
LoveSy
84c8da994b
[core] Don't filter `android` ( #259 )
2021-03-03 13:59:48 +00:00
LoveSy
4442f684b9
[core] [app] Show freezed apps
2021-03-03 20:17:10 +08:00
LoveSy
bbcc3437b9
[core] Support freeze app
...
close #253
2021-03-03 20:17:10 +08:00
LoveSy
f900f9551d
[core] Fix version ( #247 )
2021-03-02 04:29:07 +08:00
LoveSy
5694e459a3
[gradle] Fix build ( #246 )
2021-03-02 03:40:18 +08:00
LoveSy
5b49351b7e
[gradle] kotlinfy ( #240 )
2021-03-02 02:55:15 +08:00
LoveSy
8594bfc766
[core] Remove key selector & optimize binary size ( #233 )
...
* [core] Remove key selector & optimize binary size
* More clean up
* Remove useless flags
2021-02-28 16:43:23 +00:00
LoveSy
1b7865d9a8
[core] Drop SDK 26 on installation ( #235 )
2021-02-28 16:21:57 +00:00
LoveSy
1182c9187d
[core] Fix NPE when getting package components ( #228 )
2021-02-28 06:22:39 +00:00
LoveSy
3537701778
[core] Fix zygote wait ( #225 )
2021-02-28 12:46:54 +08:00
LoveSy
d5ee8d3842
[core] Async cache ( #221 )
...
* [core] Async cache
* Wait for handler
* Resolve reviews
* Refine imports
2021-02-27 14:48:27 +00:00
LoveSy
cb5c9ea4d2
[core] use dex builder to generate resource dummy class ( #215 )
2021-02-27 05:27:23 +00:00
tehcneko
27d9fd0a70
[core] Fix illegal access ( #214 )
...
* [core] Fix illegal access
* [CI] Upload mappings for core
2021-02-27 04:34:19 +00:00
Wang Han
64beb89789
[core] Print versionCode in log header ( #212 )
2021-02-27 02:46:00 +00:00
LoveSy
46388d2e69
[core] Fix illegal access
2021-02-27 09:22:53 +08:00
LoveSy
05656e0939
[core] Fix dexbuilder return type of constructor
2021-02-27 09:22:53 +08:00
LoveSy
c23e172bac
[core] Fix YAHFA fails on some system modules ( #210 )
2021-02-27 09:08:55 +08:00
LoveSy
f591672962
[core] Fix invoke range ( #209 )
2021-02-26 20:27:33 +00:00
LoveSy
66dc5161b4
[core] Introduce c++ dexbuilder to replace dexmaker ( #207 )
2021-02-26 18:06:41 +00:00
tehcneko
d1867122d0
[core] Enable optimize ( #205 )
...
* [core] Load module with DelegateLastClassLoader
* [core] Drop support for API26
* [core] Enable optimize
* [core] Update proguard rules
* [core] Enable obfuscation
2021-02-26 23:45:19 +08:00
LoveSy
ec50521554
[core] Truncate log if log file is too big ( #202 )
2021-02-26 12:22:05 +08:00
tehcneko
a286b074e3
[core] Remove config observer ( #201 )
2021-02-25 19:40:10 +08:00
tehcneko
29e6731127
[core] Fix updating module apk path from package receiver ( #198 )
2021-02-25 08:43:35 +00:00
vvb2060
a7500c73f3
[core] [app] Use commit count as version code ( #195 )
2021-02-25 02:36:52 +00:00
LoveSy
cc0afb03e8
[core] Refine dexmaker cache stategy for YAHFA ( #187 )
...
* [core] Refine dexmaker cache stategy for YAHFA
* Delete old when old cache is invalid
2021-02-24 22:13:24 +08:00
tehcneko
fad2cf3064
[app] Add force stop and reboot
2021-02-24 20:58:14 +08:00
tehcneko
e844450b23
[core] Add reboot and force stop
2021-02-24 20:58:14 +08:00
tehcneko
9279fb03de
[core] Fix getPackageInfo flags ( #190 )
2021-02-24 07:05:40 +00:00
tehcneko
af01bd4626
[core] Fix no process filter ( #188 )
2021-02-24 13:07:41 +08:00
LoveSy
dee8477f7c
[core] Update/remove module iff userId=0 ( #185 )
2021-02-24 01:50:48 +08:00
tehcneko
128f3d8937
[core] [app] Filter out apps without any process for the scope list ( #181 )
...
* Filter out apps without any process for the scope list
* Bump ver
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-02-23 14:28:13 +00:00
LoveSy
6aed74acdd
[core] Send app binder when requesting binder ( #177 )
2021-02-23 18:31:52 +08:00
LoveSy
6314bae5db
[core] ensure app_process starts before zygote ( #172 )
...
Fix system modules not loaded in some devices
修复部分机型不能加载系统模块
2021-02-23 10:21:57 +08:00
LoveSy
a556880228
[core] fix typo ( #168 )
2021-02-22 18:58:06 +00:00
LoveSy
93e0846160
[core] Fix get users in some Q devices ( #167 )
2021-02-22 18:22:33 +00:00
LoveSy
e5b8df6597
[core] Fix compatibility on pre-Q devices ( #166 )
2021-02-23 00:43:46 +08:00
LoveSy
ae9454492f
[core] Fix resource hook ( #164 )
2021-02-22 15:49:54 +00:00
tehcneko
804bbbc87b
[core] Add LSPosedService to verbose log ( #163 )
2021-02-22 14:01:04 +00:00
tehcneko
c20aa3ec6a
[core] Hook old manager app to show version mismatch dialog
2021-02-22 19:56:18 +08:00
tehcneko
aaa8f4bc40
[core] Cleanup Xposed Bridge implementation
2021-02-22 18:46:29 +08:00
LoveSy
535dd32e52
[core] Handler when system server dies
2021-02-22 18:46:29 +08:00
LoveSy
43e878aabe
[core] Fix detection of newly installed manager
2021-02-22 18:46:29 +08:00
LoveSy
c9117285c7
[core] Fix installation
2021-02-22 18:46:29 +08:00
Wang Han
f0bca39f78
[core] Switch all set_perm() to use 0 instead of root
2021-02-22 18:46:29 +08:00
tehcneko
f0562db283
[core] Fix installation on S
2021-02-22 18:46:29 +08:00
tehcneko
76b93ce27f
[core] Update copyright
2021-02-22 18:46:29 +08:00
kotori0
a61740da2e
[sandhook] Fix typo
2021-02-22 18:46:29 +08:00
kotori0
95739bc185
[core] Support for Android S
2021-02-22 18:46:29 +08:00
tehcneko
3358523896
[core] Add back module updated notification
2021-02-22 18:46:29 +08:00
tehcneko
0bc9fdbaa2
[core] Nuke KeepAll and KeepMembers
2021-02-22 18:46:29 +08:00
tehcneko
96fbd2d045
[core] Remove unused codes
2021-02-22 18:46:29 +08:00
tehcneko
690f2c05f9
[core] Fix verbose log
2021-02-22 18:46:29 +08:00
tehcneko
f8013f208c
[core] final static -> static final
2021-02-22 18:46:29 +08:00
LoveSy
f9adf20eeb
[core] Remove disableHooks
2021-02-22 18:46:29 +08:00
LoveSy
a12336f69b
[core] Cache & check module
2021-02-22 18:46:29 +08:00
LoveSy
f56cf01e9f
[core] Migrate configuation
2021-02-22 18:46:29 +08:00
LoveSy
8f76679a38
[core] Enable debug of ParceledSliceList
2021-02-22 18:46:29 +08:00
LoveSy
56504a5f3b
[core] Fix caching logic
2021-02-22 18:46:29 +08:00
LoveSy
bde6b6dbc3
[core] Always add modules themselves into their scopes
2021-02-22 18:46:29 +08:00
LoveSy
2b1a2a02bd
[core] Fix component missing when booting
2021-02-22 18:46:29 +08:00
LoveSy
edcd4c2bf0
[core] ParceledSliceList cannot accept null
2021-02-22 18:46:29 +08:00
LoveSy
2e58c6a3e7
[core] Prevent binder from dying
2021-02-22 18:46:29 +08:00
LoveSy
db18cfcb60
[core] Get rid of NPE
2021-02-22 18:46:29 +08:00
LoveSy
6e115426e4
[core] Store pkg name & user id, judge process name & uid
2021-02-22 18:46:29 +08:00
LoveSy
7fcd689192
[core] Fix death receipent leak
2021-02-22 18:46:29 +08:00
LoveSy
4d334e9d52
[core] Grant manager permission
2021-02-22 18:46:29 +08:00
LoveSy
aae69dcf5c
[core] Fix sandhook
2021-02-22 18:46:29 +08:00
LoveSy
b5305e8621
[core] Fix prefs watcher
2021-02-22 18:46:29 +08:00
LoveSy
e296d0fba9
[core] Move sandhook to proper dir
2021-02-22 18:46:29 +08:00
LoveSy
346a1d0d75
[core] Fix modules' log
2021-02-22 18:46:29 +08:00
LoveSy
85e6b88bf5
[core] Fix binder for system server
2021-02-22 18:46:29 +08:00
tehcneko
7d08851aae
[app] Fix clear logs
2021-02-22 18:46:29 +08:00
LoveSy
687d4d64c7
[core] Fix log
2021-02-22 18:46:29 +08:00
tehcneko
9913da0b24
[core] Fix config manager
2021-02-22 18:46:29 +08:00
tehcneko
4d3cf0f16a
[core] Add version apis
2021-02-22 18:46:29 +08:00
tehcneko
018f072fce
[core] Keep execTransact
2021-02-22 18:46:29 +08:00
LoveSy
e3b2731cd3
[core] Bring back package receiver
2021-02-22 18:46:29 +08:00
LoveSy
e7e32351ea
[core] Add more manager service interfaces
2021-02-22 18:46:29 +08:00
LoveSy
374c8cac11
[core] Delete native config manager
2021-02-22 18:46:29 +08:00
LoveSy
2890aec54f
[core] Workaround for binder: allow blocking
2021-02-22 18:46:29 +08:00
LoveSy
0ec8959235
[core] Native request binder
2021-02-22 18:46:29 +08:00
LoveSy
c65af4c4b5
Add application service
2021-02-22 18:46:29 +08:00
LoveSy
3d2164b599
[core] ConfigManager in Java
2021-02-22 18:46:29 +08:00
LoveSy
d85b4d3584
Seperate manager service
2021-02-22 18:46:29 +08:00
LoveSy
d27e012442
Change to ParaceledListSlice
2021-02-22 18:46:29 +08:00
LoveSy
183dccde17
[core] Implement get all installed packages from all users
2021-02-22 18:46:29 +08:00
LoveSy
3f94f49568
[core] Say hello to binder
2021-02-22 18:46:29 +08:00
LoveSy
52dd8f8354
[core] Use get resource instead ( #142 )
...
* [core] Use get resource instead
* Fix finally
2021-02-15 15:25:53 +08:00
tehcneko
96b58a2a98
fixup!Use setStaticField instead ( #135 )
2021-02-13 18:42:02 +00:00
LoveSy
a652a81201
Use setStaticField instead
2021-02-14 02:31:19 +08:00
LoveSy
7db7b62ab6
[core] Fix stop the world in R ( #130 )
...
* [core] Fix wait for GC in R for Yahfa
* [core] Fix Sandhook stop the world
2021-02-13 22:54:04 +08:00
tehcneko
51ccc564f9
[core] Update copyright header (native part)
2021-02-13 17:28:01 +08:00
tehcneko
f8457ba00e
[core] Update copyright header
2021-02-13 17:28:01 +08:00
双草酸酯
9004bf6722
[key selector] Load default config and adjust timeout ( #114 )
2021-02-11 03:05:38 +08:00
双草酸酯
6b3ae42f78
[native api] fix null as dlopen file name ( #112 )
2021-02-09 23:27:28 +08:00
双草酸酯
c9b73630ae
[core] native api ( #108 )
...
* [core] Propose the LSPosed native API
* update native api specification
* add symbol cache
* [core] Native API implementation
* Fix typo
* Allow modules to load their own so
* bug fixes
* Fix crash in InstallRiruHooks
* Ignore failed dlopen
2021-02-09 20:36:38 +08:00
LoveSy
a4e69792d5
[core] Quick fix for bootloop in some devices ( #107 )
2021-02-09 15:57:18 +08:00
双草酸酯
5c1997f64d
[core] Check variant_path when updating config file ( #89 )
2021-02-07 03:48:51 +08:00
双草酸酯
4a96345b21
[core] nuke xhook ( #87 )
...
* [core] nuke xhook
2021-02-07 03:22:53 +08:00
LoveSy
7acf4493ed
[core] Ensure permission when zygote starts ( #86 )
2021-02-06 18:38:26 +08:00
LoveSy
8e73f0822b
Fix log permission ( #84 )
2021-02-06 15:52:53 +08:00
tehcneko
2831b9b3a1
Adapt to new logs path
2021-02-06 15:12:40 +08:00
tehcneko
5521826dea
Adapt to new verbose log flag
2021-02-06 15:12:40 +08:00
LoveSy
65da77315a
Use stub
2021-02-06 15:12:40 +08:00
LoveSy
33f2e15737
Customize logger for efficiency
2021-02-06 15:12:40 +08:00
tehcneko
364785e152
[core] Prevent manager from being hooked by modules ( #75 )
2021-02-05 20:38:06 +08:00
LoveSy
5c63665a74
[core] Fix resource hook in R ( #73 )
2021-02-05 18:22:08 +08:00
Wang Han
fc1bf22eda
[core] Align lines when printing module scope list ( #68 )
...
* Without this commit, the lines are printed like this:
02-03 21:00:20.488 987 987 I LSPosed : scope of com.mhook.dialog.beta is:
02-03 21:00:20.488 987 987 I LSPosed : com.bug.zqq
02-03 21:00:20.488 987 987 I LSPosed : com.tencent.mobileqq
02-03 21:00:20.488 987 987 I LSPosed : com.heytap.themestore
02-03 21:00:20.488 987 987 I LSPosed : com.mhook.dialog.beta
2021-02-04 22:58:15 +08:00
双草酸酯
7757c5d19b
[core] Remove redundant code ( #65 )
2021-02-03 19:23:48 +00:00
双草酸酯
0dbfe5ac35
[core] do not export xhook ( #64 )
2021-02-04 02:55:05 +08:00
LoveSy
68bb2d3db7
Fix duplicate declare when cache fails ( #59 )
2021-02-03 19:34:08 +08:00
LoveSy
f7da5f381d
[core] Lock critical section
2021-02-03 02:18:39 +08:00
LoveSy
97ddb596d3
Detect permissive selinux ( #45 )
2021-02-02 13:00:31 +08:00
tehcneko
ee7d0f884e
Update readme in zip with gradle
2021-02-01 16:30:09 +08:00
tehcneko
dab5cfec9b
Add manager signature verifier ( #32 )
...
* Add apksig dependency
* Enable j8 feature
* Add manager signature verifier
2021-02-01 16:15:40 +08:00
tehcneko
5ce10caed6
Specify build tools version
2021-02-01 14:00:50 +08:00
LoveSy
05cafca292
Fix #16
2021-01-31 14:04:49 +08:00
LoveSy
58748259b9
[core] Remove useless code
2021-01-30 17:36:21 +08:00
tehcneko
1300db3c30
Remove unused codes in scripts
2021-01-30 13:55:35 +08:00
tehcneko
b4d1ab01f0
Remove stub
2021-01-30 12:25:06 +08:00
LoveSy
1fc683ef3e
Remove whitelist
2021-01-30 03:25:54 +08:00
LoveSy
91c49dd6d0
Make ide happy about native methods
2021-01-30 02:52:11 +08:00
kotori0
cca7ae0067
Merge libsandhook.so into core so to reduce binary size
2021-01-30 00:35:29 +08:00
tehcneko
c508cb382f
Remove deopt boot image
2021-01-29 23:12:48 +08:00
LoveSy
62fb91a469
Optimize record pending
2021-01-29 16:07:12 +08:00
LoveSy
d54008040d
Always add module itself to scope
2021-01-29 15:57:10 +08:00
LoveSy
17291dbe51
Remove blacklist and force module to have scope
2021-01-29 15:40:40 +08:00
LoveSy
583e24b757
Remove pendding record after hooking
2021-01-29 13:41:16 +08:00
tehcneko
126c88ab02
Fix bootloop
2021-01-29 12:17:27 +08:00
tehcneko
ed2e19339c
Remove unused installer hook
2021-01-29 11:51:40 +08:00
LoveSy
d69bd65302
Fix accessibility
2021-01-29 07:51:39 +08:00
LoveSy
727f9ba7c3
Fix invokeOriginalMethod
2021-01-29 07:40:18 +08:00
LoveSy
b27398fbe0
Fix pendding hook condition
2021-01-29 07:32:21 +08:00
LoveSy
e5379ea27e
Fix pendding hook on R
2021-01-29 06:42:41 +08:00
LoveSy
716dfae0f6
Fix ShouldUseInterpreterEntrypoint for pendding hook
2021-01-29 04:36:11 +08:00
LoveSy
3896a76373
Fix skip logic for android
2021-01-29 03:19:39 +08:00
LoveSy
7e5fcc2136
[skip ci] Fix install log
2021-01-29 02:44:23 +08:00
C3C0
ac5c24028d
Merge remote-tracking branch 'origin/master'
2021-01-28 18:49:14 +01:00
C3C0
c60f9ed9ef
XSharedPreferences: implemented on-demand file watcher
...
Further optimization of f8aa9d0
File watcher is initiated and kept alive only while there are valid watch keys present.
2021-01-28 18:47:18 +01:00
LoveSy
d4cb7ba15d
Inherit configuration from EdXposed
2021-01-29 01:41:35 +08:00
LoveSy
346ef57460
Fix submodules
2021-01-29 01:18:05 +08:00
LoveSy
22d18846e9
Find & Replace
2021-01-29 01:14:53 +08:00