[MOD] Android Wear Boot Animation For Other Devices [ROOT] [Android 4.1+]

What would you like next?

  • Versions for older versions of Android (pre 4.1)

    Votes: 3 16.7%
  • Versions with lossy compression for slower devices

    Votes: 1 5.6%
  • Versions with Android logo displayed for longer

    Votes: 14 77.8%

  • Total voters
    18
Search This thread

wollac11

Senior Member
Aug 25, 2010
264
213
Cambridge
www.littlegreendude.com
Can you make it 60FPS?

No not really, not unless you want it at twice the speed. To make a 60fps version would be an awful lot of effort since I would have to make frames between every frame - the original Android Wear boot animation is 30fps and therefore so is this.

Also the file size increase could end up leading to stutter so it may end up looking less smooth than 30fps anyway which would defeat the point.

If you want 60fps but are happy to have it run through twice as fast then download the correct zip and edit the desc.txt within it to make the 30 at the end of the first line read 60.

Sent from my Nexus 4 using Tapatalk
 

Daniol71

Senior Member
Sep 12, 2012
152
32
Glasgow
Wow, this is so smooth, thanks a lot. I've been looking for this for ages, it used to be the system boot animation on my OnePlus in CM12, but after a reboot it was replaced by the CM boot animation and deleted for some reason :/
 

chachoi

Senior Member
Dec 6, 2011
332
26
Antipolo City
Hi Wollac, I was searching for an awesome lollipop boot animation and stumbled upon this thread. I must say, this is the best boot animation I have seen so far.


I tried it but unfortunately just stops at the part where the color dots are about to move and just freezes there until my device boots successfully. I noticed that the structure of your bootanimation.zip is quite different to my original boot animation.

I am no expert at this so please if you have time can you look at it to make it work to my device. Hoping for your help. Would like to rock this on my phone. If you can PM me your email address so I can send the original boot animation for my device to you.
 

David Masa

Senior Member
Apr 29, 2015
123
25
Ok, I have a Samsung device with cm11 and the original bootanimation.zip is in /system/media/bootanimation.zip and I put it in /data/local/ as you said and works but it looks really huge. For more details, my device is Galaxy Pocket Neo.
 

wollac11

Senior Member
Aug 25, 2010
264
213
Cambridge
www.littlegreendude.com
Hi Wollac, I was searching for an awesome lollipop boot animation and stumbled upon this thread. I must say, this is the best boot animation I have seen so far.


I tried it but unfortunately just stops at the part where the color dots are about to move and just freezes there until my device boots successfully. I noticed that the structure of your bootanimation.zip is quite different to my original boot animation.

I am no expert at this so please if you have time can you look at it to make it work to my device. Hoping for your help. Would like to rock this on my phone. If you can PM me your email address so I can send the original boot animation for my device to you.

Hi there, sorry this is such a late reply. Later versions of Android added support for new boot animation structures (this being the newest type). It is only supported on devices running 4.1+ whereas the more basic and more common structure is supported on older versions. There are also some devices which despite running Android 4.1 or higher still only support the older type. It sounds like you either have one of these devices or you are in fact running ICS or below. Unfortunately this sequence cannot be exactly replicated with the old boot animation structure since it has a beginning, a middle loop and an end part, whereas the older structure only supports a beginning and then a constant loop until the end.
 

wollac11

Senior Member
Aug 25, 2010
264
213
Cambridge
www.littlegreendude.com
Ok, I have a Samsung device with cm11 and the original bootanimation.zip is in /system/media/bootanimation.zip and I put it in /data/local/ as you said and works but it looks really huge. For more details, my device is Galaxy Pocket Neo.

Yes, these boot animations use the full width of the display (as on Android Wear.) If you want a smaller one you can simply use one of the lower resolution copies (lower than your device resolution) and then it will display smaller on your screen.
 

wollac11

Senior Member
Aug 25, 2010
264
213
Cambridge
www.littlegreendude.com
@wollac111 sir , can u plz port it for moto E (540*960)..?
I'll be very thankful
Fyi I'm on cm12.1
Thanks again?
There is actually one with that resolution already but it is just listed as 960x540 (rather than 540x960). The actual frames are square and sized to the smallest side so the orientation does not matter. That will be the correct size for your device. Enjoy!
 
  • Like
Reactions: ALPHAWolf96

ALPHAWolf96

