Commit Graph

1439 Commits

Author SHA1 Message Date
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
Ylarod
3f5d6ca54a Build KernelSU as LKM (#1254)
Co-authored-by: weishu <twsxtd@gmail.com>
2024-03-15 18:53:24 +08:00
Coconut
d5db694168 kernel:Compatible with devices based on Huawei EMUI10 (#1447)
EMUI 10 kernel version is 4.14.xxx.  
The SELinux of Huawei's modified EMUI10 kernel is still similar to the
EMUI 9 version. This commit not support HarmonyOS 2 based EMUI 10.
2024-03-14 15:18:59 +08:00
Ylarod
eef789967e Fix typo (#1444) 2024-03-13 18:04:58 +08:00
zalnars
5b90a5f060 Fix typos (#1443) 2024-03-12 13:15:03 +08:00
余空
a3ee6246c6 ci: Add more kernel branches (#1442)
* Android12 5.10.205
* Android13 5.10.205
* Android13 5.15.144
* Update os_patch_level
2024-03-11 21:37:16 +08:00
weishu
aeda0341d5 ksud: catch dmesg in bootlog 2024-03-11 14:20:27 +08:00
weishu
02245e2503 ksud: fmt & tidy 2024-03-11 14:01:21 +08:00
weishu
0539c3a57d ksud: don't patch if it's already patched 2024-03-11 12:48:25 +08:00
TinyHai
d0027e59a6 manager: a small fix in InstallScreen (#1434)
今天刷一个模块,刷入时要配置一些内容,然后发现每次输出我都得手动滑动一下才能看全内容,就很难受。气得我直接翻源码,就有了这个PR   :P

- 防止logContent在重组时丢失。
- 修复输出内容总是自动滚动到上次内容的最底部,而不是最新内容的最底部的f问题。
2024-03-08 19:35:52 +08:00
loogeo
e19b958a51 Update build-kernel-a14.yml (#1432) 2024-03-08 12:39:24 +08:00
lyf
5d59723d5f [CI][A14] a14-5.15 patch level 2024-01 and 2024-02 (#1433)
Since android14 5.15.137 (2024-01) was released with QPR3 Beta2 on Pixel
8(Pro)
2024-03-08 12:39:17 +08:00
igor
6c5e98998a website: update translation (#1423) 2024-03-08 10:32:08 +08:00
Syuugo
b6bc42def5 Upgrade Gradle and AGP (#1431)
and Fix batch line config
2024-03-08 10:31:41 +08:00
TinyHai
f317b017b6 manager: refine dialog component & add an animation to UpdateCard (#1429) 2024-03-08 10:31:14 +08:00
WindyDay
34f6e56c40 Add docs about Android 14 Kernel (#1421)
First time Pr to this project, not sure if I done it in the correct
format
2024-03-05 23:39:55 +08:00
riChar
ade1f793a5 Add types in package.json (#1415)
The package can not be imported into TS project without this option.
[docs](https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html#including-declarations-in-your-npm-package)
2024-03-04 23:05:38 +08:00