Giter VIP home page Giter VIP logo

sgs4ext4fs's Introduction

sgs4ext4fs is a tiny tool to work with ext4 images for the i9500

Unlike other devices (like the i9505) that just need a recent version
of make_ext4fs from ext4_utils from the latest Android source -- and 
optinally the correct file_contexts reference for SELinux -- the
i9500 expects some extra bytes in its image files. 

There are 4 bytes padded to both the file header as well as every chunk 
header. In Samsung built images, these bytes are non-zero, though I've 
not been able to determine their meaning (yet). They're not chunk
checksums, that's for sure. Anyway, setting them to zero seems to
work fine.

This tool can list chunks and extra bytes (--list option), add extra
bytes to the image (--bloat option), or strip the extra bytes from the 
image (--trim option). when bloating, the tool just adds zeroes in 
the right places.

Works for me so far, hope it works for you as well ...

-Chainfire

sgs4ext4fs's People

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.