Commit Graph

280 Commits

Author SHA1 Message Date
5ec1cff ba5beeb271 ksud: do not abort if backup failed (#1627) 2024-04-14 15:55:47 +08:00
5ec1cff 7d7b9a2b27 ksud: only backup stock boot if flashing (#1626) 2024-04-14 14:00:59 +08:00
5ec1cff fe7ddb57fd fix boot restore 2024-04-14 01:46:12 +08:00
5ec1cff 2c2c1b2b45 ksud: backup stock image and use it when restore (#1619) 2024-04-14 00:45:06 +08:00
weishu 880908e4ff ksud: Fix clippy 2024-04-12 10:36:34 +08:00
weishu 856496f465 ksud: Add boot restore 2024-04-12 00:47:29 +08:00
weishu 9986cfda12 ksud: Fix debug set manager 2024-03-27 18:13:47 +08:00
weishu 26fed39050 ksud: fmt 2024-03-26 17:17:19 +08:00
weishu 387d63cb6a ksud: fix supported kmi 2024-03-23 13:59:05 +08:00
weishu d6af076263 ksud: add boot-info cli 2024-03-23 10:46:16 +08:00
weishu 04df88e8fe ksud: rename patched boot. close #1511 2024-03-23 10:06:37 +08:00
weishu 0bce8550b6 ksud: try find KMI from installed modules 2024-03-20 21:33:41 +08:00
Caner Karaca 5be6992d75 Add Dependabot, Update Dependencies and Workflows (#1440)
Build may fail because of some major dependency updates. Needs changes,
changes/fixes welcomed.

Main goal is keeping all things up-to-date.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-03-20 12:52:34 +08:00
weishu 542b18beed ksud: try parse kmi from gki modules if uname is modified 2024-03-19 10:37:17 +08:00
weishu 7203b8e86f embed LKM to ksud (#1472) 2024-03-18 23:12:46 +08:00
weishu 392a059a12 ksud: ensure post-fs-data.d is created by post ota 2024-03-17 17:25:42 +08:00
weishu ad1d50a7ce ksud: Fix magisk detect 2024-03-16 11:13:50 +08:00
weishu d46b128856 ksud: Fix magisk detect 2024-03-16 09:22:37 +08:00
Ylarod 3f5d6ca54a Build KernelSU as LKM (#1254)
Co-authored-by: weishu <twsxtd@gmail.com>
2024-03-15 18:53:24 +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
weishu a463d56a7f ksud: resize image if it is shrinked 2024-03-04 13:50:00 +08:00
weishu 605c598f69 Use fallback method to mount overlayfs when fsopen one failed
Co-authored-by: natsumerinchan
2024-03-04 12:26:19 +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 6173eeecf4 ksud: Add more logs 2024-02-29 22:43:48 +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 46e7960c8f ksud: Add ksud to manager's su path 2024-02-29 14:04:10 +08:00
weishu e4b59e143a ksud: Fix incorrect dir copy 2024-02-25 22:55:24 +08:00
weishu 40d631a20c ksud: Force creating new module format to avoid many wired issues. close #1384, close #1381 2024-02-25 22:29:13 +08:00
weishu 961652f7a3 ksud: fix punch hole 2024-02-25 20:21:17 +08:00
weishu 3559a8d315 ksud: remove link manager 2024-02-23 18:08:53 +08:00
weishu 2f0d255557 ksud: support global mnt for debug su 2024-02-23 18:04:00 +08:00
weishu 8e0071ace7 ksud: fix mount view of manager when 'umount modules by default' is enabled 2024-02-22 19:08:37 +08:00
weishu 36a5f61f43 ksud: remove http serve mode 2024-02-22 16:26:14 +08:00
weishu 53fd829a6b ksud: use bind mount to serve module webui 2024-02-22 16:26:14 +08:00
weishu 9dca0ffdbd ksud: support self stop server 2024-02-20 19:58:40 +08:00
weishu 102bde759c ksud: Add support for module webui 2024-02-20 16:39:05 +08:00
weishu e3de207855 ksud: Add support for module webui 2024-02-20 16:23:40 +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
weishu f1e019f87d ksud: check image before shrink 2024-02-19 12:31:35 +08:00
LoveSy 633e84307b Add fallback to mount syscall (#1349) 2024-02-05 17:36:07 +08:00
LoveSy 57baf43144 Use as_ref instead of as_slice (#1336) 2024-02-02 10:40:36 +08:00
LoveSy 931d7fe604 Use rustix for setgroups (#1334) 2024-02-01 23:35:42 +08:00
LoveSy aec9e0f6b5 Recursive bind mount (#1332) 2024-02-01 23:29:19 +08:00
LoveSy e21be26b06 Use rustix for prctl (#1333) 2024-02-01 23:28:56 +08:00