Commit Graph

258 Commits

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