+14
−481
+3
−9
+18
−16
File changed.
Preview size limit exceeded, changes collapsed.
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Remove @e/fastboot and all @yume-chan/* packages, replacing them with
a custom TypeScript library at app/src/lib/ that implements both the
Fastboot and ADB protocols directly over WebUSB.
Key changes:
- New transport layer with buffered receives and endpoint halt clearing
to handle device quirks (16KB USB transfer buffer, clearHalt on open)
- Fastboot protocol: command/response, chunked data transfer, sparse
image detection and splitting for max-download-size
- ADB protocol: CNXN/AUTH handshake with RSA-2048 key generation via
Web Crypto API, shell/getProp commands, sideload-host block protocol
- Header and payload sent as separate USB bulk transfers per ADB spec
- Rewrite bootloader.class.js, adb.class.js, recovery.class.js to use
the new library (recovery reduced from 290 to 50 lines)
- Update controller.manager.js and device.manager.js for new API
- Remove vite-plugin-static-copy (no longer needed without pako)
- Add TypeScript config for strict type checking of lib/ sources
Signed-off-by:
Jackeagle <jackeagle102@gmail.com>
File changed.
Preview size limit exceeded, changes collapsed.
File changed.
Preview size limit exceeded, changes collapsed.