BootScreen on openEclair 2.1 - Click General

Hi guys...I recently flashed the last openeclair_tattoo5 but it hasn't got any bootscreen...i followed our posts and tried to change the bootscreen on system/media/bootscreen...
I created the folder because there wasn't but no boot screen appeared on reboot...i tried to do the same as for the droid pushing the files in /data/local
but noway...
does anyone know how to do? thank you

why /data/local?
the path of boot screen and sound is /system/media/bootscreen/
you have to create 6 files if u haven't:
boot_bg.gif
boot_animation.xml
boot2.gif
boot1.gif
boot.mp3
boot.gif
respect the size of your screen for the gif.
This is the content of xml file:
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (C) 2008 HTC Inc.
*
-->
<!-- For new bootup animation
<BootConfiguration>
<BootAnimation
image="/system/media/boot.gif"
audio="/system/media/boot.mp3"
image2="/system/media/boot2.gif" (optional)
image3="/system/media/boot3.gif" (optional)
screenX="100" (optional)
screenY="130" (optional)
image_bg = "/system/media/boot_bg.gif" (optional)
useAudio="0" // 1: true ; 0:false (optional)
/>
</BootConfiguration>
-->
<!-- For cropped version -->
<BootConfiguration>
<BootAnimation
image="/system/media/bootscreen/boot.gif"
image2="/system/media/bootscreen/boot1.gif"
loopimage="/system/media/bootscreen/boot2.gif"
image_bg="/system/media/bootscreen/boot_bg.gif"
audio="/system/media/bootscreen/boot.mp3"
screenX="0"
screenY="40"
useAudio="1"
/>
</BootConfiguration>
<!-- For full screen version -->
<!--BootConfiguration>
<BootAnimation
image="/system/media/boot.gif"
audio="/system/media/boot.mp3"
useAudio="1"
/>
</BootConfiguration-->

ah... put this value at 1 to put audio on at startup
useAudio="1" // 1: true ; 0:false (optional)

Dude, things are working differently in OpenEclair
There are no 6 files anymore, but only 1 zip named bootanimation.zip...

TheSSJ said:
Dude, things are working differently in OpenEclair
There are no 6 files anymore, but only 1 zip named bootanimation.zip...
Edit: Sorry, had the new zip file to play around already...^^
Click to expand...
Click to collapse
ok i haven't 2.1 installed at the moment
the zip contains the classical 6 files?
thanks

Nope it contains 2 folders and one text file called desc.txt. In the folders are a series of png files which are then played like a film...

so what to do? I tried to associate the two types of files but the desc.txt is not really clear xD
there is something like this :
480 848 20p 1 0 part0p 0 10 part1

I could convert the gif into a lot of pngs but I don't know if this would help...it would have been simple if there were a previous boot screen in witch I would have had just to change the pngs..but whitout a configuration and without understanding the meaning of desc.txt i don't know how to let it work

Just to be clear:
Did you put the ZIP file into system/media (or data/local) or did u extract all the files into these directories?
I hope you put just the zip file into /system/media (or /data/local)...any other way is wrong...

TheSSJ said:
Just to be clear:
Did you put the ZIP file into system/media (or data/local) or did u extract all the files into these directories?
I hope you put just the zip file into /system/media (or /data/local)...any other way is wrong...
Click to expand...
Click to collapse
the boot splash i like is the nexus one's..but I have the version for donut with the gifs the xml and the mp3...so I can't put this zip as it is..I can't use the original boot splash for the higher resolution of the pngs and for the desc.txt that I don't understand...i think 848 480 is the resolution (maybe of the droid) but I don't know anything of the other values...
what to do? :'(

Will continue?

