yashsingh1/xdaforums huggingface dataset:
[Nexus 7 General] AFAinHD:
So now you have your boot animation complete, and now you want to make it so you can share it easily with other people.

Well now let's learn how to make this baby flashable.

First thing you are going to need to know is the folder set-up that you will using for the flashable.zip.

This is what is gonna be in the .zip file.

META-INF-->com-->google-->android
system-->media

Here is what it should look like.

Now under META-INF-->com-->google-->android we are going to have to make a text file to tell the recover partition what to do.

We are going to make a file called "updater-script"

You will be making this file in notepad++

Now here is what my updater script looks like,

ui_print("Thanks for downloading the AFAinHD Beautiful Boot, lets flash this. Let me mount system real quick.");
run_program("/sbin/mount", "/system");

ui_print("Let me just extract these files for you");
package_extract_dir("system", "/system");

ui_print("Here I'll go ahead and unmount system...");
run_program("/sbin/umount", "/system");
ui_print("Your AFAinHD Beautiful Boot has been flashed. Please go to XDA and give me a thanks if you like this bootanimation!");

Now let me help you understand this.

ui_print("XXX");

This command just displays some sort of text on the screen when the .zip is flashing.

run_program("/sbin/mount", "/system");

This mounts the system partition so it can be modified.

package_extract_dir("system", "/system");

This extracts the bootanimation itself (I will get to this later)

run_program("/sbin/umount", "/system");

This unmounts the system partition.

Now that is a simple explanation to making an updater script, just remember to always put the ; after each command.

Now just save that file under META-INF-->com-->google-->android.

You will also need to put a file called update-binary here. This file only works for the nexus 7. Here is the file - here.

Now let's put the bootanimation in the system-->media folder.

Now we just have to compile it into a flashable.zip file.

There you go. Now you have your very own flashable boot animation.

Remember to hit that thanks button, leave feedback, and check out my AFAinHD Beautiful Boots for some awesome flashable boot animations.
[Nexus 7 General] AFAinHD:
Post #3 reserved just incase. :D
[Nexus 7 General] John_Q:
Nice write up, but could you also include the min/max number of images for a bootanimation.
[Nexus 7 General] neoblood3d:
Thank you kind sir.:cowboy:
[Nexus 7 General] AFAinHD:
I haven't found a minimum or a maximum.

I just know you should try to keep it below 300 for size reasons, but u could have just one image on an infinite loop and it would work as a still image.
[Nexus 7 General] AFAinHD:
You're welcome.
[Nexus 7 General] Wilks3y:
Well done !

Nice tutorial, CBA do it myself but I'm sure this will be ace for some people !!
[Nexus 7 General] rtiangha:
This is awesome. Thanks!
[Nexus 7 General] mackay508:
How diffrent would it be for Linux User?
[Nexus 7 General] ncvikingx97:
How many pictures would I need minimum? Thanks
[Nexus 7 General] bobarune:
Do you mind sharing the boot animation that's in your tutorial?

Edit: Nvm. Found it in your sig
[Nexus 7 General] AFAinHD:
I already said this earlier. It can be just one as an infinite loop.
[Nexus 7 General] veeman:
Here's a guide I made a while back on actually making the boot animation in Photoshop. But the kindle fire forums are a bit dead so not a lot of people have seen it.

http://xdaforums.com/showthread.php?p=32476582

Sent from my Nexus 7
[Nexus 7 General] AFAinHD:
You can make the boot animations in a wide variety of programs, I make my Beautiful Boots in Cinema 4D and After Effects. Hell some people even make them in paint. You can use any image software that you are good at, this thread assumes that you already know how to make the pictures before hand, we don't want to spoon feed the noobs, we gotta teach them how to fend for themselves. :)
[Nexus 7 General] restlessrob:
I followed the guide but rather than get a diff boot animation I got the android logo(small one)

edit: I dunno why but the boot ani wont work by copying it into system/media. But i used rom control in settings and it worked thanks for the guide

My boot ani is total crap... But its quite amusing to play around
[Nexus 7 General] AFAinHD:
If you would like you can send me your bootanimation.zip and I'll check it out maybe figure out why it didn't work.
[Nexus 7 General] ddlooping:
Cool, thanks, I might just have a go when I have the time. :cool:
[Nexus 7 General] bibear1234:
Thank you! I'll test it asap :D
[Nexus 7 General] ddlooping:
Do the images have to be .png?

