Commit Graph

58 Commits

Author SHA1 Message Date
JingMatrix 98565cf9b8 Fix logs generated by LSPosed manager
1. Update Dobby to set log TAG properly
2. Fix log preference settings for debug version
2024-12-07 13:00:08 +01:00
dependabot[bot] 984bb1c8e5
Bump the submodule group with 2 updates (#108)
Bumps the submodule group with 2 updates: [external/fmt](https://github.com/fmtlib/fmt) and [apache/commons-lang](https://github.com/apache/commons-lang).


Updates `external/fmt` from `4b8e283` to `385c01d`
- [Release notes](https://github.com/fmtlib/fmt/releases)
- [Commits](4b8e2838f0...385c01dc7b)

Updates `apache/commons-lang` from `85f91f4` to `6cf0236`
- [Commits](85f91f4208...6cf0236d4e)

---
updated-dependencies:
- dependency-name: external/fmt
  dependency-type: direct:production
  dependency-group: submodule
- dependency-name: apache/commons-lang
  dependency-type: direct:production
  dependency-group: submodule
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 08:01:07 +01:00
JingMatrix 403b5fa516 Remove Telemetry
Current fork has no access to the analytics provide by Microsoft
appcenter, and we prefer to leave users anonymous.
2024-11-20 19:43:49 +01:00
dependabot[bot] 8d987bf971
Bump the submodule group with 3 updates (#86)
* Bump the submodule group with 3 updates

Bumps the submodule group with 3 updates: [external/fmt](https://github.com/fmtlib/fmt), [axml/libs/manifest-editor](https://github.com/WindySha/ManifestEditor) and [apache/commons-lang](https://github.com/apache/commons-lang).


Updates `external/fmt` from `2cb3b7c` to `4b8e283`
- [Release notes](https://github.com/fmtlib/fmt/releases)
- [Commits](2cb3b7c64b...4b8e2838f0)

Updates `axml/libs/manifest-editor` from `1eddf66` to `d62b314`
- [Release notes](https://github.com/WindySha/ManifestEditor/releases)
- [Commits](1eddf66b8e...d62b314cd0)

Updates `apache/commons-lang` from `d24150c` to `85f91f4`
- [Commits](d24150c7ee...85f91f4208)

---
updated-dependencies:
- dependency-name: external/fmt
  dependency-type: direct:production
  dependency-group: submodule
- dependency-name: axml/libs/manifest-editor
  dependency-type: direct:production
  dependency-group: submodule
- dependency-name: apache/commons-lang
  dependency-type: direct:production
  dependency-group: submodule
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JingMatrix <jingmatrix@gmail.com>
2024-11-01 09:50:44 +01:00
JingMatrix 59285c1553 Sync git submodules
Close #52 as merged
2024-10-08 02:40:32 +02:00
JingMatrix e55ecdf67c Remove LSPlt submodule
Close #43 as completed.
2024-09-23 11:10:37 +02:00
JingMatrix 452df8c186 Update dependencies
DexBuilder is updated in the LSPlant repo.

Note: we should clean caches of GitHub Actions
2024-09-22 14:25:45 +02:00
JingMatrix e28e194682 Indicate plt hook explicitly
The file magisk_loader.cpp is reformatted using clangd
2024-09-12 15:19:28 +02:00
JingMatrix c2c4e5207f Add external project xz-embedded 2024-09-12 11:31:07 +02:00
Caner Karaca 9222db4fa7 Update dependencies (#16)
Update for mainswitchbar from 1.0.2 to 1.1.0 should be ignored in the future.

Co-authored-by: JingMatrix <jingmatrix@gmail.com>
2024-09-12 11:31:07 +02:00
JingMatrix c3782c9b3c Adapt LSPlant upstream update
1. Remove the usage of `tstring` since it is removed in the upstream.
2. In commit aa98da5, the return value of android::ResStringPool::setup
was mistaken.
3. We should also set a proper symbol resolver for native_api.
2024-09-12 11:31:07 +02:00
JingMatrix 1d7de6c78e Avoid resolving `libart` symbols twice
LSPlt is only used to hook libart symbols.
The file `native_util.h` is reformatted by clangd.
Fallback to Dobby if LSPlt fails.
2024-09-12 11:30:15 +02:00
JingMatrix 75e300532e Use Dobby for native_api
LSPlt might not be capable for general native_api hooks

Fix Dobby module repo Url

chiteroman has deleted his repo, so I should maintain my own fork.
2024-09-12 11:30:06 +02:00
JingMatrix 42cf1c2fd5 [skip ci] Replace submodule Dobby by LSPlt
It remains to implement HookFunction and UnhookFunction with LSPlt
2024-08-31 05:36:57 +02:00
JingMatrix 9df0af313f Update dobby dependency
Note that RS_SUCCESS = 0 is removed in the commit
f4643b8d14d7cc94516b446ca77d952d0b986d50
of https://github.com/jmpews/Dobby

The CMake option DOBBY_GENERATE_SHARED is removed, we use dobby_static
explicitly.
2024-08-27 01:50:17 +02:00
JingMatrix b56313157e Update LSPlant for Android 15
Convert ScopedLocalRef to its reference, otherwise we get error:

no viable conversion from 'ScopedLocalRef<_jobject *>' (aka 'lsplant::ScopedLocalRef<_jobject *>') to 'jobject' (aka '_jobject *')
2024-07-24 01:23:05 +02:00
JingMatrix 56a058bd27 Turn on EXPORT_COMPILE_COMMANDS
To make `clangd` work properly, one may need to make symbolic links

```
cd daemon
ln -sf $PWD/build/tools/debug/arm64-v8a/compile_commands.json build
```
2024-07-24 01:23:05 +02:00
JingMatrix ecaf1e53eb Update external
fix fmt build
2024-07-24 01:23:05 +02:00
Howard Wu bb8b8bfab5
Update lsplant (#2806) 2023-10-11 07:34:43 +00:00
Howard Wu 254a8adb27
Officially announce Android 14 support (#2801)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-10-10 17:06:21 +00:00
LoveSy 15e480132a
Fix AdjustThreadVisibilityCounter inline (#2799) 2023-10-10 11:57:43 +08:00
LoveSy d487932696
Fix class verification of hooker crash for sdk 34 (#2797) 2023-10-10 10:01:20 +08:00
LoveSy 7fef809d01
Use phmap instead of absl (#2781) 2023-10-07 23:11:26 +08:00
LoveSy 888a7dbeb6
Upgrade cxx (#2780) 2023-10-05 01:06:57 +08:00
Js0n 2135685007
sync: submodule Dobby (#2660)
Fix native hook on arm paltforms
2023-08-03 20:01:08 +08:00
LoveSy 7a45723eda Remove setTrust race workaround 2023-07-01 23:49:10 +08:00
LoveSy 40845b3f74 Fix race by lock-free backup implementation 2023-06-25 17:34:11 +08:00
LoveSy b2692e6a60
Upgrade AGP (#2515) 2023-05-02 11:55:52 +08:00
LoveSy 013428370f
Upgrade deps (#2324) 2023-01-15 10:35:10 +00:00
LoveSy 0dab3f687f
Fix 32bit symbol (#2288) 2022-12-07 01:55:22 +00:00
LoveSy 0d5b6af524
Update deps (#2264) 2022-12-02 15:48:53 +00:00
LoveSy fd1c51e027
Use latest tag for version name (#2251) 2022-11-29 22:05:22 +08:00
LoveSy 4535057e07
Update deps (#2239) 2022-11-19 17:20:34 +00:00
LoveSy cd6e947397
Update submodules (#2229) 2022-11-14 17:25:03 +08:00
LoveSy 7a544a4aaa
Fix hooking proxy method (#2208) 2022-11-01 14:43:30 -04:00
LoveSy abe143e9cc
Fix hook/deoptimize static methods failed on some Andorid 13 devices (#2198) 2022-10-29 18:30:56 +08:00
LoveSy 82bc5cab0d
Update deps (#2170) 2022-10-13 16:54:25 +00:00
LoveSy 65136dc5ff
Update AGP and LSPlant (#2136) 2022-09-19 07:59:03 +00:00
LoveSy 4ffcb36a95
Preliminary support for Android 14 (#2110) 2022-09-13 16:52:11 +00:00
LoveSy 4e83cfa4d3
Fix deoptmize static methods (#2109) 2022-09-13 18:10:53 +08:00
LoveSy ae62c1700b
Update deps (#2025)
Fix #2022
2022-07-05 14:01:28 +00:00
LoveSy 666e8780c7
Update deps (#2016) 2022-06-30 16:43:40 +08:00
LoveSy 307b88f1d6
Use `absl::flat_hash_map` instead (#2001) 2022-06-29 02:21:39 +08:00
LoveSy 22137c266e
Update deps (#2002) 2022-06-22 14:49:42 +00:00
LoveSy f3055202da
Disable Dobby SymbolResolver (#1976) 2022-06-06 17:34:16 +08:00
南宫雪珊 b392f331c8
Replace ParceledListSlice with ParcelableListSlice (#1936) 2022-05-14 23:06:18 +08:00
LoveSy dbc350a75e
Fix hooking internal used methods (#1900) 2022-04-28 11:38:10 +08:00
LoveSy 7d5778a01c
Update elf util & lsplant to support A13B1 arm (#1894) 2022-04-27 03:29:32 +00:00
LoveSy 177c2cd0c4
Fix hook may not work on debuggable runtime (#1892)
Co-authored-by: Wang Han <wanghan1995315@gmail.com>
2022-04-27 06:21:47 +08:00
双草酸酯 7b937c3347
Use fmtlib to print log (#1854)
(release zip size + ~50k)
2022-04-16 18:20:11 +08:00