dji-firmware-tools icon indicating copy to clipboard operation
dji-firmware-tools copied to clipboard

Hot to run "test_dji_imah_fwsig_rebin1.sh" ??

Open 9930wilson opened this issue 3 years ago • 7 comments

I was able to extract the wm161.sig files to .bin files. And now trying to repack the .bin files to .sig again, but not being able to.

Anyone knows what command to use?? and which script to use for .bin to .sig conversion..

9930wilson avatar May 15 '21 13:05 9930wilson

How did you get? i'm trying this way but it's returning error. If anyone else can help...thank you in advance. image

JefDrones avatar Jun 28 '21 22:06 JefDrones

https://letmegooglethat.com/?q=ModuleNotFoundError%3A+No+module+named+%27Crypto%27

mefistotelis avatar Jun 28 '21 23:06 mefistotelis

Thanks mefistotelis ... sorry.... i should have googled it first I understand that for this tool I have to use linux or windows instead and install this Crypto library... I installed kali on a virtual machine and I need to learn how to work with linux and also find out that on this virtual machine the serial port won't work... .then i will format the pc and install a dual boot ....... hope i'm on the right path .... let's go

JefDrones avatar Jul 01 '21 01:07 JefDrones

Most of the tools are written in Python, and therefore will work on any OS with Python available.

The repository also contains some shell (bash) scripts; these scripts execute some tools which are available for Linux and Windows, not sure about MacOS.

mefistotelis avatar Jul 01 '21 09:07 mefistotelis

image

JefDrones avatar Jul 02 '21 23:07 JefDrones

File *_head.ini is created when unsigning. It contains additional information required to re-sign the file.

Example content of such file:

# DJI Firmware Signer main header file.
# Generated on 2021-07-02 22:08:19
name=bootloader
pkg_format=2018
version=00.00.00.00
anti_version=00.00.00.00
date=2017-12-27
enc_key=TBIE
auth_alg=2
auth_key=PRAK
os=0
arch=0
compression=0
type=TBLD
userdata=
entry=0000FCFF00000000
scramble_key=B6 50 7B 4C 3F 28 E4 B5 FE F5 39 CD 93 58 B0 28
modules=BLLK

mefistotelis avatar Jul 03 '21 07:07 mefistotelis

https://letmegooglethat.com/?q=ModuleNotFoundError%3A+No+module+named+%27Crypto%27

"wm161_0306_v03.04.09.74_20210112.pro.fw_0306.bin", can decrypto?

ntzwq avatar Dec 03 '23 05:12 ntzwq