Commit Graph

619 Commits

Author SHA1 Message Date
tiann
08f029485b ksud: fix build 2023-04-04 15:09:53 +08:00
tiann
b5f321d5a4 ksud: fix windows build again 2023-04-04 14:59:17 +08:00
tiann
5c5724f7c6 ksud: Remove sufix of 'v' in version tag
close #331
2023-04-04 14:44:51 +08:00
tiann
87863e3adf ksud: fix windows build 2023-04-04 14:33:25 +08:00
tiann
6f97cdd8db ksud: fix compile err in x86_64 2023-04-04 14:12:37 +08:00
tiann
1ef4c28a02 ksud: fmt 2023-04-04 13:55:36 +08:00
tiann
e808bed680 ksud: refine su and make it compitable with MagiskSU
Supported features:

1.  --mount-master, -M, -mm which would make the command run in global mount namespace.
2. - user to switch a specific user's shell.
3. -v, -V to print version code and name.

fix #330 #306 #305 #32
2023-04-04 13:50:48 +08:00
セリカ・シルフィル
1276429d95 ksud: modules_update will be mounted to /data/adb/modules_update (#336)
d6d08530e4
and https://github.com/tiann/KernelSU/pull/327 have moved
`/data/adb/ksu/modules` to `/data/adb/modules`,but `modules_update` has
not to do it.Many modules hard-coded this directory.
2023-04-03 22:32:13 +08:00
tiann
978839da6b kernel: use ksud as root shell instead of /system/bin/sh 2023-04-03 20:29:10 +08:00
tiann
1e44e4ce50 ksud: enter root shell when arg0 equals su 2023-04-03 20:28:13 +08:00
tiann
8cb4c0377b website: fix typo 2023-04-03 20:26:16 +08:00
tiann
4933b045e4 kernel: fix incorrect dput 2023-04-03 19:22:05 +08:00
tiann
44444b2a56 kernel: basicly umount overlayfs in kernel 2023-04-03 19:16:24 +08:00
Igor Sorocean
cbe846c736 Add Romanian translation (#335) 2023-04-03 18:03:19 +08:00
浅秋枫影
bea4e8d956 ksud: Fix installer.sh modules path (#327)
d6d08530e4
修改了模块路径,installer.sh 没有修改,导致管理器无法刷新模块(安装/更新/卸载)状态
2023-04-03 11:46:27 +08:00
MilkD
2c670fc48d Update repos.json (#329)
add a unofficial kernel
2023-03-30 00:35:25 +08:00
tiann
a8bd9f198e kernel: Fix side channel attack 2023-03-28 12:07:18 +08:00
Abhiram
d844ef4f79 ci: Bump rustfmt-check to latest (#326) 2023-03-28 00:25:55 +08:00
Amicia De Rune
a71c9c454f website: update id translation (#325)
Signed-off-by: RooGhz720 <rooghz720@gmail.com>
2023-03-27 23:42:42 +08:00
Dhruv Gera
d34f51528c selinux: Update 4.9 to the correct check (#324)
4.9's last release aka 4.9.337 still needs the same fallbacks as 4.9.212
and breaks otherwise, upgrade this to fix compilation

Tested and working on POCO F1, 4.9.337
2023-03-27 21:26:37 +08:00
tiann
f7783ce51f ksud: Don't umount stock bind mount, just bind it again after overlay. 2023-03-27 18:43:37 +08:00
tiann
b61d36e0cc website: Add docs for REPLACE variables 2023-03-27 17:27:53 +08:00
tiann
c2be89b410 website: Fix sidebar of zh_CN 2023-03-27 17:01:01 +08:00
tiann
8dc33d035a ksud: fix clippy 2023-03-27 15:44:18 +08:00
tiann
4827d50e31 website: Add anchors for zh_CN 2023-03-27 15:35:57 +08:00
tiann
c10147043a website: Add docs for REMOVE 2023-03-27 15:17:55 +08:00
tiann
1dcb136d0f ksud: Support remove files in customize.sh by REMOVE variables.
e.g:

REMOVE="
/system/app/YouTube
/system/app/Bloatware
"
2023-03-27 15:04:28 +08:00
tiann
35a8ae2c02 feat: Add documentation for rescuing from bootloop.
- Add new link to sidebar of zh_CN documentation page
- Add new link to sidebar navigation in English documentation page
- Add new guide for rescuing from bootloop
- Include methods for rescuing wrong module flashing
- Provide mechanisms for safe mode and AB updates for module recovery
2023-03-27 11:37:18 +08:00
tiann
9fa33cae86 ksud: Since we have forbidden module running when Magisk installed, we
can now move common script from /data/adb/ksu/post-fs-data.d ->
/data/adb/post-fs-data.d and /data/adb/ksu/service.d ->
/data/adb/service.d
2023-03-27 10:51:25 +08:00
tiann
99202748bb ci: Fix cross build error with Rust 1.68 2023-03-26 17:35:33 +08:00
Kung-chih
b7d336e7fb Update zh-rHK and zh-rTW strings (#323) 2023-03-26 15:51:01 +08:00
tiann
4b9eadd21f Add docs for module 2023-03-26 15:43:34 +08:00
Shatyuka
a79a8c2423 kernel: use git from PATH (#316)
One should have git in PATH in order to build Android kernel.
Also it's weird that git is used in `setup.sh` without absolute path.
2023-03-23 15:01:24 +08:00
Shatyuka
e31c49bdb9 kernel: Makefile new line with posix compatible (#318)
9a2915362a (commitcomment-105526985)
2023-03-23 10:41:12 +08:00
tiann
010dbed29a Revert "kernel: add new line in driver Makefile (#317)"
This reverts commit 9a2915362a.
2023-03-22 19:33:08 +08:00
Shatyuka
9a2915362a kernel: add new line in driver Makefile (#317)
some device tree has no new line in Makefile
2023-03-22 15:39:12 +08:00
Soo-Hwan Na
a33e3cbf63 kernel: Add input hook to ksu_hooks.h (#315)
Then we don't have to do extern input_hook(...) ; input_hook(..) and
just include header file and use input_hook(...) only
Like
f39f4823a1
Not

0c491aca8a
2023-03-21 09:45:12 +08:00
github-actions[bot]
3354536dd8 [add device]: (#311)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/310

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: weishu <twsxtd@gmail.com>
2023-03-20 10:23:16 +08:00
github-actions[bot]
9711fa1598 [add device]: (#309)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/308

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: weishu <twsxtd@gmail.com>
2023-03-20 10:22:01 +08:00
github-actions[bot]
56bc537887 [add device]: Asus Zenfone Max Pro M1/M2 (#313)
Asus Zenfone Max Pro M1/M2 has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/312

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-20 10:19:47 +08:00
tiann
7c76bf2e52 website: update FAQ 2023-03-14 11:00:35 +08:00
tiann
8cd4ccf728 kernel: remove unused poll wait becuase we always call this in post-fs-data, no need to wait for /data mounted 2023-03-08 15:45:56 +08:00
TinyHai
6d01d915e5 manager: make a small adjustment to module screen (#291) 2023-03-03 17:29:53 +08:00
weishu
561ee1a5b3 kernel: add_type for 5.4 is supported actually. 2023-03-03 11:17:17 +07:00
TinyHai
c679c7a2bf manager: replace SwipeRefresh with PullRefreshIndicator & refactor so… (#288)
- replace SwipeRefresh with PullRefreshIndicator
- optimize pull refresh
- refactor some code
- fix install bottom in module page again
2023-03-02 12:35:41 +08:00
tiann
9dc91ab884 manager: Add pstore and diag to bugreport 2023-03-02 11:46:12 +08:00
Amicia De Rune
fe69895e4f manager: update id translation (#286)
Signed-off-by: RooGhz720 <rooghz720@gmail.com>
2023-03-02 11:00:43 +08:00
tiann
681202ce29 manager: Fix install button in module page 2023-03-01 14:22:46 +08:00
tiann
532f36d160 manager: hide install button when magisk installed. 2023-03-01 12:51:04 +08:00
tiann
a601cd1f2e manager: Show module conflict state with Magisk 2023-03-01 12:12:31 +08:00