Rifat Azad
a0540aa8ec
ksud: dropped magic_mount for stability so welcome back OverlayFS
...
manager: brought back shrink images in settings
2024-12-24 04:21:38 +06:00
Rifat Azad
ef4714871e
source: mass rename KernelSU -> KernelSU-Next
2024-12-21 02:06:32 +06:00
Rifat Azad
adf3920caa
ksud: added module restore cmd, replaced pkg id for debug and uninstall manager and changed banner
...
manager: implement restore module UI
2024-12-19 17:33:20 +06:00
New Author Name
059c6a2d57
ksud: implement magic_mount
2024-12-13 06:19:55 +06:00
LoveSy
b82eaff26e
Drop some legacy codes ( #1981 )
2024-08-15 17:04:02 +08:00
LoveSy
7742362771
Use tempfile ( #1980 )
2024-08-15 16:28:05 +08:00
weishu
b3ae5f9c8e
ksud: remove modules dir when uninstall. close #1736
2024-05-28 11:28:28 +08:00
powellnorma
aa78ef4a08
ksud: refine get_tmp_path ( #1713 )
...
Fixes #1710
What do you think?
* It first uses `TEMP_DIR` (`/debug_ramdisk`) if it exists + is is
empty.
* Otherwise it tries to create a random directory in `/dev`.
* If that fails, it goes through a list of directories (including
`TEMP_DIR_LEGACY`), and chooses the first one that is empty.
* If no empty directory it chooses the first one that exists
---------
Co-authored-by: user <user@localhost>
2024-05-16 10:30:20 +08:00
fsxitutu
618a97df1b
Add magiskboot to kernelsu working directory ( #1684 )
...
Add the magiskboot binary to the /data/adb/ksu/bin directory so that
scripts/programs can call magiskboot to patch the boot/init_boot image.
---------
Co-authored-by: weishu <twsxtd@gmail.com >
2024-05-01 09:48:59 +08:00
weishu
13d0d4beda
ksud: skip removing module if no modules exist, also add uninstall mangaer, reboot
2024-04-23 15:32:15 +08:00
weishu
b96294edea
ksud: Add uninstall
2024-04-22 20:41:53 +08:00
weishu
02245e2503
ksud: fmt & tidy
2024-03-11 14:01:21 +08:00
weishu
228ac45162
ksud: remove permission mode for symlink
2024-03-01 23:10:03 +08:00
weishu
a4cf472c20
ksud: Copy directory permission mode
2024-03-01 22:46:53 +08:00
weishu
128b907e7c
ksud: Add some logs
2024-02-29 22:40:42 +08:00
weishu
a78c0bcc48
ksud: fmt
2024-02-29 20:34:50 +08:00
weishu
8e1ba90c63
ksud: correctly copy chr device and keep xattr. close #1397
2024-02-29 19:23:11 +08:00
weishu
961652f7a3
ksud: fix punch hole
2024-02-25 20:21:17 +08:00
weishu
102bde759c
ksud: Add support for module webui
2024-02-20 16:39:05 +08:00
weishu
0131e99360
ksud: don't reclaim when enable/disable modules
2024-02-19 16:36:41 +08:00
weishu
b3c77ed937
ksud: reclaim sparse space when install/uninstall modules. close #1367
2024-02-19 15:29:03 +08:00
LoveSy
9dd854a2f1
Use rustix to replace some unsafe calls
2024-02-01 00:35:51 +08:00
weishu
1ebedc15a7
ksud: use sparse image to avoiding resize image. close #1220
2024-01-29 18:50:19 +08:00
5ec1cff
b5e3ecfaf7
ksud: extract binaries properly ( #1253 )
2024-01-05 23:31:52 +08:00
Nullptr
8ad962be7f
Fix temp dir on Android 10 or below ( #1250 )
...
Co-authored-by: Ylarod <me@ylarod.cn >
2024-01-05 14:41:33 +08:00
weishu
6aa708230f
ksud: minor tweaks
2024-01-04 16:12:22 +08:00
weishu
b557c9b3c4
ksud: re-extract ksud when necessary close #1242
2024-01-04 12:09:28 +08:00
tiann
1ef5a91a28
ksud: keep pwd after switch mnt ns
2023-04-06 13:20:23 +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
tiann
8dc33d035a
ksud: fix clippy
2023-03-27 15:44:18 +08:00
tiann
36e40746e6
ksud: Disable modules when magisk installed
2023-03-01 11:41:53 +08:00
tiann
d7b4b22fe7
ksud: fmt
2023-02-21 13:10:32 +08:00
tiann
4a66b0ce37
ksud: fix incorrect umask
2023-02-21 13:06:37 +08:00
Ylarod
e942549dfc
ksud: setns to init for module commands ( #262 )
2023-02-20 19:43:49 +08:00
tiann
06659dca43
ksud: check kernel safemode
2023-02-13 22:28:43 +08:00
tiann
a8e85f65eb
ksud: Fix incorrect dependency
2023-02-03 23:19:22 +08:00
tiann
94462f8521
ksud: Fix macOS compile
2023-02-03 14:46:48 +08:00
skbeh
9e34996c3b
ksud: fix issues found by clippy ( #167 )
...
These issues are mostly found by `cargo clippy -- -W clippy::pedantic`.
2023-02-03 09:45:07 +08:00
tiann
ac9b3138db
ksud: fix incorrecy RAII
2023-02-02 20:37:17 +08:00
tiann
343b123c17
ksud: minor tweaks
2023-02-01 19:12:25 +08:00
tiann
9d192d5f2b
ksud: make it compilable for non-android
2023-02-01 19:04:33 +08:00
skbeh
d163200127
kernel, ksud: collect binaries into /data/adb/ksu ( #161 )
2023-02-01 17:58:58 +08:00
skbeh
783093384a
ksud: replace some utils with rust libraries ( #142 )
2023-01-30 12:57:25 +08:00
tiann
96fd9034b4
ksud: dummy mount stdout and stderr
2023-01-24 15:06:50 +08:00
tiann
59a35c0140
ksud: auto resize image based on module size
2023-01-24 15:00:31 +08:00
tiann
db38f8b368
ksud: dummy mount output
2023-01-24 13:28:06 +08:00
tiann
5b9b620bc0
ksud: retry for mount
2023-01-24 13:26:40 +08:00
tiann
ece6b5d392
ksud: add is_safe_mode
2023-01-05 13:52:39 +08:00
tiann
612c29e831
ksud: specific ext4 format for mount
2023-01-05 11:14:02 +08:00
tiann
fad6ff3dce
ksud: Add userspace cli to load module
2023-01-04 14:42:47 +08:00