APatch_s_build
再次重申,自1.0.1版本以后只有嵌入才能生效,加载是无效的,原理是开机的时候会保存干净的sepolicy,app轮询的时候返回干净的policy,理论支持ap或者magisk,使用kernelsu系请不要反馈,kpatch-next不确定会不会生效
Kernelsu上游以及下游都有解决方案,不需要kpm方案兼容
👍8❤1
selinux_hook_1.0.7.kpm
34.6 KB
修复部分内核不生效的问题,此模块是为了解决 https://github.com/LSPosed/DirtySepolicy 检测的kpm模块,不开机或者无效请提交APatch bugreport或者last_kmsg,嵌入生效
❤6
APatch_11205_da34d25_backport-release-signed.apk
5.1 MB
使用Release版本必须升级到此版本,这是最后一版保留superkey认证+管理器双重认证版本,也是支持天机+hot_patch的版本
👍5🥰2
APatch_11211_f4ca7d3_main-debug-signed.apk
24.5 MB
f4ca7d3
apd: fix some module scripts won't add AP_MODULE environment var (#1474)
AP_MODULE environment var will only pass in exec_script, that's cause only stage-scripts, action.sh and uninstall scripts have this environment var
So, it cause customize.sh, and meta*.sh won't have this envionment var
And module developers will see them can't use apd module config set command,
because apd throw
`This command must be run in the context of a module or passed --internal <name>`
Taking the magic_mount_rs module as an example:
before:
```
APATCH='true'
```
after:
```
APATCH='true'
AP_MODULE='magic_mount_rs'
```
Co-authored-by: AlexLiuDev233 <wzylin11@outlook.com>
apd: fix some module scripts won't add AP_MODULE environment var (#1474)
AP_MODULE environment var will only pass in exec_script, that's cause only stage-scripts, action.sh and uninstall scripts have this environment var
So, it cause customize.sh, and meta*.sh won't have this envionment var
And module developers will see them can't use apd module config set command,
because apd throw
`This command must be run in the context of a module or passed --internal <name>`
Taking the magic_mount_rs module as an example:
before:
```
APATCH='true'
```
after:
```
APATCH='true'
AP_MODULE='magic_mount_rs'
```
Co-authored-by: AlexLiuDev233 <wzylin11@outlook.com>
🥰10❤8
APatch_11213_4c113e9_main-debug-signed.apk
24.5 MB
4c113e9
build(deps): bump the action-dependencies group across 1 directory with 3 updates (#1431)
Bumps the action-dependencies group with 3 updates in the / directory: [gradle/actions](https://github.com/gradle/actions), [android-actions/setup-android](https://github.com/android-actions/setup-android) and [actions/upload-artifact](https://github.com/actions/upload-artifact).
Updates `gradle/actions` from 5 to 6
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/v5...v6)
Updates `android-actions/setup-android` from 3 to 4
- [Release notes](https://github.com/android-actions/setup-android/releases)
- [Commits](https://github.com/android-actions/setup-android/compare/v3...v4)
Updates `actions/upload-artifact` from 6 to 7
- [Release notes](https://github.com/actions/upload-artifact/r
build(deps): bump the action-dependencies group across 1 directory with 3 updates (#1431)
Bumps the action-dependencies group with 3 updates in the / directory: [gradle/actions](https://github.com/gradle/actions), [android-actions/setup-android](https://github.com/android-actions/setup-android) and [actions/upload-artifact](https://github.com/actions/upload-artifact).
Updates `gradle/actions` from 5 to 6
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/v5...v6)
Updates `android-actions/setup-android` from 3 to 4
- [Release notes](https://github.com/android-actions/setup-android/releases)
- [Commits](https://github.com/android-actions/setup-android/compare/v3...v4)
Updates `actions/upload-artifact` from 6 to 7
- [Release notes](https://github.com/actions/upload-artifact/r
❤22
https://github.com/Admirepowered/selinux_hook selinux_hook已开源,由于作者没有那么多设备适配,故此公开方法以便自己适配。开源意味着作者不会将太多精力放到此工作上了。官方的KernelPatch可能只会支持4.19以上的设备
GitHub
GitHub - Admirepowered/selinux_hook: For APatch hide dity selinux rules
For APatch hide dity selinux rules. Contribute to Admirepowered/selinux_hook development by creating an account on GitHub.
❤13🆒12
APatch_11214_23e473a_main-debug-signed.apk
24.5 MB
23e473a
manager: fix TransactionTooLargeException crash on large module install logs
When installing modules that produce large log output (e.g. theme
modules with thousands of icons), the install log text state grows
unboundedly, causing TransactionTooLargeException when the Activity's
saved state Bundle exceeds the Binder transaction limit (~1MB).
This was previously reported in #927 and fixed in cb684e6 by switching
from rememberSaveable to remember, but that caused the log to reset
on navigation (#1308).
Fix both issues by:
- Using rememberSaveable for text state (preserves log on navigation)
- Truncating text at runtime to 100K chars when it exceeds the limit
- Keeping full log in StringBuilder (remember) for saving to file
- Also fixing ExecuteAPMActionScreen which had the same issue
The 100K char limit (~100KB) is well below the Binder limit and still
covers ~2000-3000 lines of install log
manager: fix TransactionTooLargeException crash on large module install logs
When installing modules that produce large log output (e.g. theme
modules with thousands of icons), the install log text state grows
unboundedly, causing TransactionTooLargeException when the Activity's
saved state Bundle exceeds the Binder transaction limit (~1MB).
This was previously reported in #927 and fixed in cb684e6 by switching
from rememberSaveable to remember, but that caused the log to reset
on navigation (#1308).
Fix both issues by:
- Using rememberSaveable for text state (preserves log on navigation)
- Truncating text at runtime to 100K chars when it exceeds the limit
- Keeping full log in StringBuilder (remember) for saving to file
- Also fixing ExecuteAPMActionScreen which had the same issue
The 100K char limit (~100KB) is well below the Binder limit and still
covers ~2000-3000 lines of install log
❤11🥱4😁2👍1
APatch_11216_876fa24_main-debug-signed.apk
24.6 MB
876fa24
reorganize directories and fix kp
reorganize directories and fix kp
👍10❤5🥰5