APatch_s_build
Kanalga Telegram’da o‘tish
APatch_s_lightly_build 非官方构建,仅供测试
Ko'proq ko'rsatishMamlakat belgilanmaganTexnologiyalar & Aralashmalar25 208
2 965
Obunachilar
+1124 soatlar
+767 kunlar
+46030 kunlar
Postlar arxiv
2 965
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
2 965
https://github.com/Admirepowered/selinux_hook selinux_hook已开源,由于作者没有那么多设备适配,故此公开方法以便自己适配。开源意味着作者不会将太多精力放到此工作上了。官方的KernelPatch可能只会支持4.19以上的设备
2 965
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
2 965
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>
2 965
修复部分内核不生效的问题,此模块是为了解决 https://github.com/LSPosed/DirtySepolicy 检测的kpm模块,不开机或者无效请提交APatch bugreport或者last_kmsg,嵌入生效
2 965
再次重申,自1.0.1版本以后只有嵌入才能生效,加载是无效的,原理是开机的时候会保存干净的sepolicy,app轮询的时候返回干净的policy,理论支持ap或者magisk,使用kernelsu系请不要反馈,kpatch-next不确定会不会生效
