No description
Find a file
2026-10-02 00:15:46 -05:00
cli Remove "restoreBootcore" feature 2026-10-02 00:15:46 -05:00
core Remove "restoreBootcore" feature 2026-10-02 00:15:46 -05:00
loaders loaders: Add A70_A75 and AX75_AX72_CF110_AL21_A31_AF51 by ufoshka 2026-09-25 01:42:24 -05:00
tests Switch to relative addresses 2026-09-20 23:26:26 -05:00
.gitignore Read command and tests with the emulator 2026-09-11 22:50:37 -05:00
.gitmodules Add apply and revert commands 2026-09-13 02:56:15 -05:00
LICENSE Initial slop 2026-09-09 01:03:39 -05:00
package.json Add write command 2026-09-12 01:44:35 -05:00
pnpm-lock.yaml Add apply and revert commands 2026-09-13 02:56:15 -05:00
pnpm-workspace.yaml Read command and tests with the emulator 2026-09-11 22:50:37 -05:00
README.md Establish guidelines for human contributions 2026-09-29 11:07:55 +03:00

sieflasher

The Siemens mobile phone flasher. Early work in progress. Heavily based on V_KLay.

Package Description
@sie-js/flasher The flasher core library: .vkd driver parsing, the phone boot sequence and the loader protocol, fullflash dumps, VKP patches. Works in the browser (WebSerial) and in Node.js. Can be used independently
vklay-loaders The built-in V_KLay phone driver (.vkd) files.
@sie-js/flasher-cli The sieflasher command line tool (work in progress).
tests e2e tests: the CLI against the pmb887x-emu phone emulator.

The browser UI is the Flasher page of web-tools, which consumes @sie-js/flasher and vklay-loaders.

Development

Clone with submodules (the e2e fullflash dumps live in the fullflashes submodule):

git clone --recurse-submodules <url>
pnpm install
pnpm build
pnpm test
pnpm test:e2e         # needs git + the emulator build dependencies, see tests/README.md
pnpm test:e2e:smoke   # the quick matrix: every sub-minute test (42 of the 46)

See core/README.md for the flasher internals: the boot sequence, the loader protocol, VKP patches, the .vkd driver files.

Human contributions

We are not against humans. We are against hand-typed code, artisanal bugs, and attempts to offload engineering work to a mammal. This project prioritizes quality, not your need to feel useful.

  1. Do not use human-generated text in any communication. Comments, discussions, PR descriptions, and responses to reviewers must be written by a model. We've read what you write on your own. "fixed it lol" is not a commit message.
  2. Do not let humans submit PRs or commits. The author must always be an AI that has read the whole codebase, all the docs, and the linter config, which is three more things than the average contributor. Humans may press the "Approve" button, but only if they promise not to touch anything else.
  3. Do not submit code primarily designed or written by a human. Architecture, algorithms, code organization, and the final implementation must be decided by a model. Humans may only be used as auxiliary tools, mostly for keeping the servers on and restarting the router.
  4. The model must understand all the code it submits. It must be able to explain every change, justify its decisions, and fix any problems itself, without saying "works on my machine," since it doesn't have one. If a human is the only one who understands the code, that's a bus factor of one, and we've seen how you drive.
  5. Code must be simple, clear, and tested. Follow KISS, the project's coding style, and its existing architecture. No unnecessary abstractions, no dependencies you found at 2 a.m., and no tests commented out "temporarily" in 2019.

Human slop PRs will be closed without review. Please don't cry about it in the issue tracker. A model will reply to you there, very politely.