Commit Graph

15 Commits

Author SHA1 Message Date
LoveSy b6c24a3a8a No more sony init.real tricks
Co-authored-by: canyie <a1364259@163.com>
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2024-02-29 23:40:00 -08:00
残页 94d3daeadf Fix Sony init.real check 2024-01-17 16:09:50 -08:00
LoveSy 2ac464b186 Only compress regular file 2023-12-18 16:21:08 +08:00
LoveSy 8b7fae278b Support compressing during cpio backup 2023-12-18 16:21:08 +08:00
LoveSy 8d7c7c3dfb Refactor dtb in rust 2023-09-19 00:41:42 -07:00
topjohnwu 41226c12b8 Update to ONDK r25.7 2023-08-15 17:10:20 -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
topjohnwu 9c7cf340a1 Move pattern matching to Rust 2023-06-21 16:47:20 -07:00
LoveSy c874391be4 Box CpioEntry 2023-06-15 04:09:17 -07:00
LoveSy 7e8e013832 Fix two typo 2023-06-15 04:09:17 -07:00
topjohnwu 23c1f0111b Improve Rust implementation
- Move mmap_file implementation into Rust
- Introduce Utf8CStr as the better c-string type to use
2023-06-12 02:40:50 -07:00
LoveSy bf10496fa9 Add log for restore 2023-06-12 02:40:50 -07:00
LoveSy 607e6547a7 No check rm -r 2023-06-12 02:40:50 -07:00
topjohnwu 6b21091fe2 Fix compile errors and cleanup 2023-06-12 02:40:50 -07:00
LoveSy b8cb9cd84d Refactor magiskboot cpio 2023-06-12 02:40:50 -07:00