GithubHelp home page GithubHelp logo

inarcissuss / android-simg2img Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anestisb/android-simg2img

0.0 2.0 0.0 54 KB

Tool to convert Android sparse images to raw images

License: Other

Makefile 2.39% C 92.49% Python 5.12%

android-simg2img's Introduction

simg2img

Tool to convert Android sparse images to raw images.

Since image tools are not part of Android SDK, this standalone port of AOSP libsparse aims to avoid complex building chains.

Usage

$ make
$ simg2img /path/to/Android/images/system.img /output/path/system.raw.img
$ file /path/to/Android/images/system.img
system.img: Android sparse image, version: 1.0, Total of 262144 4096-byte output blocks in 1620 input chunks.
$ file /output/path/system.raw.img
system.raw.img: Linux rev 1.0 ext4 filesystem data, UUID=57f8f4bc-abf4-655f-bf67-946fc0f9f25b (extents) (large files)

Windows

If you want to build simg2img on Windows you'll need to install MinGW and also zlib and libasprintf (go to MinGW Libraries in the installer and check mingw32-libz and mingw32-libasprintf). Once you've done that run the following command to build simg2img:

CFLAGS=-DUSE_MINGW LDFLAGS=-lasprintf mingw32-make

android-simg2img's People

Contributors

anestisb avatar dmchurch avatar ngkaho1234 avatar sryze 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.