Need dev bootanimation advice - Samsung Galaxy S (4G Model)

Hi
I got a bootanimation.zip from SGS i9000 consists of JPG files, not PNG files, and it works great on our phone, taking significant less space.
The problem I'm having, & i had it with PNG as well, is that eventhough i created new images with the same resolution, dpi and color depth, i get blank screen running them. I used paintbrush & irfanview for the changes.
Anyone knows what could i possibly missed? How can i fix it ?
Thanks!!!
Sent from me

Read this, it should help.
http://forum.xda-developers.com/showthread.php?t=1096068

Just send the files to me, I'll fix it. It has to be packed properly.

Did you compress your zip file? Your not supposed to.
Does your script match the file format and number of folders?

Got it !!!
It was the compression method - had to be STORE...
Thank you guys.

Related

Quick request. Coding

Hey guys. I found this on youtube. They are supposed to be animated wallpapers. But they are just widgets that you can place on your screen basically.
If you take the file and change the .wgt to .zip you can unzip then and veiw the files. The index file I belive has some code in it to make the .gif file play when you open the widget.
I tried to do this myself to no avail. Would someone be able to change the code to make it do the exact same thing its doing now but using a .swf or other small video file?
Im trying to make my own and I have a .gif that I compressed as much as possible and its still huge. I converted it to a .swf and its super small now.
Im using these on a Omnia also. I dont know what file types it would handle.
Thanks for any help or suggestions you may have.
Moved as not software release.

Converting Bootscreen to 2.1

Is there a good writeup on the requirements for setting up a 2.1 bootscreen? I've seen some nice 1.5/6 ones and i'd like to port them over the 2.1.
THanks!
i'm pretty sure you can do it the same way.
All of the 1.5 style bootscreens use an xml format with animated gifs, while it seems the 2.1 ones are PNG frames with a dat type control file.
You can still use the old bootscreens, you just have to remove bootanimation.zip, create a bootscreen folder inside /system/media, then drop your bootscreen in there.
I've flashed zips that do exactly that and they never work for me.
bootanimation.zip removed. reboot.
flash whatever bootscreen. /system/media/bootscreen is created. contains gif, xml, and audio. get blackscreen during boot and not animation.
the only ones I have gotten to work are tailored for 2.1 specifically.
ogboot said:
I've flashed zips that do exactly that and they never work for me.
bootanimation.zip removed. reboot.
flash whatever bootscreen. /system/media/bootscreen is created. contains gif, xml, and audio. get blackscreen during boot and not animation.
the only ones I have gotten to work are tailored for 2.1 specifically.
Click to expand...
Click to collapse
post one of the zips up and let me take a look at it, maybe something's different in the xml.
And you are on Sprint? Some people have been having troubles if they are not on Sprint.
regaw_leinad said:
post one of the zips up and let me take a look at it, maybe something's different in the xml.
And you are on Sprint? Some people have been having troubles if they are not on Sprint.
Click to expand...
Click to collapse
Thanks Regaw. You're right i'm Cellsouth.
The ones that work for me are folders containing PNG frames and a desc file (no xml). There is a supernova out that works fine and it has this format. I have access to GIMP so i've considered pulling all the frames out of one of the gifs, saving them as PNG and then recreating the directory structure I see in a standard bootanimation.zip. However, I haven't seen a batch method in GIMP for saving the frames as individual PNG files so it would kind of be a pain in the arse.
I've tried many of the ones in the 2.1 collection thread, same results every time. phone works great just the black screen during boot.
okkkkkkkkkk...........
so...
Can someone tell me the format for creating a bootanimation.zip that uses a desc file and PNG files? I've looked at the desc file and can obviously see where it has resolution info and references the part folders, hasn't anyone created a bootscreen in this format before though?
Thanks.

[Q] [IDEA] Porting HDPI themes to MDPI