yes but I don't know what to do :'(

[FONT=&quot]Mod. edit: not dev related, moved to general
[/FONT]

excuse me...how do you think that is a general argument if developers can't solve my problem? and how is possible to consider a "bootscreen problem" a general problem?

alberto88a said:
excuse me...how do you think that is a general argument if developers can't solve my problem? and how is possible to consider a "bootscreen problem" a general problem?
Click to expand...
Click to collapse
Because it's not related to ROM development, but only to configuration...Search for a program to resize images from one dimension to another in batch process...should be easy to find one...

TheSSJ said:
Because it's not related to ROM development, but only to configuration...Search for a program to resize images from one dimension to another in batch process...should be easy to find one...
Click to expand...
Click to collapse
yes but the problem is I don't know how to set up the rom to let the bootscreen be loaded

see http://forum.samdroid.net/threads/863-Tutorial-How-to-create-custom-bootlogo-amp-bootanimation under 2) custom boot animation

Related

Building splash screen

Hey,
I'm a noob dev, and was curious about building a splash screen from a Mac. I have the .gif animations done, not sure how to compile though!
Also curious about building themes and roms.
Any pointers/sites to help?
Thanks!
Sent from my HTC Glacier using XDA App
Are you talking about making splash screens or boot animations?
Splash Screens = Static screen that displays myTouch4G
Boot Animation = Animated images that display prior to the operating system
Preferably both.
But I'm assuming boot animation would be the proper term for what I was trying to describe.
Sent from my HTC Glacier using XDA App
Splash screens are really easy. The file that you will need to create to convert will have to be a 480x800 png, jpeg, or bmp. Then just visit TrueBlue_Drew's thread and grab his app for converting/flashing splash screens.
Boot animations are a little trickier. You must take your animation and split it into a png sequence. Then you will create two folders and a txt file. The folders will be named part0 and part1. The txt file will be named desc.txt. Inside the folder part0 you will place your png sequence. Then in part1 you will place any of the png sequence you want to loop until the OS finishes booting. The desc.txt will look like this
Code:
480 800 30
p 1 0 part0
p 0 0 part1
The first line contains the animation's size and frame rate. Then the second and third line will begin with a 'p' then the number of times the animation will loop is the first number. I honestly don't know what the second number does. I haven't messed with it as the guide I originally found didn't have the function of that number either. Then of course it has the folder name at the end of the line. Then you zip the two folders and the txt with storage compression and you have your bootanimation! Can't wait to see what you come up with! I'll keep this thread saved if you need any more help!
Thanks!
I have created my basic animation and splash screen image. However, I am running on a mac and very against using parallels/partitioning my hard drive. Are there any other alternatives as to creating the correct form of .img file?
There is a way to convert the pngs to img files through the command line. I'm not sure if it will work for mac. But as it's done through the AndroidSDK/tools folder I'm assuming it should.
http://forum.xda-developers.com/showpost.php?p=10552423&postcount=129
follow this link. The files that you need are there, along with a link to the original thread containing the line of code you'll need to input to convert the png. If you have any more questions I'll be here.
Iriscience said:
There is a way to convert the pngs to img files through the command line. I'm not sure if it will work for mac. But as it's done through the AndroidSDK/tools folder I'm assuming it should.
http://forum.xda-developers.com/showpost.php?p=10552423&postcount=129
follow this link. The files that you need are there, along with a link to the original thread containing the line of code you'll need to input to convert the png. If you have any more questions I'll be here.
Click to expand...
Click to collapse
FFMPEG will work with a mac. Just follow the links that Iriscience provided.

[Boot Animation] Android Bios Boot animation

Hi guys,
if you want to change your boot animation with something cooler, you can check out what this thread from the HTC subforum. Of course you have to be rooted to do it. So simply choose HTC Dream styles, which look very nice on our X8s. Download the zip file and extract the bootanimation.zip to your SD card. Then open the Root Explorer and copy the file in your /system/media folder. You should change the permissions to rw-r--r--, or simply see the permissions of your original file and after copying the new file make the permissions look the same.
I hope you enjoy this as much as I do!
how about splash screen like HACKDROID text after sonyericsson n before bootanimation? any clue?
just installed and works nicely boots faster then the cyanogen boot screen
kuyagaol said:
how about splash screen like HACKDROID text after sonyericsson n before bootanimation? any clue?
Click to expand...
Click to collapse
Yes, but you need to modify it a bit. What you have to do is the following:
Copy the bootanimation.zip that has the HackDroid splash screen to your computer
Extract the contents of the file and find the folder named part0
The first few *.png files are actually the "splash screen"
Copy those and leave them aside
Now extract the "bios boot animation" file and in part0 put those "HackDroid" files
Very important is to rename each of the consecutive files, so that you don't mess up the animation
Repack again and put the "cooked" bootanimation.zip in your \system\media folder
Dot forget to backup your current installation, in case it doesn't work for some reason
Hope that helps
I thought about that before, but..
Id look at Floyo bootanimation.zip, there is no hackdroid png, and there is only 1 part,
which is floyo animation..
Yep, I also checked this and you are correct unfortunately
But this should mean that the HackDroid splash screen has nothing to do with the bootanimation, so if you change it, the HD splash should still show. Have you tested this already? I'm with J's V006a so I have no HackDroid screen at boot.
yes.. this had nothing to do with bootani. now I'm using my own bootani, HD still there.
is not that I don't like it, but I wonder how racht do it.. & if I can do it, ill remove that SE splash..
OK! Could you please report if the HD splash stays or not!
yup.. still there

Trying to re-size of wallpaper using .xml file.

Ok sorry if this has all ready been covered, but I did a search and could not find anything. I am trying to re-size the wallpaper to use the entire screen when in landscape mode with out cutting off part of the photo. After downloading apktools, and recompiling the launcher2.apk and opening the wallpaper_chooser.xml file I find this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical"> <ImageView android:layout_height="0.0dip" android:layout_width="fill_parent" android:layout_weight="1.0" android:scaleType="fitCenter" android:id="@id/wallpaper"/> <Gallery android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@id/gallery"/> <Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@id/set" android:text="@string/wallpaper_instructions" android:layout_gravity="center_horizontal"/> </LinearLayout>
Now correct me if I am wrong but can I set this:
"android:layout_gravity="center_horizontal"/>"
to this:
android:layout_gravity="fill_parent"/>
recompile the .xml and .apk would this cause the wallpaper to re-size it's self to fill the window instead of cutting it off?
Any suggestions or inputs from more experienced programmers?
Moved to proper forum
Rockstar52 said:
Ok sorry if this has all ready been covered, but I did a search and could not find anything. I am trying to re-size the wallpaper to use the entire screen when in landscape mode with out cutting off part of the photo. After downloading apktools, and recompiling the launcher2.apk and opening the wallpaper_chooser.xml file I find this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical"> <ImageView android:layout_height="0.0dip" android:layout_width="fill_parent" android:layout_weight="1.0" android:scaleType="fitCenter" android:id="@id/wallpaper"/> <Gallery android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@id/gallery"/> <Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@id/set" android:text="@string/wallpaper_instructions" android:layout_gravity="center_horizontal"/> </LinearLayout>
Now correct me if I am wrong but can I set this:
"android:layout_gravity="center_horizontal"/>"
to this:
android:layout_gravity="fill_parent"/>
recompile the .xml and .apk would this cause the wallpaper to re-size it's self to fill the window instead of cutting it off?
Any suggestions or inputs from more experienced programmers?
Click to expand...
Click to collapse
The problem is that the parent is probably all of your homescreens combined, not just the screen you're currently on. You could try that though. Launcher Pro has a setting to do this by default, but if you want to use the stock launcher, also try setting layout_height and layout_width to the resolution of your device. (eg. on my A101, it would be layout_height="600px" and "layout_width="1024px"). Dip is Device Independent Pixels, which can get wonky if you change the LCD Density setting, so I tend to use pix instead for my personal compiling.
There's probably some stuff on google on this topic. I'll try to find some time to look if you can't find anything.
msticninja said:
The problem is that the parent is probably all of your homescreens combined, not just the screen you're currently on. You could try that though. Launcher Pro has a setting to do this by default, but if you want to use the stock launcher, also try setting layout_height and layout_width to the resolution of your device. (eg. on my A101, it would be layout_height="600px" and "layout_width="1024px"). Dip is Device Independent Pixels, which can get wonky if you change the LCD Density setting, so I tend to use pix instead for my personal compiling.
There's probably some stuff on google on this topic. I'll try to find some time to look if you can't find anything.
Click to expand...
Click to collapse
Thanks. I tried the the full_parent code but when I went to recompile it, it said the code is invalid, so I changed it to full_center, now after recompiling the apk Android won't accept an unsigned apk.
Rockstar52 said:
Thanks. I tried the the full_parent code but when I went to recompile it, it said the code is invalid, so I changed it to full_center, now after recompiling the apk Android won't accept an unsigned apk.
Click to expand...
Click to collapse
That's a system app, so it should not be signed to begin with. You must over write the original manually, don't try to install.
Use APKManager from :http://forum.xda-developers.com/showthread.php?t=695701and follow the instructions. 9 for decompile, edit the files, 11 to recompile, yes to system app, yes to keep originals, go into keep folder and delete resources.arsc and the files you modified, then go back to script and let it complete. I like to use Winrar to recompress the apk to 0 (no) compression, but it's not necessary. APKTools doesn't remake the resources.arsc automatically, so if you modify xml, APKManager is a much more stable and simple way to recompile. Just remember to delete the resources.arsc and any files you modified from the "keep" folder when the script is paused.
msticninja said:
That's a system app, so it should not be signed to begin with. You must over write the original manually, don't try to install.
Use APKManager from :http://forum.xda-developers.com/showthread.php?t=695701and follow the instructions. 9 for decompile, edit the files, 11 to recompile, yes to system app, yes to keep originals, go into keep folder and delete resources.arsc and the files you modified, then go back to script and let it complete. I like to use Winrar to recompress the apk to 0 (no) compression, but it's not necessary. APKTools doesn't remake the resources.arsc automatically, so if you modify xml, APKManager is a much more stable and simple way to recompile. Just remember to delete the resources.arsc and any files you modified from the "keep" folder when the script is paused.
Click to expand...
Click to collapse
ok thanks, I'll give it a shot and report back.
ok was able to use APKMananger, I took the framework-res.apk unpacked and replaced some photos. I then rezipped and copied the new one back to system/framework but each time it goes into a bootloop?
Rockstar52 said:
ok was able to use APKMananger, I took the framework-res.apk unpacked and replaced some photos. I then rezipped and copied the new one back to system/framework but each time it goes into a bootloop?
Click to expand...
Click to collapse
Tell me your exact process in APKManager, and the files you are changing. Make sure you are hitting Y to system app and then deleting changed files in Keep folder. If you do a full decompile and recompile, it will always bootloop, because some XMLs do not reencode correctly, even if you haven't changed them.
msticninja said:
Tell me your exact process in APKManager, and the files you are changing. Make sure you are hitting Y to system app and then deleting changed files in Keep folder. If you do a full decompile and recompile, it will always bootloop, because some XMLs do not reencode correctly, even if you haven't changed them.
Click to expand...
Click to collapse
My bad, I am able to dcompile, edit the .xml and recompile the Launcher.apk. Which I copy from the folder /system/app/. I get the boot loop when I try to edit the (Android System) framework-res.apk from the folder /system/framework. All I am trying to do in there is replace some of the system icons to my own custom ones, making sure that I use the same image type, px size, overall file size.
Rockstar52 said:
My bad, I am able to dcompile, edit the .xml and recompile the Launcher.apk. Which I copy from the folder /system/app/. I get the boot loop when I try to edit the (Android System) framework-res.apk from the folder /system/framework. All I am trying to do in there is replace some of the system icons to my own custom ones, making sure that I use the same image type, px size, overall file size.
Click to expand...
Click to collapse
Then don't bother decompiling. Just unpack and repack without decode or reencode. You can just use Winrar for that. If you change a .9.png, not just .png, you'll need to decomp/recomp and delete resources.arsc in between.
msticninja said:
Then don't bother decompiling. Just unpack and repack without decode or reencode. You can just use Winrar for that. If you change a .9.png, not just .png, you'll need to decomp/recomp and delete resources.arsc in between.
Click to expand...
Click to collapse
So using a file explorer for root, I would change the framework-res.apk to framework-res.zip on my Archos then copy the file to my computer unzip, change the .png rezip then replace the modified .apk with the old one. Is the correct?
EDIT:
I did the steps above, and now it cleared the bootloop problem, but the funny thing is the .png files I modified are not being used, it still uses the stock images, where else could these images be?
Rockstar52 said:
So using a file explorer for root, I would change the framework-res.apk to framework-res.zip on my Archos then copy the file to my computer unzip, change the .png rezip then replace the modified .apk with the old one. Is the correct?
EDIT:
I did the steps above, and now it cleared the bootloop problem, but the funny thing is the .png files I modified are not being used, it still uses the stock images, where else could these images be?
Click to expand...
Click to collapse
They're in the drawable-mdpi folder IIRC.

[GUIDE] How To Make Custom Bootanimation

Hello Everyone
Here Is The Tutorial On How to Create Ur Own Boot Animation for U r Mobile...
Requirements :
1) Windows OS
2) BootAnimation Factory : Go here http://forum.xda-developers.com/showthread.php?t=1678540
3) Image Resizer (To change the resolution of the images) : Go here https://imageresizer.codeplex.com/
4) Image Editing Software ( Your wish)
5) 7Zip
6) Notepad++
What Is BootAnimation??
The Android boot animation is contained within a an uncompressed zip file called bootanimation.zip that can be found in the media folder of the system partition i.e. /system/media on the internal memory of the device. This single file contains all the information required to play the boot animation, and is loaded automatically when the device boots.
What a Bootanimation.zip Contains??
. If you extract the contents of the bootanimation.zip file to your computer, you will see:
1) A desc.txt file
2) A part0 folder (Contains PNG images named in incremental numbers)
3) More part1, part2 etc. folders (May or may not be present)
As you can see, bootanimation.zip merely contains one text file and one or more folders with PNG images. The animation is played simply by displaying the images in a sequence, and the text file defines how they are to be played. In essence, first the PNG files in the part0 folder are displayed one after the other and afterwards, those in the part1 file – if it exists – are displayed, again one after the other, and so on. All of this is defined in the desc.txt file.hence desc.txt file is vital file for creating a bootanimation.
Now Will See What Each Files And Folder Does:laugh:
Imp : I Am Taking The Example Of My Samsung Galaxy Grand Duos - GT-I9082 whose Resolution is 480X800. This Guide is applicable to all Andriod Devices Difference u have to make is the RESOLUTION of u r Device.
The folders
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
These contain PNG images named in numbers, starting from something like 0000.jpg or 00001.jpg and proceeding with increments of 1. There has to be at least one folder, and there is no known upper limit to the number of folders.
The desc.txt file
This file defines how the images in the folder(s) are displayed during the boot animation, in the following format:
Width Height Frame-rate
p Loop Pause Folder1
p Loop Pause Folder2
An example of a desc.txt file is:
480 800 30
p 1 0 part0
p 0 0 part1
As you can see, in the first line, 480 and 800 define the width and height of the boot animation in pixels for this example. This must be the same as the screen resolution of your device for the boot animation to properly play in full screen. 30 is the frame rate in fps (frames per second) i.e. number of images to display per second.
The second and third lines have a same format, start with p, which stands for a part of the animation and end in part0 or part1, which denotes the folder in which the images for that part are present.
The number after ‘p’ defines how many times this part will loop (repeat playback) before switching to the next part (if present). Specifying 0 would make the part loop indefinitely till the phone has fully booted.
The next number is for the pause, and is expressed in the number of frames, which can be translated into time by dividing it by the frame rate. A pause of 15 for example, would mean pausing for the time it takes 15 frames to play and since the frame rate is 30 frames per second, 15 frames would take half a second.
Translating all of this in case of the above example, the boot animation will play at a resolution of 480 by 800 pixels, at a frame rate of 30 fps, starting with the contents of part0 folder and after playing them in one loop, switching to contents of part1 folder and playing them continuously till the device fully boots.
Steps To Create Ur Own Bootanimations
1) Download All The Necessary Tools U need To For This.
2) Install The Necessary Softwares.
3) Go through the entire Inside the bootanimation.zip File Which I will attach at the end of this guide.
4) Plan how your boot animation will run. This includes how many distinct parts it will have, how long will each part play and what will be the sequence of the parts.
5) Make a new folder at any convenient location on your computer, and name it bootanimation.
6) In this folder, create a folder for each part of your boot animation, named part0, part1 and so on.
7) In the image editor of your choice (Adobe Photoshop,GIMP), make all the image files for each part of your boot animation with the proper dimensions equal to your phone’s screen resolution, and save them in the respective folder for each part, in PNG format. Up to 32 bit PNGs are supported.
Note: In case you are converting an existing boot animation to fit your phone’s screen, simply extract the images from it and resize each of them to your device’s screen resolution.
8) Make sure the images are named in numerical format and in proper sequence, i.e. the images in the first part should start with let’s say 00000.jpg and go on till 00075.jpg, and the images in the second part should then start off with 00076.jpg and go on till – for instance – 00123.jpg.
9) Now open the Boot Animation Factory Tool.
10) Click on “Create a New Boot Animation” Button.
11) There will be 2 options Asking for Source (1)From folder and (2) From GIF. Since In This Guide I have used Folder Method, Select Folder and click OK
12) Click On Choose folder and Select The bootanimation folder were u had stored all the necessary folders and images.
13) At the Right Hand Side You Can see the tab were the Resolution of The pics will be displayed..You can edit it and change the resolution and FPS too. Let the setting be “Don’t Repeat”
14) click on add loop button.
15) Select The Folder Ex: part0 . For this folder Set THE LOOP to 1 and TIME DELAY to 0 ( You Can Put your Custom delay if u wish) and Click ADD button.
16) Repeat the Step 15 but here Select the next part In Folder Ex : part1
17) If U have more part folders select the respective part and repeat the Step 15.
18) For last folder ( Ex : If part1 is last folder ) the SET THE LOOP to 0 . So that it Repeats
19) You can PREVIEW your bootanimation before saving by clicking on PREVIEW Button.
20) Click Save Boot Animation Button and name it has “bootanimation”
You Have Done A Bootanimation Successfully..:laugh::laugh:
How To Put It In Your Device?
File browser method (Rooted devices only):
1) Connect your phone to your computer via USB and mount the storage card for file transfer.
2) Copy the bootanimation.zip file that you want to install, to your SD card.
3) Unmount USB storage and launch the file browser of your choice on your phone.
4) Browse to /system/media, copy the existing bootanimation.zip file from there and paste it somewhere safe on your SD card.
5) Browse to the location on the SD card where you copied the new bootanimation.zip and copy it.
6) Browse to /system/media and paste the bootanimation.zip file there.
7) If you are using Root Explorer App, you will have to Touch ‘Mount R/W’. This will make your system partition writeable.
8) Check if the permissions are rw-r—r—. If not, change them to that.
9) Reboot And Enjoy Your New Bootanimation Done by You:laugh:
Credits :
despotovski01 for his AWESOME BOOTANIMATION FACTORY....
FOR SAMPLE SEE ATTACHEMENTS
:laugh:IF IT HELPED YOU KINDLY PRESS THANKS BUTTON SO THAT I WILL KNOW HOW MANY PEOPLE ARE BENEFITED FROM IT:laugh:
Excellent tutorial...well described... keep up the good work
doctor_droid said:
Excellent tutorial...well described... keep up the good work
Click to expand...
Click to collapse
Thanks doctor_droid for your inspirational reply
Hello Everyone
Here Is The Tutorial On How to Create Ur Own Boot Animation for U r Mobile...
Requirements :
1) Windows OS
2) BootAnimation Factory : Go here http://forum.xda-developers.com/showthread.php?t=1678540
3) Image Resizer (To change the resolution of the images) : Go here https://imageresizer.codeplex.com/
4) Image Editing Software ( Your wish)
5) 7Zip
6) Notepad++
What Is BootAnimation??
The Android boot animation is contained within a an uncompressed zip file called bootanimation.zip that can be found in the media folder of the system partition i.e. /system/media on the internal memory of the device. This single file contains all the information required to play the boot animation, and is loaded automatically when the device boots.
What a Bootanimation.zip Contains??
. If you extract the contents of the bootanimation.zip file to your computer, you will see:
1)A desc.txt file
2)A part0 folder (Contains PNG images named in incremental numbers)
3)More part1, part2 etc. folders (May or may not be present)
As you can see, bootanimation.zip merely contains one text file and one or more folders with PNG images. The animation is played simply by displaying the images in a sequence, and the text file defines how they are to be played. In essence, first the PNG files in the part0 folder are displayed one after the other and afterwards, those in the part1 file – if it exists – are displayed, again one after the other, and so on. All of this is defined in the desc.txt file.hence desc.txt file is vital file for creating a bootanimation.
Now Will See What Each Files And Folder Does:laugh:
Imp : I Am Taking The Example Of My Samsung Galaxy Grand Duos - GT-I9082 whose Resolution is 480X800. This Guide is applicable to all Andriod Devices Difference u have to make is the RESOLUTION of u r Device.
The folders
These contain PNG images named in numbers, starting from something like 0000.jpg or 00001.jpg and proceeding with increments of 1. There has to be at least one folder, and there is no known upper limit to the number of folders.
The desc.txt file
This file defines how the images in the folder(s) are displayed during the boot animation, in the following format:
Width Height Frame-rate
p Loop Pause Folder1
p Loop Pause Folder2
An example of a desc.txt file is:
480 800 30
p 1 0 part0
p 0 0 part1
As you can see, in the first line, 480 and 800 define the width and height of the boot animation in pixels for this example. This must be the same as the screen resolution of your device for the boot animation to properly play in full screen. 30 is the frame rate in fps (frames per second) i.e. number of images to display per second.
The second and third lines have a same format, start with p, which stands for a part of the animation and end in part0 or part1, which denotes the folder in which the images for that part are present.
The number after ‘p’ defines how many times this part will loop (repeat playback) before switching to the next part (if present). Specifying 0 would make the part loop indefinitely till the phone has fully booted.
The next number is for the pause, and is expressed in the number of frames, which can be translated into time by dividing it by the frame rate. A pause of 15 for example, would mean pausing for the time it takes 15 frames to play and since the frame rate is 30 frames per second, 15 frames would take half a second.
Translating all of this in case of the above example, the boot animation will play at a resolution of 480 by 800 pixels, at a frame rate of 30 fps, starting with the contents of part0 folder and after playing them in one loop, switching to contents of part1 folder and playing them continuously till the device fully boots.
Steps To Create Ur Own Bootanimations
1) Download All The Necessary Tools U need To For This.
2) Install The Necessary Softwares.
3) Go through the entire Inside the bootanimation.zip File Which I will attach at the end of this guide.
4) Plan how your boot animation will run. This includes how many distinct parts it will have, how long will each part play and what will be the sequence of the parts.
5) Make a new folder at any convenient location on your computer, and name it bootanimation.
6) In this folder, create a folder for each part of your boot animation, named part0, part1 and so on.
7) In the image editor of your choice (Adobe Photoshop,GIMP), make all the image files for each part of your boot animation with the proper dimensions equal to your phone’s screen resolution, and save them in the respective folder for each part, in PNG format. Up to 32 bit PNGs are supported.
Note: In case you are converting an existing boot animation to fit your phone’s screen, simply extract the images from it and resize each of them to your device’s screen resolution.
8) Make sure the images are named in numerical format and in proper sequence, i.e. the images in the first part should start with let’s say 00000.jpg and go on till 00075.jpg, and the images in the second part should then start off with 00076.jpg and go on till – for instance – 00123.jpg.
9) Now open the Boot Animation Factory Tool.
10) Click on “Create a New Boot Animation” Button.
11) There will be 2 options Asking for Source (1)From folder and (2) From GIF. Since In This Guide I have used Folder Method, Select Folder and click OK
12) Click On Choose folder and Select The bootanimation folder were u had stored all the necessary folders and images.
13) At the Right Hand Side You Can see the tab were the Resolution of The pics will be displayed..You can edit it and change the resolution and FPS too. Let the setting be “Don’t Repeat”
14) click on add loop button.
15) Select The Folder Ex: part0 . For this folder Set THE LOOP to 1 and TIME DELAY to 0 ( You Can Put your Custom delay if u wish) and Click ADD button.
16) Repeat the Step 15 but here Select the next part In Folder Ex : part1
17) If U have more part folders select the respective part and repeat the Step 15.
18) For last folder ( Ex : If part1 is last folder ) the SET THE LOOP to 0 . So that it Repeats
19) You can PREVIEW your bootanimation before saving by clicking on PREVIEW Button.
20) Click Save Boot Animation Button and name it has “bootanimation”
You Have Done A Bootanimation Successfully..:laugh::laugh:
How To Put It In Your Device?
File browser method (Rooted devices only):
1) Connect your phone to your computer via USB and mount the storage card for file transfer.
2) Copy the bootanimation.zip file that you want to install, to your SD card.
3) Unmount USB storage and launch the file browser of your choice on your phone.
4) Browse to /system/media, copy the existing bootanimation.zip file from there and paste it somewhere safe on your SD card.
5) Browse to the location on the SD card where you copied the new bootanimation.zip and copy it.
6) Browse to /system/media and paste the bootanimation.zip file there.
7) If you are using Root Explorer App, you will have to Touch ‘Mount R/W’. This will make your system partition writeable.
8) Check if the permissions are rw-r—r—. If not, change them to that.
9) Reboot And Enjoy Your New Bootanimation Done by You:laugh:
Credits :
despotovski01 for his AWESOME BOOTANIMATION FACTORY....
FOR SAMPLE SEE ATTACHEMENTS
:laugh:PLZ PRESS THANKS BUTTON IF U ALL LIKE MY WORK:laugh:
Click to expand...
Click to collapse
Hello , @jackeagle . I've followed ur guide and made a bootanimation successfully . But how to convert bootanimation.zip to bootsamsung.qmg and bootsamsungloop.qmg ? Please telp me
Sent from my GT-I9082 using xda app-developers app
Aeyan Ashraf said:
Hello , @jackeagle . I've followed ur guide and made a bootanimation successfully . But how to convert bootanimation.zip to bootsamsung.qmg and bootsamsungloop.qmg ? Please telp me
Sent from my GT-I9082 using xda app-developers app
Click to expand...
Click to collapse
Congrats on successfully making a bootanimation:victory: plz press thanks button if helped Regarding converting bootanimation.zip to .qmg files there is separate steps to do...
jackeagle said:
Congrats on successfully making a bootanimation:victory: plz press thanks button if helped Regarding converting bootanimation.zip to .qmg files there is separate steps to do...
Click to expand...
Click to collapse
Can you make a guide describing the seperate steps or can you PM me please ?
Sent from my GT-N7100 using XDA Premium 4 mobile app
Aeyan Ashraf said:
Can you make a guide describing the seperate steps or can you PM me please ?
Sent from my GT-N7100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Here U Go for guide by me http://forum.xda-developers.com/showthread.php?p=52107807 :highfive::laugh::laugh:
jackeagle said:
Here U Go for guide by me http://forum.xda-developers.com/showthread.php?p=52107807 :highfive::laugh::laugh:
Click to expand...
Click to collapse
Thanks bro ..... A ton thanks to u !!!!!!!!
Sent from my GT-I9082 using XDA Premium 4 mobile app
Aeyan Ashraf said:
Thanks bro ..... A ton thanks to u !!!!!!!!
Sent from my GT-I9082 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Welcome
Sent from my GT-I9082 using XDA Premium 4 mobile app
Hello jackeagle,
Good guide there.
I'm a GT-19082 user as well, but my Stock ROM does not contain any bootanimation.zip in System>media
Instead these are the files I get. (pic attached below)
could you please help me out in this?
Thanks.
saudkhan75 said:
Hello jackeagle,
Good guide there.
I'm a GT-19082 user as well, but my Stock ROM does not contain any bootanimation.zip in System>media
Instead these are the files I get. (pic attached below)
could you please help me out in this?
Thanks.
Click to expand...
Click to collapse
Hello Saudkhan75..!!
Stock ROM doesn't have bootanimation.zip. in Samsung stock ROM it will in .qmg format like bootsamsung.qmg and bootsamsungloop.qmg these both file will work has bootanimation.zip...
If u want to know how to convert boot animation.zip to .qmg go here http://forum.xda-developers.com/showthread.php?p=52107807
Press Thanks Button If Helped..
Sent from my GT-I9082 using XDA Premium 4 mobile app
jackeagle said:
Hello Saudkhan75..!!
Stock ROM doesn't have bootanimation.zip. in Samsung stock ROM it will in .qmg format like bootsamsung.qmg and bootsamsungloop.qmg these both file will work has bootanimation.zip...
If u want to know how to convert boot animation.zip to .qmg go here http://forum.xda-developers.com/showthread.php?p=52107807
Press Thanks Button If Helped..
Sent from my GT-I9082 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hello!!
(I'm new to modding, so please don't mind if I say something wrong.)
I already got the bootsamsung.qmg and bootsamsungloop.qmg files in my Stock ROM.
My question is how will I convert them to part0 and part1 to edit?
also, is it important to for those files to be in .zip to run?
saudkhan75 said:
Hello!!
(I'm new to modding, so please don't mind if I say something wrong.)
I already got the bootsamsung.qmg and bootsamsungloop.qmg files in my Stock ROM.
My question is how will I convert them to part0 and part1 to edit?
also, is it important to for those files to be in .zip to run?
Click to expand...
Click to collapse
Actually There is no way to convert the .qmg or open the .qmg file to get part0 and part1 folders...even the software which makes the .qmg files can't open it Its kind of closed -source algorithm...
2) YES they are very important these folders contains the images which later combine to form an animation without those folder and command the zip is useless...READ the guide carefully if you wanna know more about these folders...
Always Feel FREE to ask any doubts you have...
jackeagle said:
Actually There is no way to convert the .qmg or open the .qmg file to get part0 and part1 folders...even the software which makes the .qmg files can't open it Its kind of closed -source algorithm...
2) YES they are very important these folders contains the images which later combine to form an animation without those folder and command the zip is useless...READ the guide carefully if you wanna know more about these folders...
Always Feel FREE to ask any doubts you have...
Click to expand...
Click to collapse
Thanks fpr the reply.
In your bootanimation.zip file I could see 2 folders and a txt document.
I got those .qmg files with me, now, how can I make a bootanimation.zip of them like you did?
saudkhan75 said:
Thanks fpr the reply.
In your bootanimation.zip file I could see 2 folders and a txt document.
I got those .qmg files with me, now, how can I make a bootanimation.zip of them like you did?
Click to expand...
Click to collapse
You need to do it on your own either u have to make animation images...Just search in google for animation tutorial videos using photoshop or u need a video using which you can get the frames from it so that u can get the images directly and use it in project... Read my guide carefully.
jackeagle said:
You need to do it on your own either u have to make animation images...Just search in google for animation tutorial videos using photoshop or u need a video using which you can get the frames from it so that u can get the images directly and use it in project... Read my guide carefully.
Click to expand...
Click to collapse
Okay, Got you! Thanks for your help.
Sent from my GT-I9082 using XDA Free mobile app
saudkhan75 said:
Okay, Got you! Thanks for your help.
Sent from my GT-I9082 using XDA Free mobile app
Click to expand...
Click to collapse
If u need any help u can ask me..
Press thanks button instead of saying
Sent from my GT-I9082 using XDA Premium 4 mobile app

