Coder Social home page Coder Social logo

opsplash's Introduction

OPSPLASH

oppo splash.img modified tool.

Usage

unpack

./opsplash -i splash.img -d
# if you wanna extract file convert to png format
./opsplash -i splash.img -d -c
# if you wanna defined custom output dir or output file
./opsplash -i splash.img -d -o pic -c

repack

./opsplash -i splash.img
# if you pic in different dir
./opsplash -i splash.img -o pic
# if you pic dir include no bmp but all png pics
./opsplash -i splash.img -c -o pic

Build

# I use cmake x ninja to build
cmake -B build -G Ninja
ninja -C build

# you can use makefile to build
cmake -B build
make -C build -j$(nproc --all)

Thanks

lodepng lodepng is a powerful library to encode or decode png pic, it also provide deflate/inflate gzip function and crc32 check sum function.

opsplash's People

Contributors

affggh avatar

Stargazers

 avatar  avatar GreenYoshi (Wang Han) avatar  avatar yun007 avatar Yaku avatar  avatar Chiang Yuhan avatar  avatar Azmathulla Shaik avatar Huang Wen avatar mohanp avatar  avatar 白羽Kokuyu avatar  avatar LMustang avatar Nanashi avatar Lychnobius avatar ColdWindScholar avatar  avatar 糖白クユキ avatar  avatar Liu Wenyuan avatar  avatar F1nch Thirteen  avatar 0xpte4r6 avatar 忆清鸣、 avatar Dagobert avatar  avatar Gian Paolo avatar  avatar Static Reflection avatar  avatar  avatar Tyler Daniels avatar Ankan Pal avatar  avatar  avatar AMDEV01 avatar Quinten avatar ibrahim yöndemli avatar Harish Anbalagan avatar Origami Official avatar Coconut avatar Bharath avatar  avatar Missu avatar  avatar WenHao2130 avatar 红豆沙 avatar

Watchers

mohanp avatar  avatar  avatar

opsplash's Issues

OnePlus6T support

我从我的Oneplus6T提取的splash.img无法读取,以下是输出
image

Support for Pixel

Would you be so kind to make support for Pixel's splash.img?

Here's one taken from Pixel 4A https://0x0.st/odF_.img

This is my terminal output

		[OPPO SPLASH MODIFIED TOOL]
=---------------------------------------------------------------=
	AUTHOR:	affggh 	VERSION:	1.1 
=---------------------------------------------------------------=
File input : 	[../splash.img
]Dir output : 	[pic]
		[OPPO SPLASH MODIFIED TOOL]
=---------------------------------------------------------------=
	AUTHOR:	affggh 	VERSION:	1.1 
=---------------------------------------------------------------=
[WARNNING]: Fake header magic read failed, this may not a issue.
[WARNNING]: Read fake magic faild, this may not a issue.
[INFO]: Checking header magic...
[ERROR]: Failed
Real header magic check failed, this may not a oppo splash image.
[ERROR]: Read real header failed, please comfirm this is a oppo splash image!
METADATA:
	meta1:
	meta2:
	meta3:
Image number:	0
Unknow flag:	0
Device width:	0
Device height:	0
Compressed flag:	0
[INFO]: Extracting...
	OFFSET	REALSZ	COMPSZ	NAME
=---------------------------------------------------------------=
=---------------------------------------------------------------=
[SUCCESS]: Done!

But nothing on pic folder

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.