Commit Graph

1113 Commits

Author SHA1 Message Date
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
wxt1221 fab4e02cc7 其他开发者适配的非GKI内核 (#1043)
[PR](https://github.com/tiann/KernelSU/pull/1024)
中删除了两个,实际上还在只是换名字了,希望加上:

https://github.com/Vincent4440/noxious_kernel_xiaomi_sm8250 ->
https://github.com/Vincent4440/android_kernel_xiaomi_sm8250

https://github.com/zharzinhoo/Kernel-Oriente-Cebu ->
https://github.com/zharzinhoo/android_kernel_motorola_cebu
2023-10-15 22:42:18 +08:00
Syuugo 93cfab956b Optimize for build WSA kernels (#1025)
`5.15.104.4` will not be released, so commit internal changes first.
2023-10-13 19:51:25 +08:00
weishu 8d3a873eeb kernel: use strncpy and strncmp 2023-10-12 15:52:10 +08:00
weishu 165e450f4e kernel: prune allowlist with package name and uid 2023-10-12 15:44:43 +08:00
weishu aefcb9c980 kernel: ignore path that's not mountpoint 2023-10-12 14:24:41 +08:00
weishu 582d4978ac kernel: reject v3 and v3.1 signature scheme for manager verification 2023-10-11 17:06:14 +08:00
weishu 50d16dc7cf ksud: reject v3 and v3.1 signature scheme 2023-10-11 16:50:32 +08:00
weishu 02def78124 kernel: harden the signature check (#1027) 2023-10-11 02:53:11 -05:00
dabao1955 0be4575759 repos.json: update source repo link (#1024)
https://github.com/Vincent4440/noxious_kernel_xiaomi_sm8250  404

https://github.com/SakuraNotStupid  301 > https://github.com/SakuraKyuo

https://github.com/Sanju0910  301 > https://github.com/sreeshankark

https://github.com/zharzinhoo/Kernel-Oriente-Cebu  404
2023-10-10 16:37:17 +08:00
igor 24995aa14e fix typos in website (#1023) 2023-10-10 10:21:41 +08:00
weishu e9eedfda82 Create SECURITY.md 2023-10-09 22:53:21 +08:00
github-actions[bot] 5d85bfa886 [add device]: (#1021)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/1020

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-09 20:52:34 +08:00
weishu dfec5d5059 kernel: Add selinux rules for module umount 2023-10-09 18:09:54 +08:00
Yu c212db20f0 fix typo in zh_CN guide (#1015) 2023-10-09 16:43:42 +08:00