Commit Graph

115 Commits

Author SHA1 Message Date
tehcneko 0bc9fdbaa2 [core] Nuke KeepAll and KeepMembers 2021-02-22 18:46:29 +08:00
tehcneko 96fbd2d045 [core] Remove unused codes 2021-02-22 18:46:29 +08:00
tehcneko f8013f208c [core] final static -> static final 2021-02-22 18:46:29 +08:00
LoveSy f9adf20eeb [core] Remove disableHooks 2021-02-22 18:46:29 +08:00
LoveSy a12336f69b [core] Cache & check module 2021-02-22 18:46:29 +08:00
LoveSy f56cf01e9f [core] Migrate configuation 2021-02-22 18:46:29 +08:00
LoveSy 8f76679a38 [core] Enable debug of ParceledSliceList 2021-02-22 18:46:29 +08:00
LoveSy 56504a5f3b [core] Fix caching logic 2021-02-22 18:46:29 +08:00
LoveSy bde6b6dbc3 [core] Always add modules themselves into their scopes 2021-02-22 18:46:29 +08:00
LoveSy 2b1a2a02bd [core] Fix component missing when booting 2021-02-22 18:46:29 +08:00
LoveSy edcd4c2bf0 [core] ParceledSliceList cannot accept null 2021-02-22 18:46:29 +08:00
LoveSy 2e58c6a3e7 [core] Prevent binder from dying 2021-02-22 18:46:29 +08:00
LoveSy db18cfcb60 [core] Get rid of NPE 2021-02-22 18:46:29 +08:00
LoveSy 6e115426e4 [core] Store pkg name & user id, judge process name & uid 2021-02-22 18:46:29 +08:00
LoveSy 7fcd689192 [core] Fix death receipent leak 2021-02-22 18:46:29 +08:00
LoveSy 4d334e9d52 [core] Grant manager permission 2021-02-22 18:46:29 +08:00
LoveSy aae69dcf5c [core] Fix sandhook 2021-02-22 18:46:29 +08:00
LoveSy b5305e8621 [core] Fix prefs watcher 2021-02-22 18:46:29 +08:00
LoveSy e296d0fba9 [core] Move sandhook to proper dir 2021-02-22 18:46:29 +08:00
LoveSy 346a1d0d75 [core] Fix modules' log 2021-02-22 18:46:29 +08:00
LoveSy 85e6b88bf5 [core] Fix binder for system server 2021-02-22 18:46:29 +08:00
tehcneko 7d08851aae [app] Fix clear logs 2021-02-22 18:46:29 +08:00
LoveSy 687d4d64c7 [core] Fix log 2021-02-22 18:46:29 +08:00
tehcneko 9913da0b24 [core] Fix config manager 2021-02-22 18:46:29 +08:00
tehcneko 4d3cf0f16a [core] Add version apis 2021-02-22 18:46:29 +08:00
tehcneko 018f072fce [core] Keep execTransact 2021-02-22 18:46:29 +08:00
LoveSy e3b2731cd3 [core] Bring back package receiver 2021-02-22 18:46:29 +08:00
LoveSy e7e32351ea [core] Add more manager service interfaces 2021-02-22 18:46:29 +08:00
LoveSy 374c8cac11 [core] Delete native config manager 2021-02-22 18:46:29 +08:00
LoveSy 2890aec54f [core] Workaround for binder: allow blocking 2021-02-22 18:46:29 +08:00
LoveSy 0ec8959235 [core] Native request binder 2021-02-22 18:46:29 +08:00
LoveSy c65af4c4b5 Add application service 2021-02-22 18:46:29 +08:00
LoveSy 3d2164b599 [core] ConfigManager in Java 2021-02-22 18:46:29 +08:00
LoveSy d85b4d3584 Seperate manager service 2021-02-22 18:46:29 +08:00
LoveSy d27e012442 Change to ParaceledListSlice 2021-02-22 18:46:29 +08:00
LoveSy 183dccde17 [core] Implement get all installed packages from all users 2021-02-22 18:46:29 +08:00
LoveSy 3f94f49568 [core] Say hello to binder 2021-02-22 18:46:29 +08:00
LoveSy 52dd8f8354
[core] Use get resource instead (#142)
* [core] Use get resource instead

* Fix finally
2021-02-15 15:25:53 +08:00
tehcneko 96b58a2a98
fixup!Use setStaticField instead (#135) 2021-02-13 18:42:02 +00:00
LoveSy a652a81201 Use setStaticField instead 2021-02-14 02:31:19 +08:00
LoveSy 7db7b62ab6
[core] Fix stop the world in R (#130)
* [core] Fix wait for GC in R for Yahfa

* [core] Fix Sandhook stop the world
2021-02-13 22:54:04 +08:00
tehcneko f8457ba00e [core] Update copyright header 2021-02-13 17:28:01 +08:00
双草酸酯 c9b73630ae
[core] native api (#108)
* [core] Propose the LSPosed native API

* update native api specification

* add symbol cache

* [core] Native API implementation

* Fix typo

* Allow modules to load their own so

* bug fixes

* Fix crash in InstallRiruHooks

* Ignore failed dlopen
2021-02-09 20:36:38 +08:00
tehcneko 2831b9b3a1 Adapt to new logs path 2021-02-06 15:12:40 +08:00
tehcneko 5521826dea Adapt to new verbose log flag 2021-02-06 15:12:40 +08:00
LoveSy 65da77315a Use stub 2021-02-06 15:12:40 +08:00
LoveSy 33f2e15737 Customize logger for efficiency 2021-02-06 15:12:40 +08:00
tehcneko 364785e152
[core] Prevent manager from being hooked by modules (#75) 2021-02-05 20:38:06 +08:00
LoveSy 5c63665a74
[core] Fix resource hook in R (#73) 2021-02-05 18:22:08 +08:00
LoveSy 68bb2d3db7
Fix duplicate declare when cache fails (#59) 2021-02-03 19:34:08 +08:00
LoveSy 97ddb596d3
Detect permissive selinux (#45) 2021-02-02 13:00:31 +08:00
tehcneko dab5cfec9b
Add manager signature verifier (#32)
* Add apksig dependency

* Enable j8 feature

* Add manager signature verifier
2021-02-01 16:15:40 +08:00
LoveSy 58748259b9 [core] Remove useless code 2021-01-30 17:36:21 +08:00
LoveSy 91c49dd6d0 Make ide happy about native methods 2021-01-30 02:52:11 +08:00
kotori0 cca7ae0067 Merge libsandhook.so into core so to reduce binary size 2021-01-30 00:35:29 +08:00
LoveSy 62fb91a469 Optimize record pending 2021-01-29 16:07:12 +08:00
LoveSy 583e24b757 Remove pendding record after hooking 2021-01-29 13:41:16 +08:00
tehcneko 126c88ab02 Fix bootloop 2021-01-29 12:17:27 +08:00
tehcneko ed2e19339c Remove unused installer hook 2021-01-29 11:51:40 +08:00
LoveSy 727f9ba7c3 Fix invokeOriginalMethod 2021-01-29 07:40:18 +08:00
LoveSy b27398fbe0 Fix pendding hook condition 2021-01-29 07:32:21 +08:00
LoveSy e5379ea27e Fix pendding hook on R 2021-01-29 06:42:41 +08:00
LoveSy 716dfae0f6 Fix ShouldUseInterpreterEntrypoint for pendding hook 2021-01-29 04:36:11 +08:00
C3C0 c60f9ed9ef XSharedPreferences: implemented on-demand file watcher
Further optimization of f8aa9d0
File watcher is initiated and kept alive only while there are valid watch keys present.
2021-01-28 18:47:18 +01:00
LoveSy 22d18846e9 Find & Replace 2021-01-29 01:14:53 +08:00