Skip to content

LyraVoid/FolkSplash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FolkSplash

๐Ÿ‡บ๐Ÿ‡ธ English | ๐Ÿ‡จ๐Ÿ‡ณ ็ฎ€ไฝ“ไธญๆ–‡


็ฎ€ไฝ“ไธญๆ–‡

OPPO/Realme/OnePlus ่ฎพๅค‡ splash.img ๅผ€ๆœบๅฏๅŠจ้•œๅƒๅฏ่ง†ๅŒ–ๅทฅๅ…ทใ€‚

ๅŸบไบŽ Flutter ๆž„ๅปบ๏ผŒๆ”ฏๆŒ Android ๅ’Œ Windows ๅนณๅฐใ€‚

ๅŠŸ่ƒฝ็‰นๆ€ง

  • ่งฃๅŒ… splash.img ้•œๅƒๆ–‡ไปถ๏ผŒๆŸฅ็œ‹ๅผ€ๆœบๅŠจ็”ปๅ›พ็‰‡
  • ๆ›ฟๆขๅผ€ๆœบๅŠจ็”ปๅ›พ็‰‡๏ผˆๆ”ฏๆŒ PNG/JPG/BMP ๆ ผๅผ๏ผ‰
  • ๅคš็งๅˆ†่พจ็އ้€‚้…ๆจกๅผ๏ผš
    • ็›ดๆŽฅไธŠไผ : ็›ดๆŽฅไธŠไผ ๅŽŸๅ›พ๏ผŒไธ่ฟ›่กŒไปปไฝ•่ฝฌๆข
    • ่ทŸ้šๅŽŸๅ›พๅˆ†่พจ็އ: ไฟๆŒๅŽŸๅ›พๅฐบๅฏธ่‡ชๅŠจ่ฃๅ‰ช้€‚้…
    • ่‡ชๅŠจ้€‚้…: ๆ นๆฎ่ฎพๅค‡ๆœ€ๅคงๅˆ†่พจ็އ่‡ชๅŠจ่ฐƒๆ•ด
    • ่‡ชๅฎšไน‰ๅˆ†่พจ็އ: ๆ‰‹ๅŠจๆŒ‡ๅฎšๅฎฝๅบฆๅ’Œ้ซ˜ๅบฆ
  • ๆ‰“ๅŒ…ๅนถ็”Ÿๆˆๆ–ฐ็š„ splash.img ้•œๅƒ
  • ๆ‰น้‡ๅฏผๅ‡บๅ›พ็‰‡ไธบ ZIP ๅŽ‹็ผฉๅŒ…
  • ไธญ่‹ฑๅŒ่ฏญ็•Œ้ข

่ฎพๅค‡ๅ…ผๅฎนๆ€ง

้‡่ฆ: ๆœฌๅทฅๅ…ทไป…ๆ”ฏๆŒๆญ่ฝฝ ้ซ˜้€š้ช้พ™ (Qualcomm Snapdragon) ๅค„็†ๅ™จ็š„่ฎพๅค‡ใ€‚่”ๅ‘็ง‘ (MediaTek) ๅŠๅ…ถไป–ๅนณๅฐ่ฎพๅค‡ไธ้€‚็”จใ€‚

ไธ‹่ฝฝ

ๅ‰ๅพ€ Releases ้กต้ขไธ‹่ฝฝๆœ€ๆ–ฐ็‰ˆๆœฌใ€‚

ๆŠ€ๆœฏๆ ˆ

  • ๆก†ๆžถ: Flutter 3.41 + Dart 3.11
  • ็Šถๆ€็ฎก็†: Provider
  • ๅ›ฝ้™…ๅŒ–: intl
  • ๅŽ‹็ผฉ: archive (Deflate / Gzip)
  • ๅ›พ็‰‡ๅค„็†: ่‡ชๅฎšไน‰ BMP ็ผ–่งฃ็  + dart:ui

้กน็›ฎ็ป“ๆž„

