Giter Club home page Giter Club logo

rom-unzip's Introduction

ROM Unzip

Unzip an Android ROM to system and vendor

One-line:

curl -s https://raw.githubusercontent.com/LiteApplication/rom-unzip/master/install | sudo bash && rom-unzip -Vla

Usage

The easiest way to extract rom is to run sudo rom-unzip in the rom folder and to wait about 10 minutes without using computer until you see your shell prompt.
If you want to see the progression, run sudo rom-unzip -V. To resume an old extract, go to the same folder, run the same command and add -r at the bottom (BETA)

usage: rom-unzip [-h] [-v] [-V] [-l] [-a] [-u] [-r] [-s] [-p PATH] [-m STEP]
                 [-o OPT] [-e EXTRACT]

Unzip an Android rom to system.img and vendor.img.

optional arguments:
  -h, --help                 Show this help message and exit
  -v, --version              Show the script version and exit.
  -V, --verbose              Verbosely run script.
  -l, --log                  Save output to rom-unzip.log.
  -a, --all                  Run all steps, enabled by default.
  -u, --update               Update program and exit.
  -r, --resume               Resume previous rom extracting.
  -s, --show-saved           Show the actual saved state and exit.
  -p, --rom-path PATH        The path to rom.zip folder.
  -m, --step STEP            Run only one step of rom-unzip. Pass 0 to view options.
  -o, --option OPT           Argument for single step.
  -e, --extract-dir EXTRACT  Path to extract rom.

Installation

Just run curl -s https://raw.githubusercontent.com/LiteApplication/rom-unzip/master/install | sudo bash to install ROM-Unzip.
If you want to download the file for run it later, install on multiple computer or read it from your computer, you can download it at raw.github.com
To install the program , just run ./install , no need to download the entire repository, just download and run install.

Performances

Extract an Android 10 ROM with Gapps (1,13GB) take 13 seconds with 8GB RAM, 8 cores. The result is 3,2GB.

Credits

rom-unzip's People

Contributors

liteapplication avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.