# opsplash **Repository Path**: Liccsu/opsplash ## Basic Information - **Project Name**: opsplash - **Description**: A command line tool unpack/repack oppo/realme/oneplus splash image - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-12-16 - **Last Updated**: 2022-12-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # opsplash A command line tool unpack/repack oppo/realme/oneplus splash image ## How to compile ### Main program *** Need zlib-devel ``` sh make ``` ### As python library ``` sh python3 setup.py build python3 setup.py install ``` #### Use python library ``` python 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 ``` sh ./opsplash unpack -i splash.img -o pic ``` ### Repack oppo splash image ``` sh ./opsplash repack -i splash.img -o new-splash.img ``` ### Only read image info ``` sh ./opsplash readinfo -i splash.img ```