folksplash_flutter/
โ”œโ”€โ”€ lib/
โ”‚   โ”œโ”€โ”€ src/                    # ๆ ธๅฟƒๅบ“
โ”‚   โ”‚   โ”œโ”€โ”€ types.dart              # ๆ•ฐๆฎ็ฑปๅž‹ๅฎšไน‰
โ”‚   โ”‚   โ”œโ”€โ”€ splash_parser.dart      # splash.img ่งฃๆžๅ™จ
โ”‚   โ”‚   โ”œโ”€โ”€ splash_packer.dart      # splash.img ๆ‰“ๅŒ…ๅ™จ
โ”‚   โ”‚   โ”œโ”€โ”€ bmp.dart                # BMP ็ผ–่งฃ็ 
โ”‚   โ”‚   โ”œโ”€โ”€ bmp_image.dart          # BMP ๆ˜พ็คบ็ป„ไปถ
โ”‚   โ”‚   โ”œโ”€โ”€ gzip.dart               # Gzip ๅŽ‹็ผฉ/่งฃๅŽ‹็ผฉ
โ”‚   โ”‚   โ”œโ”€โ”€ utils.dart              # ้€š็”จๅทฅๅ…ทๅ‡ฝๆ•ฐ
โ”‚   โ”‚   โ””โ”€โ”€ native_file_picker.dart # ๅŽŸ็”Ÿๆ–‡ไปถ้€‰ๆ‹ฉๅ™จ (Android)
โ”‚   โ”œโ”€โ”€ widgets/                # UI ็ป„ไปถ
โ”‚   โ”‚   โ”œโ”€โ”€ main_layout.dart        # ไธปๅธƒๅฑ€ (ๅฏผ่ˆชๆ  + ไธป้ข˜ๅˆ‡ๆข)
โ”‚   โ”‚   โ”œโ”€โ”€ file_upload.dart        # ๆ–‡ไปถไธŠไผ 
โ”‚   โ”‚   โ”œโ”€โ”€ image_gallery.dart      # ๅ›พ็‰‡ๅˆ—่กจ
โ”‚   โ”‚   โ”œโ”€โ”€ image_card.dart         # ๅ›พ็‰‡ๅก็‰‡
โ”‚   โ”‚   โ”œโ”€โ”€ replace_image_dialog.dart # ๅ›พ็‰‡ๆ›ฟๆขๅฏน่ฏๆก†
โ”‚   โ”‚   โ””โ”€โ”€ pack_button.dart        # ๆ‰“ๅŒ…/ๅฏผๅ‡บๆŒ‰้’ฎ
โ”‚   โ”œโ”€โ”€ screens/                # ้กต้ข
โ”‚   โ”‚   โ”œโ”€โ”€ home_page.dart          # ้ฆ–้กต
โ”‚   โ”‚   โ””โ”€โ”€ about_page.dart         # ๅ…ณไบŽ้กต้ข
โ”‚   โ”œโ”€โ”€ splash_store.dart       # ็Šถๆ€็ฎก็†
โ”‚   โ””โ”€โ”€ l10n/                   # ๅ›ฝ้™…ๅŒ–
โ”‚       โ””โ”€โ”€ app_localizations.dart  # ไธญ่‹ฑๆ–‡่ฏญ่จ€ๅŒ…
โ”œโ”€โ”€ android/                   # Android ๅนณๅฐไปฃ็ 
โ””โ”€โ”€ windows/                   # Windows ๅนณๅฐไปฃ็ 

ๅผ€ๅ‘็Žฏๅขƒ

  • Flutter >= 3.41
  • Dart >= 3.11
  • Android SDK (็ผ–่ฏ‘ Android)
  • Visual Studio 2022 (็ผ–่ฏ‘ Windows)

ไปŽๆบ็ ๆž„ๅปบ

git clone https://github.com/LyraVoid/FolkSplash.git
cd FolkSplash
flutter pub get

# Android
flutter build apk --release

# Windows
flutter build windows --release

็›ธๅ…ณ้กน็›ฎ

  • FolkSplash-Web โ€” ๆต่งˆๅ™จ็‰ˆๆœฌ (React + TypeScript)

่ฎธๅฏ่ฏ

