mkst / zte-config-utility

Scripts for decoding/encoding config.bin for ZTE routers
MIT License
234 stars 77 forks source link

Solution for "'DSA verify failed"-error found #75

Closed gramc1106 closed 1 year ago

gramc1106 commented 1 year ago
          I ask you for help: I did everything according to rajkosto´s instruction to flash my ZTE H288A which I got from an Austrian ISP. While trying to upload the "t16mod_fwupgrsignaes.bin" via http://192.168.1.254 I get the error message  "DSA verify failed !" (although uploading/sending "83FBC5C8_dsaverifyfunc_ret0.bin"-file with "xmdm 83FBC5C8 D4" > XMODEM was done).

The message in my "Tera Term"-terminal is the following: ...

bldr> xmdm 83FBC5C8 D4 CCCreceived error bldr> START TO RECEIVE the FILE

START TO CLOSE the FILE Received file: rcvdata_size = 0 start = 0x80020000

Magic check erro! START TO RECEIVE the FILE ................................................................................ ... ............................................................................................................................................................................................................................................................................................................................................ START TO CLOSE the FILE Received file: rcvdata_size = 14172880 start = 0x80020000

==>xpan...Find DSA file: ../cspboot/verify_sign/blcm_dsa_verify_type.c function: dsa_verify line: 349 error! answer = 0 Verify err ret -1 DSA verify failed ! reset...

Failed to send response after firmware upload BGA IC Xtal:1 DDR3 init. DRAMC init done. Calculate size. DRAM size=128MB Set new TRFC. ddr-1333

7516DRAMC V1.0 (0) Press 'x' or 'b' key in 1 secs to enter or skip bootloader upgrade. EN751627 at Wed Jul 8 16:45:26 CST 2020 version 1.1 free bootbase board ip address:192.168.1.254 no_pci_found error case

Press 1 means entering boot mode Press 2 means entering testing mode Press 3 means entering norm mode .......................................................... ==>xpan...Find DSA Found image at 0x01aa0000 Found image at 0x01ea0000 ==> xpan...Find DSA Get hardversion OK,bootPara.hardVersion = V1.1.0 !!! ****Try the second image... bootpara-----> 0 decompress_addr 1ea0100 decompress_addr_end 22a0000 Decompress to 80002000 free_mem_ptr=80950000 free_mem_ptr_end=807B0000 75xx: 0x0 Uncompressing [LZMA] ... done.


Any solution proposals are greatly appreciated.

_Originally posted by @gramc1106 in https://github.com/mkst/zte-config-utility/issues/43#issuecomment-1572719540_
gramc1106 commented 1 year ago

The problem was that I didn´t took the right firmware. With the firmware suggested by [rajkosto] commented [on Nov 2, 2022] (.bin file inside this archive https://files.sshnuke.net/t16mod_fwupgrsignaes.7z) it didn´t work (in contrast to all other instructions by him, which worked like a charm in regard to this issue). The firmware which worked for me was [zxhnh288a_hv11_fv110_gr51t16_firmware.bin]Nova zxhnh288a_hv11_fv110_gr51t16_firmware.bin, posted by datio on Oct 20, 2022](https://github.com/mkst/zte-config-utility/issues/43#issuecomment-1286159848).