Can someone tell me why doesn't my boot animation work? - Moto X Q&A

As far as I can tell, it has all the right bits. 24 PNG files numbered in sequence, desc.txt in the right format, and ZIP file is set to "STORE", uncompressed. It's just 24 frames from a "starfield" animation I screen capped from LIghtspeed the screensaver, converted to PNG, rotated 90 degrees so it's portrait, and that's it.
I put the file in the /system/media subdir (renamed original to bootanimationold.zip) but the system didn't boot with it. It did the default "shadows over Android" bootanim instead. (the original bootanim was 6.0 default "dots" animation)
It's probably something simple, but it's 2AM and I can't think. If y'all spot my stupidity first, please enlighten me.
EDIT: I figured it out. I forgot to give it permissions to "others" (read). By default, files copied in only has OWNER and GROUP. I have to give "OTHERS" read permissions. Then it works.

Related

{SOLVED}Splash Image file size issue{SOLVED}

Attached is a "zip" file containg two bmp files. They are the exact same size 28 dpi, 320 x 240
One I created with a webgraphic in Photoshop. The other is from Molski's kitchen as a sample image. Problem is whenever I try convert them it says file too large? Anyone have any ideas?
Molski's script (splash1):
Make sure you got a file named splash1.bmp in your splash folder!
Press any key to continue . . .
Converting Bitmap into .nb SplashScreen file....
LZ77 compress \DEVPACK\splash\splash1.bmp to C:\DEVPACK\tools\splash\splash1\9d0
00000-HTC.nb...
Input file: 230456 bytes
Output file: 75679 bytes (32.8%)
Warning: This bitmap is too big to fit into flash memory
Done!
Moving first SplashScreen file to Splash folder in the ROMDUMP....
Done!
Press any key to continue . . .
Click to expand...
Click to collapse
I also tried using "image convertor" and flashing the resulting nb file. Both ways stop at 80% when flashing.
try to decrease colors to 32k, then save as bmp.
Must be 24 bitmap
If you are absolutely sure that the images are 240 x 320 save them as 24 bitmap images (Use MS Paint)
nothin said:
try to decrease colors to 32k, then save as bmp.
Click to expand...
Click to collapse
Sorry I am confused by your statement, they are 8bit RGB, and they are saved as 24bit bmp. How do I reduce color to 32k? This is probably the answer I am looking for, reduced color would be more compressible!
badbert said:
Sorry I am confused by your statement, they are 8bit RGB, and they are saved as 24bit bmp. How do I reduce color to 32k? This is probably the answer I am looking for, reduced color would be more compressible!
Click to expand...
Click to collapse
I use GIMP (so may work different with other graphic programs) but here's a couple of tricks:
* Open the .bmp up and then save it as a .gif. Close down that graphic window, and now open a new one with the .gif you just saved. Now save that to .bmp. Just doing this will sometimes flatten and modify the graphic enough to get it to compress and fit
* Save your .bmp to .jpg and really compress it (yeah, it gets grainy though. This is what I had to do to the HTC screen in Faria's Rom Kitchen and my Crossbow Reloaded. I think I put it down to like 40% or 60% before it would fit). Once you do that, now open that file back up and save it as a .bmp
* As stated above, play with switching between RGB And Indexed, and changing the color pallets.
Hope these ideas help...
Thanx mfrazz I'll give that a try!
mfrazzz said:
I use GIMP (so may work different with other graphic programs) but here's a couple of tricks:
* Open the .bmp up and then save it as a .gif. Close down that graphic window, and now open a new one with the .gif you just saved. Now save that to .bmp. Just doing this will sometimes flatten and modify the graphic enough to get it to compress and fit
* Save your .bmp to .jpg and really compress it (yeah, it gets grainy though. This is what I had to do to the HTC screen in Faria's Rom Kitchen and my Crossbow Reloaded. I think I put it down to like 40% or 60% before it would fit). Once you do that, now open that file back up and save it as a .bmp
* As stated above, play with switching between RGB And Indexed, and changing the color pallets.
Hope these ideas help...
Click to expand...
Click to collapse
I have been trying this in variations for two days, I still can't get that little devil to work!! Even changed the color from red to blue to green. If you use indexed color you can not save it as a 24bit bmp. So I saved as 8bit, wouldn't work. Reconverted it to 24 bit, didn't work. Gif file then bmp didn't work... Please I really want to know, I am pretty adept in PhotoShop, and I like to think I am pretty creative. If I can figure out how to make this work, I will make some unbelievable cool splash-screen/Logos!! I will even take requests!!
SOLVED!!
http://forum.xda-developers.com/showthread.php?t=284006
Note: If your own bitmap is compressed and the HTC_Logo.nb exceeds the 64K limit, the bitmap is too complex. The Lz compression can't handle it.
Save the BMP as a gif file, then open the gif and save it again as a bmp. The compression of gif is enough to simplify the bitmap.
Then try 1b-1c again.
If it still is not enough, then you'll have to convert to jpeg (try lowest compression first!) and re-convert it to BMP, after that try 1b-1c again..
Click to expand...
Click to collapse

Request: Boot Animation

Any one who knows how to create a bootanimation, can you help me out? Please.
I'm no good at this stuff. But I had an idea for a boot animation for the Vegan ROM.
I wanted a bootanimation that had the 3rd evil ex from Scott Pilgrim? You know, Todd Ingram (the Vegan).
I found a couple of animated Gifs and as I understand it we can also use youtube vids. Can anyone make me one?
Thanks in advance
I made this one at Gifsoup. It's not the greatest but that last second where his hair is glowing looks cool or even the part where he's lifting up scott pilgrim.
GIFSoup
Open up a boot animation zip file and look what's in there. Nothing more than a .PNG file for each frame of the movie. The description file shows the frame size of the movie and the frame rate in fps. The folder part0 is for non-repeating animations and the part1 is for the repeating part of the animation.
Here is a good link to help you out.
http://www.androidmobilesupport.com/tutorials/bootanimation
I put the bootanimation.zip into /data/local and reboot!
Worked for me. This is what I made for mine http://goo.gl/xtNBZ
I can upload it if anyone wants to use it. I take no credit for creating the initial .gif but I extracted it to .png
Make sure the desc.txt is made correctly!
Good luck.
I am intrigued by the prospect of making my own files...the informational link in this thread is broken, can someone elaborate on the specifics of the desc.txt file mainly the values before part0 and part1? Also, does the framerate value in the first line mean that it will go through 10 of the files in the part0 folder every second? Lastly, I am assuming that the size of the png files should match the resolution listed in the first line of the desc.txt.

[Q] Help With Bootanimation

Trying to create my own bootanimation based on one of my favorite shows stargate
So far i have all the .png files and have a uncompressed zip file were i have
two folders and desc.txt file
folders are
part0
part1
desct.txt
480 800 30
p 1 0 part0
p 0 0 part1
Issue i am having is
1. that when i try to boot this up the animation plays whats in part0 but gives me a black screen when it gets to part1
2. the opening sequence lags horribly
I have tried everything i can think of to make this work and nothing.
Tried taking a working bootanimation and simply switching out the .pngs and same effect
To my knowledge all the files are the same size
Can a few of you guys take a look and inform a noob whats going wrong here
http://www.megaupload.com/?d=IWOYW658
Edit: Seems i posted in the wrong forum .. Can mod move this to Themes and Apps please. However don't let this stop you from commenting and telling me what might be wrong
The reason it goes black at part1 is due to your numbering. Instead of part1 starting with 10060 it starts with 11063. There shouldn't be any gaps in the numbering. As for the performance, you can try a couple of things.
Firstly, try reducing the quality of the images if possible, they are pretty big and I've found that lowering file size improves boot up speed. Secondly, try resizing the images. You can reduce the size but still fill the screen, your desc.txt dictates at what size the animation plays, therefore if you resize to 256x256 (Or whatever you like) it'll still be stretched to fit the whole screen. Quality will be reduced but the speed should increase.
Oh ok Thanks for the info ... I thought that the files only had to be in sequence in the folder there in .. Never realized they had to be a constant sequence
Will report back here once i fix it up

[Q] Custom Boot Animation

Okay,
I was fiddling around with boot animations on my sensation an made a sweet one that i like from a couple of youtube vids all credit goes to them ie korea android ad and i think a fellow in a design class made the other one (look below i have attached) but when i tried to do the same for my xoom i got stuck in the boot animation where it kept recylcing the boot and never actually booted into the rom... to say the least i had to do a nandroid to get back just from a boot animation which kinda sucks... anyway ill lay out the specifics
1. I used jpgs, same as with my sensation they seem to work just as well as .pngs but keep the zip much much smaller and dont look choppy
2. I use the original boot animation from the tiamat 2.2.2 version as my base zip file which i edited with my pictures
3. I used the actually spec'd dimensions of the xoom of 1280 x 800 for the pictures, however i noticed that the boot from tiamat used 704 x 440 maybe that could be it (i will be trying that now and report back)
4. as my boot time took a while i thought i may try to use 900 images (a bit dumb i know, in my sensation i use 400 and it gets through them nicely, each pic is a pretty quick segment tho) (i will edit the same amount as my sensation and try again)
can anyone shed some light onto why mine may not have worked other than the amount of pics..
here is a youtube link for what i actually made
boot
i tried to just change the resolution to 704 x 440... and i deleted half the images... and tried again... again it kept replaying and never actually booted into the rom so again i am nandroiding lol
You will need to edit your desc.txt file
1408 880 24
p 0 0 part 0
put all your pictures in folder named part0.
Then zip folder using 7zip and make sure you choose store as compression method.
Hope this helps.
i have done that but used done3 as my folder name.. as i said i used the tiamat moray boot animation as my base zip =]
the name of the folder inside the zip shouldn't make a difference especially as i got it to play but it keeps playing and playing a small bit and not the whole file nor booting into the rom...
on all my bootanimations, it helps if you make each image 960 x 600.
then on your desc.txt file, make the screen size 1280 x 800 (the correct size for the xoom).
sometimes if there is an extra pixel hanging off it could cause you to blackscreen or bootloop.
also, sometimes you'll get a bad jpg file, that could also cause the black screen or bootloop.
best suggestion would be to get the desc.txt file from a known working bootanimation and just adjust the frame rate. be sure to hit enter for a new line after you have put in the info for the last part folder.
oh, and a little trick i found. use the bootanimation installer to push the bootanimation, then restart the xoom and be sure to close the bootanimation installer.
leave your xoom connected to your pc. if you do get into a bootloop, wait a few minutes for it to loop then just reopen the bootanimation installer and push a known working bootanimation. after a few seconds the new bootanimation (or default one) should show and should boot normally. this is my procedure.
Sardo Numspa said:
on all my bootanimations, it helps if you make each image 960 x 600.
then on your desc.txt file, make the screen size 1280 x 800 (the correct size for the xoom).
sometimes if there is an extra pixel hanging off it could cause you to blackscreen or bootloop.
also, sometimes you'll get a bad jpg file, that could also cause the black screen or bootloop.
best suggestion would be to get the desc.txt file from a known working bootanimation and just adjust the frame rate. be sure to hit enter for a new line after you have put in the info for the last part folder.
oh, and a little trick i found. use the bootanimation installer to push the bootanimation, then restart the xoom and be sure to close the bootanimation installer.
leave your xoom connected to your pc. if you do get into a bootloop, wait a few minutes for it to loop then just reopen the bootanimation installer and push a known working bootanimation. after a few seconds the new bootanimation (or default one) should show and should boot normally. this is my procedure.
Click to expand...
Click to collapse
Sweet ill try that.. I tried 3 dimension sizes the true size, and 2 dimensions i got from boot animations with the roms.. I reduced the number of jpgs..
One last thing what setting do u choose for your jpg in photoshop? Or do u jyst use pngs.. I can use setting of 6 medium sized compression for me sensation even tho it works for my phone that may be affecting the xoom
Sent from my mind control device
doesnt really matter the file size. we've made bootanimations with upwards of 7 parts and 200+ mb.
i would say try it first with pngs and if it works then convert to jpgs. i use a file sizing program to make sure of the picture ratio, it gets rid of any of those hanging pixels.
Sardo Numspa said:
doesnt really matter the file size. we've made bootanimations with upwards of 7 parts and 200+ mb.
i would say try it first with pngs and if it works then convert to jpgs. i use a file sizing program to make sure of the picture ratio, it gets rid of any of those hanging pixels.
Click to expand...
Click to collapse
Well considering i set canvas size with photoshop that constricts pixel dimensions quiet well but ill take ya advice and try that and i might split it up too
Sent from my mind control device
also remember that there is a file number limit per part (folder).
looks good
Success it would seem.. Jpgs are fine.. I think i have found the upper limit of pictures no matter the amount of folders.. The 130 per folder helped.. Will update when i get home from work
Sent from my mind control device

[Q] Sony Xperia Z1 custom bootanimation not working, black screen

Hello. I have Sony Xperia Z1, Android 4.4.4, build number 14.4.A.0.157, unlocked bootloader, dual recovery, stock ROM with 4k video and timeshift video mod and I made my own bootanimation in Adobe Photoshop CC. What I have done:
Animation created in resolution 1920*1080, as Z1´s display resolution.
Animation created in JPEG image sequention (JPEG settings - tried quality 8, 9, 12 with optimalized and standard compressing)
Animation has two parts, first part contains 153 pictures (called part0), I tried making only 99 pics too, second part (called part1) contains one picture that stays until phone succesfully boots. I tried resizing the image to 1280*720 like i found that resolution in Jarvis custom animation and still nothing chnanged.
Animation zipped with WinRAR.
Animation called bootanimation.zip (I have NOT made that mistake with bootanimation.zip.zip)
Animation has 7.67MB zipped, unzipped 11.4MB.
As I read yesterday someone told me I have to make desc.txt file in Notepad++, make it ANSI coded and convert it to UNIX format and make there last blank line. Done
Permissions I tried to set was -rwxrwxrwx and -rw-r--r--
Here you can download the animation: http://ulozto.cz/x8RU4UJM/bootanimation-zip
The problem is when I power on the phone it shows me Sony logo, then it vibrates two times (as normally does) and then shows black screen. And then It asks me for PIN etc. and phone is succesfully booted. But why that black screen? I set (I hope) everything good, what I did not tried is change the resolution of all pics to smaller (HD or etc) because original bootanimation is 960x540 and that working Jarvis is 1280*720 (and shows smaller so it looks pretty weird and also with bad framerate so it looks laggy) and i do not tried changing image from JPEG to PNG but original bootanimation is in JPEG as mine so I dont think it will help. Thank you all for your help guys!!! And of course If you liek that and you will solve my problem I can do the same bootanimation for you with your own text but it must have 6 letters as mine
EDIT:
I tried bootanimation factory and now my bootanimation works but ends after the image about 100...
Can you create bootanimation for me

Categories

Resources