Search This Blog

How to create a custom boot animation


download attached custom boot animation for reference.

bootanimation

For whom

Custom boot animation can be used only with
  1. Custom ROM which allows custom boot animations
  2. Stock ROM which were modified (mod) to use custom boot animation
If you are on stock rom and have not done any  system modification for custom boot animation, do not remove stock boot animation, it may result boot loop

If you want to use a custom boot animation with Samsung Galaxy Ace S5830i stock rom, read our post about How to build a Custom Rom for Samsung Galaxy Ace S5830i

Where can you find boot animation in your device

it will be available in one of following locations
  1. data/Local
  2. System/Media
  3. System/Customize/Recourses

What you need

  1. Notepad ++ (never use windows notepad for this exercise)
  2. WinZip or 7Zip
  3. Image editing software (ex. Inscape) for creating sequence of png images which plays as animation

How to build

  1. create a new folder, name it as bootanimation
  2. create a subfolder (inside the bootanimation folder), name it part0
  3. copy all the images into part0 folder. images should be in png format and  having name in sequence which will be the playing sequence (ex image001, image002, image003)
  4. create a text file named desc using Notepad++ (desc.txt)
  5. first line of the txt file should be like this  
    screensizeX screensizey framespersecond (ex 320 480 10)
    leave 2nd line empty 
     
  6. third line  
    p numberOfTimesThisSequenceShouldPlay PauseInSecondsBeforeNextSequenceStart pasrt0 (ex p 1 0 part0) this will play part0 image sequence only one time

    enter and go to next line. but do not type anything there. 
     
  7. add to achieve desc.txt and part0 with WinZip or 7zip

    desc.txt file created for Samsung Galaxy S5830i looks like this

     first line 320 480 15 means screen width 320px screen, height 480px and bootanimation frames per second is 15.
    i kept 2nd line blank (this is optional)
    third line p means pointer to start the line. this image sequence play 1 time, delay between this sequence to next sequence is 0 and image sequence is in part0 folder
    start 4th line. but never type anything. save the file.
image3004

  1. Archive name – bootanimation
  2. Achieve format – ZIP
  3. Compression method – Store
  4. Update mode – Add and replace files
  5. Your simple boot animation is ready to use (do not flash this zip via recovery)

    if you are using 7-zip for compresion

    1. Archieve - bootanimation
    2. Archieve format - zip
    3. compression level - store
    4. Update mode - add and replace files

How to push this file into your device

  1. copy bootanimation.zip into your SD card
  2. backup your original bootanimation
  3. delete original bootanimation
  4. copy your custom bootanimation into appropriate device boot animation location
  5. change permission to rw-r—r—(644) using root explorer
  6. reboot your device and enjoy your own boot animation