topjohnwu
d472e9c36e
Update cargo dependencies
2025-08-28 22:01:35 -07:00
topjohnwu
484d53ef7e
Update to ONDK r29.2
2025-08-28 16:15:59 -07:00
topjohnwu
c4e2985677
Migrate resetprop to Rust
2025-08-27 22:48:48 -07:00
LoveSy
78f5cd55c7
Use lzma-rust2 for xz and lzma compression and decompression
2025-08-24 00:23:55 -07:00
topjohnwu
bf4ed295da
Update cargo dependencies
2025-08-02 13:43:27 -07:00
topjohnwu
466e4bd4e1
Update cargo dependencies
2025-07-11 02:04:33 -07:00
topjohnwu
65d1c5827c
Update dependencies
2025-06-10 16:33:06 -07:00
topjohnwu
898580bf90
Update dependencies
2025-06-02 19:51:12 -07:00
topjohnwu
78d1200608
Migrate all compression code to Rust
2025-05-20 03:26:00 -07:00
topjohnwu
cb08504fe5
Update cargo dependencies
2025-04-11 14:48:16 -07:00
LoveSy
12a0870bc9
Replace bzip2 with bz2-rs
2025-03-08 14:37:17 -08:00
LoveSy
c64de35375
Move magiskpolicy cli to argh
2025-03-07 14:29:30 -08:00
LoveSy
bd0e954fea
Replace zlib with zlib-rs
2025-03-07 11:40:02 -08:00
topjohnwu
675471a49e
Upgrade argh to stable release
2025-03-07 02:38:36 -08:00
topjohnwu
a43c1267d8
Update Cargo.toml
2025-03-07 02:35:25 -08:00
topjohnwu
ab86732c89
Implement simple serialization over IPC
2025-02-02 22:08:41 +08:00
topjohnwu
15dca29a87
Update cxx-rs
2025-02-01 02:02:29 +08:00
topjohnwu
4d4195c02d
Migrate prune_su_access to Rust
2025-01-11 00:11:48 +08:00
topjohnwu
24650eefe4
Bind SQLite to Rust
2025-01-04 02:24:08 -08:00
topjohnwu
9e26b73813
Update rust dependencies
2024-12-09 18:26:39 -08:00
topjohnwu
805da67c23
Update cxx-rs
2024-12-03 14:16:14 -08:00
topjohnwu
c578cccfd5
Update to ONDK r27.4
2024-08-11 04:16:19 -07:00
topjohnwu
1701361a73
Update cargo dependencies
2024-08-03 01:49:14 -07:00
LoveSy
6d82515cfc
No default features of pb-rs
2024-07-20 20:29:38 -07:00
topjohnwu
f57839379a
Update RustCrypto dependencies
2024-04-03 21:03:05 -07:00
LoveSy
36bd00a046
Add p521 to magiskboot
2024-04-03 21:03:05 -07:00
topjohnwu
a1b6568226
Implement preinit related features in Rust
2024-03-28 14:11:03 -07:00
topjohnwu
1eddbfd72c
Use const_format for const strings
2024-03-26 18:03:40 -07:00
LoveSy
62fc7868ac
Use self implemented parse_mount_info
2024-02-27 17:03:22 -08:00
topjohnwu
1a70796339
Replace all parse_mount_info usage with Rust
2024-02-27 03:49:17 -08:00
topjohnwu
18c45ae289
Update cxx and Rust dependencies
2024-02-02 14:35:30 -08:00
LoveSy
9088b584f6
Use official argh
2023-10-25 15:14:16 -07:00
topjohnwu
36de62873a
Fix error logging on the C++ side
2023-10-13 16:59:54 -07:00
topjohnwu
a55d570213
Move more I/O operations into Rust
2023-09-27 02:28:43 -07:00
topjohnwu
b28326198c
Use crates for cpio code
2023-09-22 01:39:21 -07:00
LoveSy
8d7c7c3dfb
Refactor dtb in rust
2023-09-19 00:41:42 -07:00
topjohnwu
dda8cc85c9
Use bytemuck
2023-09-14 13:10:09 -07:00
topjohnwu
1d7cff7703
Update Cargo dependencies
2023-09-06 13:57:43 -07:00
LoveSy
8d81bd0e33
resetprop: replace nanopb with quick-protobuf for persist
2023-09-05 22:20:57 -07:00
topjohnwu
275208e81b
Update Rust dependencies
2023-08-17 21:24:29 -07:00
topjohnwu
af65d07456
Support AVB1.0 signing and verification in magiskboot
2023-07-17 18:57:50 -07:00
LoveSy
0a07018fec
No need to use submodule for argh
2023-07-06 15:28:39 -07:00
topjohnwu
d778b0b0a7
Custom help message when using argh
...
Help messages generated from argh is nearly useless and very hard to
customize. Fork argh and disable all code for generating help messages.
Use a closure to print the help message when handling EarlyExit.
2023-07-05 17:05:39 -07:00
topjohnwu
5ee6daf126
Handle cpio commands properly
2023-07-03 21:57:28 -07:00
LoveSy
1f7c3e9f14
Use rust to calculate sha
2023-06-30 14:06:02 -07:00
topjohnwu
4ee4cbada6
Standardize logging and error handling
...
- Introduce new types: LoggedResult and LoggedError
- Introduce new extension methods to log and add additional msgs
- Never exit when logging error messages in Rust (all errors should be
handled by using Result and Rust's error propagation)
- Remove all usages of anyhow as it doesn't fit Magisk's use cases
2023-06-29 17:14:53 -07:00
LoveSy
24b1c607f3
Replace clap with argh
2023-06-22 02:36:31 -07:00
topjohnwu
a6b1149b9f
Minor cleanup
2023-06-20 14:36:07 -07:00
LoveSy
51e985ae7f
Use quick-protobuf
2023-06-20 14:36:07 -07:00
topjohnwu
e58f98e844
Update cargo files
2023-06-12 02:40:50 -07:00