I've seen bootanimations containing .jpg files. :confused:
[Nexus 7 General] AFAinHD:
As far as I know they must be in a .PNG format. That's the way I've always done it and its the way I've always seen them done. I say u should just make your pictures PNG, the system recognizes them well, and they just work. So why not?
[Nexus 7 General] ddlooping:
Thanks, AFAinHD. :)

Still confused though, as the bootanimation.zip that I've found to contain .jpg files is the CyanogenMod 10 one. :confused:
[Nexus 7 General] AFAinHD:
Hey I guess u can try it. I've never done it that way. :)
[Nexus 7 General] ddlooping:
I just might, when I have some spare time. :)
[Nexus 7 General] prepaidguy9081:
they can be jpg problem is that with jpg you must always resize every img to a new screen resolution depending on the phone screen resolution. if you just change the desc it will either not work or retain the orifinal size. every boot ani I have worked with except for the current one [possobly because it contains transparency] you can just resize the desc and you are food to go.

I also recomend if you use jpg that you use either minimum or no compression on the img for quality reasons. png has no compression, thats why they look so good.
[Nexus 7 General] ddlooping:
Thanks for the info, prepaidguy9081. :)
[Nexus 7 General] AFAinHD:
Tada. Thank god we got smart people over here at XDA. :)
[Nexus 7 General] veeman:
Well yes of course. There's no right way to make it and there's many ways to make it. I have just been using Photoshop the most and that's the one I use. After Effects works well to render the PNG files in an image sequence as well. :)

Sent from my Nexus 7
[Nexus 7 General] prepaidguy9081:
Agreed, I also use photoshop, it should be noted that when u make a gif preview of your boot ani that has transparancys in rom toolbox that they revert to white, tho when u play the boot ani they show black ofcourse. This is gif previewing a modded to jpg boot ani so it shows up good unlick png. Any way to get black?

The script img editor in photoshop works great
[Nexus 7 General] fury-s12:
can someone confirm this for me and all others worried i suppose....

judging by the posts above if your boot anim doesn't work you are simply presented with a still image of android logo, as opposed to bricking your device?
[Nexus 7 General] AFAinHD:
There is no way that you can brick your device with a bad boot animation, the system has a backup to run, which is the android logo, and even if the backup isn't present it will just display a black screen but it will still boot.
[Nexus 7 General] kr00k3d:
really great! Thank you!
[Nexus 7 General] Wrixituz:
Nice tutorial, Thanks! :good:
[Nexus 7 General] fury-s12:
Hmm well lol you may not be able to brick your device doing this but you can apparently run into trouble, I haven't been able to get my animation to work yet, always get either black screen or android logo, so one time, thinking it may be something to do with the zip method I coed the files to my device and zipped them on it using solid explorer, I would very much advise against this as it somehow breaks your entire display, after a reboot I got the black screen and thought it was just another fail until the screen never came on, it was actually on but none of the interface was displayed, I could interact with it, unlock it by memory etc but nothing ever got displayed, had to adb in and put back the back up command line style and it's good as gold again :s

I still can't get my anim to work though :(
[Nexus 7 General] prepaidguy9081:
Are u using store only on your zips

Have you done sonthing like this

Navigate to system/media

Delete or rename bootsamsungloop.qmg and bootsamsung.qmg

Navigate to system/bin

Delete or rename samsungani

Rename bootanimation to samsungani

This is for the note ii

But there might be a needed simmilar process for the nexus 7
[Nexus 7 General] fury-s12:
Ah that would have been the display killer, solid explorer didn't have the store option, all the rest were though and no dice with them (but the display works lol)
[Nexus 7 General] AFAinHD:
I would defiantly say that the bootanimation.zip it getting compressed. U should compile it in winRAR and make sure compression method is store.
[Nexus 7 General] fury-s12:
yep that was literally the only difference between other attempts and the display killing attempt, all others were done in winrar set to store and they failed "properly", im still not sure why my animation doesn't work :( but still great tutorial i wouldn't have even tried without it
[Nexus 7 General] prepaidguy9081:
Is your desc set to your screen resolution

Are your imgs also that size

Jpgs must be resized or u get black screen

Pngs can be shrunk in the desc but to make bigger a resize is required

I recomend photoshop scripter

Convert to jpg and resize. NO COMPRESION ON JPGS
[Nexus 7 General] fury-s12:
i thought the desc was meant to be set to the resolution of the animation not the screen of the device? ive made mine the same size as the on my device (gnex not n7 :S) which is 640x640 very much not the device's res

