Commit Graph

448 Commits

Author SHA1 Message Date
NkBe cddcedefa2
使用更稳定的NDK29 2025-08-18 14:00:32 +08:00
NkBe 25685bd4c6
Fix: Unresolved reference 'settings_storage_directory' 2025-08-18 13:47:31 +08:00
NkBe 624a786bad
fix: liblspatch.so not found by modifying include path
让不同的构建有独立的输出目录,防止文件冲突
2025-08-18 13:40:32 +08:00
NkBe 155a76a43e
fix: lspatch metadata decode crash
Co-Authored-By: o0kam1 <duzhaokun2@outlook.com>
2025-08-18 13:36:07 +08:00
NkBe b4d1726708
Fix: Enable install activit 2025-08-18 13:24:12 +08:00
NkBe 88561bd2bd
feat: add StorageDirectory Switch
076e0e4f3b
2025-08-18 00:20:43 +08:00
NkBe 6be5f6ed7c
feat: switch install package
Co-Authored-By: o0kam1 <duzhaokun2@outlook.com>
2025-08-18 00:10:30 +08:00
NkBe 7881387bb2
Opti the translation, corrected typos in the README.
Added new permissions and activity-aliases to AndroidManifest.xml, updated provider permissions, and adjusted service export settings. Improved the Chinese translation for storage selection. Fixed typos in the README project name.
2025-08-17 23:37:31 +08:00
NkBe 147d93c5dc
Update built-in hyperlinks 2025-08-17 23:15:29 +08:00
NkBe 9563fcc4d9
feat: check manager 2025-08-17 22:59:34 +08:00
NkBe 493d367bfc
fix: 缺失的大括号 2025-08-17 22:40:26 +08:00
NkBe 336ad9ecf8
Fix: 兼容特殊加固
問題出自
7b98d98389
只是嘗試性修復
2025-08-17 22:20:04 +08:00
NkBe 61cf11ee0e
Adjust workflows 2025-08-17 22:10:37 +08:00
NkBe 10b291bd61
NPatch 2025-08-17 22:09:10 +08:00
JingMatrix 5180d7315d Update dependencies
Update compose-destinations is non-trivial.
To use version 2.0+ in the future, we need to follow its migration guide:
https://composedestinations.rafaelcosta.xyz/migrating-to-v2/
2025-08-03 09:42:16 +02:00
JingMatrix b98eaf8050
New translations strings.xml (French) (#32) 2025-03-15 14:40:20 +01:00
JingMatrix 95ed02d4bb Update JingMatrix/LSPosed
Users of Android 16 beta 3 has reported LSPlant failure, for which we should thus update LSPosed.
See issue https://github.com/JingMatrix/LSPlant/issues/2.

Files are reformatted.
2025-03-15 09:22:18 +01:00
JingMatrix 9703dc4b49 Update JingMatrix/LSPosed
Close #24 as fixed, which is explained in https://github.com/WindySha/ManifestEditor/pull/23.
2025-01-18 18:09:37 +01:00
JingMatrix d7a43c798a Release v0.7 2024-12-01 09:48:35 +01:00
JingMatrix 30f86dac8d Remove unnecessary translations in zh-HK 2024-12-01 09:48:35 +01:00
JingMatrix bab8bd2d4c Update JingMatrix/LSPosed 2024-12-01 09:48:30 +01:00
JingMatrix 671fe40074
[translation] Update translation from Crowdin (#21)
* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Arabic)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Finnish)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Ukrainian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Traditional, Hong Kong)
2024-12-01 09:24:55 +01:00
JingMatrix 46b714f221 Update gradle for GitHub Action
1. Update gradle action version and disable cache cleanup
2. Update gradle wrapper
3. Add dependabot action
2024-11-21 10:09:38 +01:00
xihan123 b83152323a
Allow uers to chose if inject loader dex (#19)
If we always inject loader dex, then modules with third party libraries might fail to find library classes since the default class loader is alway used before the the loader of the module package.

Therefore, it is better to treat packages with isolated services as special cases.
2024-11-20 19:38:48 +01:00
JingMatrix 7c153f6491
[translation] Update translation from Crowdin (#18)
* New translations strings.xml (Arabic)

* New translations strings.xml (Russian)

* New translations strings.xml (Chinese Traditional, Hong Kong)
2024-10-31 20:50:48 +01:00
JingMatrix 19fe0f2b18
[translation] Update translation from Crowdin (#16)
* New translations strings.xml (Arabic)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Russian)
2024-10-31 15:12:17 +01:00
JingMatrix 9b8e8ae507 Update JingMatrix/LSPosed 2024-10-31 15:06:04 +01:00
xihan123 8fb330fe8e
Update dependencies (#12) 2024-10-19 07:14:52 +02:00
JingMatrix 332d99784e Fix log formatting of __openat hook 2024-09-16 19:22:30 +02:00
JingMatrix 557d56091d Update JingMatrix/LSPosed
To avoid a crash in the fisrt launch (#7), we cannot use PLT
.inline_hooker to DisableBackgroundVerification.

Remove ccache to avoid difference between CI builds and local builds.
2024-09-16 19:22:26 +02:00
JingMatrix a85a0fa578 Fix proguard rules 2024-09-16 19:22:21 +02:00
JingMatrix 90880f9bbe Update repo info 2024-07-27 10:41:40 +02:00
JingMatrix a393bcdcc6 [skip ci] Config crowdin
Close #2 as completed.
2024-07-24 10:45:10 +02:00
JingMatrix abd7ae6254 Build for Android 15 2024-07-24 10:29:40 +02:00
Syuugo 4717b41ef5 Update workflow dependencies (#1)
Also add commit ID to distinguish artifacts.
2024-07-23 16:59:48 +02:00
JingMatrix 04a75ce3e8 Turn on EXPORT_COMPILE_COMMANDS
For `clangd` to work properly, one may need to make symbolic links

```
cd patch-loader
ln -sf $PWD/build/tools/debug/arm64-v8a/compile_commands.json build
```
2024-05-19 11:54:44 +02:00
JingMatrix 4a7cc257a7 Use axml (ManifestEditor) lib from LSPosed
By doing so, we no longer need org.slf4j.* classes

ManifestEditor will now check atrribute types, so we choose correctly
the type of minSdkVersion.
2024-05-19 01:08:22 +02:00
JingMatrix cddf811b9c Update dependencies
1. Use JDK 21
2. Update ksp for compatibility (compulsory)
3. R8 claims that org.lsposed.lspatch.util.ModuleLoader is needed

We use rules in share/lspatch-rules.pro to ensure that LSPatch works
properly after R8 engine
2024-05-18 22:57:32 +02:00
JingMatrix 3dacebc6bf Remove symbol cache
See commit 42190f1fb8
2023-12-28 14:00:22 +01:00
JingMatrix 6a7ecd6e7b Update links for the current fork
Avoid redirecting to the upstream LSPosed/LSPatch
2023-12-28 14:00:22 +01:00
JingMatrix c3ee8bec23 Check ProfileFile existence first
Avoid java.nio.file.NoSuchFileException when readAttributes.
2023-12-28 13:29:27 +01:00
JingMatrix 87a765d65c Remove dependency on Gson
Patch-loader might use Gson provided by the apk classLoader
2023-12-28 13:29:27 +01:00
JingMatrix 69438162cd Skip split apks when possible
When the split apks are loaded by appComponentFactory, we skip patching
them to reduce the file size.
2023-12-28 13:29:27 +01:00
JingMatrix 89b71ebe0a Put original dex files in patched APK
Count the number of dex files and rename classes.dex correctly.
Skip loading lspatch.so when currentActivityThread is null.
2023-12-28 13:29:27 +01:00
JingMatrix d8b08ca3b7 Adjust github workflow 2023-12-28 13:29:27 +01:00
LoveSy bbe8d93fb9
Fix typo (#282)
Fix #281
2023-12-13 12:54:48 +08:00
Js0n 2243d010b8
fix: packageInstaller userId (#280)
Package installer now install patched app in current user instead of
main user
2023-12-12 00:35:20 +08:00
Js0n 4bf1371155
feat: launch and install from apk intent (#279)
close #90
2023-12-11 23:38:30 +08:00
南宫雪珊 5bf494400d
Revert "fix: get installed apps failed for some chinese ROM" (#278)
Reverts LSPosed/LSPatch#273
2023-12-10 18:02:37 +08:00
Js0n 2fdf66cd6e
fix: get installed apps failed for some chinese ROM (#273)
refer to
1.
[TAF](http://www.taf.org.cn/StdDetail.aspx?uid=3A7D6656-43B8-4C46-8871-E379A3EA1D48&stdType=TAF)
2. [vivo](https://dev.vivo.com.cn/documentCenter/doc/747)
2023-12-10 12:44:53 +08:00