User Tools

Site Tools

Translations of this page:

howto:dumlrub

This is an old revision of the document!


DUMLrub

This document describes DUMLrub and some associated components. Essentially, DUMLrub is a ruby implementation of pyduml. But, there are some other components in the tool kit that take this one step further. The instructions below assume you are running on OSX. Most of these instructions will readily translate to most Linux variants.

1. Toolchain

Install your toolchain as per the instructions here. You only need to do this once… but check the instructions to see if there are any new tools that you may need.

2. Get the DUMLrub magic

If this is your first time using DUMLrub, you will need to checkout the code from git.

cd ~/Documents/
git clone https://github.com/MAVProxyUser/DUMLrub.git
cd DUMLrub

If you have done this before and you want to make sure you have the latest code, you just need to sync to the most recent version

cd ~/Documents/DUMLrub
git pull

3. Make a backup of firmware on your equipment

This command will make a backup copy of all firmware on your connected equipment. During the process, it will:

  1. Login to your equipment via FTP
  2. Get a list of all files in /upgrade/upgrade/backup
  3. Get all of the files found
  4. AES Decrypt the files
  5. Do some XOR magic to undo the final DJI file tampering
  6. Stick it all in the backup directory
ruby BackDatAssUp.rb 

Now… This is still work in progress… but coming soon, the code for DUMLrub will put this into a single file that can be re-flashed to your equipment, should that ever be required.

To be continued

howto/dumlrub.1501362609.txt.gz · Last modified: 2017/07/29 21:10 by czokie