Just recently been into themes and knew how they work.
If I use some kind of batch image resizer to resize hdpi png's to mdpi, and put those resized in drawable-mdpi it would work.
Am I correct? I see no reason why it can't be as easy as that.
I resize them with GIMP. Don't know what you use but in theory have to work
well, i don't know any coding language.
Maybe someone could make a script to resize images??
it would be a pain in the a** to resize them one by one
There are many batch resize windows apps that will let you convert a complete folder full more at once..
just google it
Sent on the run from my Magic 32A
It will not work on many .9.PNG files unless you resize them from source. Sorry but I've tried it with my theme. .9.png files are not just normal png files. They are made to stretch and readjust depending on the orientation of your device (landscape versus portrait) and may have what is called 'guides' coded within the images to tell the OS how to display that graphic. If you were to edit that file in any way those guides are over written and it messes up your whole theme. So if you were to use a batch resizer you would probably experience a disgusting looking interface coupled with acore crashes. Unless of course you used the files from source and just created the app from the source code. But who knows you might get lucky and whatever app that you are trying to theme may not use those pesky .9.png files.
Binary100100 said:
It will not work on many .9.PNG files unless you resize them from source. Sorry but I've tried it with my theme. .9.png files are not just normal png files. They are made to stretch and readjust depending on the orientation of your device (landscape versus portrait) and may have what is called 'guides' coded within the images to tell the OS how to display that graphic. If you were to edit that file in any way those guides are over written and it messes up your whole theme. So if you were to use a batch resizer you would probably experience a disgusting looking interface coupled with acore crashes. Unless of course you used the files from source and just created the app from the source code. But who knows you might get lucky and whatever app that you are trying to theme may not use those pesky .9.png files.
Click to expand...
Click to collapse
Thank you for this Binary100100..
In a regular theme, about how many pngs are .9?
and what do you mean "created from source"?
MicroMina said:
Thank you for this Binary100100..
In a regular theme, about how many pngs are .9?
and what do you mean "created from source"?
Click to expand...
Click to collapse
.9.png with guides? I have no clue. For an entire rom... I would say over a hundred easily. There are about a dozen of them just in the Dialer app itself. If you modify any one of them the whole thing get's messed up. It's very delicate. What do I mean create it from source? Download the source code from HTC website on a Linux machine and create the ENTIRE rom from scratch. It's not that hard actually once it's all set up. Before you do the "make" command you would do your xml edits, resizing, color edits, etc. You can tell what a .9.png file is because it has a line on the right of the image and a line on the bottom beneath it. It will have a black pixel at the top and one on the left. So you edit those files the way that you want it and then create the app or the entire rom. If you chose to create the entire rom then remove the parts from the rom that you don't want in your theme and then make an update-script file for your flashable theme. Nobody said that making a theme is fun or easy and in many cases the developers of the theme (like myself) do it just because they did it for their own device and chose to share their work. On average if you want to create an entire theme it will take you at least 30+ hours of work if you are already set up and knowledgable with Linux and image editing. That's how long it took me anyway.
Thank you for this very informative post.
I guess its not that easy after all. Maybe one day I could try it.
Thanks again.
MicroMina said:
Thank you for this very informative post.
I guess its not that easy after all. Maybe one day I could try it.
Thanks again.
Click to expand...
Click to collapse
Oh it's plenty easy, it's just very time consuming to make a theme from scratch and since you can't take a 3kb file measuring 20 x 20 and turn it into 36 x 36 and turn it into a 5.4 kb file without losing resolution (thus defeating the purpose of being on a AMOLED HD display) even if you were to suceed it probably still won't look very good. Think of it like this. Take a standard 800 x 600 video for your non-high definition television. Sure it looks alright but what about if you displayed it on a 1080p television. Is the picture going to look any better? Not really because it's the quality of the video and not the television itself. Now, if you could enhance the video... it would make a huge improvement. But by simply resizing the images wouldn't really do anything for a HD screen (my theory anyway).
But if you build everything from the source code (that is such as Cyanogen's github) and edit all the images from scratch then you shouldn't have a problem. But it is VERY time consuming like I mentioned before. I loathe the idea of upgrading my phone now because that means that my current theme along with all of the work that I've done with it... will be obsolete until I can do it all over again from source. Ugh.

[BOOT ANIMATION] need help with custom boot animation

Ive tried a bunch of tutorials and multiple modifications and file types but im still not able to get my boot animation to work
Im trying to turn this Tsar Bomba (biggest Atom Bomb ever)video into a boot animation
Tsar Bomba
Nothing seems to work. Ive tried playing with the dpi and bit depth settings, reducing the number of png files, using different naming for the PNG files (some tutorials say different things) etc but still nothing
I have attached my bootanimation.zip file to this post
If you can let me know why it isn't working or correct what is wrong I would greatly appreciate it.
I know the resolution is not very good on the PNG files but im just trying to get it to work first and then ill worry about how good it looks
Here are the PNG files im working with
Problem appears to be with your desc.txt. It's not formatted properly. Be sure to use a good text editor (notepad doesn't cut it, try notepad+ if you are on a windows box).
Here is more info that should help you out with the desc.txt
http://www.droidforums.net/forum/droid-hacks/9163-desc-txt-boot-animations-works-like.html
Edit: all though there may be something else going on too. Perhaps problem with the format of the images. i just modified desc.txt to appear how it should and put it on my phone and just get a black screen.
gIMpSTa said:
Problem appears to be with your desc.txt. It's not formatted properly. Be sure to use a good text editor (notepad doesn't cut it, try notepad+ if you are on a windows box).
Here is more info that should help you out with the desc.txt
http://www.droidforums.net/forum/droid-hacks/9163-desc-txt-boot-animations-works-like.html
Edit: all though there may be something else going on too. Perhaps problem with the format of the images. i just modified desc.txt to appear how it should and put it on my phone and just get a black screen.
Click to expand...
Click to collapse
In terms of format I downloaded the clip from youtube and changed it into an AVI then I used virtualdub to get the png images from the clip
what type of format for the png is needed?
spotted your problem first they need to be labled as boot_00001 also there needs to be two folders part0 and part1.
I've edited your bootanimation.zip now it is working.
Cool animation but can you make it loop? For me it only plays once.
davados said:
I've edited your bootanimation.zip now it is working.
Click to expand...
Click to collapse
Thanks a million.
jimbobalu said:
Cool animation but can you make it loop? For me it only plays once.
Click to expand...
Click to collapse
here u go just needed to change a value in the txt file
Is there any limitations on the number of frames the animation can have?
Im curious in order to make it look better
Not to sure but the highest I've created a bootanimation is 162 images plus 27 for the end loop I think its just a matter of playing with it.

