UE Capability Parser is a tool that parses the LTE/NR capabilities of mobile devices and convertes them into a human-readable format.
Despite its beta quality, it's the source of sites such as smartphonecombo.it, cacombos.com, mobilecombos.com
-
Install Java Runtime (JRE) 11 or above
-
Download last archive (the right archive starts with uecapabilityparser-) from release page
-
Decompress the archive
-
Open a terminal in the folder where the archive was extracted
-
If you're using Linux make the uecapabilityparser script executable:
chmod +x uecapabilityparser -
Run the application:
Note
if you're using Windows Command Prompt (cmd) omit "./"./uecapabilityparsera. Server mode example:
./uecapabilityparser server -p 8080b. CLI mode example:
./uecapabilityparser cli -t C -i input.xml -c output.csv
-
Open a terminal
-
Run container in detached mode
Example:
docker run --name uecapabilityparser -p 8081:8080 -d ghcr.io/handymenny/uecapabilityparser:latest server -p 8080Where:
--namesets the name of the container-p 8081:8080map the port 8080 of the container to the port 8081 of the host-dstarts the container in detached mode (background)ghcr.io/handymenny/uecapabilityparser:latestis the container image to useserver -p 8080are the options to be passed to the container, in this case start a server on port 8080
Warning
This isn't the recommended way to run the parser. It currently complicates sending data to the parser and receiving data from the parser.
-
Create a directory that will store the input and output files.
-
Open a terminal in the folder created in step 1
-
If you're using Linux make sure that the folder created in step 1 and the files in it are readable and writable by UID/GID 2000.
An easy way is to change the owner recursively:chown 2000:2000 -R . -
Run container in interactive mode:
Example:
docker run --name uecapabilityparser -it --rm -v `pwd`:/home/java ghcr.io/handymenny/uecapabilityparser:latest -hWhere:
--namesets the name of the container-itstarts the container in interactive mode (attached to the shell)--rmremove the container after the execution-v `pwd`:/home/javamaps the current directory to /home/java (in container)ghcr.io/handymenny/uecapabilityparser:latestis the container image to use-hare the options to be passed to the container, in this case print help
-
Install Git
-
Clone the repo:
Note
If you have already cloned this before, you can update it and its submodules with these commands:git fetch get pull git submodule update --initgit clone --recurse-submodules https://github.com/HandyMenny/uecapabilityparser -
Move to
uecapabilityparserfolder:cd uecapabilityparser -
Build the application:
-
build with gradle (requires JDK 11 or above):
Note
if you're using Windows Command Prompt (cmd) omit "./"./gradlew buildYou will find the build artifacts in
build/distributions/ -
or build the docker image (requires Docker):
docker build -t ghcr.io/handymenny/uecapabilityparser:latest .
-
In each release zip you can find:
- Some useful type script definitions in
uecapabilityparser.d.ts - OpenAPI spec in
openapi.json
The server (alongside the uecapabilityparser API) also serves:
- Web UI (DEMO) at
/ - Swagger UI at
/swagger - OpenAPI spec at
/openapi
Useful links: