Commit Graph

63 Commits

Author SHA1 Message Date
dependabot[bot] 9747e97a0d Update dependencies
Also fix upstream url for the submodule ManifestEditor, since #176 is pulling updates from WindySha/ManifestEditor.

Bump the maven group across 1 directory with 6 updates (#186)

Bumps the maven group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| androidx.fragment:fragment | `1.8.5` | `1.8.6` |
| androidx.navigation:navigation-fragment | `2.8.6` | `2.8.7` |
| androidx.navigation:navigation-ui | `2.8.6` | `2.8.7` |
| androidx.navigation.safeargs | `2.8.6` | `2.8.7` |
| androidx.swiperefreshlayout:swiperefreshlayout | `1.2.0-alpha01` | `1.2.0-beta01` |
| [org.lsposed.hiddenapibypass:hiddenapibypass](https://github.com/LSPosed/AndroidHiddenApiBypass) | `6.0` | `6.1` |

Updates `androidx.fragment:fragment` from 1.8.5 to 1.8.6

Updates `androidx.navigation:navigation-fragment` from 2.8.6 to 2.8.7

Updates `androidx.navigation:navigation-ui` from 2.8.6 to 2.8.7

Updates `androidx.navigation.safeargs` from 2.8.6 to 2.8.7

Updates `androidx.navigation:navigation-ui` from 2.8.6 to 2.8.7

Updates `androidx.swiperefreshlayout:swiperefreshlayout` from 1.2.0-alpha01 to 1.2.0-beta01

Updates `org.lsposed.hiddenapibypass:hiddenapibypass` from 6.0 to 6.1
- [Commits](https://github.com/LSPosed/AndroidHiddenApiBypass/compare/v6.0...v6.1)

Updates `androidx.navigation.safeargs` from 2.8.6 to 2.8.7

---
updated-dependencies:
- dependency-name: androidx.fragment:fragment
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.navigation:navigation-fragment
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.navigation:navigation-ui
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.navigation.safeargs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.navigation:navigation-ui
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.swiperefreshlayout:swiperefreshlayout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: org.lsposed.hiddenapibypass:hiddenapibypass
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
- dependency-name: androidx.navigation.safeargs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump the maven group with 3 updates (#187)

Bumps the maven group with 3 updates: com.android.tools.build:apksig, com.android.library and com.android.application.

Updates `com.android.tools.build:apksig` from 8.8.0 to 8.8.1

Updates `com.android.library` from 8.8.0 to 8.8.1

Updates `com.android.application` from 8.8.0 to 8.8.1

Updates `com.android.library` from 8.8.0 to 8.8.1

Updates `com.android.application` from 8.8.0 to 8.8.1

---
updated-dependencies:
- dependency-name: com.android.tools.build:apksig
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.android.library
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.android.application
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.android.library
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.android.application
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-14 19:55:12 +01:00
JingMatrix c0478f593e
Hook dex2oat functions to remove LSPosed traces (#152)
We use the env LD_PRELOAD to hook the execution of `dex2oat`, which can be directly set to be a file descriptor.
2025-01-08 07:19:18 +01:00
JingMatrix 7cd98e6d48 Remove topjohnwu/libcxx dependency
John Wu has stopped the development of https://github.com/topjohnwu/libcxx.
LSPosed will now use llvm's static stdc++ library, see https://developer.android.com/ndk/guides/cpp-support.
2025-01-07 20:58:11 +01:00
dependabot[bot] 2ac24fabe4 Bump the submodule group with 3 updates (#145)
Bumps the submodule group with 3 updates: [external/fmt](https://github.com/fmtlib/fmt), [external/xz-embedded](https://github.com/tukaani-project/xz-embedded) and [apache/commons-lang](https://github.com/apache/commons-lang).


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

Updates `external/xz-embedded` from `2136eba` to `ae63ae3`
- [Commits](2136ebaa26...ae63ae3a36)

Updates `apache/commons-lang` from `6cf0236` to `62b08ff`
- [Commits](6cf0236d4e...62b08ffdba)

---
updated-dependencies:
- dependency-name: external/fmt
  dependency-type: direct:production
  dependency-group: submodule
- dependency-name: external/xz-embedded
  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>
2025-01-03 14:06:28 +01:00
JingMatrix e7a5835d8f
Clear compilation warnings (#121)
* Fix warnings of CMake

To completely remove CMake version warnings, one may need to change the CMakeLists.txt file in the NDK installation.

* Add compiler flag -Wpedantic

Show compilation errors for the core subject, while ignore some of them
2024-12-09 22:15:18 +01:00
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