Skip to content

A command line tool unpack/repack oppo/realme/oneplus splash image

License

Notifications You must be signed in to change notification settings

fuckdedeurkruk/opsplash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opsplash

A command line tool unpack/repack oppo/realme/oneplus splash image

How to compile

Main program

*** Need zlib-devel

make

As python library

python3 setup.py build
python3 setup.py install

Use python library

import os
import opsplash as o

f = "splash.img"

# Unpack a splash image
if os.access(f, os.F_OK):
    # o.readinfo(f)
    o.unpack(f)

if os.access(f, os.F_OK):
    o.repack(f, "new-splash.img")

Prebuilt library

In prebuilt dir
Have win64 python3.10 library
Have win64 dll library

Usage

Unpack oppo splash image

./opsplash unpack -i splash.img -o pic

Repack oppo splash image

./opsplash repack -i splash.img -o new-splash.img

Only read image info

./opsplash readinfo -i splash.img

About

A command line tool unpack/repack oppo/realme/oneplus splash image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.7%
  • Python 1.9%
  • Makefile 1.4%