Commit Graph

297 Commits

Author SHA1 Message Date
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