Commit Graph

244 Commits

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