Commit Graph

189 Commits

Author SHA1 Message Date
vvb2060 2eae90dfe7
Generate SignInfo (#493) 2021-04-18 11:27:35 +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 69a3e04ede
[core] Debug so should place under /system (#460)
Otherwise, unwind will fail
2021-04-06 00:29:40 +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 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
LoveSy fa97300d58
[core] Small refine of ElfImg (#431) 2021-03-30 12:38:08 +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
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
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
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
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