[BOOT ANIMATION] finished my boot animation but cant get it to work

i made a boot animation to match the liberty rom. it is the raising of the flag on mnt serabachi on iwo jima. i made the folder structure and the appropriate desc.txt but it wont play on my dx. Can anyone help me get this to work?
sound DO NOT WORK on liberty Rom (dont ask me why cuz i really dont know), i was checking you animation and i recommend to use at least minimum 480x320 image size and max 480x854 , as you may know you can set the animation size on the desc.txt so no need to go high and then going down on the desc.txt , that way you'll have a not heavy and lighter zip file at the end cuz 29MB for a bootanimation is kinda big using only 220 frames.....
P.S. that's one of the reason i use .jpg format instead of .png
thank you for the reply. is there any way to batch resize the pictures? i really dont want to do 220 pics individually. I CAN however, batch rename the pictures to the .jpg extension. I will do that and research how to batch resize.
mattmartin77 said:
thank you for the reply. is there any way to batch resize the pictures? i really dont want to do 220 pics individually. I CAN however, batch rename the pictures to the .jpg extension. I will do that and research how to batch resize.
Click to expand...
Click to collapse
mmm not really the programs i use just do batch rename and format change but not resize :-( ...... i have never have the need on doing it cuz use a program to create my clips and safe those clips with the right size and then create the jpg's out of it
well i found that both gimp and photoshop can batch resize easily so i am going to try that
mattmartin77 said:
well i found that both gimp and photoshop can batch resize easily so i am going to try that
Click to expand...
Click to collapse
mmmm interesting i didnt know gimp does it LoL...thats good to know... thanks for sharing info
draken78 said:
mmmm interesting i didnt know gimp does it LoL...thats good to know... thanks for sharing info
Click to expand...
Click to collapse
well you need a plugin, but its free and so far working great! not only is it resizing all my images, but it is also changing em to .jpg at the same time.
i just finished resizing, im going to try it now.
ok i tested the boot animation again with the resized pictures in a jpg format. the size is now 480x360 because i kept the original ratio, and i made the desc.txt 480x360 at 15fps. i converted everything to .jpg and i removed the audio. i used the liberty toolbox to flash it then i confirmed it was in the right spot using root explorer. i rebooted and all that appeared was a blank screen... any suggestions?
i really would like an answer, bump
Make sure when putting all the files/images/desc file into the zip you set the compression method to STORE and not NORMAL. When my bootanims were just a black screen this is what fixed it.
Explodee said:
Make sure when putting all the files/images/desc file into the zip you set the compression method to STORE and not NORMAL. When my bootanims were just a black screen this is what fixed it.
Click to expand...
Click to collapse
thank you for your help, but how to I change my compression method?
mattmartin77 said:
thank you for your help, but how to I change my compression method?
Click to expand...
Click to collapse
if you are using WINRAR do the follow :
1- select the folders and file to compress
2- right click on you mouse/touch pad (in case you are using a laptop like me LoL)
3- select " add to archive"
4- there you can change you compression method from normal to store
5- add a name to the file and select ZIP
6- click OK
7- you're done.
if you are using 7zip is pretty much the same steps from winrar...
hope that helps
thank you so much it works now! im going to put a few finishing touches on it and post it up!
mattmartin77 said:
thank you so much it works now! im going to put a few finishing touches on it and post it up!
Click to expand...
Click to collapse
Super ..... hope to see your animation soon
a few things for future reference though,
1. what is a good gif creator? i have tried at least 10 websites and at least 6 programs and none do what i want efficiently. i want to open all 220 frames at once and make an animation rather than opening each individually like i had to.
2. what is a good video to jpg creator? i had to go frame by frame and take snapshots for my entire animation last time and i took like 2 hours:/
mattmartin77 said:
a few things for future reference though,
1. what is a good gif creator? i have tried at least 10 websites and at least 6 programs and none do what i want efficiently. i want to open all 220 frames at once and make an animation rather than opening each individually like i had to.
2. what is a good video to jpg creator? i had to go frame by frame and take snapshots for my entire animation last time and i took like 2 hours:/
Click to expand...
Click to collapse
1 - Animated GIF Producer and Ulead GIF Animator so far are the best out there
2 - Video to JPG converter is my favorite and the best for bootanimations.
thank you, thread can be closed.

Categories

Resources