msm8916-mainline / qtestsign

Simple tool to "sign" ELF Qualcomm firmware images using dummy certificates ("test keys")
GNU General Public License v2.0
40 stars 8 forks source link

Add more firmware type IDs #1

Closed z3ntu closed 2 years ago

z3ntu commented 2 years ago
$ strings adsp.mdt | grep SW_ID
01 0000000000000004 SW_ID1"0
z3ntu commented 2 years ago

I have a few more ids coming, so wait until merging

z3ntu commented 2 years ago

0x05: devcfg.mbn 0x0C: a bunch of misc firmware (see details below) 0x14: gfx.mdt & a506_zap.mdt

fw in archive (top level) ``` --- FILE: cmnlib64_30.mbn --- 01 000000000000000C SW_ID1"0 --- FILE: cmnlib_30.mbn --- 01 000000000000000C SW_ID1"0 --- FILE: devcfg.mbn --- 01 0000000000000005 SW_ID1"0 --- FILE: km4.mbn --- 01 000000000000000C SW_ID1"0 --- FILE: lksecapp.mbn --- 01 000000000000000C SW_ID1"0 ``` fw in `NON-HLOS.bin` ``` --- FILE: cmnlib.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: cmnlib64.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: cppf.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: dhsecapp.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: gfx.mdt --- 01 0000000000000014 SW_ID1"0 --- FILE: gptest.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: isdbtmm.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: qmpsecap.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: securemm.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: smplap32.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: smplap64.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: soter64.mdt --- 01 000000000000000C SW_ID1"0 --- FILE: widevine.mdt --- 01 000000000000000C SW_ID1"0 ``` fw in `vendor.img` ``` --- FILE: a506_zap.mdt --- 01 0000000000000014 SW_ID1"0 --- FILE: fingerprint.mdt --- 01 000000000000000C SW_ID1"0 ```
stephan-gh commented 2 years ago

I'd suggest something like: