Commit Graph

275 Commits

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