/libmjolnir

A WebUSB implementation of the Odin protocol for Samsung devices in Download Mode

Primary LanguageTypeScriptMIT LicenseMIT

libmjolnir

A WebUSB implementation of the Odin protocol, used for interfacing with Samsung devices in "Download mode"

Status

Build status

  • Build Library
  • Unit Tests
  • Deploy to Github Pages

Working features

  • PIT parsing
  • Odin handshake
  • Download PIT
  • Device Reboot
  • Erase userdata
  • Flash partition

Planned features

  • Upload PIT

Building

yarn # only needs to be run once, to install dependencies
yarn build

Building the example project

cd example
yarn dev --host

Unit tests

yarn test