Giter Club home page Giter Club logo

otadump's Introduction

otadump

crates.io

otadump helps you extract partitions from Android OTA files.
Partitions can be individually flashed to your device using fastboot.

Compared to other tools, otadump is significantly faster and handles file verification - no fear of a bad OTA file bricking your device.

Demo

Features

crazystylus/otadump ssut/payload-dumper-go vm03/payload_dumper
Input file verification
Output file verification
Extract selective partitions
Parallelized extraction
Runs directly on .zip files
Incremental OTA support Partial

Benchmarks

Comparing the time taken to extract all partitions from a few sample files (lower is better):

Benchmarks

Note: otadump was run with args --no-verify -c 12 and payload-dumper-go was run with args -c 12

System specifications:

  • Processor: AMD Ryzen 5 5600X (12) @ 3.700GHz
  • RAM: 16 GiB
  • OS: Pop!_OS 22.04 / Linux 6.0.6
  • SSD: Samsung 970 EVO 250GB

Installation

macOS / Linux

Install a pre-built binary:

curl -sS https://raw.githubusercontent.com/crazystylus/otadump/mainline/install.sh | bash

Otherwise, using Cargo:

# Needs LZMA, Protobuf and pkg-config libraries installed.
# - On macOS: brew install protobuf xz pkg-config
# - On Debian / Ubuntu: apt install liblzma-dev protobuf-compiler pkg-config
cargo install --locked otadump

Windows

Download the pre-built binary from the Releases page. Extract it and run the otadump.exe file.

Usage

Run the following command in your terminal:

# Run directly on .zip file.
otadump ota.zip

# Run on payload.bin file.
otadump payload.bin

Contributors

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.