Orite lads and lasses! It has been exactly 6 months since I bought my Nexus 4 (Typically my first android phone ever). Its a great piece of hardware and the Stock Android 4.4.2 Kitkat is kickass.

Getting back-

Having owned an Android phone for half an year, I think it was about time I started toying with it.

As a matter of fact I wished myself a lovely year on the new year's eve by rooting my nexus 4 device and installing the Ubuntu Touch OS on it. It was a marvellous feeling. I spent the entire new year night getting Ubuntu Touch on my phone and by 5 a.m. I was ready.

I'll cover that in a separate blog post later.

Now, let me tell you how I wondered about moving from my stock nexus boot animation to a custom new boot animation.

Enter - Watch Dogs

There are a number of skills you can invest in, but far and away, Hacking is the must have above Driving, Crafting and Combat.

Haha! No, seriously watch the trailer. Its everything we programmers and computer nerds aspire to be in our secret lives.

So the question how do we do it?

The process is fairly easy once you get your hands around it. And once you do, you'll be flying off changing your android's boot animations and even making your own custom versions.

Prerequisite - your android phone should be rooted.

If you want to check if your phone is rooted or not, download this simple app - Root Checker Basic. If it says yes! then Voila! Lets dive in. Else, head over to XDA developers and you know what to do.

Diving in.

Step 1:

Download the Watch Dogs inspired Boot animation, 720p version or 1080p version

I recommend the 720p version if you have a Nexus 4, but the 1080p one would work as well. Now what you download is a zip file and you would want to keep it that way.

Step 2:

We need to put the boot animation file from our Download folder to /system/media (this is why we need to be root).

From here on there are 2 ways you can achieve the goal:

  • do everything via your phone, or
  • attach a USB cable.

Step 3:

Watch the preview and feel awesome.

Step 4a: The Phone guy

Download Root Browser.
Now open Root Browser and do the following:

  • Go to /system/media.
  • Rename the file bootanimation.zip to bootanimation.back.
    We change the filename since we'll have to rename our new watchdogs boot animation with the same name.
  • Go to /sdcard/Download.
  • Move or copy the bootanimation_wd_nexus4_long.zip file to /system/media.
  • Rename your bootanimation_wd_nexus4_long.zip file to bootanimation.zip in /system/media folder.

Bam! You're done! Time to reboot your phone. Sit back and bathe in the beauty of your new watch dogs boot animation.


Step 4b: The Cable guy

I assume you have USB debugging enabled and the adb (Android Debug Bridge) utility .
If your phone is rooted you will have that.

Then fire up your terminal and follow along:

$ adb shell
shell@mako:/ $ su

Since the /system is a Read-only file system, we need to add assign write permissions to it. (this is temporary and the permisssions resolve after we exit.)
FYI mako is the codename for nexus 4.

root@mako:/ # mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
root@mako:/ # chmod 777 /system/media
root@mako:/ # ls /system/media
Audio
Video
bootanimation.zip

you see that file bootanimation.zip that's our stock animation. And we have to name our custom watchdogs animation with that name too. So first lets rename the original bootanimation file to somethine like bootanimation.back.

root@mako:/ # cd /system/media
root@mako:/system/media # mv bootanimation.zip bootanimation.back

Its time to move or copy the watchdogs boot animation file.

root@mako:/system/media # cp /sdcard/Download/bootanimation_wd_nexus4_long.zip .
root@mako:/system/media # mv bootanimation_wd_nexus4_long.zip bootanimation.zip

Bam! you're done. Congratulations! you true hacker :) Time to reboot

$ adb reboot

Later.


P.S. - Actually my sister bought the nexus for me; not that its relevant but don't bug me now! I don't earn yet.