Commit Graph

2983 Commits

Author SHA1 Message Date
JingMatrix 85b8fa17fb Set provider of FakeContext as a workaround
The ContentProvider of FakeContext is tricky, being null or not, it can
always break notification construction in some devices.
Close #79 as fixed.
2024-11-24 22:24:48 +01:00
JingMatrix 0a2f26fef9 Fix parcel recycling when no response from bridge
In case that there is no response from bridge, a second try of sending
binder will cause the (unowned) parcels to be recycled twice.
2024-11-24 00:42:15 +01:00
JingMatrix 1b98e55cfc Bypass flags checks for Notification constrctors
Close #98 #96 as fixed.
In the decomplied smali files, the method `load_overrides_systemui`
of the class `FeatureFlagsImpl` is called only if its field
`systemui_is_cached` is false.
2024-11-22 20:30:09 +01:00
JingMatrix 5da38f60a2 Avoid parsing libart for multiple times
Use GetArt instead of parsing the lib anew.
2024-11-21 09:29:53 +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] 705e8daee7
Bump the maven group with 3 updates (#95)
Bumps the maven group with 3 updates: androidx.navigation:navigation-fragment, androidx.navigation:navigation-ui and androidx.navigation.safeargs.


Updates `androidx.navigation:navigation-fragment` from 2.8.3 to 2.8.4

Updates `androidx.navigation:navigation-ui` from 2.8.3 to 2.8.4

Updates `androidx.navigation.safeargs` from 2.8.3 to 2.8.4

Updates `androidx.navigation:navigation-ui` from 2.8.3 to 2.8.4

Updates `androidx.navigation.safeargs` from 2.8.3 to 2.8.4

---
updated-dependencies:
- 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.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>
2024-11-20 06:26:49 +01:00
JingMatrix 6575c443f0
New translations strings.xml (Polish) (#92) 2024-11-09 10:39:31 +01:00
JingMatrix a8fd853657
[translation] Update translation from Crowdin (#87)
* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (French)

* New translations strings.xml (Japanese)

* New translations strings.xml (Turkish)

* New translations strings.xml (Japanese)
2024-11-04 19:03:46 +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
dependabot[bot] e569e48e8a
Bump the maven group with 3 updates (#85)
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.7.1 to 8.7.2

Updates `com.android.library` from 8.7.1 to 8.7.2

Updates `com.android.application` from 8.7.1 to 8.7.2

Updates `com.android.library` from 8.7.1 to 8.7.2

Updates `com.android.application` from 8.7.1 to 8.7.2

---
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>
2024-11-01 02:36:58 +01:00
dependabot[bot] 1db3217d2e
Bump the maven group with 4 updates (#82)
Bumps the maven group with 4 updates: androidx.annotation:annotation, androidx.constraintlayout:constraintlayout, androidx.core:core and androidx.fragment:fragment.


Updates `androidx.annotation:annotation` from 1.9.0 to 1.9.1

Updates `androidx.constraintlayout:constraintlayout` from 2.1.4 to 2.2.0

Updates `androidx.core:core` from 1.13.1 to 1.15.0

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

---
updated-dependencies:
- dependency-name: androidx.annotation:annotation
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.constraintlayout:constraintlayout
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
- dependency-name: androidx.core:core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
- dependency-name: androidx.fragment:fragment
  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>
2024-10-31 15:02:56 +01:00
Keeperorowner be2342194c
Add action.sh to open LSPosed manager (#74)
* Update customize.sh

* Create action.sh

* Keep WebUI as fallback

---------

Co-authored-by: JingMatrix <jingmatrix@gmail.com>
2024-10-31 15:02:28 +01:00
JingMatrix 8fb6afb84e Rename Apache class names to avoid conflicts
We add a gradle task to rename class names in the Apache library
2024-10-31 14:43:43 +01:00
JingMatrix f1f0b42c70
[translation] Update translation from Crowdin (#81)
* New translations strings.xml (Arabic)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese, Brazilian)
2024-10-29 14:48:12 +01:00
JingMatrix 68a6460188
New translations strings.xml (Italian) (#72) 2024-10-19 12:08:11 +02:00
JingMatrix ff04a68822
Fix CallBooleanMethodV hook of exec_transact (#71)
* Revert "use shared memory"

This reverts commit 44570c5ed0.

* Revert "fix manager not detected"

This reverts commit 9125b4b2f1.

Close #69 as fixed.
2024-10-17 18:46:01 +02:00
JingMatrix 89200db966
[translation] Update translation from Crowdin (#67)
* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)
2024-10-17 11:42:17 +02:00
dependabot[bot] a8a127f429
Bump the maven group with 5 updates (#65)
Bumps the maven group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| androidx.activity:activity | `1.9.2` | `1.9.3` |
| androidx.annotation:annotation | `1.8.2` | `1.9.0` |
| androidx.navigation:navigation-fragment | `2.8.2` | `2.8.3` |
| androidx.navigation:navigation-ui | `2.8.2` | `2.8.3` |
| androidx.navigation.safeargs | `2.8.2` | `2.8.3` |


Updates `androidx.activity:activity` from 1.9.2 to 1.9.3

Updates `androidx.annotation:annotation` from 1.8.2 to 1.9.0

Updates `androidx.navigation:navigation-fragment` from 2.8.2 to 2.8.3

Updates `androidx.navigation:navigation-ui` from 2.8.2 to 2.8.3

Updates `androidx.navigation.safeargs` from 2.8.2 to 2.8.3

Updates `androidx.navigation:navigation-ui` from 2.8.2 to 2.8.3

Updates `androidx.navigation.safeargs` from 2.8.2 to 2.8.3

---
updated-dependencies:
- dependency-name: androidx.activity:activity
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.annotation:annotation
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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.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>
2024-10-17 11:41:49 +02:00
JingMatrix 5f20d7ab75 Android 15 is released 2024-10-16 11:06:16 +02:00
dependabot[bot] be5c575eae
Bump the maven group with 3 updates (#63)
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.7.0 to 8.7.1

Updates `com.android.library` from 8.7.0 to 8.7.1

Updates `com.android.application` from 8.7.0 to 8.7.1

Updates `com.android.library` from 8.7.0 to 8.7.1

Updates `com.android.application` from 8.7.0 to 8.7.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>
2024-10-15 07:56:02 +02:00
dependabot[bot] a0fe393f6a
Bump the maven group with 2 updates (#61)
Bumps the maven group with 2 updates: [org.jetbrains.kotlin:kotlin-stdlib](https://github.com/JetBrains/kotlin) and [org.jetbrains.kotlin.android](https://github.com/JetBrains/kotlin).


Updates `org.jetbrains.kotlin:kotlin-stdlib` from 2.0.20 to 2.0.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.0.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.20...v2.0.21)

Updates `org.jetbrains.kotlin.android` from 2.0.20 to 2.0.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.0.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.20...v2.0.21)

Updates `org.jetbrains.kotlin.android` from 2.0.20 to 2.0.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.0.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.20...v2.0.21)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: org.jetbrains.kotlin.android
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: org.jetbrains.kotlin.android
  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>
2024-10-11 17:21:45 +02:00
JingMatrix 8c0aa4c282 Update Crowdin URL
Also add JingMatrix to the translator lists of French and Chinese
2024-10-09 16:04:16 +02:00
Captain Throwback 92cbed418e Start service daemon in late_start mode (#57)
1. Starting daemon during post-fs-data can cause Play Integrity detection
   for devices without the PlayIntegrityFix module.
2. Starting LSPosed service daemon in post-fs-data mode is redundant on
   many devices
2024-10-08 03:05:03 +02:00
JingMatrix 59285c1553 Sync git submodules
Close #52 as merged
2024-10-08 02:40:32 +02:00
余空 48a5301e51
Update dependencies
Fix Manager Dynamic Colors (#58)
2024-10-06 10:15:22 +02:00
dependabot[bot] 40e404c48e
Bump the maven group with 4 updates (#55)
Bumps the maven group with 4 updates: androidx.fragment:fragment, androidx.navigation:navigation-fragment, androidx.navigation:navigation-ui and androidx.navigation.safeargs.


Updates `androidx.fragment:fragment` from 1.8.3 to 1.8.4

Updates `androidx.navigation:navigation-fragment` from 2.8.1 to 2.8.2

Updates `androidx.navigation:navigation-ui` from 2.8.1 to 2.8.2

Updates `androidx.navigation.safeargs` from 2.8.1 to 2.8.2

Updates `androidx.navigation:navigation-ui` from 2.8.1 to 2.8.2

Updates `androidx.navigation.safeargs` from 2.8.1 to 2.8.2

---
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.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>
2024-10-03 07:35:00 +02:00
dependabot[bot] 9d9fbabcc1
Bump the maven group with 3 updates (#54)
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.6.1 to 8.7.0

Updates `com.android.library` from 8.6.1 to 8.7.0

Updates `com.android.application` from 8.6.1 to 8.7.0

Updates `com.android.library` from 8.6.1 to 8.7.0

Updates `com.android.application` from 8.6.1 to 8.7.0

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 22:55:48 +02:00
dependabot[bot] bf520316c2
Bump the maven group with 2 updates (#51)
Bumps the maven group with 2 updates: [com.microsoft.appcenter:appcenter-crashes](https://github.com/microsoft/appcenter-sdk-android) and [com.microsoft.appcenter:appcenter-analytics](https://github.com/microsoft/appcenter-sdk-android).


Updates `com.microsoft.appcenter:appcenter-crashes` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/microsoft/appcenter-sdk-android/releases)
- [Changelog](https://github.com/microsoft/appcenter-sdk-android/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/microsoft/appcenter-sdk-android/compare/5.0.4...5.0.5)

Updates `com.microsoft.appcenter:appcenter-analytics` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/microsoft/appcenter-sdk-android/releases)
- [Changelog](https://github.com/microsoft/appcenter-sdk-android/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/microsoft/appcenter-sdk-android/compare/5.0.4...5.0.5)

Updates `com.microsoft.appcenter:appcenter-analytics` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/microsoft/appcenter-sdk-android/releases)
- [Changelog](https://github.com/microsoft/appcenter-sdk-android/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/microsoft/appcenter-sdk-android/compare/5.0.4...5.0.5)

---
updated-dependencies:
- dependency-name: com.microsoft.appcenter:appcenter-crashes
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.microsoft.appcenter:appcenter-analytics
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.microsoft.appcenter:appcenter-analytics
  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>
2024-09-30 22:41:30 +02:00
JingMatrix 30e9f88b09
[translation] Update translation from Crowdin (#49)
* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Indonesian)
2024-09-30 22:41:14 +02:00
dependabot[bot] f3e693ff5d
Bump the maven group with 3 updates (#37)
Bumps the maven group with 3 updates: androidx.navigation:navigation-fragment, androidx.navigation:navigation-ui and androidx.navigation.safeargs.


Updates `androidx.navigation:navigation-fragment` from 2.8.0 to 2.8.1

Updates `androidx.navigation:navigation-ui` from 2.8.0 to 2.8.1

Updates `androidx.navigation.safeargs` from 2.8.0 to 2.8.1

Updates `androidx.navigation:navigation-ui` from 2.8.0 to 2.8.1

Updates `androidx.navigation.safeargs` from 2.8.0 to 2.8.1

---
updated-dependencies:
- 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.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>
2024-09-24 10:37:13 +02:00
JingMatrix d5533e3048
[translation] Update translation from Crowdin (#42)
* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Chinese Simplified)
2024-09-24 10:36:45 +02:00
JingMatrix bb869eac2d Fix implementation of UnhookPLT
Currently, inline_unhooker is not used in the code.
We still fix the logic to avoid confusion.

There is no feasible way to determinate if the parameter original is a
valid function pointer or a `const char` pointer.
We suppose it as a char pointer in the first step.
2024-09-23 15:58:40 +02:00
JingMatrix e55ecdf67c Remove LSPlt submodule
Close #43 as completed.
2024-09-23 11:10:37 +02:00
JingMatrix 534e3930ae Use PLT hook from Zygisk API(v4) 2024-09-23 11:10:37 +02:00
JingMatrix 4d8e01176f Remove Riru support
The repository RikkaApps/Riru is archived since Jan 8, 2024, which
recommends Zygisk as its alternative.
2024-09-23 11:10:25 +02:00
JingMatrix ea2e1c8518 Update to Zygisk API v4
Skip checking magisk version on KernelSU or APatch
Close #44 as completed
2024-09-23 11:10:03 +02:00
JingMatrix e50a3f3c38 Fix Dobby hook fallback
Even if dladdr could not find function name for an address given by
art_symbol_resolver, we should still process inline hook.

Close #32 as completed, close #39 as merged
2024-09-22 14:26:01 +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 b4d59feb27 Add missing LD_LIBRARY_PATH env (#34)
Tests passed on Android 13 and Android 15 devices
2024-09-22 14:25:45 +02:00
JingMatrix 6b2ce6c614 Add commons-lang as a subproject
Avoid using a local version of this apache module
2024-09-22 14:25:45 +02:00
JingMatrix 5a64b8c139 Avoid navigating to app list before loaded
Close #27
2024-09-22 14:25:45 +02:00
JingMatrix b317b48e9a Allow to de-activate log watchlog (#20)
Requested by #14, a switch is added to the release version.
Patch of msvamp rejected in original repository
mywalk added ui interface

Co-authored-by: mywalk <66966897+mywalkb@users.noreply.github.com>
2024-09-22 14:25:40 +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 d4e00eac40 Use LSPlt only for Android 15
For non-stripped `libart.so` ELFs, their plt tables are too small for
inline hook.
2024-09-12 11:31:01 +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 4c4a3f4fa1 [skip ci] Implement (Unhook/Hook)Function (LSPlt)
Co-authored-by: Stillhard <indofreeserver@yahoo.co.id>
2024-08-31 05:36:57 +02:00