i never tried jpegs as this guide said pngs although its been established jpgs work, ill give them a go
[Nexus 7 General] AFAinHD:
Send me your bootanimation.zip I will check it out after school.
[Nexus 7 General] MagicSata:
Can anyone post the original bootanimation.zip please? I was an idiot and didn't back mine up :3
[Nexus 7 General] HotKillerZzz:
Soo... How do you make a flashable one?
[Nexus 7 General] AFAinHD:
Sorry I've been real busy since I posted this I will update it tonight or tomorrow.
[Nexus 7 General] Kookie_Monster:
I've been trying to make a custom boot animation all sunday long. Read about a dozen threads on the subject, have used PhotoStage along with Boot Animation Creator, then I changed to Photoshop, moved back to PhotoStage again. Created and edited all the desc.txt files with Notepad++, created the zip with stock windows zip manager, then with Winrar on "Store"...

... BUT I STILL CAN'T GET ANY OF THE ZIPS TO WORK, FFS!!!

Sorry about the caps but I'm really pissed off. :eek:

Please.... pretty please... will someone help me!? This is probably one of those problems where "changing a coma" solves it. But it's really driving me nuts! :crying:
[Nexus 7 General] AFAinHD:
Send me your zip. Im really busy but i will fix it.
[Nexus 7 General] Kookie_Monster:
And all of a sudden... it works!! Don't you just hate it when that happens!? :eek:

What was I doing wrong? I honestly don't know.

Anyway... now there's just one thing not working as it should. It runs the first loop and when it reaches the end it just flashes a white area and stops. All I need now is to solve this and I'll be one happy modder wannabe. :victory: (anyone...? lol)

Hey... AFAinHD... thanks for your help anyway. All of your posts where quite helpful.
[Nexus 7 General] AFAinHD:
2nd post updated with guide to make it flashable!!!
[Nexus 7 General] Brendan McCoy:
In the stock bootanimation.zip, the desc.txt says

What do the c's mean?

Edit:

I'm having the same issue as Kookie_Monster, except I only have a part0 folder and it flashes the white at the top of the screen and doesn't display the animation. Originally I thought it was because either A. I used 7-zip or B. I didn't use notepad++, but after using winrar and notepad++ I still get the error. I'm guessing it has something to do with my .png files. I'm using photoshop, and I saved them as uncompressed pngs, but they were like 3mb a piece, so I saved them with the only other compression option, Smallest /Slow, to get reasonable sizes. Would the interlacing option effect how it works? I've not saved them with interlacing on.
[Nexus 7 General] prepaidguy9081:
Try using jpeg

Try no interlasing this could be the issue but idk
[Nexus 7 General] joaquinf:
This is the one I use in my galaxy Nexus and I flashed it in my n7 an it works great.

http://d-h.st/nAz
[Nexus 7 General] beanaroo:
Brilliant!

Thank you so much, did not know it was that simple...

Silly question though...

The Nexus 7 specs are 1280x800 yet you use 1288x808. Could you please explain why?

So for my *.png, should they all be 1288x808 resolution as well?

:)
[Nexus 7 General] AFAinHD:
808x1288 is the nexus 7 true resolution.
[Nexus 7 General] beanaroo:
interesting

Oh, wow. I never knew that. That's like a whole extra 64 pixels! Much appreciated.
[Nexus 7 General] pastorterrylee:
Update-Binary file download fail...

"Now just save that file under META-INF-->com-->google-->android.

You will also need to put a file called update-binary here. This file only works for the nexus 7. Here is the file - here."

When I click on the "here" it takes me to a file hosting site where I put me email in and it gives me a download link. But when I click on the link then click on the download button, it does not download the file. The page changes but it does not download the "update-binary" file.
[Nexus 7 General] AFAinHD:
I really don't know why the file is being hosted on that site. I will move it to my goo.im server when I get home.
[Nexus 7 General] Lostsorrow:
Why would a boot animation run half way then just go to a black screen on the nexus 7? I never had this problem on my transformer prime. The animation starts, runs half way through the first cycle, then I get a white flash of a rectangle 1/4 of the way down from the top of the screen. After the flash all I have is a black screen till the tablet finishes booting up. I have made other animations as well using the same desc.txt file that run all the way through but far less complicated. Can the video memory be crapping out half way through? If i just do a spinning name it works fine (roughly 2MB) but once i incorporate pictures with text animations (roughly 7-8MB) it craps out half way through. This happens regardless if the bootanimation.zip is in system/media or data/local Any ideas? :confused:
[Nexus 7 General] JOAOOx3:
Too heavy

Thanks for all this tutorial and all the comments it actually helped me out.