Senior Member
May 25, 2015
496
459
Los Angeles
Moto G 2015
OnePlus 5
There is actually one with that resolution already but it is just listed as 960x540 (rather than 540x960). The actual frames are square and sized to the smallest side so the orientation does not matter. That will be the correct size for your device. Enjoy!

Oh thanks alot I'll give it a try
You're great tho
Edit: i tried it and its awesomeee!!
Thankss alot again
 
Last edited:

joint.striker

Member
Dec 23, 2013
26
6
The animations are amazing, great job man!

Although they don't work correctly on my device.
I picked the one with the correct resolution for my device yet the animation freezes halfway, just when the colored dots start flying around. Any idea why this might be happening?

Thanks.

EDIT: Fixed it by changing the settings in desc.txt...
from:
Code:
540 540 30
p 1 0 part0
c 0 0 part1
c 1 0 part2

to:
Code:
540 540 30
p 1 0 part0
p 0 0 part1
p 1 0 part2

@wollac11 Any chance you could make shutdown animations as well? ;)
 
Last edited:

wollac11

Senior Member
Aug 25, 2010
264
213
Cambridge
www.littlegreendude.com
The animations are amazing, great job man!

Although they don't work correctly on my device.
I picked the one with the correct resolution for my device yet the animation freezes halfway, just when the colored dots start flying around. Any idea why this might be happening?

Thanks.

EDIT: Fixed it by changing the settings in desc.txt...
from:
Code:
540 540 30
p 1 0 part0
c 0 0 part1
c 1 0 part2

to:
Code:
540 540 30
p 1 0 part0
p 0 0 part1
p 1 0 part2

@wollac11 Any chance you could make shutdown animations as well? ;)

Glad you like the animation. The "c" parts are necessary for the correct animation behaviour (where the middle part loops and the last part is shown once after the boot has finished). You'll find with that edit it loops the last part and plays the middle just once but if that does not bother you then by all means you can use it like that. The new loop format (which this uses) was introduced in 4.1 which is why I put 4.1+ in the thread title. If you had to change the dec.txt to use only the p commands then I presume you are running a device with ICS or lower? There are a few devices which still have the old bootanimation binary from before 4.1 even if they run 4.1 or later but these are not so common which I why I didn't mention it in the OP. If it was freezing before that is because your device has the <Android 4.1 bootanimation binary which cannot understand the features of the new format which are needed for this animation to behave exactly as intended.

As for the shutdown animation, most Android devices don't have any shutdown animation at all and as such there is no standard for such a thing. If you have a device which does have one then if you tell me what device it is I could possibly look into how they are implemented on that device. It then MAY be possible to make one for that device specifically, but generally no.
 
Last edited:
  • Like
Reactions: joint.striker

joint.striker

Member
Dec 23, 2013
26
6
Thanks for you answer.

