libfreemkv owns the Unlocker trait + registry; this repo holds the concrete unlocker plugins. LibreDrive moves to the ld/ member (package freemkv-unlock-ld unchanged). Workspace root + repo README describe the general-unlocker model; adding an unlocker = a new member + one register_unlocker line in the consumer. libfreemkv dep is the crates.io version; local dev resolves it via the gitignored .cargo/config.toml patch.
24 lines
707 B
Markdown
24 lines
707 B
Markdown
# freemkv-unlock
|
|
|
|
Unlocker plugins for [libfreemkv](https://github.com/freemkv/libfreemkv).
|
|
|
|
libfreemkv ships only the pluggable `Unlocker` trait + registry and stays
|
|
firmware-clean — it contains no concrete firmware-unlock code. Each crate in
|
|
this workspace implements one unlocker and is registered into libfreemkv by a
|
|
single line in the consuming binary:
|
|
|
|
```rust
|
|
libfreemkv::register_unlocker(Box::new(freemkv_unlock_ld::LibreDrive::new()));
|
|
```
|
|
|
|
Removing an unlocker is deleting that one line and the dependency
|
|
(delete-to-comply).
|
|
|
|
## Members
|
|
|
|
| Crate | Unlocker |
|
|
|-------|----------|
|
|
| [`ld`](ld/) (`freemkv-unlock-ld`) | LibreDrive — MediaTek MT1959 firmware unlock |
|
|
|
|
License: AGPL-3.0-only.
|