AGPL-3.0


English

Visual tool for OPPO/Realme/OnePlus device splash.img boot logo images.

Built with Flutter, supporting Android and Windows platforms.

Features

  • Unpack splash.img boot image files and view boot animation images
  • Replace boot animation images (supports PNG/JPG/BMP formats)
  • Multiple resolution adaptation modes:
    • Direct Upload: Upload original image without any conversion
    • Follow Original Resolution: Maintain original dimensions with auto-crop
    • Auto Adapt: Automatically adjust based on device maximum resolution
    • Custom Resolution: Manually specify width and height
  • Pack and generate new splash.img image
  • Batch export images as ZIP archive
  • Bilingual interface (Chinese and English)

Device Compatibility

Important: This tool only supports devices with Qualcomm Snapdragon processors. Devices with MediaTek or other platforms are not supported.

Download

Go to the Releases page to download the latest version.

Technology Stack

  • Framework: Flutter 3.41 + Dart 3.11
  • State Management: Provider
  • Internationalization: intl
  • Compression: archive (Deflate / Gzip)
  • Image Processing: Custom BMP encoding/decoding + dart:ui

Project Structure

folksplash_flutter/
โ”œโ”€โ”€ lib/
โ”‚   โ”œโ”€โ”€ src/                    # Core libraries
โ”‚   โ”‚   โ”œโ”€โ”€ types.dart              # Data type definitions
โ”‚   โ”‚   โ”œโ”€โ”€ splash_parser.dart      # splash.img parser
โ”‚   โ”‚   โ”œโ”€โ”€ splash_packer.dart      # splash.img packer
โ”‚   โ”‚   โ”œโ”€โ”€ bmp.dart                # BMP encoding/decoding
โ”‚   โ”‚   โ”œโ”€โ”€ bmp_image.dart          # BMP display widget
โ”‚   โ”‚   โ”œโ”€โ”€ gzip.dart               # Gzip compression/decompression
โ”‚   โ”‚   โ”œโ”€โ”€ utils.dart              # Common utility functions
โ”‚   โ”‚   โ””โ”€โ”€ native_file_picker.dart # Native file picker (Android)
โ”‚   โ”œโ”€โ”€ widgets/                # UI components
โ”‚   โ”‚   โ”œโ”€โ”€ main_layout.dart        # Main layout (navigation + theme)
โ”‚   โ”‚   โ”œโ”€โ”€ file_upload.dart        # File upload
โ”‚   โ”‚   โ”œโ”€โ”€ image_gallery.dart      # Image gallery
โ”‚   โ”‚   โ”œโ”€โ”€ image_card.dart         # Image card
โ”‚   โ”‚   โ”œโ”€โ”€ replace_image_dialog.dart # Image replace dialog
โ”‚   โ”‚   โ””โ”€โ”€ pack_button.dart        # Pack/export button
โ”‚   โ”œโ”€โ”€ screens/                # Pages
โ”‚   โ”‚   โ”œโ”€โ”€ home_page.dart          # Home page
โ”‚   โ”‚   โ””โ”€โ”€ about_page.dart         # About page
โ”‚   โ”œโ”€โ”€ splash_store.dart       # State management
โ”‚   โ””โ”€โ”€ l10n/                   # Internationalization
โ”‚       โ””โ”€โ”€ app_localizations.dart  # Language pack (ZH/EN)
โ”œโ”€โ”€ android/                   # Android platform code
โ””โ”€โ”€ windows/                   # Windows platform code

Development Requirements

  • Flutter >= 3.41
  • Dart >= 3.11
  • Android SDK (for Android builds)
  • Visual Studio 2022 (for Windows builds)

Build from Source

git clone https://github.com/LyraVoid/FolkSplash.git
cd FolkSplash
flutter pub get

# Android
flutter build apk --release

# Windows
flutter build windows --release

Related Projects

License

AGPL-3.0

About

Visual tool for unpacking, viewing, replacing, and repacking OPPO/Realme/OnePlus splash.img boot logo images.

Resources

License

Stars

Watchers

Forks

Contributors