I understood your explanation, but really my device is not ICS or lower, it has KitKat v4.4.2.
The device itself is a a bq Aquaris E4.5 (http://www.bq.com/gb/aquaris-e-4-5)
By maintaining the "c" in the desc.txt, the animation stops at the end of part0 and doesn't continue after that.

While with the changes I made it works, indeed, as you pointed out, it will keep looping on part1 and never reaches part2 (android).
I would like it to work as expected but unfortunately it doesn't and I'm not really sure why, maybe you're right and the firmware uses the old format.

As for the shutdown animations, I thought it was present in most devices, since that's not the case then don't bother with it, thanks anyway.
 

Bonherx

New member
Jan 4, 2016
3
0
This another question

Hello bro, good night, this file is flasheable!?

Thank for this file! :D :good:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 61
    Right, I know a lot of you are waiting for me to post this after seeing my videos, social media posts and preview gifs!

    Many of you will likely have seen the awesome new Android Wear boot animation as leaked in the LG G Watch system dump. Well now I have successfully made versions for other devices as well! :D

    Initially I made one for the MotoACTV smartwatch (http://forum.xda-developers.com/showthread.php?p=53150797) because it also has a small display and the frames in the system dump are obviously very low resolution for the small screen of the LG G Watch and so are not suitable for phones and tablets. The MotoACTV has an even smaller display and downsizing is not an issue for quality.

    However, I have managed to get around this problem. I traced and vectorised each frame to produce a set of scalable SVGs from which I was able to create the high-res png frames needed to make boot animations to suit different devices. There is no limit to the resolution now obviously because I have vector copies of each frame so support for any device is possible. I have also thoroughly optimised the final frames to bring down their file size as much as possible (losslessly) which ensures they run really smoothly (this makes a big difference on high res devices!).

    For the MotoACTV I had to change the loop format too because Android pre 4.1 doesn't support the new "c loops" which are required to get the same behaviour as on the LG G Watch (MotoACTV is Gingerbread). On these new ones I had to use a different desc.txt structure to Android Wear for compatibility purposes but have used the c loops and so this actually loops exactly as it would on Android Wear.

    It is possible to make animations for devices with earlier than 4.1 too but I will have to change the way it loops slightly. There are also a few devices (like the MotoACTV) which prefer jpgs rather than pngs. I can quickly produce jpg versions if required too. I am willing to take requests for devices people would like an animation for and will try and do them in order of demand but I make no promises on how long the turn around will be.

    Below if a video of it running on my Nexus 4 (note: animations are quite a bit smoother than this now and the small amounts of weird jitter were caused by YouTube's video editor) you can also see a preview in post #4:

    https://www.youtube.com/watch?v=3jior6pwamg

    Update (9/6/14): New v2 versions are up! These are even smaller in file size (read: better performance) and contain some fixes plus two new resolutions!. See post #45 for more details on the update. We now have Android 4.1+ bootanimations which support most common device resolutions: 800x480, 960x640 1280x720, 1280x768, 1280x800, 1920x1080, 1920x1200, 2560x1440 and 2560x1600.

    Note: as @vedantgp thankfully reminded me you cannot use these standard type Android boot animations on Touchwiz ROMs because Samsung uses their own proprietary format. There are mods to remedy this though, although I have not tested them. See here: http://www.xda-developers.com/android/add-custom-boot-animation-to-any-samsung-rom/

    Instructions

    Firstly this will almost always need root. Secondly, these are not flashable zips and you cannot flash these in recovery! This is what you do:

    Picking The Correct Animation For Your Device
    If you know your device resolution and you see it there then great - grab it move onto adding it to your device. If you don't know the resolution a quick Google of should let you know. You should bare in mind that the actual frames are square so the boot animations are supported based on their smallest dimension (lowest pixel count). This means that whether you have a landscape device (10" tablet) or portrait (most 7" and below) it does not make a difference, the one for your resolution will be fine.

    If you find there is no zip matching your device resolution then fear not - you are not out of luck! If you have a different resolution than any listed you can pick the one with largest width (the smallest dimension) that is less than yours (or the same if it exists) and it will work just fine. The only difference is that it will not fill the complete width of your screen. For example: if you somehow had a 1340x950 device then you'd use 1280x800 one as 800px is the closest available smaller resolution of the shortest dimension (width) to your device. You would then just have a 150px gap (75 each side) between the furthest reach of the animation and the edge of your display which would not look too bad as the background is black and most of the screen width is still used. Hope that makes sense. You cannot use one with a resolution greater than your device or it will be cut off.

    Manual Method
    Download the attachment with the boot animation suited to your device. Rename the zip to bootanimation.zip and push to either /data/local or /system/media making sure the file permissions are set to 644. This process can be done with a file manager or using ADB. If opting for a file manager I do not suggest you use ES File Explorer has it lacks the required permissions options. CM File manager, Root Explorer or Solid Explorer (my favourite) all will work well. If pushing to /data/local the animation will not be wiped when updating your ROM but will be lost with a data wipe / factory reset. For system/media the apposite is true. /system/media is the default location for the boot animation so if using that I suggest you backup your existing one first. My recommendation though is that you use /data/local.

    Below is an example of what the permissions should look like for those having difficulty. This is an example from Solid Explorer but others should be similar!

    _20140609_191209_zps62408dfc.jpg

    New: for those who find written instructions hard to follow Alexander Ruiz has made a great video of these manual instructions on YouTube: https://www.youtube.com/watch?v=tJ-XyZLGCBc

    Simple Method
    As helpfully pointed out by @bradhoschar you can actually preview and install boot animations with ROM Toolbox! You can grab the free version here and the pro version here. This might be easier for some users!

    Future Plans
    I intend to create a flashable zip with Aroma installer at some point in the future so you can flash easily to many different devices with options for different Android versions, device resolution and preferred installation. I will need to make it for a few different device specifications first before this becomes worthwhile.

    Disclaimer
    As per usual, while this almost certainly not going to cause any damage to your device, if it makes it your phone explode, causes hair loss, summons the dead or tears the universe apart, I am not responsible!

    Enjoy! :D

    (and please consider checking out my new Android blog: www.littlegreendude.com - thanks!)
    7
    Very soon I shall be renaming all the zips by resolution instead of some by device (it is clearer and neater as several devices are suited to each zip) and adding support the following resolutions: 1080p (1920x1080), 1280x800, 800x480 and 2560x1600 in addition to the current 1920x1200, 1280*768 and 720p (1280x768). I feel this should cover most devices for now. All of these will be for Android 4.1+. I shall later add some zips for lower Android versions for older devices and once I have done that I shall then also combine them into a single AROMA Installer for ease. :D

    Also here is a preview gif so you can see clearly what it looks like (updated preview - no longer huge, fixed colour issues and increased gif speed/framerate):

    preview_zpse96cfa1c.gif
    6
    New V2 Animations Are Up!

    Hi all, I have just added the new version 2 boot animations! These not only contain the previously mentioned colour fix (where certain dots were the wrong colour in a few frames) but are also even smaller in file size (and therefore smoother / faster!) Oh and as a bonus I have added a couple of new resolutions to the mix: qHD (960x440) for devices such as the Moto E, S4 Mini and S4 Zoom (plus loads of Chinese devices) and also QHD (2560x1440) for devices such as the Oppo Find 7, OnePlus One and LG G3!

    For these new versions I remade all the SVGs for all the frames again, making sure the tracing process was even more accurate and the colour pallet was opened wider to avoid incorrect colours. The initial downside of this was that the first boot-animation I made from the new SVGs was larger in file size that the previous ones due to the extra colour and detail in the frames. So I decided I would try and push the limits further in terms of reducing the file size of the frames through optimisation without any difference in image quality.

    Well guess what!? I now have added a whole new optimisation stage to my boot animation creation process which let's me reduce the PNG colour pallet back down on a frame by frame basis so that only the used colours on a given frame are included. This dynamic colour pallet size along with some other additional tweaks in this stage has taken down the size my loads yet again! Not just counteracting the increase in size from the extra detail provided by the new SVGs they were made from but also going way beyond so they are actually much smaller than before!

    As an example, the 2560x1600 animation is now smaller than the old 1080p one and less than 50% what it was before. Of course, the difference between one of my latest optimised copies and a standard boot animation with none of this optimisation work on the frames would be even bigger as even before I was optimising quite a lot! Had I just packaged the pngs as exported from the SVGs without any of of the optimisation then the 2560x1600 bootanimation.zip would be 10.1MB - that's more than 320% of the current size (or 225% larger if you prefer!). This difference is massive and it would be no where near as smooth as they are as a result! This is true for all the resolutions not just this one (although the exact savings vary a little).

    If you compare the new versions to the official G Watch one you'll see that the original was 1.1MB for 280x280. I have achieved smaller files sizes than that for the latest versions of both 800x480 and 960x540 boot animations with the identical number of frames and in spite of having a much greater resolution. It is obviously more time and effort to produce these optimised frames but I think you can see from the file size difference it really is worth it. I have found for even the slightest reduction in file size you can gain a lot in smoothness.

    For now I left the old versions up too in case there is any issues with the new ones (I really don't think there would be though) but also so you can see the size differences for each. Eventually I will pull the old downloads to make things cleaner. I could probably also do with a tidy of the OP as well! One final thing to note is these are still 4.1+.

    Anyway that's enough rambling from me. Enjoy! :D
    4
    Extended versions now up!

    Versions with an extra second added to the end where the Android logo shows have been added as per request and the results of the poll. These start with "long-". All resolutions other than 1440p and 1024x600 have these longer versions added. Those were omitted as they are the two least popular of the normal versions and I had to fit under the 20 maximum attachment limit. I can add those two at some point if required by uploading them all to a separate file host but hopefully this will do for now. I have also now removed the v1 versions.

    Enjoy! :D
    3
    will the nexus 4 be the 720p one or the 1280x768 one...

    and the nexus 7 (2013) will be the 1920x1200 right?

    thanks in advance

    Hi ... N4 - 768p and N7 - 1200p ;)