[Galaxy Ace II General] nieltg:
Hii there! :D

I just wanna share some Nexus boot-anims which I ported from several sources

I use bash (batch processing) & ImageMagick cmds to make these boot-anims

1. Nexus 5 (Kitkat) Boot Animation

bootanim_nexus-5-kk-default.zip, src: Nexus 5 [kitkat]All APPS , stock Walls , Bootanimation ,Fonts

bootanim_htc-one-google-ed.zip, src: [bootanimation] Google Edition Boot Animation

2. Nexus (Lollipop) Boot Animation

bootanim_nexus-5-l-small.zip, src: [BOOTANIMATION] Nexus 5 Bootanimations Collection

bootanim_nexus-5-l-large.zip, src: [BOOTANIMATION] Nexus 5 Bootanimations Collection

You can put one of them to /system/media and rename it to bootanimation.zip

Don't forget to backup ur old boot animation if you want to. You do it all at your own risk!

Note: How to make these boot-anims?

1. bootanim_nexus-5-l-small.zip

Create a new directory.. for example: bootanim. Extract the source (keyword: N7 Maxed, Manual Install) to bootanim/orig

Then, put this script to bootanim/make-bootanim.sh & execute it to generate bootanim/bootanim.zip

#!/bin/bash

echo "make-bootanim.sh by @nieltg"
echo

BOOTANIM_SIZE=480x208
BOOTANIM_CROP=1080x468

mkdir mod

# Adjust all pictures

if [ -n "${BOOTANIM_CROP}" ] ; then
cmd_crop="-gravity center -crop ${BOOTANIM_CROP}+0+0 +repage"
else
cmd_crop=
fi

for i in orig/part? ; do
conv_dir=mod/$(basename ${i})
mkdir ${conv_dir} ; echo "mkdir: ${conv_dir}"
for j in $i/*.png ; do
conv_target=${conv_dir}/$(basename ${j})
convert ${j} ${cmd_crop} \
-resize ${BOOTANIM_SIZE} ${conv_target}
echo "converted: ${conv_target}"
done
done

# Generate desc.txt

echo "${BOOTANIM_SIZE//x/ } 30" > mod/desc.txt
tail -n +2 orig/desc.txt >> mod/desc.txt
echo "written: mod/desc.txt"

# Pack bootanim.zip

( cd mod ; zip -0 ../bootanim.zip -r * )
echo "packaged: bootanim.zip"

rm -r mod

echo
echo done.

echo

2. bootanim_nexus-5-l-large.zip

The steps are same like bootanim_nexus-5-l-small.zip.. Extract the source (keyword: N7 Mod, Manual Install) to bootanim/orig

But, you have to make some adjustments with bootanim/make-bootanim.sh

Modify BOOTANIM_SIZE & BOOTANIM_CROP:

BOOTANIM_SIZE=480x320
BOOTANIM_CROP=

3. bootanim_nexus-5-kk-default.zip

The steps are still the same like bootanim_nexus-5-l-small.zip.. Extract the source (keyword: Boot Animation) to bootanim/orig

And.. like usual, you have to make some adjustments with bootanim/make-bootanim.sh

Modify BOOTANIM_SIZE & BOOTANIM_CROP:

BOOTANIM_SIZE=480x96
BOOTANIM_CROP=1080x216

Add codes for tail-animation after "Adjust all pictures" section:

# Tail animation

l=0

mkdir mod/part2
echo "mkdir: mod/part2"

for k in 90 72 50 30 15 ; do
conv_num=$((l++))
conv_target=$(printf mod/part2/%03d.png ${conv_num})
convert mod/part1/059.png \
-resize ${k}% -gravity center -background black \
-extent ${BOOTANIM_SIZE} ${conv_target}
echo "scaled: ${conv_target}"
done

convert -size ${BOOTANIM_SIZE} canvas:black mod/part2/00${l}.png
echo "created: mod/part2/00${l}.png"

And replace "Generate desc.txt" section:

cat > mod/desc.txt << __DESC
480 96 24
c 1 0 part0
c 0 0 part1
c 1 0 part2
__DESC
echo "written: mod/desc.txt"

4. bootanim_htc-one-google-ed.zip

The steps are still the same like bootanim_nexus-5-l-small.zip.. Extract the source (keyword: GoogleBootanimation768-signed.zip) to bootanim/orig

And.. still like usual, you have to make some adjustments with bootanim/make-bootanim.sh

Modify BOOTANIM_SIZE & BOOTANIM_CROP:

BOOTANIM_SIZE=480x100
BOOTANIM_CROP=768x160

Add codes for tail-animation which steps is described on bootanim_nexus-5-kk-default.zip

Then, add more codes for head-animation after "Tail animation" section:

# Head animation

l=0

mkdir mod/part3
echo "mkdir: mod/part3"

easing_tmp=$(mktemp)

# Easing for ActionScript
# Source: http://gizma.com/easing

python3 - > ${easing_tmp} << __PYFILE
import math
def ease (t,b,c,d):
t /= d/2
if (t < 1): return c/2*t*t*t + b
t -= 2
return c/2*(t*t*t + 2) + b
for i in range (0,25):
print ("%.2f" % ease (i,0,100,24))
__PYFILE

easing=$(cat ${easing_tmp})
echo "generated: ${easing_tmp}"

rm ${easing_tmp}

for k in ${easing} ; do
conv_num=$((l++))
conv_target=$(printf mod/part3/%03d.png ${conv_num})
convert mod/part0/000.png \
-modulate ${k} ${conv_target}
echo "brightness: ${conv_target}"
done

And replace "Generate desc.txt" section:

cat > mod/desc.txt << __DESC
480 100 24
c 1 24 part3
c 1 0 part0
c 0 0 part1
c 1 0 part2
__DESC
echo "written: mod/desc.txt"

I use Fedora 21 64-bit to build these boot-anims.. I think you should be able to build it too on ur Linux

These scripts use common tools, ex: bash, ImageMagick, python3 which usually have already installed

You can use this script to make a new boot-anims or if you want to improve these boot-anims,

you can modify the scripts and rebuild them using these scripts.. :p