Commit Graph

1455 Commits

Author SHA1 Message Date
dabao1955
051e7e23e8 kernel: Use CONFIG_KSU=m to compile lkm (#1468)
before:
CONFIG_KSU=y
CONFIG_KSU_MODULE=y

after:
CONFIG_KSU=m

---------

Signed-off-by: dabao1955 <dabao1955@163.com>
Co-authored-by: weishu <twsxtd@gmail.com>
2024-03-19 15:40:38 +08:00
backslashxx
65bda4b5a8 fixup! Suggest non-gki kernel users to backport path_umount (#1477)
My bad.

as reported by @AzusaHana on tg

![image](https://github.com/tiann/KernelSU/assets/118538522/a67f97c2-20f7-4ee6-9ae1-9f9089376857)
2024-03-19 15:39:54 +08:00
weishu
e3d979fa58 ci: no need to cache bot session 2024-03-19 13:32:29 +08:00
weishu
fbe4e6554e ci: Don't upload images to group, uploading manager is enough because we can use manager to install directly 2024-03-19 13:31:02 +08:00
weishu
304445a913 ci: Remove kernel builds deprecated by Google 2024-03-19 12:19:02 +08:00
weishu
813803d45b manager: Filter ignore case. fix #1470 2024-03-19 12:17:32 +08:00
weishu
b283f19dff manager: Correct minimal lkm version 2024-03-19 11:53:14 +08:00
weishu
ae049019d6 kernel: support query working mode 2024-03-19 11:52:17 +08:00
weishu
61b6b9be66 manager: Show working mode 2024-03-19 11:50:45 +08:00
weishu
542b18beed ksud: try parse kmi from gki modules if uname is modified 2024-03-19 10:37:17 +08:00
igor
a08addf39a website: update translation (#1473) 2024-03-19 09:53:45 +08:00
TheNeutrinoRaged
5253914cc2 [CI][A13] a13-5.10 security date 2024-04 (#1475)
My Pixel 7a March 2024 update has kernel version
5.10.189-android13-4-00012-g1217bb583cc5-ab11174560 and Android security
update 2024-03


https://cs.android.com/android/kernel/superproject/+/common-android13-5.10-2024-03:common/Makefile

Thanks
2024-03-19 09:51:38 +08:00
weishu
a65108b38a ci: we don't need to build-lkm separetly because build-manager depends on it. 2024-03-18 23:24:32 +08:00
weishu
68500c1f9e ci: Fix manager build 2024-03-18 23:20:41 +08:00
weishu
05bdc3ab0e manager: support offline patch 2024-03-18 23:16:24 +08:00
weishu
7203b8e86f embed LKM to ksud (#1472) 2024-03-18 23:12:46 +08:00
weishu
68bee049a7 kernel: don't remove from sysfs when debug is enabled 2024-03-18 19:12:56 +08:00
weishu
85e2cd49c8 kernel: remove it from sysfs 2024-03-18 18:50:53 +08:00
Soo-Hwan Na
8a36c36e3e kernel: Make it compile on 3.18 (maybe older) kernels (#1460)
input-event-codes.h:

Input: add input-event-codes header file
(f902dd8934)
This was in 4.4-rc, so 4.4.0 or above has it else no.

aio.h:
fs: move struct kiocb to fs.h
(e2e40f2c1e)

Below this version, we need to explicitly include aio.h for struct kiocb
This was in 4.1-rc, so 4.0 or below should do the include

uaccess.h, sched.h was present for long times, but 4.10 splited out to
include/sched/ but the current ifdef is not including uaccess.h for
lower versions than 4.4. Fix it.
2024-03-18 13:13:00 +08:00
weishu
79ed024e87 ci: fix version incorrect of avd kernel. android_ci config use sandbox and cannot access git 2024-03-18 12:30:09 +08:00
backslashxx
cbb215ea81 Suggest non-gki kernel users to backport path_umount (#1464)
Most kernel builders have to touch their kernel source code anyway, why
not also tell them to backport path_umount so even non-gki users can
benefit from this?

I know this might be a bit controversial as this will raise the barrier
of entry, but the benefits are just so high.

Idea was from OnlyTomInSecond on KernelSU group chat way back, and it
has been on the discussions for some time

references:
https://t.me/KernelSU_group/27237/176515
https://t.me/KernelSU_group/3249/184908

https://github.com/tiann/KernelSU/discussions/955#discussioncomment-7617166

03d233db8b
https://github.com/tiann/KernelSU/pull/1060 


https://elixir.bootlin.com/linux/v5.9.1/source/fs/namespace.c#L1728
https://elixir.bootlin.com/linux/v5.10.9/source/fs/namespace.c#L1730
https://elixir.bootlin.com/linux/v6.5/source/fs/namespace.c#L1887
https://github.com/tiann/KernelSU/pull/1464#issuecomment-2002492107


Kernel side change examples
5.4
961d978862
4.19
164917f56d
4.14
c07c70a0c5
4.9
195f07593a
4.4
21ea33fe41
https://github.com/tiann/KernelSU/pull/1464#issuecomment-2002424069
ofcourse having someone on 3.18 confirm this will be nice.

**PROS**: umount modules for everyone
**CONS**: barrier of entry +1

---------

Co-authored-by: Christoph Hellwig <hch@lst.de>
Co-authored-by: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Co-authored-by: Tom <31297720+onlytominsecond@users.noreply.github.com>
2024-03-18 10:27:31 +08:00
hosizoraru
026db89a4b ci: a14-6.1 patch level 2024-02 to 03 (#1465)
https://android.googlesource.com/kernel/common/+/refs/heads/android14-6.1-2024-03
android14-6.1-2024-03 已经发布

https://android.googlesource.com/kernel/common/+/refs/heads/android14-6.1-2024-03/Makefile
从 Makefile 来看依旧是 6.1.68
2024-03-17 21:47:00 +08:00
weishu
c6eca06539 manager: check init_boot more precisely 2024-03-17 17:41:35 +08:00
weishu
392a059a12 ksud: ensure post-fs-data.d is created by post ota 2024-03-17 17:25:42 +08:00
weishu
ff140820ea manager: Fix new version tip 2024-03-17 13:30:13 +08:00
weishu
647a8ba60b skipci: Fix release upload 2024-03-17 13:15:55 +08:00
weishu
e588a43709 manager: Add tips for select boot image 2024-03-17 12:00:44 +08:00
Weblate (bot)
7de076d1c7 Translations update from Hosted Weblate (#1454)
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: Rex_sa <rex.sa@pm.me>
Co-authored-by: Misaka <79515833+misakazip@users.noreply.github.com>
Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Madis Otenurm <robotkoer@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: Integral <integral@member.fsf.org>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
Co-authored-by: weishu tian <twsxtd@gmail.com>
Co-authored-by: Skallr2 <pm563838@gmail.com>
Co-authored-by: charlotte <charlotterose@duck.com>
Co-authored-by: sus <jeffpeng2012@gmail.com>
Co-authored-by: Caner Karaca <canerkaraca_23@hotmail.com>
Co-authored-by: Ali Beyaz <alipolatbeyaz@gmail.com>
2024-03-17 10:19:05 +08:00
igor
4dcf8687f9 website: fix typo (#1456) 2024-03-17 09:08:46 +08:00
weishu
bb94ad6d4b ci: Fix avd build (#1457) 2024-03-17 09:07:52 +08:00
weishu
e3accbea20 ci: Add lkm to release 2024-03-16 22:59:22 +08:00
weishu
f60c02d6c5 try fix 2024-03-16 12:21:03 +08:00
weishu
a363cb2232 manager: Add install menu 2024-03-16 11:46:13 +08:00
weishu
69e29f5e08 manager: Add CN translation 2024-03-16 11:37:31 +08:00
weishu
1834912051 remove ccache, bazel don't use 2024-03-16 11:37:30 +08:00
sewn
87fb0a7e74 [CI][A13] a13-5.10 patch level 2024-02 (#1449)
My Pixel 7a has a kernel version
`5.10.177-android13-4-00003-ga7208022a7ea-ab1081582`, with a security
patch of 2024-02, but the only available kernel build for that is
security patch 2023-07 which causes a bootloop.
2024-03-16 11:32:32 +08:00
weishu
11eb11102f manager: Fix loading dialog 2024-03-16 11:13:50 +08:00
weishu
a8ffe6d2a9 manager: Add string resource 2024-03-16 11:13:50 +08:00
weishu
a8542e5f14 manager: Fix reboot button is missing when flash 2024-03-16 11:13:50 +08:00
weishu
ad1d50a7ce ksud: Fix magisk detect 2024-03-16 11:13:50 +08:00
Weblate (bot)
9c98e46ce2 Translations update from Hosted Weblate (#1437)
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: Rex_sa <rex.sa@pm.me>
Co-authored-by: Misaka <79515833+misakazip@users.noreply.github.com>
Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Madis Otenurm <robotkoer@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: Integral <integral@member.fsf.org>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
Co-authored-by: weishu tian <twsxtd@gmail.com>
Co-authored-by: Skallr2 <pm563838@gmail.com>
Co-authored-by: charlotte <charlotterose@duck.com>
Co-authored-by: sus <jeffpeng2012@gmail.com>
Co-authored-by: Caner Karaca <canerkaraca_23@hotmail.com>
2024-03-16 11:08:56 +08:00
cachiusa
3cce0d592d Add nethunter.root template (#1445)
This app requires DAC_OVERRIDE, DAC_READ_SEARCH, SYS_PTRACE, SYS_ADMIN
(for /data/local r/w) and SYS_CHROOT, SETGID (to run chroot and run it's
processes)

Devices with NetHunter installed is already considered compromised due
to lack of security features(like SELinux), therefore users are advised
not to store private data

It's not really worth restricting more capabilities of the app.
2024-03-16 10:54:00 +08:00
TheNeutrinoRaged
ef4c3746bf Update installation.md (#1451)
typo flush -> flash
2024-03-16 10:53:10 +08:00
sus
63862895ac Updated the Traditional Chinese translations for the website and templates. (#1453)
Signed-off-by: sus <54392299+jeffpeng3@users.noreply.github.com>
2024-03-16 10:52:53 +08:00
weishu
d46b128856 ksud: Fix magisk detect 2024-03-16 09:22:37 +08:00
weishu
f1edbe1fd9 ci: remove avd build disk cache 2024-03-15 22:28:00 +08:00
weishu
4d44a47ed5 ci: Fix release 2024-03-15 22:14:42 +08:00
weishu
96ecd8b31a ci: Fix symbol strip 2024-03-15 21:00:44 +08:00
weishu
fa1ee8430a ci: Fix release and LKM upload 2024-03-15 20:54:32 +08:00
weishu
3ae0eeecf7 ci: fix avd build 2024-03-15 20:29:53 +08:00