Commit Graph

283 Commits

Author SHA1 Message Date
Fede2782 1fc1ffe2ab Docs: add backport notice in module umount docs (#1476)
This aims to uniform the documentation since the official introduction
of pre-GKI modules umount feature
2024-03-19 15:41:22 +08:00
igor 7f73827658 website: update translation (#1473) 2024-03-19 09:53:45 +08:00
backslashxx b4cfc2f298 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

https://github.com/OnlyTomInSecond/android_kernel_xiaomi_sdm845/commit/03d233db8bbe9fe101509430bfa09d1899168aa7
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
https://github.com/natsumerinchan/kernel_oneplus_sm8350/commit/961d9788624e88c3c58918b3781b9fbdd19ecbeb
4.19
https://github.com/backslashxx/android_karnol_ximi_fog/commit/164917f56d0e75ab51bb9f1bdf489acac7a6d3db
4.14
https://github.com/crdroidandroid/android_kernel_xiaomi_sm6150/commit/c07c70a0c59fb46ac0c1c812c3e993022e375cd5
4.9
https://github.com/backslashxx/msm8953-los21/commit/195f07593ae9769a992f3945bcdc43ff7fc99827
4.4
https://github.com/riarumoda/android_kernel_samsung_a9y18qlte/commit/21ea33fe41ce079ec1d663c0bd2201bc00a8084a
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
igor 339e75be24 website: fix typo (#1456) 2024-03-17 09:08:46 +08:00
cachiusa 7168a974be 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 ddc086c4ef Update installation.md (#1451)
typo flush -> flash
2024-03-16 10:53:10 +08:00
sus 076511e275 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
Ylarod 50914ce39b Fix typo (#1444) 2024-03-13 18:04:58 +08:00
zalnars 6af2480008 Fix typos (#1443) 2024-03-12 13:15:03 +08:00
igor ae17001033 website: update translation (#1423) 2024-03-08 10:32:08 +08:00
WindyDay 7611accc33 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
igor 217755bb5a website: fixed typos and update translation (#1407) 2024-03-04 19:16:39 +08:00
Fede2782 f459dfad54 English Faq: add wrong storage size on some Samsung (#1400)
#1389
2024-02-29 13:47:45 +08:00
Celica Sylphil 532796de48 website: Fix zh_CN and ja_JP paths (#1394) 2024-02-26 10:16:20 +08:00
dabao1955 e691c62811 website: fix ja guide broken links (#1392)
Signed-off-by: dabao1955 <dabao1955@163.com>
2024-02-26 09:49:10 +08:00
igor 56dbc980f4 website: update translation (#1377) 2024-02-25 22:48:22 +08:00
dabao1955 3f12080dfe website: update Japanese translation (#1387)
Signed-off-by: dabao1955 <dabao1955@163.com>
2024-02-25 20:24:49 +08:00
weishu 406070914a website: Add docs for module WebUI 2024-02-23 22:43:31 +08:00
igor 8e448767a5 update templates (#1371) 2024-02-23 16:55:53 +08:00
Masum Reza e85646fad4 Added adaway.root template (#1337)
Adaway only needs the following permissions to work properly:
DAC_OVERRIDE, SYS_PTRACE.

Note: [systemless hosts kernelsu
module](https://github.com/symbuzzer/systemless-hosts-KernelSU-module)
needs to be installed, to add support.

This PR only addresses the minimal permission requirements of Adaway to
let it modify hosts file.
2024-02-21 09:57:23 +08:00
dabao1955 4969c5f548 Translate templates into Japanese (#1364)
Signed-off-by: dabao1955 <dabao1955@163.com>
2024-02-21 09:55:26 +08:00
igor 81f15ef120 Translate templates into Brazilian Portuguese (#1362)
Co-authored-by: weishu <twsxtd@gmail.com>
2024-02-18 11:40:48 +08:00
Pr0pHesyer a360cd87c0 Update msm8998 in repos.json (#1363)
A repository still under maintenance
2024-02-18 11:39:50 +08:00
Ali Beyaz ea9b572402 Turkish translations of Root Templates (#1356) 2024-02-17 11:24:39 +08:00
github-actions[bot] 263b986bcd [add device]: (#1345)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/1344

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-04 10:53:42 +08:00
backslashxx 810a62f795 [Add devices] daisy, sakura, ysl, sunny/mojito, fog/rain/wind (#1340)
Multiple devices

- Mi A2 Lite (daisy) / Redmi 6 Pro (sakura) + Redmi S2/Y2 (ysl) - 4.9

https://github.com/backslashxx/msm8953-los21/commit/60a7363a15269d8577bcf5239156d7724dfe66fa

https://github.com/backslashxx/msm8953-los21/commit/4c67fcbcb61ee668fb524b3decf682bfed98b475
- Redmi Note 10 (sunny/mojito) - 4.14

https://github.com/backslashxx/mojito_krenol/commit/51cbedbeaaa1a5c74497785dc7276bff34261638

https://github.com/backslashxx/mojito_krenol/commit/96634ef252fa46621f515ac19dfc6e6b13f919eb
- Redmi 10C (fog/rain/wind) - 4.19

https://github.com/backslashxx/fog_kramel/commit/fd2e365b801cf866f08e1477679901482be99e6f

https://github.com/backslashxx/fog_kramel/commit/126694822e1ed623676ec034a27bcc25b381673f
2024-02-03 20:40:10 +08:00
Masum Reza eb02e42bc7 Added shizuku.root template (#1330)
Shizuku only needs DAC_OVERRIDE to execute the script to start the
Shizuku service.
Also added bengali translation for the name and description.
2024-02-02 13:08:55 +08:00
igor 4b1fb121b4 website: update translation (#1322) 2024-01-31 11:16:57 +08:00
weishu 946fb6f999 ksud: default 1T for sparse file 2024-01-30 12:56:59 +08:00
Bot_wxt1221 8733b390ca [Change device]Onepluus 6T&6 (#1315)
Because of the different implementation of dynastic partition. It only
boots on crdroid.
2024-01-30 11:08:17 +08:00
c4e106d6f8 website: [pt_BR]: Add description for sparse file (#1321)
Signed-off-by: 明 <akariondev@gmail.com>
Signed-off-by: akari <akariondev@gmail.com>
Co-authored-by: Ylarod <me@ylarod.cn>
Co-authored-by: weishu <twsxtd@gmail.com>
2024-01-30 11:06:41 +08:00
weishu b612efcfad ksud: sparse file default 256G 2024-01-29 21:49:39 +08:00
weishu 23ba3182cf website: Add description for sparse file 2024-01-29 21:42:52 +08:00
Jung-Chi Wang 3914242457 [Add devices] Oneplus 7 Serials (#1317)
Add unofficial support devices

![20240127213056](https://github.com/tiann/KernelSU/assets/447101/feeb6be7-7e96-4572-9062-879fbb1ae08d)
2024-01-27 22:10:40 +08:00
KeJia 7f1ea2e178 [非官方支持设备]修正K-Nel-M1721内核的仓库网址 (#1308)
合并之前没发现偏偏合并以后发现多了个https://
之前的合并请求关闭了,只能再开一个()
2024-01-22 20:35:24 +08:00
Guanran928 da89a45d56 fix typo (#1300)
AdAday -> AdAway
2024-01-22 15:23:56 +08:00
KeJia dc2fb20d24 [Add devices]Meizu M6 Note (#1305)
Add an unofficial support device
I will follow the updates of KernelSU to maintain the kernel for a long
time
2024-01-22 15:23:38 +08:00
Fede2782 d7625722db [add device]: Samsung Galaxy A34 5G (#1293) 2024-01-19 09:06:55 +08:00
igor 4144f10d9a website: fix translation readme: fix translation (#1297) 2024-01-19 09:06:31 +08:00
aaddaf1a78 website/docs: we don't need to use markdown for this, as it's not exactly a patch or sh file. (#1298)
```
# KernelSU 
CONFIG_KSU=y
```

---------

Signed-off-by: 明 <akariondev@gmail.com>
Signed-off-by: akari <akariondev@gmail.com>
Co-authored-by: Ylarod <me@ylarod.cn>
Co-authored-by: weishu <twsxtd@gmail.com>
2024-01-19 09:05:56 +08:00
Arthur 601ce2120a website: optimize expression and complete Chinese translation (#1278)
Co-authored-by: weishu <twsxtd@gmail.com>
2024-01-09 09:17:25 +08:00
Salvo Giangreco 6d79060e4c [add device]: Samsung Galaxy A54 5G (#1266)
Signed-off-by: BlackMesa123 <giangrecosalvo9@gmail.com>
Co-authored-by: weishu <twsxtd@gmail.com>
2024-01-09 09:17:04 +08:00
igor e95e87a7a4 website: update how to integrate for non gki (#1282) 2024-01-09 09:16:45 +08:00
Celica Sylphil d9d9066316 website: Fix patches display (#1281)
Option does not match the corresponding patch.

![2024-01-08
20-41-45](https://github.com/tiann/KernelSU/assets/64072399/22066923-8263-4fff-b2f8-a9b04e7ca8b5)
![2024-01-08
20-41-51](https://github.com/tiann/KernelSU/assets/64072399/f345e31a-dd5a-4224-a052-ddaf99aedc5a)
![2024-01-08
20-41-55](https://github.com/tiann/KernelSU/assets/64072399/6c7d4f9f-d588-46aa-ac92-d8eb8c003316)
![2024-01-08
20-41-58](https://github.com/tiann/KernelSU/assets/64072399/906bb033-eddd-4c8c-bd13-00cff799b3df)
2024-01-08 21:08:49 +08:00
Celica Sylphil 3af293f991 website/docs: Update Simplified Chinese translation (#1279) 2024-01-08 19:53:43 +08:00
60c9fabb44 website/docs: add missing #ifdef and #endif in ksu_handle_stat [2/2] (#1277)
Signed-off-by: 明 <akariondev@gmail.com>
Signed-off-by: akari <akariondev@gmail.com>
Co-authored-by: Ylarod <me@ylarod.cn>
Co-authored-by: weishu <twsxtd@gmail.com>
2024-01-08 19:52:29 +08:00
Arthur 23ffc2a3b2 website: fix typo (#1276) 2024-01-08 14:42:41 +08:00
2bab388bbf website/docs/guide: Enable KernelSU support (CONFIG_KSU) (#1274)
### enable CONFIG_KSU on the website documentation.

Added support for KernelSU by enabling CONFIG_KSU in the kernel
defconfig located at `arch/arm64/configs/vendor/your_defconfig`. Please
ensure to verify the correct location of the file. Note that on some
devices, the defconfig may be located in `arch/arm64/configs`.

---------

Signed-off-by: 明 <akariondev@gmail.com>
Signed-off-by: akari <akariondev@gmail.com>
2024-01-08 14:42:17 +08:00
Salvo Giangreco 4b27a9a324 website: update Galaxy A52s/M52 repo link (#1267)
Signed-off-by: BlackMesa123 <giangrecosalvo9@gmail.com>
2024-01-08 00:06:55 +08:00
iceBear67 1326fd32c5 Add unofficial support for Galaxy Note9 (#1268)
第一次构建内核,虽然狗屎,总比没有好(

等有空再清理一下更新仓库,现在能正常使用,也没太大问题
2024-01-07 23:12:23 +08:00