Initially had an issue due to having done images .jpg instead of .png, later changed to the format .png.

I did everything in photoshop, the problem is: too many images (100+) and zip is too large (21MB ~200kb each png), which causes the bootanimation gets a little laggy in the 1st loop. I put my Nexus7 on the dashboard of my car, I'm trying to create a bootanimation with the Volkswagen logo.

I saw you made several images and the size is low but with good quality, I'm wondering how...
[Nexus 7 General] Lostsorrow:
You can use .jpgs . Most of my boot animations are over 400 images. if you save your quality at 0 you can squeeze more and if you build any animations build at 12 frames cause thats the slowest you can go before the human eye sees the difference.

Sent from my HB 1.51 Androwook 1.7 OC 4.2 Launcher TF201

Lostsorrow - Team Wookie 4 Life
[Nexus 7 General] JOAOOx3:
But when I use jpgs I just get a blink and black screen until it loads, dunno why but with the same desc with pngs it works.
[Nexus 7 General] Lostsorrow:
When you save your jpgs make sure they are in standard format

Sent from my HB 1.51 Androwook 1.7 OC 4.2 Launcher TF201

Lostsorrow - Team Wookie 4 Life
[Nexus 7 General] tgspeedjunky:
iMovie

With iMovie you can import video, then in the "Share" drop-down menu there is an option to export using QuickTime and you can choose still sequence and jpeg or png and set the fps depending on how many stills you want. It also numbers them for you so I just call them "0" and uncheck the box to add a space before the numbering.

From there it's pretty simple, but... Being as I have a bootcamp partition I also use the FREE cool little app ( D01_MicroApps Boot_Animation_Factory ) for automatically placing the images into a .zip and setting the size and speed of the animation.:silly:
[Nexus 7 General] B1CB01:
I followed all of these instructions carefully, but it seems I made a mistake somewhere because when I reboot I get the default boot animation. When I paste the new animation into the /system/media folder (using ES File Explorer) and I try to open the zip, I get a toast message telling me it is null. Could anybody give me any tips?

EDIT: Never mind, it was an issue with ES File Explorer. However, I now have an issue with the second part of my boot animation not playing properly. I've posted a link to the file in my dropbox if anybody would be kind enough to try it out.

http://dl.dropbox.com/u/78961545/bootanimation.zip
[Nexus 7 General] rsadiwala:
I have made an animation, but whenever i boot, the default android animation plays which reads "android" in the centre, please help:
[Nexus 7 General] veeman:
The animation you're seeing is the default android boot ani. This means that the device cannot find or read your boot ani file.

1. Make sure the bootanimation.zip is in /system/media

2. Make sure permissions for the zip file is like the following (rw-r--r--)

3. Make sure that when you zip the part0 and desc.txt files, you are compressing it using the store setting.
[Nexus 7 General] rsadiwala:
Setting the correct permissions fixed it :D thanks....
[Nexus 7 General] capitansky:
thanks nice tuto
[Nexus 7 General] Gellybenj:
great Tutorial!!

Thanks!!!
[Nexus 7 General] nickademus420:
black screen

After I changed permissions on my bootanimation.zip, instead of the stock android bootanimation I got a blank screen.

What did I do wrong?

Thanks for your time.

UPDATE: I googled more, other people had zipping issues. I found when I changed compression to "store" then I saw my boot logo animation, very quickly. So what do I do to make it boot longer. It went through, didn't loop, then black until I got to the OS.

UPDATE 2: So I changed a 1 to a 0 to make the animation loop, and it worked.

Thank you so much for the awesome tutorial! It was a fun and challenging experience.

