This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howto:dumlrub [2017/07/29 14:13] czokie created |
howto:dumlrub [2019/09/15 13:08] (current) sprzedawcamarzen ToDo checked: Update toolchain page and bash script for install details for nokogiri |
||
---|---|---|---|
Line 19: | Line 19: | ||
git pull | git pull | ||
- | ===== 3. Get some firmware | + | ===== 3. BackDatAssUp |
- | If you are planning to flash new firmware, | + | This command will make a backup copy of all firmware |
+ | - Login to your equipment via FTP | ||
+ | - Get a list of all files in /upgrade/upgrade/backup | ||
+ | - Get all of the files found | ||
+ | - AES Decrypt the files | ||
+ | - Do some XOR magic to undo the final DJI file tampering | ||
+ | - Stick it all in the backup directory | ||
- | ===== To be continued | + | |
+ | ruby BackDatAssUp.rb | ||
+ | |||
+ | Once it is complete, you will find a firmware file dji_system.bin in the current directory. | ||
+ | |||
+ | ===== 4: RubaDubDUML | ||
+ | RubaDubDUML is designed to upload a firmware image to your device. It takes two parameters. One being the comm port to use, and the other being the firmware to upload. | ||
+ | |||
+ | ruby RubaDubDUML.rb / | ||
+ | |||
+ | ===== 5: LogJammer ===== | ||
+ | |||
+ | LogJammer is designed to pull upgrade log files from your aircraft and decrypt them automatically. | ||
+ | |||
+ | ruby LogJammer.rb | ||
+ | |||
+ | ===== 6: CherryPicker ===== | ||
+ | |||
+ | CherryPicker allows you to pick individual firmware modules to allow you to "roll your own" firmware image. | ||
+ | |||
+ | It needs a module installed that is not in the toolchain page. This module is a little " | ||
+ | |||
+ | |||
+ | xcode-select --install | ||
+ | sudo gem install nokogiri | ||
+ | |||
+ | |||
+ | ruby CherryPicker.rb | ||
+ | |||
+ | |||
+ | |||
+ | ===== Contribute ===== | ||
+ | * <todo # | ||
+ | * < |