铃柒柒
a051154c06
manager: Add action.sh for user to manually trigger modules' functionality from manager ( #2156 )
...
Commits:
- manager: Add `action.sh` for user to manually trigger modules'
functionality from manager
- manager: Optimize ModuleItem
- manager: uninstall button: TextButton -> FilledTonalButton
- Optimize `run_action` function
Commit Author & Thank:
- @lightsummer233
- @lingqiqi5211
- [APatch](https://github.com/bmax121/APatch )
Demo Show:

---------
Co-authored-by: Light summer <93428659+lightsummer233@users.noreply.github.com >
2024-10-27 10:07:13 +01: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
LoveSy
40a73fee12
Fix clippy
2024-07-26 13:24:55 +08:00
チセ
1caf0d98e5
ksud: Replace dependencies regex to regex-lite
2024-07-26 13:12:36 +08:00
チセ
57e3171853
ksud(feat): Parse KMI from boot or kernel
2024-07-26 13:12:36 +08:00
LoveSy
69ff6f7661
Upgrade rustix ( #1900 )
2024-07-22 07:43:59 +08:00
Wang Han
19d406c74e
Allow skipping commented policy ( #1870 )
2024-07-10 11:38:12 +08:00
weishu
b3ae5f9c8e
ksud: remove modules dir when uninstall. close #1736
2024-05-28 11:28:28 +08:00
HDTianRu
f438efdcd5
ksud: Skip patch init_boot.img on kmi android12-xxx devices ( #1744 )
...
有一些设备(如ace2v),带了initboot,但ramdisk却在boot里,导致无法使用ota安装与直接安装,所以添加了个开关
因为本人开发环境有点简陋(mt管理器),而且对项目代码不太熟,合并前最好review一下(
2024-05-25 11:09:06 +08:00
チセ
4b6540915d
ksud: turn off auto-detect bootdevice when OS is not android ( #1746 )
2024-05-21 09:18: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
weishu
406f629035
Revert "su: allocate new pty ( #1693 )"
...
This reverts commit e4109455b9 .
2024-05-08 21:18:55 +08:00
weishu
7e98be179b
ksud: Fix compiler error
2024-05-08 11:09:27 +08:00
5ec1cff
e4109455b9
su: allocate new pty ( #1693 )
2024-05-07 19:02:59 +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
bb03c8e2f9
ksud: Fix compiler error
2024-04-24 21:36:38 +08:00
weishu
3bd67c654a
ksud: use sha1 library to calc hash
2024-04-24 12:51:11 +08:00
weishu
1623d93f4f
ksud: Fix name typo
2024-04-23 23:33:13 +08:00
weishu
b41d95c0b2
ksud: Fix backup not working
2024-04-23 23:24:45 +08:00
weishu
a7f65e5617
ksud: move backup directory to /data/adb/ksu
2024-04-23 16:38:54 +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
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