So, I would like to share it, and the wallpaper I use, as a package, can I do that on here, since I learned on here, or should I post it somewhere else? (It's a Deadpool boot animation)
[Nexus 7 General] zzboy96:
Nexus 4?

Will this work for the nexus 4? Like is it the same process just the pictures need to be a different resolution? But great guide, thanks!:good::D
[Nexus 7 General] barthie:
are all boot animations done in portrait? i have a video i'd like to use but when i crop it to 1288h x 808w it doesn't look good. my other option is to resize the video (with some cropping) and add black border on the top and botton.
[Nexus 7 General] jayzied:
I'm just answering to say thanks for make this tutorial. It's gonna be really useful for me when I try to do my own bootanimation!

M1S - Patatalk
[Nexus 7 General] lowsnamebrand:
I know this tutorial was for the nexus 7 but does anyone know the screen dimensions for the nexus 5
[Nexus 7 General] TheAquaVolt:
I need a little help with the coding. You used "p 1 0 part0" but I see for the android l preview boot animation its "c 1 30 part0" what is the difference between "p" and "c"?
[Nexus 7 General] po8pimp:
I ran into this same thing with the Nexus 7 (2013) 5.0.1. I ended up having to convert all of my jpeg to png with a 256 color palette. I used the C vice the P and all was good.

720 450 10

c 1 0 part0

c 0 0 part1

and after part1 press enter to go to the next line and then save it. That should work. Doesn't matter what size your images are as long as they are the same size or bigger than the resolution of the device you are using and you specify the devices settings in the desc.txt file. Hope this helps. Attached is my boot animation. Feel free to use the shell as your own, just remember to change the update script "ui print" to reflect your own wording and such. Good luck
[Nexus 7 General] jk8260:
Thank you exactly what I was looking for, had the same issues.
[Nexus 7 General] kokgo20:
Can someone convert this file to a flashable file for 2013 Nexus 7 5.1.1

Thanks in advance
[Nexus 7 General] kokgo20:
Finally i got it working, here is a copy if anyone needs it
[Nexus 7 General] Sindee75:
[MENTION=4722263]po8pimp[/MENTION] [MENTION=5625160]jk8260[/MENTION]

Hello, i am desperately looking for help. I've posted my problem on a few forums and not getting help, so I am trying here. I have a strange problem. My nexus 7 2013 gets stuck on boot animation with all stock lollipop and stock marshmallow factory images. I have also tried custom roms for my device for lollipop and marshmallow and they also get stuck on boot animation.

Here is the strange part.. ONLY kitkat 4.4.4 or lower, stock or custom roms WILL BOOT NORMALLY.

I have done many of wipes, formats, tried different bootloaders and boot images, etc.

Do you guys/gals have any ideas on how to fix this? I appreciate any and all help. Thanks, Cindy
[Nexus 7 Q&A, Help & Troubleshooting] TheSC:
So I have decided to pick up a Nexus 7 to use as my primary phone. I will be using a T-Mobile hot spot when mobile, and possibly a spare Android phone to throw in my pocket when the tablet just isn't a possibility. I will of course be using Google Voice with an app for calls and SMS. 99.99% of my phone use is just text or data. I am currently using talkatone free, which seems to work ok except the fact there is no notifications for SMS. I have to open the app and "check sms" just to receive them. I want an app that will show a new message notification in the notifications bar. One that would light up the tablet would be ok as well. I have seen there are some other apps, but I don't want to start buying up apps just to find out they still don't do what I am looking for. Any suggestions?
[Nexus 7 Q&A, Help & Troubleshooting] AFAinHD:
I use Tablet Talk, its well worth the money.
[Nexus 7 Q&A, Help & Troubleshooting] TheSC:
How does it display new messages?
[Nexus 7 Q&A, Help & Troubleshooting] AFAinHD:
Just like your phone, a notification with your choice of ringtone, and a messaging interface
[Nexus 7 Q&A, Help & Troubleshooting] stevecaboose:
Keep in mind that Tablet Talk will use your plans minutes and text messages. It simply syncs your phones texts and phone calls to your tablet. If you want to make phone calls going through GV then I would recommend talkatone. Ive used many of the apps that claim to make calls through your gmail account but all have failed, except talkatone. Yes, there is a slight delay but its not that bad. On other apps the delay would be 1min or more which is totally unacceptable. Stick with talkatone, its free and it works. I have been using it for a while now and have noticed quality and delay improvements as it has been updated.
[Nexus 7 Q&A, Help & Troubleshooting] TheSC:
My problem with Talkatone is that I don't get SMS notifications. I have to open the app and "check SMS" every time before it gives me the new ones. I can't seem to find any option in there that would turn on notifications or auto sync. This is annoying as I have to proactively be checking for messages all the time instead of just being notified.

A friend is running the same app on his iPad and when he gets a new SMS message it plays a ring tone and shows an number in the upper right of the app icon showing he has a new message. Mine does neither. Then again he is on premium, is this possibly only a feature of premium? I just have no desire spending $3-5 on apps just to find out they lack this basic feature which kills them.
[Nexus 7 Q&A, Help & Troubleshooting] TheSC:
Well it's not a premium feature as I went premium and it still suffers from the same issue. I don't THINK it's a setting on the N7 itself, as I receive notification for other apps just fine.
[Nexus 7 Q&A, Help & Troubleshooting] maztahbr:
Try to contact the developer