zte-config-utility icon indicating copy to clipboard operation
zte-config-utility copied to clipboard

[BUG] Integrity check failed.

Open daVinci13 opened this issue 2 years ago • 2 comments

Using:

python examples/decode.py --serial ZTEEG9GM2U00328 config.bin config.xml --try-all-known-keys
Detected signature: ZXHN H267N V1.1
Detected payload type 4
Trying key: '8cc72b05705d5c46ZTEEG9GM2U00328' iv: '667b02a85c61c786ZTEEG9GM2U00328' generated from serial: 'ZTEEG9GM2U00328'
Trying key: 'ZXHNH267NV1.1Key02721401' iv: 'ZXHNH267NV1.1Iv02721401' generated from signature: 'ZXHN H267N V1.1'
Successfully decoded using signature: 'ZXHN H267N V1.1'!

I decoded config.bin, then i enabled SSH and encoded it with:

python examples/encode.py --serial ZTEEG9GM2U00328 --signature 'ZXHN H267N V1.1' config.xml config2.bin
Using serial: ZTEEG9GM2U00328
Done!

And when i try to upload the new bin file i get: "Integrity check failed." Then i tried to encode unmodified config.xml (freshly decoded) I get same error.

When i run: fc.exe /b config.bin config2.bin I get: FC: config.bin longer than CONFIG2.BIN

Then I tried: python .\examples\just_compress.py config2.bin config3.bin and I get: FC: CONFIG3.BIN longer than config.bin

And upon every upload try i get Integrity check failed.

Any ides on how to fix this?

daVinci13 avatar Dec 20 '23 14:12 daVinci13

did u solve it ?

AteaElhakem avatar Jan 14 '25 03:01 AteaElhakem

Can you upload your config.bin and I'll see if I can give you the right arguments to encode.py? Or anyone else with the same device that can upload config.bin along with their serial number,

mkst avatar Mar 16 '25 15:03 mkst