Sign inSign up

olkitu/28874decoder

By olkitu

Updated over 5 years ago

A small utility to decode the nv item 00028874.

Image
0

1.9K

olkitu/28874decoder repository overview

28874Decoder

A small utility written in C code that aims to decode the NV item 00028874. The NV item 00028874 is used in the last Qualcomm modems to specify the supported carrier aggregations.

This is one of the tools used to get the data you can find on my own site smartphonecombo.it and cacombos.com.
If the data you have obtained thanks to this tool are not on either of the two sites, contact me or the administrators of cacombos.com. Thanks :)

Run in Docker

Before running 28874Decoder you have to decompres yours 00028874. There are several ways to do this, below you will find some:

  • $ binwalk -e 00028874
  • $ openssl zlib -d -in 00028874 -out unpacked
  • $ printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - 00028874 | gzip -dc > unpacked

Most likely in the future 28874Decoder will be able to decompress automatically.

After compressionm just run

docker run --rm --name 28874Decoder ghcr.io/HandyMenny/28874decoder [path_to_unpacked_00028874]

Build Instructions

git clone https://github.com/HandyMenny/28874Decoder
cd 28874Decoder/src
make

Run Instructions

Before running 28874Decoder you have to decompres yours 00028874. There are several ways to do this, below you will find some:

  • $ binwalk -e 00028874
  • $ openssl zlib -d -in 00028874 -out unpacked
  • $ printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - 00028874 | gzip -dc > unpacked

Most likely in the future 28874Decoder will be able to decompress automatically.

After decompression just run:
./src/28874Decoder [path_to_unpacked_00028874]

How to interpret the output

The Carrier Aggregation Combos are written in a format similar to that used by Qualcomm in the carrier_policy.xml.
For each combo there is a list of bands separated by a dash.
For each bands the first number indicates the lte band, the first letter the Bandwidth Class DL, the second number the Supported MIMO Capability DL, the second letter the Bandwidth Class UL (if absent this band is not used for UL). At the end of each combo there is a number indicating the maximum number of DL streams and a possible asterisk which if present indicates the presence of Upload Carrier Aggregation.

Further information about carrier aggregations: 3GPP and nivuk

License

Licensed under the MIT license - See LICENSE for details.

Tag summary

Content type

Image

Digest

Size

3.1 MB

Last updated

over 5 years ago

docker pull olkitu/28874decoder