User Tools

Site Tools


howto:dumlrub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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, you obviously need some firmware files. The primary source is http://github.com/MAVProxyUser/dji_system.bin ... or, you can go to [[.:firmware]] for a listing of what is available+This command will make a backup copy of all firmware on your connected equipment. During the processit will: 
 +  - 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 /dev/tty.usbmodem1445 dji_system.bin 
 + 
 +===== 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 "demanding" to install. OSX commands listed below SHOULD work. 
 + 
 + 
 +  xcode-select --install 
 +  sudo gem install nokogiri  -v '1.6.7.2' -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.*.sdk/usr/include/libxml2 --use-system-libraries 
 + 
 + 
 +  ruby CherryPicker.rb 
 + 
 + 
 + 
 +===== Contribute ===== 
 +  * <todo #sprzedawcamarzen:2019-09-15>Update toolchain page and bash script for install details for nokogiri </todo> 
 +  * <todo>Video or other explanation of what comes next</todo>
howto/dumlrub.1501337603.txt.gz · Last modified: 2017/07/29 14:13 by czokie