A command-line utility for working with swilib and patterns.
Supported on all major operating systems: Linux, macOS, and Windows.
-
Install the latest version of Node.js.
-
Install the package:
npm install -g @sie-js/swilib-tools@latest
- Find and install the USB drivers for your phone.
- Install scoop: https://scoop.sh/
- Run in PowerShell:
scoop bucket add main scoop install main/nodejs npm install -g @sie-js/swilib-tools@latest
These external tools must be available in your PATH:
- arm-none-eabi-gcc
- git
This tool requires some external repositories to work properly.
The default path to the development root is <HOME>/dev/sie, <HOME>/dev/siemens, or the current working directory.
Otherwise, you can specify any path using the -R, --root option.
A simple way to create a development root:
mkdir -p ~/dev/sie
cd ~/dev/sie
git clone https://github.com/siemens-mobile-hacks/sdk --depth 1
git clone https://github.com/siemens-mobile-hacks/patches --depth 1Also, remember to pull the latest changes from these repositories regularly.
Usage: swilib-tools [options] [command]
CLI tool for Siemens Mobile phone development.
Options:
-v, --version output the version number
-R, --root path to the root directory with the SDK and other repos
-h, --help display help for command
Commands:
server [options] API for web frontend
check [options] Check swilib.vkp for errors
merge [options] Merge two swilib.vkp files (source.vkp → destination.vkp)
convert [options] Convert swilib to other formats
gen-asm-symbols [options] Generate assembler symbols for the SDK
gen-simulator-api [options] Generate API stubs for the elf emulator
help [command] display help for command