Coder Social home page Coder Social logo

xiaomi_resplasher's Introduction

Xiaomi Resplasher

A tool designed to extract bitmaps from splash image and glue the modified version together.

Why?

Because the already existing tools weren't universal, closed-source and Windows only.

Usage

Extraction: python extract.py <splash.img>

Duct-taping the shit together: python silvertape.py <splash.img> <output_filename.img> <bitmap.bmp:index> [bitmap.bmp:index ...]

Index specifies the bitmap that you want to replace. If you had extracted it using my tool, the filename indicates the index, for example: 0.bmp is containing the bitmap extracted from index 0.

Compatibility

  • Xiaomi Mi A2 - fully tested and working
  • Xiaomi Redmi Note 5 - fully tested and working
  • Xiaomi Redmi Note 6 - partially tested *
  • Xiaomi Redmi Note 7 - partially tested *
  • Xiaomi Mi 8 - partially tested *
  • Xiaomi Mi 9 - partially tested *
  • Xiaomi Redmi Note 3 - not working at all
  • Xiaomi Redmi Note 4 - not working at all

* I do not own the device. Extraction works, nothing further tested.

Please tell me if it worked with the device not listed there by opening an issue, thanks.

Warning

I do not take any responsibility for damaged devices, murdered mothers in law, nuclear war or some shit like that.

This tool is only checking if the modified bitmap will fit into the original place in your splash image. I don't check bitmap resolution, color coding and more shit like this.

Can it break your device? No. Even if you completely erase splash partition, your phone will boot successfully, but without displaying any splash image. Just don't be scared if you boot into fastboot after fuck up and you see a black screen.

But just in case you are an idiot or something, again: i do not take any responsibility.

PS: If something goes wrong, you can open an issue.

xiaomi_resplasher's People

Contributors

kazigk avatar

Stargazers

 avatar  avatar

Watchers

 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.