Commit Graph

1127 Commits

Author SHA1 Message Date
weishu e6586101e3 manager: Add missing groups 2023-10-24 22:56:27 +08:00
weishu 468bd1c7e2 ci: remove su local cache 2023-10-24 18:03:03 +08:00
weishu 944383bd2b ci: ignore ksubot error 2023-10-24 18:00:45 +08:00
weishu be6c36e5a0 ci: fix secrets for release ci 2023-10-24 17:35:53 +08:00
weishu 0f54c6a4bd ci: Add Android 14 kernel build to release 2023-10-24 17:01:17 +08:00
weishu b3185ef527 manager: fix clipboard toast 2023-10-24 15:59:30 +08:00
weishu c8e01c2c5d manager: template import/export 2023-10-24 15:24:32 +08:00
weishu 31f979569e manager: make system and shell group conspicuously 2023-10-24 10:57:03 +08:00
weishu 65f35fdd38 manager: sort groups and capabilities 2023-10-24 10:39:25 +08:00
weishu 9461ed1f76 ci: fix build userspace su (#1079) 2023-10-24 10:19:08 +08:00
Js0n 96795ab0a4 fix(ci): cast chat id and thread id into int (#1078) 2023-10-24 09:27:13 +08:00
4qwerty7 d5985f7450 kernel: fix null pointer dereference for some case (#1075)
#973 __never_use_envp 被改名为 envp 并使用。

这导致 GKI 版本一旦代码运行到
[213](https://github.com/tiann/KernelSU/blob/86dcb02f72152e355e12c0c797e627e65ef026a2/kernel/ksud.c#L213)
行(或许只有 WSA 等类似情况会跑到这?),就会触发一个空指针解引用。

此PR意在修复此问题,且已在WSA上测试。
2023-10-24 07:00:52 +08:00
Js0n 791e3eeadd ci: replace python-telegram-bot with telethon (#1076) 2023-10-24 07:00:23 +08:00
weishu 518c8a21b0 kernel: fix incorrect strcmp 2023-10-23 22:22:47 +08:00
weishu 75fad5ee3f kernel: dirty fix for pixel8 wlan/bluetooth. close #1074
The wlan and bluetooth driver bcmdhd4398 cannot be loaded because cfg80211.ko has been converted to a vendor module. You can find more information about this conversion at: https://android.googlesource.com/kernel/common/+/ee1e4b7c5e0a2a717ae7994a7e92e1b833367124.

The reason why cfg80211.ko cannot be loaded is because the rfkill.ko module in system_dlkm has protected symbols. To fix this issue, we simply need to delete the protected symbol.

"There is no ABI stability between GKI and GKI modules. In order for modules to load correctly during runtime, GKI and GKI modules must be built and updated together."

We need to find a better solution to address this problem.

Co-authored-by: aviraxp <wanghan1995315@gmail.com>
2023-10-23 22:20:43 +08:00
weishu 13c0309f8e manager: Add more info for logs 2023-10-23 17:25:39 +08:00
weishu 4a5cdf25f1 Merge pull request from GHSA-86cp-3prf-pwqq
* kernel: deny v2 signature blocks with incorrect number

* kernel: reject v1 signature

* kernel: enforce manager package name at compile time

* kernel: don't specific package name in source code, use it in ci
2023-10-23 12:59:30 +08:00
ZHANtech™ 617660c5d1 [CI] Update Android 13 sublevel and patch level (#1071)
android13-5.10-2023-10 :
https://android.googlesource.com/kernel/common/+/refs/heads/android13-5.10-2023-10

android13-5.15-2023-10 :
https://android.googlesource.com/kernel/common/+/refs/heads/android13-5.15-2023-10
2023-10-23 08:17:10 +08:00
kevios12 a6a4dd025d kernel: fix Modules install stuck on kernel 4.4 (#1059) 2023-10-22 23:40:53 +08:00
github-actions[bot] fcd4ef346d [add device]: (#1070)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/1069

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-22 23:39:11 +08:00
weishu b8ae81ca56 Add android14-6.1 (#1065) 2023-10-22 17:55:02 +08:00
sus 321dc33be4 讓artifact可以正確導出 (#1064)
修正artifact無法被導出的問題
[action](https://github.com/tiann/KernelSU/actions/runs/6597355879)
Annotations
1 warning
upload-artifacts
No files were found with the provided path: Image-android13*/*.img.gz.
No artifacts will be uploaded.
2023-10-22 08:31:15 +08:00
weishu 86dcb02f72 kernel: make compiler happy 2023-10-21 22:43:58 +08:00
weishu a808a5f8c2 assets: remove unused fields 2023-10-21 22:07:26 +08:00
weishu 8700fab0a7 assets: allow to use default uid, gid, groups, capabilities and context 2023-10-21 22:05:19 +08:00
weishu 99722add22 assets: remove CAP_DAC_READ_SEARCH 2023-10-21 20:41:30 +08:00
weishu 1af307b1c8 manager: remove default CAP_DAC_READ_SEARCH cap because we've processed it in kernel. 2023-10-21 20:39:30 +08:00
weishu 5c495a7e83 kernel: make su without any capabilities possible 2023-10-21 20:32:28 +08:00
weishu 8e68feffef manager: refresh template screen if needed. 2023-10-21 17:13:23 +08:00
weishu 32578fc237 manager: Prioritize display of local templates 2023-10-21 16:52:37 +08:00
weishu 330eb0a8d8 manager: support locales for online template(2) 2023-10-21 16:28:08 +08:00
weishu fb07a2fcda manager: support locales for online template 2023-10-21 16:23:33 +08:00
weishu 836c91eb40 profile: Add incompetent.root profile template 2023-10-21 15:50:06 +08:00
weishu 44e4c52434 manager: Fix missing template author 2023-10-21 15:38:17 +08:00
weishu 29d35a1980 profile: Add adb,system profile template 2023-10-21 15:33:10 +08:00
weishu 650682290d manager: Fix remote template fetch error. 2023-10-21 15:29:26 +08:00
weishu fff8f7e44d profile: Add adb profile template 2023-10-21 14:25:08 +08:00
weishu 0a4cfa35e3 manager: show App Profile manage screen when empty 2023-10-21 14:02:00 +08:00
Weblate (bot) b8f7b12356 Translations update from Hosted Weblate (#1029)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: Ian Perdiansah <ianperdiansah05@gmail.com>
Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: Ali Beyaz <alipolatbeyaz@gmail.com>
Co-authored-by: Mix <3xh096xz4@mozmail.com>
Co-authored-by: Frankie McEyes <mceyes@protonmail.com>
Co-authored-by: wxt1221 <3264117476@qq.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: weishu tian <twsxtd@gmail.com>
2023-10-21 14:00:22 +08:00
weishu 994dad35e4 manager: use production template url 2023-10-21 13:24:20 +08:00
weishu ed1851888d ksud: make cargo fmt happy 2023-10-21 13:21:33 +08:00
weishu 621174c4f5 manager: support App Profile template 2023-10-21 13:19:59 +08:00
weishu 53019136cd website: ensure templates dir exists 2023-10-21 10:33:39 +08:00
weishu 1863a3df9c website: Fix template index.json generate error 2023-10-21 10:28:23 +08:00
weishu 240e6bb925 website: Add placeholer for templates 2023-10-21 10:11:52 +08:00
weishu 60fc48be29 website: Add profile template api 2023-10-21 10:01:02 +08:00
starmoe 8dcd4200e0 add ksu kernel for oneplus 5/5t (#1058) 2023-10-20 08:53:32 +08:00
weishu 31165d284a Add Android 14 kernel ci (#1057) 2023-10-20 08:53:08 +08:00
weishu 6dd1b266e9 kernel: don't umount for non zygote child process. fixes #1054,#1049,#1045 2023-10-19 17:29:10 +08:00
github-actions[bot] 90eb4727f3 [add device]: (#1047)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/1046

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-16 14:04:01 +08:00