/tp-link-stock-firmware-converter

Use this tool to convert a TP-Link stock firmware to an OpenWrt-compatible sysupgrade file.

Primary LanguageHTMLBSD 2-Clause "Simplified" LicenseBSD-2-Clause

tp-link-stock-firmware-converter

The live branch contains a pre-compiled version of this tool. If you wish to compile your own, you may follow these instructions.

  1. Install Emscripten.
  2. Download tplink-safeloader.c, md5.c, and md5.h from the OpenWrt repository to this directory.
  3. Compile tplink-safeloader:
emcc tplink-safeloader.c md5.c -o safeloader.js -s FORCE_FILESYSTEM=1 -s EXIT_RUNTIME=1 -s EXTRA_EXPORTED_RUNTIME_METHODS=FS
  1. Run safeloader.html from a web server such as python3 -m http.server as most browsers don't support file:// XHR requests.