Commit Graph

2895 Commits

Author SHA1 Message Date
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
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 16c09cefce Fix LSPosed-Bridge log TAG 2024-08-31 02:43:25 +02:00
JingMatrix f8409ad34b Open parasitic manager through WebUI
Open the parasitic manager using WebUI of KernelSU / APtach.
In the future the web page could become an alternative manager,
without parasitic manager at all.

See https://github.com/mywalkb/LSPosed_mod/issues/65 for details.

Co-authored-by: mywalk <66966897+mywalkb@users.noreply.github.com>
2024-08-31 02:43:25 +02:00
5ec1cff 201af3f165 use Theme_DeviceDefault_Settings 2024-08-31 02:43:25 +02:00
5ec1cff c1119266e4 Fix proguard rules 2024-08-31 02:43:25 +02:00
5ec1cff 571655dc0a support lower versions and fix activityInfo pollution 2024-08-31 02:43:25 +02:00
5ec1cff 8c0fb4f5eb temporary fix for A14 QPR3 2024-08-31 02:43:25 +02:00
5ec1cff 41eb1c63ad new parasitic manager 2024-08-31 02:43:25 +02:00
5ec1cff 9125b4b2f1 fix manager not detected 2024-08-31 02:43:25 +02:00
5ec1cff 44570c5ed0 use shared memory 2024-08-31 02:43:24 +02:00
5ec1cff c5d7b32cc0 ignore binder transactions flooding 2024-08-31 02:43:08 +02:00
JingMatrix 779faeb5ee Use a local version of org.apache.commons.lang3
Revert commit f3beb86
2024-08-27 01:51:03 +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 bdba029fe9 Update repo info 2024-07-27 10:40:27 +02:00
JingMatrix 3ba23a2bac [skip ci] Config crowdin 2024-07-24 10:27:25 +02:00
JingMatrix 4666b13013 Annonce support for Android 15 Beta 4 2024-07-24 01:41:02 +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
JingMatrix 17625a04d5 Fix CMake syntax error
Update cmake version
2024-07-24 01:23:05 +02:00
JingMatrix 3146ca3605 Apply patch 92a04e3 of mywalkb/LSPosed_mod
Support for stripped library as libart.
We thus need to parse a new section `.gnu_debugdata`, compressed
with xz library, which is in elf header of the library.
After in memory decompression, new elf header is parsed to find
the section `.symtab`.

Co-authored-by: mywalk <66966897+mywalkb@users.noreply.github.com>
2024-07-24 01:22:58 +02:00
JingMatrix 2e0de88eca Apply patch da1daf of mywalkb/LSPosed_mod
From Android 14 QPR3 and forward, the classloader of injected app (com.android.shell)
does not contain the apk manager, so in hook getClassLoader there is a new check when
it got a negative response the apk manager is injected in classloader, so parasitic
manager can start correctly.

Co-authored-by: mywalk <66966897+mywalkb@users.noreply.github.com>
2024-07-24 01:22:43 +02:00
JingMatrix 8e96b8de21 Replace axml by WindySha/ManifestEditor 2024-05-18 23:48:50 +02:00
JingMatrix 0a935413fc Adjust proguard for Android R8
1. Use JDK 21
2. Update android plugins for JDK 21
3. Update gradle wrapper

The new R8 engine will change more class names than before, we thus
need to save those needed ones.
2024-05-18 23:48:43 +02:00
JingMatrix f3beb8688f Avoid depending on ClassUtils.getClass
Might cause class conflicts when target APP also uses ClassUtils.
Fix for LSPatch.
2024-01-07 13:06:28 +01:00
vvb2060 df74d83eb0 set mount ns propagation to slave 2024-01-07 13:23:32 +08:00
vvb2060 94d8a518cc update ndk 2024-01-07 13:23:32 +08:00
dependabot[bot] b7b6be6d3d
Bump the maven-dependencies group with 3 updates (#2908) 2024-01-05 23:00:40 +08:00
5ec1cff 948fda8e0c
set DdmHandleAppName to package name for daemon (#2905) 2023-12-30 11:44:59 +08:00
5ec1cff 2f58f0785d
fix FakeContext getContentResolver NPE (#2904) 2023-12-30 03:31:54 +00:00
dependabot[bot] 1607548ffc
Bump the maven-dependencies group with 1 update (#2903) 2023-12-30 09:31:06 +08:00
LoveSy ab0ee265b1
Fix oneui notification (#2902) 2023-12-30 00:35:21 +08:00
5ec1cff edecd5c253
fix daemon could not post notification after soft reboot (#2899) 2023-12-28 09:34:13 +00:00
dependabot[bot] 58e8fcfa07
Bump the maven-dependencies group with 2 updates (#2892) 2023-12-23 00:02:56 +08:00
Howard Wu f892443923
Fix blur behind for Android 14 (#2884) 2023-12-16 02:41:35 +08:00
dependabot[bot] 7127344dc0
Updates `com.google.android.material:material` from 1.10.0 to 1.11.0
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 07:12:44 +08:00
dependabot[bot] 3151605d36
Bump the maven-dependencies group with 5 updates (#2882)
Bumps the maven-dependencies group with 5 updates:

Updates `androidx.activity:activity` from 1.8.1 to 1.8.2

Updates `androidx.annotation:annotation` from 1.7.0 to 1.7.1

Updates `androidx.navigation:navigation-fragment` from 2.7.5 to 2.7.6

Updates `androidx.navigation:navigation-ui` from 2.7.5 to 2.7.6

Updates `androidx.navigation.safeargs` from 2.7.5 to 2.7.6

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 02:51:59 +08:00
dependabot[bot] 7d20d7bd39
Bump the maven-dependencies group with 2 updates (#2881)
Bumps the maven-dependencies 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.3 to 5.0.4

Updates `com.microsoft.appcenter:appcenter-analytics` from 5.0.3 to
5.0.4

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 05:57:37 +08:00