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

How to Repackage Phantom 3 advanced Firmware

Open jh1113 opened this issue 1 year ago • 1 comments

I want to modify the firmware and re-compress it

image

image Modifying a file (Shadow)

Finally, I want to compress the file again

Please teach me the way. Help me, please.

jh1113 avatar Jul 08 '22 02:07 jh1113

Just make sure to mount the rootfs image and modify there instead of extracting. Besides that, there are no caveats - just use the scripts in reverse order with proper parameters to get back to one binary.

Non-signed firmwares (before Mavic) can be repackaged without additional knowledge.

Here's a simple test which does the first level: https://github.com/o-gs/dji-firmware-tools/blob/master/tests/test_dji_xv4_fwcon_rebin1.sh

For details on the modules inside - use the project wiki.

mefistotelis avatar Jul 08 '22 09:07 mefistotelis