Introduction
What it Does
How it Works
Installation
System Requirements
Notice
Downloads
Update 08 July 2014
The script, in install.zip format has been attached to this post.
Single Animation Flag
Here's a repackage and repost of my modified Random Boot Animation script. This was originally conceived by Nighthound many moons ago and was long abandoned. I picked it up and modified it for my Kang-o-rama ROM and the Optimus 2x.
And here it is for you Galaxy Nexus pleasure!
And here it is for you Galaxy Nexus pleasure!
What it Does
There are various apps out there that can achieve the same result but this is a simple script that uses a random number generator to swap in a random boot animation each time you boot. The script runs one just before the animation and never again until you boot the next time.
You can have any number of animations that will randomise and you can also set a flag to have just one run without needing to delete the others.
You can have any number of animations that will randomise and you can also set a flag to have just one run without needing to delete the others.
How it Works
The script executes on startup, generates a random number, assigns this number to a boot animation stored in /data/local/bootanimations/, copies that animation to /data/local/bootanimation.zip and let's Android take over from there. Android will automatically prefer /data/local/bootanimation.zip to the one stored by your ROM in /system/media/.
You just put any valid boot animation in /data/local/bootanimations/ - calling it what you wish - and the script will do the rest. You should not try and call all of your boot animations "bootanimation.zip" - you need to give them a unique name.
You just put any valid boot animation in /data/local/bootanimations/ - calling it what you wish - and the script will do the rest. You should not try and call all of your boot animations "bootanimation.zip" - you need to give them a unique name.
Installation
Upon installing the script will automatically back up any custom animation you have in /data/local/ to /data/local/bootanimations/CustomAnimBackup.zip and this animation will be among those randomly selected.
- Download one of the files below
- Flash from recovery
- Reboot and enjoy
- Hit 'Thanks' below
System Requirements
This script will run on any custom Galaxy Nexus ROM with init.d support (which is most).
Notice
Some boot animations are distributed within another zip archive. You need to extract the bootanimation.zip file from that archive and rename it before you put it in the bootanimations directory.
Downloads
Update 08 July 2014
The script, in install.zip format has been attached to this post.
Single Animation Flag
If you want to view a single animation only you can do so without moving or changing any of the other files.
Simply Create a file called "bootanimation.use" in /data/local/bootanimations/. In this file place a single line with the filename of the boot animation you want to use. For example:
When you want to revert to random animations again delete "bootanimation.use" from the directory.
Simply Create a file called "bootanimation.use" in /data/local/bootanimations/. In this file place a single line with the filename of the boot animation you want to use. For example:
Code:
CustomAnimBackup.zip
When you want to revert to random animations again delete "bootanimation.use" from the directory.
Attachments
Last edited: