Git Product home page Git Product logo

autel's Introduction

autel extractor

by _anthok


Unpack firmware update packages for the Autel EVO.



An example of an unpacked firmware [EVO_FW_V1.4.9] can be found in the extracted_sample folder at the root of this repository.

Usage

python autel_extractor.py -f <firmware> -o <output_dir>


**Note:** The firmware package is nested, but the tool does not currently unpack the nested levels for you. You will need to rerun the tool and change the `-f` flag to point to your newly unpacked image.

You can tell if a file can be further unpacked by looking for <filetransfer> at the start of the file.


How it works

Below is the format for the EVO firmware update package.

An update package is segmented by using an XML like structure, but there is no ending tag. The " characters are not a typo, those are part of the structure. The highest level tag is a filetransfer and signifies the begging of a file entry. Next, a fileinfo will follow, this will include an 8 byte header, 0-4 are the field_size, 4-8 are currently unknown, 8-field_size will be the filename. The last component of the transfer is filecontent. Once again this will include an 8 byte header, 0-4 are the field_size, 4-8 are currently unknown. The remaining bytes, 8-field_size are the actual content of the file being transfered.

"<filetransfer>"

"<fileinfo>"
field_size: bytes 0-4, big endian
unknown: bytes 4-8, ??, crc/timestamp maybe
data: bytes 8-X, data


"<filecontent>"
field_size: bytes 0-4, big endian
unknown: bytes 4-8, ??, crc/timestamp maybe
data: bytes 8-X, data

autel's People

Contributors

anthok avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.