[Q] Custom Boot Animation (Black Screening) - Android Software/Hacking General [Developers Only]

Hey everyone, it's my first time creating a custom boot animation and I've run into some trouble. After placing my animation on my device whenever it should play I just get a black screen. With any other animation, like one from the internet, it works fine. I've tried changing the resolution of the frames and the settings in desc.txt to my phone's native resolution (540x960), but to no avail. I've included the .zip file for it in my post. Can anyone tell me what I've done wrong?
EDIT: My phone is not rooted, by the way.

Try this...fixed and it works for me now

Thanks! That seem to have fixed it, but there is a white flash whenever part2 loops, and a few black flashes/glitches in between parts. Is there any way to fix this?
Also, what exactly did you do to it?

No, seriously, how did you do that? D:

Answer maybe
Im still pretty new to this too but I had an issue with this the first time I repacked an animation. (the Paint one, cuz i wasnt on HTC)
When I rezipped it the sanim.zip refused to work. After looking at every other boot animation file I had, and learning a lot, i think, i noticed the zip files were all set to store and not compress the files. so when you zip a file, however you do it, set it to "no compression" or "store" on the compression settings. otherwise, i think what happens is your phone has to decompress every image and by the time it would be done with that youve booted.
I used 7zip to do it and it was pretty straightforward.

Related

Second Boot Screen(Android Screen)

