JingMatrix
f081aa3899
Fix packaging bugs of LSPosed v1.10.2 ( #341 )
...
1. Magisk manager cuts off the full changelog, it is thus better to move my personal note to the end. Add emoji for easier understanding.
2. Fix locating the generated javascript file. In Parcel 2, this file now has prefix `generate`.
3. Fix the author name, use JingMatrix for accuracy.
2025-07-13 01:32:45 +02:00
JingMatrix
06abb8a7bc
Release LSPosed v1.10.2
2025-07-12 11:30:46 +02:00
JingMatrix
d625e00b6e
Update dependencies
...
1. Parcel 1 is deprecated, see https://www.npmjs.com/package/parcel-bundler .
2. `com.android.application` 8.11.1 requires Gradle 8.13+
2025-07-12 08:07:01 +02:00
JingMatrix
3d9d08cfd3
Update dependencies and CI packages
...
Merge of pull-requests: #238 #243 #248
Co-authored-by: ugurcan <uurcan70@gmail.com>
2025-04-15 09:36:09 +02:00
JingMatrix
52f84ea24a
Update translation from Crowdin ( #195 )
2025-04-15 09:19:51 +02:00
JingMatrix
8f1ae22905
Deselect all apps when module scope is empty
...
UI should reflect correctly current module scope.
Fix the problem that after clicking on menu_select_none, recommended apps are still checked even though the scope database is already updated.
This bug was introduced due to the inconsistent designs in 1339fc7d3c and 7be4e66b98 .
2025-03-28 10:16:13 +01:00
dependabot[bot]
4271d8d4fe
Bump the maven group across 1 directory with 5 updates ( #230 )
...
Bumps the maven group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| androidx.navigation:navigation-fragment | `2.8.8` | `2.8.9` |
| androidx.navigation:navigation-ui | `2.8.8` | `2.8.9` |
| androidx.navigation.safeargs | `2.8.8` | `2.8.9` |
| [org.jetbrains.kotlin:kotlin-stdlib](https://github.com/JetBrains/kotlin ) | `2.1.10` | `2.1.20` |
| [org.jetbrains.kotlin.android](https://github.com/JetBrains/kotlin ) | `2.1.10` | `2.1.20` |
Updates `androidx.navigation:navigation-fragment` from 2.8.8 to 2.8.9
Updates `androidx.navigation:navigation-ui` from 2.8.8 to 2.8.9
Updates `androidx.navigation.safeargs` from 2.8.8 to 2.8.9
Updates `androidx.navigation:navigation-ui` from 2.8.8 to 2.8.9
Updates `org.jetbrains.kotlin:kotlin-stdlib` from 2.1.10 to 2.1.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.1.10...v2.1.20 )
Updates `org.jetbrains.kotlin.android` from 2.1.10 to 2.1.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.1.10...v2.1.20 )
Updates `org.jetbrains.kotlin.android` from 2.1.10 to 2.1.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.1.10...v2.1.20 )
Updates `androidx.navigation.safeargs` from 2.8.8 to 2.8.9
---
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: 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
- 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>
2025-03-24 19:38:16 +01:00
Steven Xu
90d3712c6e
Follow system settings of animation scales ( #222 )
...
1. Remove animations brought by `smoothScroll` of [TabLayoutMediator](https://developer.android.com/reference/com/google/android/material/tabs/TabLayoutMediator#TabLayoutMediator(com.google.android.material.tabs.TabLayout,%20androidx.viewpager2.widget.ViewPager2,%20boolean,%20boolean,%20com.google.android.material.tabs.TabLayoutMediator.TabConfigurationStrategy) ).
2. Use default NavOptions constructor to clear previously defined animations. To navigate without animations, the value for arguments of type @AnimatorRes should be -1.
Co-authored-by: JingMatrix <jingmatrix@gmail.com>
2025-03-14 14:11:41 +01:00
JingMatrix
b384321cb2
Adapt to the restructure of lsplant
...
Update submodule JingMatrix/LSPlant
2025-03-07 07:27:43 +01:00
JingMatrix
165ad94bf9
Adjust logs for dex2oat
...
1. Log dex2oat for debugging purpose
2. Avoid log formatting warning of type `dev_t` since it could be `%lu`
or `%u`
3. Reformat changed files
2025-03-07 07:13:35 +01:00
dependabot[bot]
3cdf5ac345
Update dependencies
...
JingMatrix/LSPlt is updated to sync with upstream.
Bump seanmiddleditch/gha-setup-ninja from 5 to 6 in the actions group (#211 )
Bumps the actions group with 1 update: [seanmiddleditch/gha-setup-ninja](https://github.com/seanmiddleditch/gha-setup-ninja ).
Updates `seanmiddleditch/gha-setup-ninja` from 5 to 6
- [Release notes](https://github.com/seanmiddleditch/gha-setup-ninja/releases )
- [Commits](https://github.com/seanmiddleditch/gha-setup-ninja/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: seanmiddleditch/gha-setup-ninja
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
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 8 updates (#210 )
Bumps the maven group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| androidx.activity:activity | `1.10.0` | `1.10.1` |
| androidx.constraintlayout:constraintlayout | `2.2.0` | `2.2.1` |
| androidx.navigation:navigation-fragment | `2.8.7` | `2.8.8` |
| androidx.navigation:navigation-ui | `2.8.7` | `2.8.8` |
| androidx.navigation.safeargs | `2.8.7` | `2.8.8` |
| com.android.tools.build:apksig | `8.8.1` | `8.8.2` |
| com.android.library | `8.8.1` | `8.8.2` |
| com.android.application | `8.8.1` | `8.8.2` |
Updates `androidx.activity:activity` from 1.10.0 to 1.10.1
Updates `androidx.constraintlayout:constraintlayout` from 2.2.0 to 2.2.1
Updates `androidx.navigation:navigation-fragment` from 2.8.7 to 2.8.8
Updates `androidx.navigation:navigation-ui` from 2.8.7 to 2.8.8
Updates `androidx.navigation.safeargs` from 2.8.7 to 2.8.8
Updates `androidx.navigation:navigation-ui` from 2.8.7 to 2.8.8
Updates `com.android.tools.build:apksig` from 8.8.1 to 8.8.2
Updates `com.android.library` from 8.8.1 to 8.8.2
Updates `com.android.application` from 8.8.1 to 8.8.2
Updates `com.android.library` from 8.8.1 to 8.8.2
Updates `com.android.application` from 8.8.1 to 8.8.2
Updates `androidx.navigation.safeargs` from 2.8.7 to 2.8.8
---
updated-dependencies:
- dependency-name: androidx.activity:activity
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-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: 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
- 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 submodule group with 2 updates (#212 )
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 `c9267da` to `577fd3b`
- [Release notes](https://github.com/fmtlib/fmt/releases )
- [Commits](c9267da4df...577fd3be88 )
Updates `apache/commons-lang` from `899358b` to `fb42e80`
- [Commits](899358bb3f...fb42e80e92 )
---
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>
roll back lsplant
Bump the maven group with 3 updates (#216 )
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.2 to 8.9.0
Updates `com.android.library` from 8.8.2 to 8.9.0
Updates `com.android.application` from 8.8.2 to 8.9.0
Updates `com.android.library` from 8.8.2 to 8.9.0
Updates `com.android.application` from 8.8.2 to 8.9.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>
2025-03-07 07:13:34 +01:00
JingMatrix
bfa38b0d53
Fix liboat_hook.so inaccessible in some device ( #190 )
...
User has reported `dex2oat` failure with SELinux log:
```
W dex2oat64: type=1400 audit(0.0:922): avc: denied { read } for path="/data/adb/modules/zygisk_lsposed/bin/liboat_hook64.so" dev="dm-58" ino=91204 scontext=u:r:dex2oat:s0 tcontext=u:object_r:adb_data_file:s0 tclass=file permissive=0
```
Hence, we now set the SELinux context of `liboat_hook.so` in Dex2OatService.
Moreover, by the pull-request #194 , we have to move `putenv` out of the if block by testing.
Indeed, if we call `putenv` inside the if block, then it is no longer valid out of the block.
2025-02-23 09:30:36 +01:00
JingMatrix
f8236f607b
Update LSPLant ( #188 )
...
1. Close #159 as fixed, though it points to the removal of warning `Unsupported class loader`, for which we can do later.
2. Take the commit from JingMatrix/LSPlant to fix the bug https://github.com/JingMatrix/LSPlant/issues/2 .
3. Add another commit of JingMatrix/LSPlant in pull-request #203
2025-02-23 09:28:38 +01:00
JingMatrix
669c13f912
Update Issues templates
2025-02-23 09:28:38 +01:00
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
209a5417ec
Allow dex2oat to access files received from sockets ( #165 )
...
On some devices `dex2oat` cannot access files (fd) received from sockets due to SELinux restrictions.
Hence, we add a new rule according to the avc logs, which showed that permissions `open` and `getattr` were needed.
2025-01-22 12:01:55 +01:00
JingMatrix
c9e11c6770
Update dependencies
...
Close #156 as merged. Gradle 8.10.2 is required to use agp 8.8.0.
Update manifest-editor to fix manifest parsing issue of LSPatch.
2025-01-18 18:07:47 +01:00
JingMatrix
791f45661d
[translation] Update translation from Crowdin ( #151 )
...
* New translations strings.xml (Romanian)
* New translations strings.xml (Turkish)
2025-01-18 18:07:02 +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
JingMatrix
2bc0f0c716
Refine SELinux rules for Xposed files ( #149 )
...
1. The SELinux context label `magisk_file` is widely used by Zygisk implementation modules. It is improper for LSPosed to abuse this label for its own files. We replace it by `xposed_file`.
2. A new rule added according to the SELinux logs, which is needed to write to the mangaer's SharedPreference.
3. `xposed_data` is a new SELinux context label for XSharedPreference files, it is not meant to provide MAC restricted access but to conform with Android's rule: https://developer.android.com/about/versions/pie/android-9.0-changes-28#per-app-selinux .
4. We add attribute `mlstrustedobject` to ignore the `Multi-Level and Multi-Category Security` enforced on Android.
2025-01-06 16:31:17 +01:00
JingMatrix
fba56a9927
Adjust debugging settings
...
1. Set log buffer size for system
2. Increase buffer size to 128 Kb
3. Record also logs for APatch, KernelSU and SELinux
4. Add installation tasks for APatch
2025-01-03 14:06:28 +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
dependabot[bot]
a39502b842
Bump org.jetbrains.kotlinx:kotlinx-coroutines-core ( #137 )
...
Bumps the maven group with 1 update in the / directory: [org.jetbrains.kotlinx:kotlinx-coroutines-core](https://github.com/Kotlin/kotlinx.coroutines ).
Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.9.0 to 1.10.1
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases )
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md )
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.9.0...1.10.1 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core
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-12-23 23:18:36 +01:00
JingMatrix
931cef36ca
Merge pull request #126 from JingMatrix/dependabot/gradle/maven-c94edf5864
...
Bump the maven group with 3 updates
2024-12-12 13:15:19 +01:00
dependabot[bot]
b786991d73
Bump the maven group with 3 updates
...
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.4 to 2.8.5
Updates `androidx.navigation:navigation-ui` from 2.8.4 to 2.8.5
Updates `androidx.navigation.safeargs` from 2.8.4 to 2.8.5
Updates `androidx.navigation:navigation-ui` from 2.8.4 to 2.8.5
Updates `androidx.navigation.safeargs` from 2.8.4 to 2.8.5
---
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>
2024-12-12 01:36:42 +00:00
JingMatrix
bbc2c4bcde
Merge pull request #125 from JingMatrix/l10n_master
...
* New translations strings.xml (Japanese)
* New translations strings.xml (French)
* New translations strings.xml (Portuguese, Brazilian)
2024-12-11 18:07:27 +01:00
JingMatrix
1d09934523
Remove redundant MapInfo::Scan function
...
With inline hook, we no longer need to scan process virtual maps.
Moreover, I can no longer justify the point 3 stated in commit
156c6ae855 by experiments, which is
mysterious given my previous experiments done for the commit
3c020a9cd7 .
Currently, only one thing is sure: reading `/proc/self/map` can be
detected by Holmes. Hence, it is always a good practice to not inject
unnecessary codes during the preAppSpecialize API.
2024-12-11 17:02:38 +01:00
JingMatrix
6567f22ed9
New translations strings.xml (Portuguese, Brazilian)
2024-12-11 09:49:07 +01:00
JingMatrix
4d35a783dc
New translations strings.xml (French)
2024-12-11 09:49:04 +01:00
JingMatrix
583aa30393
Avoid start multiple log watchdog threads
...
It is observed that `enableWatchDog` might be called after the manager
activity is resumed without user's interaction, due to some unknown
mechanism of preference refreshing.
2024-12-10 11:56:42 +01:00
JingMatrix
7c93c29392
New translations strings.xml (Japanese)
2024-12-10 09:46: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
8dff17c1f9
Fix log watchdog logic
...
Log watchdog is meant to revert changes to the system prop
`persist.log.tag`, which sets global log level, see docs at
https://cs.android.com/android/platform/superproject/main/+/main:system/logging/logd/README.property
Current commit fixes the following:
1. avoid recast size value `-1` to unsigned integer type size_t;
2. allow the `Enable log watchdog` to removed added system prop and
restart the watchdog forcely.
2024-12-09 09:55:06 +01:00
JingMatrix
fd3f76324e
[translation] Update translation from Crowdin (#112,#116)
...
* New translations strings.xml (French, Romanian, Chinese)
* Fix Crowdin CDATA escape problem
The gradle parsing error happens because the character `'` of
`system_prop_incorrect` still needs to be escaped even it has already
been enclosed in CDATA.
2024-12-09 09:53:39 +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
JingMatrix
6eb133b114
Fix incorrect initInfo parameter
...
Since we are using Dobby inline hook, the field `is_plt_hook` should be
the default value, i.e., false.
Close #113 as fixed.
2024-12-06 22:29:40 +01:00
JingMatrix
867252fb3b
Fix LD_LIBRARY_PATH for dex2oat32
...
Close #107 as fixed.
2024-12-05 19:26:35 +01:00
JingMatrix
1339fc7d3c
Add more options in the Select menu
...
Allow users to select all/none and automatically include new applications.
Close #93 as completed.
Co-authored-by: mywalk <66966897+mywalkb@users.noreply.github.com>
2024-12-04 21:35:05 +01:00
JingMatrix
c5ff4c0e3a
Abandon PLT hook for LSPlant
...
See the previous commit for reasons.
2024-12-04 11:55:28 +01:00
JingMatrix
cc26efe6d3
Fix pltHook parameters
...
Moreover, we may need to abandon PLT hooks in the future.
Currently, there aren't many symbols found in the section .dynsym that
are hooked targets of LSPlant, and more of them are found in the .symtab
section.
In Android 16 DP1, hooked art symbols in .dynsym (thus could be hooked
using the PLT hook) are:
1. _ZN3art6mirror5Class9SetStatusENS_6HandleIS1_EENS_11ClassStatusEPNS_6ThreadE
2. _ZN3art3jit12JitCodeCache12DoCollectionEPNS_6ThreadE
, while symbols in .symtab (must be hooked using inline hook) are:
1. _ZN3art11ClassLinker22FixupStaticTrampolinesEPNS_6ThreadENS_6ObjPtrINS_6mirror5ClassEEE
2. _ZN3art11ClassLinker14RegisterNativeEPNS_6ThreadEPNS_9ArtMethodEPKv
3. _ZN3art11ClassLinker16UnregisterNativeEPNS_6ThreadEPNS_9ArtMethodE
4. _ZN3art11ClassLinker26VisiblyInitializedCallback22MarkVisiblyInitializedEPNS_6ThreadE
Hence, PLT hooks no longer provide sufficient advantages over inline
hooks. Also, we may consider using shadowhook to replace Doddy for the
arm CPU archs.
2024-12-04 10:31:00 +01:00
RichardLuo
e2070858c6
Remove log of throwable in XC_MethodReplacement.java ( #111 )
...
Developers can get the throwable using the [XC_MethodHook.MethodHookParam API](https://api.xposed.info/reference/de/robv/android/xposed/XC_MethodHook.MethodHookParam.html ).
Logging such throwable will leave unintended trace to the log buffer of the hooked application.
Note: this line of adding log was added in commit 7b638a706d
2024-12-03 14:27:16 +01:00
dependabot[bot]
dd08eb3e1e
Bump the maven group with 3 updates ( #110 )
...
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.2 to 8.7.3
Updates `com.android.library` from 8.7.2 to 8.7.3
Updates `com.android.application` from 8.7.2 to 8.7.3
Updates `com.android.library` from 8.7.2 to 8.7.3
Updates `com.android.application` from 8.7.2 to 8.7.3
---
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-12-03 12:29:49 +01:00
JingMatrix
46cdc126bd
Keep libart.so cache after HookBridge
...
The previous commit 5da38f60a2 is not
complete since `GetArt(true)` will destroy the static SandHook::ElfImg
object.
Since in the previous two commits we have postponed the initialization
of LSPlant, we can now keep the symbol cache of `libart` for the
InitArtHooker call in method `OnNativeForkSystemServerPost`. Symbol
cache works because we are using local static object in the function
`GetArt`, whose life-cycle is not constraint by the function block.
2024-12-02 17:11:28 +01:00
JingMatrix
3c020a9cd7
Partially revert the previous commit
...
Current commit will restore the modifications 1,4 in the previous
commit 156c6ae855 . Thanks for people in
the community, @privacyguy123, @aviraxp and @HuskyDG, just to name a
few, to notice my sever mistakes.
Those mistakes are mainly caused by my inconsistent usage of testing
environments. I wrongly compared the detecting results with different
`Zygisk` implementations and was too assertive and careless to make those
changes. Here is the explanation for reverting the previous commit:
1. `system.prop` is not extracted for Android 1O+ devices in
`customize.sh`;
2. mounting /data/resource-cache is still needed in some systems
(ColorOS, to be confirmed), and it isn't a detection point.
To verify that modifications 2,3 are effective, I tested them with `Zygisk
Next` 1.2.4 (445-031a64c-release) and `Holmes` V1.5.1 Narcissus on
`Magisk` a34c04f9 280002.
2024-12-02 12:38:58 +01:00
JingMatrix
156c6ae855
Remove some traces left by LSPosed
...
1. Avoid changing `system.prop`: there is already no need to add
system-wise `dex2oat` flags, since LSPosed provides a wrapper for it,
see https://nullptr.icu/index.php/archives/53/ for detailed
explanation;
2. Postpone initialization of LSPlant: initialization of `initInfo`
during the `onLoad` Zygisk api will change the order of parsed files
in memory, especially bring the item `libart.so` forward;
3. Close opened virtual map file: this should no longer be a problem
after the second point is applied since it is no longer opened during
`onLoad`, but let us close it as a good practice;
4. Remove /data/resource-cache mount: introduced in
https://github.com/LSPosed/LSPosed/pull/1627 , most likely designed to
solve problems in early versions of root solutions and being reverted
does not change the function of deamon since we will have to wait
sufficient time in `waitSystemService` of `LSPosedService` manager.
Of course, more tests are neeeded on different devices to see if
parasitic notification manager will work as expected.
2024-12-02 10:15:44 +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
dependabot[bot]
ea20a372a1
Bump the maven group with 2 updates ( #105 )
...
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.21 to 2.1.0
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.1.0/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.21...v2.1.0 )
Updates `org.jetbrains.kotlin.android` from 2.0.21 to 2.1.0
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.1.0/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.21...v2.1.0 )
Updates `org.jetbrains.kotlin.android` from 2.0.21 to 2.1.0
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.1.0/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.21...v2.1.0 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: maven
- dependency-name: org.jetbrains.kotlin.android
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: maven
- dependency-name: org.jetbrains.kotlin.android
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-11-28 09:38:51 +01:00
JingMatrix
11b9a49e14
[translation] Update translation from Crowdin ( #102 )
...
* Update source file strings.xml
* New translations strings.xml (French)
* New translations strings.xml (Japanese)
* New translations strings.xml (Turkish)
2024-11-26 14:55:42 +01:00
JingMatrix
466b3a4aee
Strip logs if verbose log is disabled ( #101 )
...
When the `Disable verbose log` option is toggled, more logs are stripped to avoid detections based on log entries.
2024-11-25 22:28:34 +01:00