372 Commits

Author SHA1 Message Date
weishu
1e676e5dc2 ksud: Fix relative boot image path 2024-01-16 14:05:10 +08:00
weishu
7b63e099ce ksud: Fix build for win 2024-01-16 11:39:21 +08:00
weishu
653225bb5b ksud: Add support for boot patch 2024-01-15 20:17:10 +08:00
weishu
757e69b15e ksud: report module mounted event to kernel 2024-01-08 12:11:54 +08:00
5ec1cff
30e00859b9
ksud: extract binaries properly (#1253) 2024-01-05 23:31:52 +08:00
weishu
faf7a8e3b1 ksud: don't extract on module install 2024-01-05 22:25:41 +08:00
Nullptr
b82fc971dd
Remove ksud path to make xi and vvb happy (#1251)
Not creating new historical legacy
2024-01-05 17:28:06 +08:00
Nullptr
52f5727875
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
01711b4114 ksud: minor tweaks 2024-01-04 16:12:22 +08:00
5ec1cff
153ce9a39a
ksud: update resetprop (#1247)
- source code from Magisk a0b8aa4d and built with `build.py -r binary
resetprop`
- support waiting on property (`-w`)
2024-01-04 15:47:23 +08:00
weishu
b99701d216 ksud: re-extract ksud when necessary close #1242 2024-01-04 12:09:28 +08:00
5ec1cff
097e291d93
ksud: su supports set gid and groups (#1240)
- When no gid is provided, use uid as gid.
2024-01-03 18:22:01 +08:00
Nullptr
76e7d7c60c
Fix mount order (#1235) 2023-12-30 08:01:51 +08:00
Nullptr
706cd1e73e
Mount temp dir at /debug_ramdisk (#1226) 2023-12-23 21:05:26 +08:00
Huy Minh
e69769d25f
Update busybox to 1.36.1 (#1214)
Pulled from Magisk-v26.4.apk

Signed-off-by: Huy Minh <buingoc67@gmail.com>
2023-12-19 20:58:31 +08:00
weishu
a1153683e1
ksud: Fix weird module.prop. close #1191 2023-12-15 18:27:55 +08:00
Howard Wu
88d4eca8ff
Check if contain module id (#1128) 2023-11-12 12:34:18 +08:00
weishu
b4a52f89cc
ksud: bump dependencies 2023-11-02 12:05:21 +08:00
weishu
fd03626362
ksud: make cargo fmt happy 2023-10-21 13:21:33 +08:00
weishu
9b294682b0
manager: support App Profile template 2023-10-21 13:19:59 +08:00
weishu
a3b92d6fee
ksud: reject v3 and v3.1 signature scheme 2023-10-11 16:50:32 +08:00
weishu
a22959beae
kernel: harden the signature check (#1027) 2023-10-11 02:53:11 -05:00
weishu
08745664a6
manager: fix ascii art text of KernelSU. close #930 2023-09-16 12:22:44 +08:00
weishu
64744bb31d
Revert "Fix the directory pathname while moving directories (#816)"
This reverts commit 983ad2c1fdc31a2f31437e90c1ccc69cc8216651.
2023-09-09 23:38:27 +08:00
weishu
2d96aaa28f
ksud: don't clean update dir, only ensure it exists 2023-09-02 10:39:40 +08:00
weishu
71799c7aed
ksud: Fix module not showing when there is a module don't declare id in module.prop. fix #890 2023-08-20 23:35:09 +08:00
weishu
12a095fd1a
Revert "ksud: Shrink image after module is updated. fix #855"
This reverts commit 7153336ad10cbfc902a671bb79ab47ae233550f3.
2023-08-18 12:33:38 +08:00
weishu
7153336ad1
ksud: Shrink image after module is updated. fix #855 2023-08-17 23:57:51 +08:00
weishu
5f2566e478
ksud: No need to force e2fsck, fix #858,#879 2023-08-17 23:18:42 +08:00
weishu
0af25af1be
ksud: exposed the command stdout/stderr to log 2023-08-17 22:05:49 +08:00
Ylarod
ae9519de42
ksud: add post_mount stage (#864) 2023-08-16 11:39:32 +08:00
weishu
06681a2490
ksud: restore selinux context for unlabeled module files on boot. fix #817 2023-08-03 12:00:28 +08:00
weishu
278cbef3ec
ksud: don't follow link when restore file context 2023-08-03 12:00:28 +08:00
AzukiAtsui
983ad2c1fd
Fix the directory pathname while moving directories (#816)
Fix the duplicate directory name error that occurs when the destination
directory already exists while moving folders.
2023-08-01 13:40:56 +08:00
weishu
e95c5a9675
ksud: support common & module boot-completed.sh 2023-07-31 19:50:53 +08:00
weishu
07a430aa5b
ksud: re-enable lto 2023-07-28 22:23:03 +08:00
weishu
df9cf61575
ksud: fix su args parse error. close #736 2023-07-28 22:21:12 +08:00
weishu
3664003260
ksud: fix common post-fs-data.d may not execute if no modules are enabled 2023-07-24 13:39:51 +08:00
weishu
56d145666c
ksud: fix path env, close #775 2023-07-18 10:02:06 +08:00
weishu
d07956ead6
ksud: fix prune module 2023-07-11 22:00:50 +08:00
weishu
4e3af6dab3
ksud: refactor module iteration 2023-07-11 21:45:45 +08:00
weishu
45d96b98c5
ksud: remove update flag file before mount. if module installation is failed, the module.img will be reverted and the update flag file may exist 2023-07-11 21:28:56 +08:00
weishu
b554c66b46
ksud: uninstall module at next boot. close #740 2023-07-11 21:25:51 +08:00
weishu
37abe48702
manager: save stderr of installation to log file. fix #723 2023-07-11 20:10:12 +08:00
weishu
ec9babea76
ksud: Specify the block size of the ext4 image as 1K, because our subsequent size calculations are based on this; some phones such as the Samsung S23, if no default value is specified, will cause unexpected errors. close #721 2023-07-11 18:30:33 +08:00
Zackptg5
8a464ac7b2
Add boot script directory vars (#747)
Add back variable names for post-fs-data.d and service.d directories

Co-authored-by: weishu <twsxtd@gmail.com>
2023-07-11 12:39:56 +08:00
weishu
eb5a99e4b6
ci: fix rustfmt failed (#748) 2023-07-11 12:23:56 +08:00
shìwēi nguyen
5381ceabae
ksud: symlink by relative path when handle partitions (#737)
This allows the Magisk design-compliant module boot script to access
`$MODDIR/system/$part` while the mounted overlay still points to
`/$part`
Fix https://github.com/tiann/KernelSU/issues/726
2023-07-09 17:01:00 +08:00
weishu
839b318785
ksud: don't create dir when read 2023-07-01 19:01:09 +08:00
weishu
971f59c11e
ksud: fix fmt 2023-07-01 18:59:41 +08:00