Is there anyway to change the second boot screen?
http://forum.xda-developers.com/showpost.php?p=3133153&postcount=91
prolly not talking about splash2, but the Android animation and logo after splash1 & splash2. But i could be wrong.
Theres a folder in framework-res.apk/assets/images that seems to contain the images used in the second boot screen. I haven't had a chance to play with it to see if anything happened. I guess I'll try now and get back to you in 10 minutes. =]
ok so far, I was able to change the second boot screen image without using fastboot, and just modifying the android_320x480.png itself in framework-res/assets/images, but the animation goes out of whack when trying to replace boot_robot.png and boot_robot_glow.png with other images. I'm going to keep at it to see if i can get anywhere.
Hi, i edited the boot_robot_glow.png in PS and it shows up fine when booting
EDIT: I've edited the android_320x480.png but when it boots it shows the original then flicks to the modified one
EDIT: needed to replace boot_robot.png in res/drawable aswell!
Attached images aren'y quite aligned, moves about when booting :S
EDIT: Everything's aligned now
ximonx said:
Hi, i edited the boot_robot_glow.png in PS and it shows up fine when booting
EDIT: I've edited the android_320x480.png but when it boots it shows the original then flicks to the modified one
EDIT: needed to replace boot_robot.png in res/drawable aswell!
Attached images aren'y quite aligned, moves about when booting :S
EDIT: Everything's aligned now
Click to expand...
Click to collapse
would you mind telling us how to replace the files?
adb pull /system/framework/framework-res.apk to your computer,
rename it to framework-res.apk.zip
open framework-res.apk.zip
copy all 3 files into /assets/images
copy boot_robot.png into /res/drawable (in assets/images aswell)
(Uploaded my new boot_robot_glow to use with above files)
ximonx said:
adb pull /system/framework/framework-res.apk to your computer,
rename it to framework-res.apk.zip
open framework-res.apk.zip
copy all 3 files into /assets/images
copy boot_robot.png into /res/drawable (in assets/images aswell)
(Uploaded my new boot_robot_glow to use with above files)
Click to expand...
Click to collapse
Cool... Thanks guys!
Used your images and created a burning Droid for the boot up image.
Adapted the code slightly to run the commands on the phone itself then copied the zip file off the SD card through usb.
Thanks
any pitfalls?
does the image have to be a certain size before 'push' ing it back to the phone?
I like your design so Ill start there, thanks for sharing the work, people have been speculation on how to change this and you did it.
bhang
I'd play it safe and keep everything the size it is, although if you have the dev BL then go for it. It will probably start from the same location on the screen but extend further across and down
This will surround the that icon better than the round glow i made this just now. Looks better just change the hue and make it red if you like.
I can confirm that this work fine on RC30 and ADP1 (there is no reason why it shouldn't but I bet someone will ask...).
So i went ahead and tried to modify the images that make up the animation, got it all repackaged, and pushed it onto the phone. I rebooted and my animation came up like a charm, looking pretty cool, but it got stuck there and the animation kept running. I tried rebooting it several times and then restored it using a backup which fixed it. I am still trying to figure out what i did wrong. Could someone take a look?

[Q] Boot animation creation - What is being done wrong?

Let me preface this statement with the chance that I may have put this in the wrong thread entirely and if the powers to be deem it to be moved, so be it and I apologize for posting improperly.
Ok, that out of the way, I have an issue! I have taken my time to go through and create a "fade in" effect with a logo that I would like to replace my boot animation with. First and foremost, here are my specs:
Rooted nexus one
Locked bootloaded
Stock ROM, FRF91 2.2
I've examined the stock animation and the custom animations that came included with the boot animation changer app. I have no idea what I am doing wrong but I am sure it has to do something with the desc.txt file. If anyone would be so kind as to modify the attached files (probably just the desc.txt), it would be appreciated. Better yet, explain what I am doing wrong and I will do it myself. Attached is bootanimation.zip with a compression type of *store*, including ~100 .png files.
Much thanks
Bump, ~50 views and no reply.
Bump. ~100 views..
Mods / Admins
Please close.
I haven't read your .txt file because I'm at work, but did you compress the .zip? And make sure you're not using transparent images. I heard it causes problems.
Did you try zipping up just the contents? When I unzip the file, it looks like -
/bootanimation/bootanimation/part0/
/bootanimation/bootanimation/desc.txt​
Looking at a known, working bootanimation, it looks like this -
/bootanimation/folders
/bootanimation/desc.txt​
This is a common problem when devs first start out. I've done it myself when signing a new ROM and trying to flash it.
Not too sure what was wrong other than maybe the "false" line breaks in notepad or something.
Opened a shell in cygwin, nano'd the txt file and made my changes. Wrote it, and dos2unix'd it. Proceeded with a "zip -r -0 part*/*.png desc.txt" and everything is working. Although after I figured it out, I appreciate your responses.
its not working for me D:

help with custom boot animation

I can change the boot animation with np thanks to imnuts for his kernel. where im having issues is I cant get the dots boot animation to work on my wifes charge. you can find dots in the uot kitchen under boot animations. its labeled uot kitchen and is second from the bottom on list. every time i try to either flash or just replace files with root explore the boot screen goes total black. i change back or change to a different custom boot and everything is fine. Is there anyway i can fix this or can anybody offer any suggestions on how to get it to load right?
make sure you have the .zip placed in /system/media Also the file needs to be renamed to sanim.zip
i think you miss understand. i do that and my boot screen is black the entire time. using the dots boot animation. i delete file adn phone returns to normal or i change to a different boot animation im fine. im just having trouble getting the 'dots' to work right. but ty for your help
make sure permissions are rw-r--r-- for the sanim.zip file. If that doesn't work there might just be something wrong with the .zip file
Undzis said:
i think you miss understand. i do that and my boot screen is black the entire time. using the dots boot animation. i delete file adn phone returns to normal or i change to a different boot animation im fine. im just having trouble getting the 'dots' to work right. but ty for your help
Click to expand...
Click to collapse
You should be careful in using bootanimation on the Charge, some don't work and may even bootloop your phone. I have learned this the hard way. If you found a custom bootanimation design just for the Charge then it's safe to use otherwise look around to see which one ppl suggest to use or have used.
i understand that i could boot loop the phone but that is easy fixed. when i say screen goes black i dont mean boot loop. phone will boot just with a lack of any animation.
with all do respect i know how to change the animation. i do it to my phone from time to time with no issues. Im just trying to get a specific boot animation to work on my wifes charge. i check the desc.txt and everything looked ok to me but this is what it looks like.
480 800 30
p 0 0 part0
i org found the animation in uot kitchen. its the second to last animation on their list. its just colored dots changing around the android robot. i could try to upload the file i have if that will help. But if anybody could hel get it working i would appreciate it.
Undzis said:
i understand that i could boot loop the phone but that is easy fixed. when i say screen goes black i dont mean boot loop. phone will boot just with a lack of any animation.
with all do respect i know how to change the animation. i do it to my phone from time to time with no issues. Im just trying to get a specific boot animation to work on my wifes charge. i check the desc.txt and everything looked ok to me but this is what it looks like.
480 800 30
p 0 0 part0
i org found the animation in uot kitchen. its the second to last animation on their list. its just colored dots changing around the android robot. i could try to upload the file i have if that will help. But if anybody could hel get it working i would appreciate it.
Click to expand...
Click to collapse
Upload the file and i will try to get it working for you.
endless! your awesome thanks bud. been working on that theme too. i got a lot of images done but keep messing something up when i recompile. its still work in progress. But thanks for your help. here is the file im working from. Im sure im over looking something simple.
Undzis said:
endless! your awesome thanks bud. been working on that theme too. i got a lot of images done but keep messing something up when i recompile. its still work in progress. But thanks for your help. here is the file im working from. Im sure im over looking something simple.
Click to expand...
Click to collapse
Here's the fixed animation, it's a little choppy, but that's just how the images are positioned. If you want to try to speed it up go ahead and change the frame rate to 45 or 60 instead of 30. And what type of errors are you getting when trying to recompile your APK's?
sanim.zip
MD5: 0FEAFE86E9D9822463F5A319CCA8BA5E
awesome man, thanks. ill try it out and let ya know how it does. Also, im not getting any errors that i know of. It complies fine as far as i know. phone just boot loops.
thanks again. i got your ver to work fine. what program are you using to edit and make the animations and decx file? i just tried to take your file and open the decx file and change 30 to 45 to see how it is and it just black screen boots on me again.
Undzis said:
thanks again. i got your ver to work fine. what program are you using to edit and make the animations and decx file? i just tried to take your file and open the decx file and change 30 to 45 to see how it is and it just black screen boots on me again.
Click to expand...
Click to collapse
Just used winrar to extract the file then to repackage. Make sure you use 'store' as the compression type when placing the desc.txt back into the zip.

[Q] boot and shutdown animation headaches

For starters I've been trying to change my boot animation, something I put together myself. Tool used to swap the repacked bootanimation.zip was Root Explorer and I do have Superuser/ root permissions and it all appeared to swap over without fuss but somehow doesn't show booting the phone. While I successfully killed off the old animation. mine is not appearing. The bootanimation file being used is .pngs with the original file structure, all I did was overwrite existing ones on my pc with my preferred images so no need to overwrite the existing desc.txt file. Any suggestions on where I boofed things?
The shutdown animation I can't find, browsed the system/media and data folders without joy. Could any of the learned members here be able to direct me to where the shutdown animation is hiding as I so hate telco provider logos left on phones not tied to contracts?
Any assistance would be greatly appreciated and thanks in advance.
This little tool did the trick for the boot animation and should work for the shutdown animation when I find the little sod.
http://forum.xda-developers.com/showthread.php?t=1234611
Shut down animation is in the power off apk I believe I made it black and white in my theme back in the day
Thanks for the tip there Samno, looks I'm off googling now to see how to recompile Apks.
You can just drag and drop in winrar just don't change the compression settings should work as long as there named the same and in the right format, won't hurt for you to learn though
Learning by my errors by the looks of things, unpacked and repacked with Winrar and a rename to apk utility found here after doing my file swap and now getting reboots instead of shutdowns.
I should have kept an eye on this thread before charging off like a nutter.
Thanks again Samnos.
Sorted the reboot issues as I hadn't dumped off the original APK and just edited the archive to replace my ingloriously modified version..

customizing boot anamation problem

ive searched and where i found plenty people wit custom boot anamation problem, none were exactly mine. Im trying to edit the s2 boot anamation. I opened the zip and put each frame into paint and made my changes. The anamation has 2 parts. Part0 and part1. I only edited part1. When i put it all back together and install it will only play part0. It wont continue on to part1 as usual. Whats the deal?
I've got it. 3 F***ing hours investigating and finally got it. I'm posting this here for anyone that may run into the same situation. Maybe save someone some trouble. Wish I could hit my own thanks button...lol
All the files in the boot anamations are uncompressed. Even though they are .zip file they still arnt commpressed. Whenever I edited the frames and replaced them back into the bootanamation.zip they would be compressed by 19% or so. I assumed the phone cant read a compressed file on start-up. Everything's working perfect now. Finally have my own "TRUE" custom boot anamation. Just create your zip file with "no compression" Your welcome

Categories

Resources