Git Product home page Git Product logo

payload-dumper-go's Introduction

payload-dumper-go

An android OTA payload dumper written in Go.

Features

screenshot

See how fast payload-dumper-go is: https://imgur.com/a/X6HKJT4. (MacBook Pro 16-inch 2019 i9-9750H, 16G)

  • Incredibly fast decompression. All decompression progresses are executed in parallel.
  • Payload checksum verification.
  • Support original zip package that contains payload.bin.

Cautions

  • Working on a SSD is highly recommended for performance reasons, a HDD could be a bottle-neck.

Limitations

  • Incremental OTA (delta) payload is not supported.

Installation

  1. Download the latest binary for your platform from here and extract the contents of the downloaded file to a directory on your system.

Linux and OSX

  1. Make sure the extracted binary file has executable permissions. You can use the following command to set the permissions if necessary:
chmod +x payload-dumper-go
  1. Run the following command to add the directory path to your system's PATH environment variable:
export PATH=$PATH:/path/to/payload-dumper-go

Note: This command sets the PATH environment variable only for the current terminal session. To make it permanent, you need to add the command to your system's profile file (e.g. .bashrc or .zshrc for Linux/Unix systems).

Windows

  1. Open the Start menu and search for "Environment Variables".
  2. Click on "Edit the system environment variables".
  3. Click on the "Environment Variables" button at the bottom right corner of the "System Properties" window.
  4. Under "System Variables", scroll down and click on the "Path" variable, then click on "Edit".
  5. Click "New" and add the path to the directory where the extracted binary is located.
  6. Click "OK" on all the windows to save the changes.

Usage

Run the following command in your terminal:

payload-dumper-go /path/to/payload.bin

Sources

https://android.googlesource.com/platform/system/update_engine/+/master/update_metadata.proto

License

This source code is licensed under the Apache License 2.0 as described in the LICENSE file.

payload-dumper-go's People

Contributors

ssut avatar luk1337 avatar osm0sis avatar lacentix avatar benjamin-loison avatar luca020400 avatar tipsythecat avatar toastie89 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.