Bootanimation wont load

Hello guys,
I am new to XDA forums and also new to customizing my own Theme.
Following few tutorials and possible fixes, I did not manage to get my S4 i9505 to load my bootanimation that I created.
MY PHONE:
GT-I9505
11-20141112-SNAPSHOT-M12-jflte (CyanodenMod Version)
4.4.4 (Android version)
BOOTANIMATION.ZIP:
part0
image00.png - image17.png
part1
image18.png - image21.png
desc.txt
1080 1920 48
p 1 0 part0
p 0 0 part1
The above is my content inside BOOTANIMATION ZIP. Compressed with WinRAR using "STORE" as compress mode. PNGs developed with Adobe Photoshop. DESC was written in NOTEPAD.
2. Copied the .ZIP into my sdcard folder form Computer.
3. Opened File Manager with escalated Root Priviliges.
4. Selected my bootanimation.zip and copied it inside system/media/ .. overwritting previous bootanimation.zip
4.1 After some suggestions on web, I also copied one copy to root/data/local
When I reboot my phone, the CyanogenMod boot is no longer, but neither does it load my bootanimation.
It just loads some standard "android" animation.
Can anybody please help me?
Best,
WW
Did you change permissions to rw-r--r-- for the file in /system/media? Did you make sure no other files were stored in the zip, like a thumbs.db file? Check, because both of these are sufficient to stop the boot animation from functioning.
Two other related issues I see. Issue one is the number of frames per second. 48 frames/second seems a bit fast. Are you sure you want that? Issue two is that you need to delete the boot animation from /data/local if you already have a copy in /system/media.

Categories

Resources