Commit Graph

149 Commits

Author SHA1 Message Date
残页 bb86467918
[core] Fix elf name match (#1083) 2021-09-08 16:24:38 +00:00
LoveSy 6a2e53134f
[core] Fix `failed to open [anon:linker_alloc]` (#1082)
Fix LSPosed/LSPatch#17
2021-09-08 23:45:28 +08:00
tehcneko 4464210e69
[app] Preload webview htmls (#1078)
* [app] Preload webview htmls

* [app] Remove "v" from version name
2021-09-08 10:03:02 +08:00
Howard Wu 00e40aac28
Reduce the buffer size again in Release to the default value (#1043) 2021-09-03 22:09:25 +08:00
Howard Wu 3774390840
Update logcat.cpp (#1040) 2021-09-03 10:36:09 +00:00
LoveSy 71780b4b70
[core] Create log dir when it was deleted (#1037) 2021-09-02 14:23:38 +00:00
残页 3e412e1e8c
[core] Try manually start logd (#1030) 2021-08-31 23:48:23 +08:00
vvb2060 18c3bb426f Tag len includes nullptr
https://cs.android.com/android/platform/superproject/+/master:system/logging/liblog/tests/logprint_test.cpp;l=137;drc=3e3b6dc5e955fd9530c1d1bed8eee1726b91c59b
2021-08-28 23:41:18 +08:00
LoveSy 4c4dda340a
[core] Fix logcat tag len (#1022)
It's an ASOP's bug that tag len is 1 larger
2021-08-28 05:53:45 +00:00
LoveSy 4eeadd02d6
[core] Explicit `sv` for optimization (#1021) 2021-08-27 19:13:02 +08:00
vvb2060 bc765d3cdd
[core] clear logs will refresh fd (#1020) 2021-08-27 18:56:28 +08:00
vvb2060 24120e75ad
[core] Force logging on boot (#996) 2021-08-24 09:20:10 +00:00
LoveSy 42ddca8b05
[core] Move config to db again (#989)
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-08-24 00:15:53 +08:00
vvb2060 485da5a37c
Revert "[core] Move config to db (#981)" (#988)
This reverts commit 40e47762d7.
2021-08-23 22:28:41 +08:00
vvb2060 394d7fba19
Revert "[core] Fix logcat (#986)" (#987)
This reverts commit a4abbfa67a.
2021-08-23 22:21:55 +08:00
vvb2060 a4abbfa67a
[core] Fix logcat (#986) 2021-08-23 21:19:32 +08:00
vvb2060 40e47762d7
[core] Move config to db (#981) 2021-08-23 16:57:24 +08:00
LoveSy 05f8704576
[core] Module log using lspd logcat (#980) 2021-08-22 18:53:11 +00:00
LoveSy 08520cd8e7
[core] Prevent logcat infinite loop (#976) 2021-08-22 09:54:52 +00:00
LoveSy c87172e88c
[log] Check log size in native (#966) 2021-08-21 09:12:20 +08:00
vvb2060 9f868aeddf
[core] Native logcat (#960)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-08-20 19:15:13 +00:00
vvb2060 6dfaf67a07
[core] get full exception info (#955) 2021-08-20 14:50:56 +08:00
LoveSy 95c0f8aafc
[core] Use Field.set instead of Method.invoke (#891) 2021-08-12 18:31:27 +08:00
LoveSy 59931f4f6e
[core] Fix stupid bug (#889) 2021-08-12 05:05:58 +08:00
LoveSy a5febe8f86
LLVM12 (#510) 2021-08-12 03:56:15 +08:00
LoveSy 96c80493c8 [core] non-member function should not be static 2021-08-06 13:50:58 +08:00
Wang Han 5f250e860c
[skip ci] Misc changes (#830) 2021-07-25 05:42:32 +00:00
LoveSy 1023e0e6ab
Fix #816 (#817) 2021-07-16 15:18:10 +00:00
LoveSy 21f9aedce6
[core] Fix native hook (#784)
Close #783
2021-06-27 19:34:34 +08:00
vvb2060 4fc0f8754c
[core] Enable LTO (#758)
* Update dobby

* Enable LTO
2021-06-20 23:56:03 +08:00
vvb2060 c2662c9887
Update .clang-tidy (#757) 2021-06-20 09:38:35 +00:00
LoveSy 81158eaa0b
[core] Add .clang-tidy (#755) 2021-06-20 15:44:15 +08:00
vvb2060 1763d82c2d
Fix MODULE_NAME (#754) 2021-06-20 05:11:44 +00:00
vvb2060 74f93dbd7a
Ndk build (#753)
* Update dependencies

* Use prefab dobby

* NDK build

* Add ccache

* Fix library copy

* rm CMakeLists.txt
2021-06-20 11:46:38 +08:00
LoveSy f410634dc9
[core] Remove useless files (#750) 2021-06-17 19:05:08 +08:00
LoveSy cef4137c7a
[core] Manually release ElfImg (#747) 2021-06-15 10:06:53 +08:00
LoveSy 4cb731c1fb
[core] Completely switch to ElfImg (#730) 2021-06-04 02:07:53 +08:00
LoveSy 0ad10cf369
[core] Check pending exception (#724) 2021-06-03 10:17:15 +00:00
LoveSy efa42a4eb0
[core] Remove isSamePackage hook (#690) 2021-05-28 19:58:01 +08:00
LoveSy d67b34fd16
[core] Remove RiruHook (#677)
* First, dex2oat flags are not read by zygote and its
   child but installd so hooking it with Riru does nothing.
 * Second, we do not set native flag for methods so
   we don't need to handle the Oreo special case.
2021-05-25 08:49:30 +00:00
LoveSy 21d05486df
[core] Remove reflection hook (#666)
We previously hook reflection because we want only the hooker class
to have the privilege to access the backup method. However, we now
found that the backup method is a private copy and cannot be accessed
by outer classes, so we remove the relection hook for efficiency.
2021-05-24 08:34:22 +08:00
Wang Han c3cc4b2b5c
[core] Remove API level check for inline hook (#660) 2021-05-23 05:04:08 +00:00
LoveSy 9899bbfb95
[core] Check status of dladdr (#626) 2021-05-19 03:45:24 +00:00
vvb2060 d9f95d1280
Use Java writer (#579) 2021-05-14 16:36:47 +00: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 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