Homemade Slimroms Boot Animation - General SlimRoms Discussion

So while I was waiting for my homemade slimrom to compile, I used my time to put together this boot animation.
Download link:
http://www.mediafire.com/download/yrommhqq68j5dy2/slimrom.zip
It's very, well, slim. Kind of keeps with the overall tone of Slimroms, I think.
I used gimp to create each frame, and then zipped them together with no compression. You are welcome to break down the zip if you would like to see the setup. Pretty simple really. While I am using it on my SGH-M919, with a 1080x1920 screen, the resolution of this animation is actually 480x800. Your phone should automatically center it on your screen, and in this case, undersizing it helps make it look even slimmer.
Be sure to rename it bootanimation.zip and drop it in your /system/media/ folder if you want to use it on your phone.

Another SlimRoms Boot Animation.
Well,
Provided you guys aren't getting tired of these, I made another Slim Roms boot animation. I use Gimp to make each frame, and then zip them together.
Download the Zip file:
http://www.mediafire.com/download/5kq2rn7ny1epmi7/SlimHD.zip
If you unzip the file, you will see two folders, part0 and part1, with each frame in it, sequentially numbered 1000.jpg, 1001.jpg, etc. You will also see the desc.txt file. These boot animation files are really simple. It is the artwork that is the hard part. Personally, I don't think art is my God given talent, but as long as he gives me the time to do it, I'm still learning how to make things that are fun and look good.
The ascii art was made by someone in the SlimRoms team, I didn't make that one. I simply used Gimp to edit it, swirl it, pinch it, and color it. Enjoy!

Related

Boot animations

IF ANY ONE HAS SOME OR HAS AN IDEA OF ONE PLEASE POST. WHAT I'M LOOKING FOR IS A BLACK BACKGROUND WITH RED HTC LETTERS THEN TO THE INCREDIBLE EYE CAMERA THING... BUT I HAVE NO IDEA ON HOW TO MAKE BOOTS
-------------------------------------
Sent via the XDA Tapatalk App
You might of have caps lock on by accident, just keep a look out for that (some people can get bent out of shape about it... not me though, because I am looking for some sort of specs/guide for boot animations). So far I've only seen boot animations ported from other phones, which while cool, there is something special about making exactly what you want.
There is a lack of info out there (I believe), because this really isn't something meant for end-users (compared to creating backgrounds or ringtones). Feel free to PM me if you have info on creating custom boot animations (we need to celebrate the rooting of our beloved Incredible =p).
DeeBG said:
You might of have caps lock on by accident, just keep a look out for that (some people can get bent out of shape about it... not me though, because I am looking for some sort of specs/guide for boot animations). So far I've only seen boot animations ported from other phones, which while cool, there is something special about making exactly what you want.
There is a lack of info out there (I believe), because this really isn't something meant for end-users (compared to creating backgrounds or ringtones). Feel free to PM me if you have info on creating custom boot animations (we need to celebrate the rooting of our beloved Incredible =p).
Click to expand...
Click to collapse
There is loads on info on this stuff. You just have to search. Below is an example desc.txt file. This describes how to construct your desc.txt file and what everything does.
#example desc.txt
Code:
480 800 15
p 1 0 android
p 1 5 end
p 0 0 loop
The first line is Width, Height and Frame Rate respectively. The width and height do not need to be the size of your screen in case your frmaes are an odd size. The remaining lines describe your folders that contain the animations and what to do with them. Each remaining line begins with the letter 'p' as a separator. The first digit after the 'p' defines how many times to play through the animation. A zero (0) in that position will cause that animation to loop indefinitely until the boot process is complete. The second digit defines how many frames to pause before moving on to the next line or animation. The time elapsed is defined by your frame rate and the number of frames paused. For example, if your frame rate is 15 and you choose to pause for 30 frames, the time elapsed will be two (2) seconds. The last element in the line is the folder name to pull the animation from.
The pictures in your folders are the individual frames for your animation. They can be either .JPG or .PNG file types. If your finished product ends up being too large, you can usually reduce the size by converting the frames to .JPG format. The only other requirement is the file names must follow a sequential number sequence incrementing from start to finish.
If you wish to add sound to your animation, it should sync to your storyboard. The sound will start playing immediately after the boot animation starts and will play to either it ends or the phone finishes booting. The audio will not loop unless it is looped in the audio file itself. The audio file name must be named android_audio.mp3 for it to be recognized. The only other requirement is that one of your folders MUST be named 'android'.
It is important to note that when creating a boot animation, the finished product must be placed in a zip file named bootanimation.zip (with the exception of the audio file). However, when doing this always select the 'store' method for compression so the data is NOT compressed. If you mess up, you will know by the blank, black screen you see while booting.
Both the bootanimation.zip and android_audio.mp3 need to be pushed or copied to /data/local/ for the system animation to be overridden.
If you have pushed a boot animation previously do you need to remove it? If so what are the commands for adb. Thanks for the instructions they were very clear for us noobs..
Sent from my ADR6300 using the XDA mobile application powered by Tapatalk
No you can just overwrite with the new one.
Sent from my HTC Incredible using Tapatalk
I used these two threads to get my new animation. The second one over at AndroidForums has a ton to choose from. Just gotta look through the pages.
http://forum.xda-developers.com/showthread.php?t=682860&highlight=boot+animation
http://androidforums.com/htc-incredible/70040-incredible-boot-animation.html
This is the one I currently use:
http://www.youtube.com/watch?v=9SnsXKFvGQs
very thanks

Updated Voodoo5 Kernels for USCC Mesmerize

I'm going to put a link to this here, because it's relevant to the Mesmerize, but resides in the Fascinate forum. IMO, the Voodoo 5 kernel is awesome and should warrant some attention in the Mesmerize forums.
http://forum.xda-developers.com/showthread.php?t=871915
Nice! Finally got our spot on the forum.....this should help a ton! We should compile a list of all threads that belong here, i know it has been confusing to keep everything straight up till now.
Custom boot animation to go with kernels
I posted this in response to some questions in the other forum so I thought I would paste it here also.
OK, back at the house so here's a quickie on custom boot animation that you can add while using these kernels. I'll post a link so you can check one out.
First, you will will notice it's just a zip file named bootanimation.zip. It is a zip file that is NOT compressed. So when you zip your files up, remember to select store for compression level. This tripped me up for an hour when I first tried this out.
Inside is two folders labled part0 and part1, and a text file named desc.txt. Part0 is the first part of the boot animation that is run one time. Part1 is the part of the animation that can loop over and over depending on how long it needs to and how long it is told to. These two parts need to flow together to look good, so be mindful of this. Also, you don't want to make your boot animations too long. They take up space that can be very valuable on phones that have little to begin with. Ours don't have a problem, but some do.
Inside the folders is a series of PNG files. They are named and numbered. Keep it simple. These are boot_000003.png on up to the end. Make sure you have the zeros in front to keep the spaces, otherwise they could get played out of order. Keep you png files the same specs as your phone. Ours is 480 x 800 pixels. Make sure you work in pixels not inches or cm.
The desc.txt file can be a little confusing at first also. It's just numbers and letters. This particular one looks like this:
480 800 30
p 4 0 part0
p 0 0 part1
That just tells the phone it's looking at pictures that are 480x800 pixels and it's going to go thru them at 30 frames per second (15 is commonly used also). I'm not sure what most of the rest is for other than part0 and part1, obviously, but the second 0 is for looping. 0 tells it that part1 can loop infinitely if need be. So it will continue to play as many times as it needs, until the phone finishes booting.
This particular boot animation was a quickie that I downloaded from UOT Kitchen by going through the process of not selecting anything except the boot animation, finishing the build as a cyanogen based ROM, and the downloading the package. Once it was done, I just modified the png's and the txt file and it was ready. Stored it in a zip file and I put it on my sdcard. From there you can just move it to /system/media. I just use root explorer to do this, but others may want to push the files. Do it however you are comfortable. Once there, all you do is reboot and as long as your kernel is compatible, these are, then it will play the bootanimation.
This is the nexus one's colorful x. Nothing fancy, just a quick one to show you how it's done.
http://dl.dropbox.com/u/14910866/bootanimation.zip

boot animations - should I use png or jpg what's a better decision ?

this is more of a technical question for performance reasons.
.jpg's in my experience can be optimized to be a much smaller file size than a .png.
Granted the quality of the image might suffer a little, but the question here is why would anyone choose .png as their boot animation format since there is no benefit in using the transparency information. Or is there?
Secondly... does the android system somehow process a png animation faster/ smoother than a jpg animation? logic would say no, since the jpg file size is smaller , hence the system can load each frame much faster...yes / no?
One of the biggest issues i have in putting in the effort of making a kick ass boot animation is the loading times due to the large file sequence that it might require...effectively making boot up times logically longer since on top of loading up your system, it also has to load up your boot animation. I find that to be kind of foolish, and defeating the purpose of a boot animation if you know what I mean. Jpg with its optimization options make them a little more ideal for long animations but i want to see what you have to say about all this.
tsakali said:
this is more of a technical question for performance reasons.
.jpg's in my experience can be optimized to be a much smaller file size than a .png.
Granted the quality of the image might suffer a little, but the question here is why would anyone choose .png as their boot animation format since there is no benefit in using the transparency information. Or is there?
Secondly... does the android system somehow process a png animation faster/ smoother than a jpg animation? logic would say no, since the jpg file size is smaller , hence the system can load each frame much faster...yes / no?
One of the biggest issues i have in putting in the effort of making a kick ass boot animation is the loading times due to the large file sequence that it might require...effectively making boot up times logically longer since on top of loading up your system, it also has to load up your boot animation. I find that to be kind of foolish, and defeating the purpose of a boot animation if you know what I mean. Jpg with its optimization options make them a little more ideal for long animations but i want to see what you have to say about all this.
Click to expand...
Click to collapse
There are quite a few posts out there in this section explaining why pngs over jpg. Look them up, will explain why png format was choose for android. My two cents on this...if the bootanimation is so big that it makes you think about alternate formats...then it probably needs revisited. You wont believe how much you can optimze your file with a combination of lesser images and a different fps in the desc.txt.
k will look them up, but i didn't find anything on this actual subject matter.
I am already aware of the points you mentioned and I am already utilizing them to the best of my knowledge, this is just another point of optimization i want to look into.
theidlemonk said:
There are quite a few posts out there in this section explaining why pngs over jpg. Look them up, will explain why png format was choose for android. My two cents on this...if the bootanimation is so big that it makes you think about alternate formats...then it probably needs revisited. You wont believe how much you can optimze your file with a combination of lesser images and a different fps in the desc.txt.
Click to expand...
Click to collapse
Quite a few? I can't find any. If you would be so kind to share a link

Animated Status Bar Pull Down

Just wondering if anyone is interested in this? I learned how from the original back on the Motorola Droid and have made it work for other phones. I used to be a themer but have since been spending my free time on other things. However, I still have the urge every once in awhile. For those not familiar, this will create a little looped video playing on the pull down screen.
Guide:
Instructions for Windows users... (Linux users: You should be able to follow along, as the idea is the same in both)
Things you will need:
The knowledge that whatever you do with this information is YOUR responsibility and not mine, nor the creators / developers of the mod and / or rom.
Basics -
Working computer.
Time.
Patience.
Animation images / Idea for making your own animation.
Computer Programs:
Java: http://www.java.com/en/download/index.jsp
Apk Manager: http://forum.xda-developers.com/showthread.php?t=695701
Text Editor (Suggested - Notepad++: http://notepad-plus-plus.org/download/v5.9.6.2.html )*
Archive Managing program (ie WinZip, WinRar, 7zip) (Suggested - 7zip: http://www.7-zip.org/download.html )*
Image Manipulation program > Whether it be Photoshop, Paint.Net, or GIMP, we'll refer to it as PIMP for short from now on.
(Suggested - Dark Silent GIMP: http://dl.dropbox.com/u/9903887/PCApps/Dark_Gimp.rar )*
Batch Renamer > if you are making your own (Suggested - http://www.den4b.com/?x=downloads&product=renamer )*
You'll also need the SystemUI.apk from your favorite rom.
(Found in: rom.zip > system > app > SystemUI.apk)
If wanting to make one with images from a video, you'll need:
A short vid (if you are wanting to use one from, say, http://www.youtube.com/ then you would copy/paste that web address to a site like http://www.savevid.com/) and export the video as a file to your computer.
Video Editor (Suggested - iWiSoft Free Video Converter: http://www.iwisoft.com/videoconverter/ )*
It's easiest to export the images as PNGs.
Alternatively, you can make your own images with PIMP or kang them from someone else's already made animation (Don't forget to send them a thanks if you do!).
Common Questions:
*How big does the image need to be? - The screen size is 480 x 800.
*How many images can I have? - I'm not sure. The one I made has 14 and there have been no issues whatsoever. I've used as many as 30 on my Atrix and didn't have any issues, but others did and the apk will get a little bloated with that many images, especially if it's not very transparent or there are a lot of colors.
*What duration should I change the animation to? - Again, this really depends on what you are going for. How the animation looks, how many images you have, etc. The default on mine is "200" Trial and error ftw!
*What kind of animation should I do? - Only you can answer that! If you are having trouble thinking of something, browse the forums and see if you can't find some ideas. Search YouTube for a cool video. Play with some creating some logos. Only limitation is your imagination.
After editing images or finding the ones you want to use...
Place your SystemUI.apk in the Apk Manager's place-apk-here-for-modding folder.
Double Click the Script.
Choose 22.
Choose the number of SystemUI.apk and hit Enter.
Choose 9 for Decompile.
Naviage to Apk Manager > projects > SystemUI > res > drawable hdpi (or drawable hdpi v4, depending on rom)>
Place your images resized and renamed as status_bar_background_animationX.pngs here. (where X is the number of the image in sequential order)
Navigate to Apk Manager > projects > SystemUI > res > drawable > and place this: http://dl.dropbox.com/u/9903887/status_bar_background_animation.xml in there.
The one I posted here is just the normal one I use that has 14 images, but you can adjust for the amount of images you want and the speed of the image changes using your Text Editor. You can just go from 1 - "X" number sequentially or you can have the images go 1-2-3-4-5-6-5-4-3-2 etc. depending on the style of animation or if you are trying to keep the image number down.
After that... (it really does not matter what order you do these in, but this might help you the first time or two to have a set path)
Navigate to Apk Manager > projects > SystemUI > res > layout > status_bar_tracking.xml and open with Text Editor.
Find:
com.android.systemui.statusbar.TrackingView in the second line and right after that (leave a space) add:
android:background="@drawable/status_bar_background_animation"
Make sure there is a space after this too, then save the xml.
After you have edited your images and xml and saved all of them go back to the script for Apk Manager and choose 11 to compile. After it finishes it will ask you if it is a system apk (Y/N). "Y" + Enter. It will ask you if you want to keep blah blah blah (Y/N). "Y" + Enter.
Go to the "keep" folder in Apk Manager > keep and delete the "res" folder and the resources.arsc file (this is the lazy/easy way).
Go back to the Apk Manager script and hit Enter.
The apk will be completed and named unsignedSystemUI.apk and you will find it in the "place-here-for-modding" folder. Even though it says unsigned, it is signed and you will not need to do anything else to it beyond renaming it to SystemUI.apk. This new finished SystemUI.apk will be added to a flashable zip file in this format (open zip as archive to not break the signature):
flashable.zip > system > app > replace previous SystemUI.apk
Place this on your SD card and install via ClockworkMod Recovery. You will not need to wipe data or cache for this.
The very first time you pull down the screen it will be static, but any other time it should start to animate. This is the same with every phone I have seen and not sure why this is.
Sorry if this seems crazy difficult, but I just wanted to be thorough so even relatively new people can at least see how it is made. If you need help, hit me up on Talk with my screen name. Enjoy!
*I receive no form of compensation for these recommendations. I merely suggest them as they are free, have a fair amount of support, and work well enough for me.*
I have attached for you to use/edit as you see fit:
*status_bar_background_animation.txt http://dl.dropbox.com/u/9903887/status_bar_background_animation.xml
*14 multicolored Honeycomb images inspired / kanged from the boot animation.
*status_bar_tracking.txt - Pretty sure these are similar/same between CM7 and Stock or just use as reference guide.
http://dl.dropbox.com/u/9903887/status_bar_tracking.xml
*Empty flashable zip for ClockWorkMod - Use the Archive Manager to open as archive and place your SystemUI.apk inside /system/app. Do NOT unzip and rezip as it will break the signature and not flash correctly.
es0tericcha0s said:
Just wondering if anyone is interested in this? I learned how from the original back on the Motorola Droid and have made it work for other phones. I used to be a themer but have since been spending my free time on other things. However, I still have the urge every once in awhile. I'll post a how to if there is interest. For those not familiar, this will create a little looped video playing on the pull down screen.
Click to expand...
Click to collapse
I'm interested, but how much does this impact the battery? Does it run while the statusbar is up? A little more info would be helpful but I'm certainly interested.
Nah, it only runs while the screen is down so the effects on the battery are negligible.
This one is NOT mine, but just so you get the idea:
http://www.youtube.com/watch?v=t5ZD6WzwS0k
And it's built into the SystemUI.apk, not framework for our phones.
es0tericcha0s said:
Nah, it only runs while the screen is down so the effects on the battery are negligible.
This one is NOT mine, but just so you get the idea:
http://www.youtube.com/watch?v=t5ZD6WzwS0k
And it's built into the SystemUI.apk, not framework for our phones.
Click to expand...
Click to collapse
Very nice, that would be something of interest.
Sent from my LG-P999 using xda premium
Alrighty then. It's dinner and movie time with the lady. I'll post it up here a little later on.
OP edited with detailed instructions!
es0tericcha0s said:
Nah, it only runs while the screen is down so the effects on the battery are negligible.
This one is NOT mine, but just so you get the idea:
http://www.youtube.com/watch?v=t5ZD6WzwS0k
And it's built into the SystemUI.apk, not framework for our phones.
Click to expand...
Click to collapse
+1 for negligible battery loss. I've ran this with my G2x for a few months now, only minor issues if the person who puts the animation gets too crazy.
es0tericcha0s said:
Just wondering if anyone is interested in this? I learned how from the original back on the Motorola Droid and have made it work for other phones. I used to be a themer but have since been spending my free time on other things. However, I still have the urge every once in awhile. For those not familiar, this will create a little looped video playing on the pull down screen.
Guide:
Instructions for Windows users... (Linux users: You should be able to follow along, as the idea is the same in both)
Things you will need:
The knowledge that whatever you do with this information is YOUR responsibility and not mine, nor the creators / developers of the mod and / or rom.
Basics -
Working computer.
Time.
Patience.
Animation images / Idea for making your own animation.
Computer Programs:
Java: http://www.java.com/en/download/index.jsp
Apk Manager: http://forum.xda-developers.com/showthread.php?t=695701
Text Editor (Suggested - Notepad++: http://notepad-plus-plus.org/download/v5.9.6.2.html )*
Archive Managing program (ie WinZip, WinRar, 7zip) (Suggested - 7zip: http://www.7-zip.org/download.html )*
Image Manipulation program > Whether it be Photoshop, Paint.Net, or GIMP, we'll refer to it as PIMP for short from now on.
(Suggested - Dark Silent GIMP: http://dl.dropbox.com/u/9903887/PCApps/Dark_Gimp.rar )*
Batch Renamer > if you are making your own (Suggested - http://www.den4b.com/?x=downloads&product=renamer )*
You'll also need the SystemUI.apk from your favorite rom.
(Found in: rom.zip > system > app > SystemUI.apk)
If wanting to make one with images from a video, you'll need:
A short vid (if you are wanting to use one from, say, http://www.youtube.com/ then you would copy/paste that web address to a site like http://www.savevid.com/) and export the video as a file to your computer.
Video Editor (Suggested - iWiSoft Free Video Converter: http://www.iwisoft.com/videoconverter/ )*
It's easiest to export the images as PNGs.
Alternatively, you can make your own images with PIMP or kang them from someone else's already made animation (Don't forget to send them a thanks if you do!).
Common Questions:
*How big does the image need to be? - The screen size is 480 x 800.
*How many images can I have? - I'm not sure. The one I made has 14 and there have been no issues whatsoever. I've used as many as 30 on my Atrix and didn't have any issues, but others did and the apk will get a little bloated with that many images, especially if it's not very transparent or there are a lot of colors.
*What duration should I change the animation to? - Again, this really depends on what you are going for. How the animation looks, how many images you have, etc. The default on mine is "200" Trial and error ftw!
*What kind of animation should I do? - Only you can answer that! If you are having trouble thinking of something, browse the forums and see if you can't find some ideas. Search YouTube for a cool video. Play with some creating some logos. Only limitation is your imagination.
After editing images or finding the ones you want to use...
Place your SystemUI.apk in the Apk Manager's place-apk-here-for-modding folder.
Double Click the Script.
Choose 22.
Choose the number of SystemUI.apk and hit Enter.
Choose 9 for Decompile.
Naviage to Apk Manager > projects > SystemUI > res > drawable hdpi >
Place your images resized and renamed as status_bar_animationX.pngs here. (where X is the number of the image in sequential order)
Navigate to Apk Manager > projects > SystemUI > res > drawable > and place this: http://dl.dropbox.com/u/9903887/status_bar_background_animation.xml in there.
The one I posted here is just the normal one I use that has 14 images, but you can adjust for the amount of images you want and the speed of the image changes using your Text Editor. You can just go from 1 - "X" number sequentially or you can have the images go 1-2-3-4-5-6-5-4-3-2 etc. depending on the style of animation or if you are trying to keep the image number down.
After that... (it really does not matter what order you do these in, but this might help you the first time or two to have a set path)
Navigate to Apk Manager > projects > SystemUI > res > layout > status_bar_tracking.xml and open with Text Editor.
Find:
com.android.systemui.statusbar.TrackingView in the second line and right after that (leave a space) add:
android:background="@drawable/status_bar_background_animation"
Make sure there is a space after this too, then save the xml.
After you have edited your images and xml and saved all of them go back to the script for Apk Manager and choose 11 to compile. After it finishes it will ask you if it is a system apk (Y/N). "Y" + Enter. It will ask you if you want to keep blah blah blah (Y/N). "Y" + Enter.
Go to the "keep" folder in Apk Manager > keep and delete the "res" folder and the resources.arsc file (this is the lazy/easy way).
Go back to the Apk Manager script and hit Enter.
The apk will be completed and named unsignedSystemUI.apk and you will find it in the "place-here-for-modding" folder. Even though it says unsigned, it is signed and you will not need to do anything else to it beyond renaming it to SystemUI.apk. This new finished SystemUI.apk will be added to a flashable zip file in this format (open zip as archive to not break the signature):
flashable.zip > system > app > replace previous SystemUI.apk
Place this on your SD card and install via ClockworkMod Recovery. You will not need to wipe data or cache for this.
The very first time you pull down the screen it will be static, but any other time it should start to animate. This is the same with every phone I have seen and not sure why this is.
Sorry if this seems crazy difficult, but I just wanted to be thorough so even relatively new people can at least see how it is made. If you need help, hit me up on Talk with my screen name. Enjoy!
*I receive no form of compensation for these recommendations. I merely suggest them as they are free, have a fair amount of support, and work well enough for me.*
I have attached for you to use/edit as you see fit:
*status_bar_background_animation.txt http://dl.dropbox.com/u/9903887/status_bar_tracking.xml
*14 multicolored Honeycomb images inspired / kanged from the boot animation.
*status_bar_tracking.txt - Pretty sure these are similar/same between CM7 and Stock or just use as reference guide.
http://dl.dropbox.com/u/9903887/status_bar_tracking.xml
*Empty flashable zip for ClockWorkMod - Use the Archive Manager to open as archive and place your SystemUI.apk inside /system/app. Do NOT unzip and rezip as it will break the signature and not flash correctly.
Click to expand...
Click to collapse
Can I use Clockmod Recovery to flash the MultiColored Honeycomb Animation.zip or is there something else I need or need to do?
The Honeycomb zip ONLY has the 14 images of the animation. It won't do anything if you try to flash it. And, to get those to work, you'd have to follow the guide in the opening post. It's pretty thorough. If you get stuck, let me know.
Hi, I'm extremely interested in getting this working.
I spent a good four hours designing a custom set of frames to match my current background, all before I realized that for some reason my current ROM's SystemUI.apk will not decompile correctly, and therefore won't RE-compile correctly. I spent a couple hours trying different versions of APKtool and aapt, all proving the same result. Finally I felt stupid when I tried it out on a random APK I had from a backup, decompiled and recompiled perfectly...
Has anyone tried this on an MIUI ROM? If so, I'm really interested in finishing this half-a-day project I've just started and could use some help xD
If you want, hit me up on Talk using my screen name.
Sent via telepathy
k4p741nkrunch said:
Hi, I'm extremely interested in getting this working.
I spent a good four hours designing a custom set of frames to match my current background, all before I realized that for some reason my current ROM's SystemUI.apk will not decompile correctly, and therefore won't RE-compile correctly. I spent a couple hours trying different versions of APKtool and aapt, all proving the same result. Finally I felt stupid when I tried it out on a random APK I had from a backup, decompiled and recompiled perfectly...
Has anyone tried this on an MIUI ROM? If so, I'm really interested in finishing this half-a-day project I've just started and could use some help xD
Click to expand...
Click to collapse
This would be awesome on MIUI.
k4p741nkrunch said:
Hi, I'm extremely interested in getting this working.
I spent a good four hours designing a custom set of frames to match my current background, all before I realized that for some reason my current ROM's SystemUI.apk will not decompile correctly, and therefore won't RE-compile correctly. I spent a couple hours trying different versions of APKtool and aapt, all proving the same result. Finally I felt stupid when I tried it out on a random APK I had from a backup, decompiled and recompiled perfectly...
Has anyone tried this on an MIUI ROM? If so, I'm really interested in finishing this half-a-day project I've just started and could use some help xD
Click to expand...
Click to collapse
The key to decompiling certain system apps with MIUI is using apktool and then installing the framework from the MIUI rom as a dependency.
Windows Users (Linux Users - if you can use Linux, you probably know how to use the CMD Prompt well enough to follow these directions for your system too):
1) Place the framework-res.apk and SystemUI.apk from the rom in the folder where your apktool is located.
2) Open CMD Prompt and navigate (change directories / cd) to your folder with apktool and apps.
3) apktool.jar if framework-res.apk
4) apktool.jar d SystemUI.apk
5) This will create a subfolder in the main folder that will be named SystemUI.
6) Make your edits following the guide in the OP.
7) When finished, compile the apk with this:
apktool.jar b SystemUI
8) This will build the app for you and you will find it located in the subfolder Dist inside of the SystemUI folder.
I threw one together here*: http://dl.dropbox.com/u/9903887/MIUISystemUI.apk
This SystemUI is from the stock based MIUI rom ported by stormageddon posted here:
http://forum.xda-developers.com/showthread.php?t=1421713
It has:
1) status_bar_background_animation.xml added to res/drawable (14 image version)
2) 14 Honeycomb themed images in /res/drawable-hdpi
3) status_bar_tracking.xml edit in /res/layout
4) This version IS able to be decompiled without errors by Apk Manager, so if it doesn't work, at least you can decompile and make the needed edits.
* I have NOT tested this. I am not currently running MIUI as I NEED wifi calling and my SIM card will not work with it. I purchased another SIM card from some suggestions I have seen around the forum, but unfortunately was not paying close enough attention and purchased the same one I already had instead and am not interested in spending an hour with a nandroid backup, flashing MIUI, testing, then nandroid restoring back to my current rom. So, good luck and let me know if I can help any more.
Thank you es0triccha0s!
That got me to decompile and compile correctly! Yes I am on Linux, and yes it was the if (install framework) command. Got a new problem though, the animation doesn't show. I noticed a few things though..
For one, I'm using a Galnet MIUI based of ICS. Inside the Res folder is a "drawable-hdpi-v4" folder, not sure if that v4 is going to mess anything up with this mod. I'm going to nandroid and then test with a GB version right now.
Secondly, in the scripts you provided in the OP, in the file status_bar_background_animation.xml you have all the images referenced as status_bar_background_animationX, but also in the OP, you mention we should place our created pngs into the drawable-hdpi folder as "status_bar_animationX". I simply removed all "_background"s from the file and it compiled, but I'm not sure if that is causing them not to be seen.
I'm gonna check a few things and report back.
Okay I put it on the Galnet 2.16 MIUI build. Made sure verything was as it should be as far as mod instructions are concerned. It booted, but there is NO status bar whatsoever.. Do you think its a permissions issue or something? Next thing I'm going to try is manually pushing it to the phone with ADB. This is just a test ROM, I have my actually useful nandroid backup when I get tired of this. Once again, will report back.
k4p741nkrunch said:
Thank you es0triccha0s!
That got me to decompile and compile correctly! Yes I am on Linux, and yes it was the if (install framework) command. Got a new problem though, the animation doesn't show. I noticed a few things though..
For one, I'm using a Galnet MIUI based of ICS. Inside the Res folder is a "drawable-hdpi-v4" folder, not sure if that v4 is going to mess anything up with this mod. I'm going to nandroid and then test with a GB version right now.
Secondly, in the scripts you provided in the OP, in the file status_bar_background_animation.xml you have all the images referenced as status_bar_background_animationX, but also in the OP, you mention we should place our created pngs into the drawable-hdpi folder as "status_bar_animationX". I simply removed all "_background"s from the file and it compiled, but I'm not sure if that is causing them not to be seen.
I'm gonna check a few things and report back.
Okay I put it on the Galnet 2.16 MIUI build. Made sure verything was as it should be as far as mod instructions are concerned. It booted, but there is NO status bar whatsoever.. Do you think its a permissions issue or something? Next thing I'm going to try is manually pushing it to the phone with ADB. This is just a test ROM, I have my actually useful nandroid backup when I get tired of this. Once again, will report back.
Click to expand...
Click to collapse
Thanks for pointing out the _background deal. Missed that in my proof reading stage. I'm going to update the OP in a bit. The drawable_hdpi vs drawable_hdpi-v4 thing seems to be dependent on either the apktool version or rom, not entirely sure. Have seen it on other phones / roms I have worked with, but seems random. Never really delved into the whys and hows. However, not really sure why the status bar disappeared on you. It might have something to do with update.zip's update script. I haven't messed with theming MIUI in a long time and am not sure if there needs to be any changes made to the update script that would be different vs. AOSP or CM7. It will almost certainly not work adb pushing the SystemUI though. That always messes things up, from my experience. Since it is just your test rom, try to put the SystemUI into the rom zip with an archive manager via opening as an archive (do not unzip, add, then rezip) and reflash.
I liked this idea. went ahead an made my own blue flames, and it looks nice (although I may mess with it a bit to get it a little smoother).
Just a note though: Unless you also remove the reference to shade_bg in status_bar_tracking.xml, you'll end up with both an animated and non-animated background.
Also, I'd recommend you have people only delete the resources.arsc and the status_bar_tracking.xml files from the keep folder when compiling. Otherwise, it's not uncommon that certain decompiling errors will transfer over to your finished product and give issues like the previous poster was having.
I'm not sure why I had never though of doing this before, but I'm glad you brought it to my attention
Okay, I'm trying something new tonight.
I went and checked every XML file and did some manual comparisons to see if I could find what was causing it not to show. For one, I think the Animation Flasher zip isn't doing the job so from now on I'll be packing it into the MIUI zip. Secondly, I noticed a lot more references to other status bar BG files in status_bar_tracking.xml. I replaced every reference of background="@drawable/blah blah bg" to background="@drawable/status_bar_animation"
I'm gonna see how this goes, will report back xD
Edit: Okay, so DON'T do that xD. At least I know my edits are recognized. Going back and removing the unnecessary edits, then packing it into the ROM Zip again, will report back.
Edit2: Okay, I'm very close to having this working with MIUI. Now that I've included it into the ROM ZIP, the statusbar is appearing completely white with the animation going on behind it. I can barely see the animation at the bottom of the status bar. Something is drawing that white background on the status bar, perhaps a default theme. I think that may be what is causing the general incompatibility with MIUI, the built in theming. I'm gonna fiddle around with the themes, see if I can find a way to use NO status bar theme. Will report back.
k4p741nkrunch said:
Okay, I'm trying something new tonight.
I went and checked every XML file and did some manual comparisons to see if I could find what was causing it not to show. For one, I think the Animation Flasher zip isn't doing the job so from now on I'll be packing it into the MIUI zip. Secondly, I noticed a lot more references to other status bar BG files in status_bar_tracking.xml. I replaced every reference of background="@drawable/blah blah bg" to background="@drawable/status_bar_animation"
I'm gonna see how this goes, will report back xD
Edit: Okay, so DON'T do that xD. At least I know my edits are recognized. Going back and removing the unnecessary edits, then packing it into the ROM Zip again, will report back.
Edit2: Okay, I'm very close to having this working with MIUI. Now that I've included it into the ROM ZIP, the statusbar is appearing completely white with the animation going on behind it. I can barely see the animation at the bottom of the status bar. Something is drawing that white background on the status bar, perhaps a default theme. I think that may be what is causing the general incompatibility with MIUI, the built in theming. I'm gonna fiddle around with the themes, see if I can find a way to use NO status bar theme. Will report back.
Click to expand...
Click to collapse
you need to delete android:background="@drawable/shade_bg"
It's possible that MIUI calls it something different like statusbar_background or status_bar_background. Either way, it needs to be deleted, not modified.
MWBehr said:
I liked this idea. went ahead an made my own blue flames, and it looks nice (although I may mess with it a bit to get it a little smoother).
Just a note though: Unless you also remove the reference to shade_bg in status_bar_tracking.xml, you'll end up with both an animated and non-animated background.
Also, I'd recommend you have people only delete the resources.arsc and the status_bar_tracking.xml files from the keep folder when compiling. Otherwise, it's not uncommon that certain decompiling errors will transfer over to your finished product and give issues like the previous poster was having.
I'm not sure why I had never though of doing this before, but I'm glad you brought it to my attention
Click to expand...
Click to collapse
Didn't think about the shade_bg as it's not linked to that in every rom. You don't have to actually remove it. You can also do this instead:
android:background="@android:color/transparent"
Also, I am of the school of thought that if the app decompiles with errors then you shouldn't use that as your base. I've done a ton of theming and I just won't use an app that decompiles wrong. It usually only happens if you are trying to decompile an app that has already been modified by the dev. Best to find a "stock" base framework or SystemUI to work with.
Easy
Can anyone make a flashable zip?
Of what and/or for what?
Sent via telepathy

[1/6/13 - 6 Animations] MT4GS BOOT-ANIMATIONS [Portrait + Landscape]

Before I begin I'd like to say thanks to Lostsorrow for his introduction into Android Boot Animation graphics. Now, I've been working on Boot Animations lately, and so far I've come up with two device-specific animations that look great on the MT4GS.
Generic BIOS Boot Animation (Portrait)​Device Specific (MT4GS)​
Preview is a bit outdated, no specific ROM branding is included in the Generic animation.
Click on "Show Content" to preview or click on the link below.
http://i1052.photobucket.com/albums/s443/overhauling/BIOSv2PortraitPREVIEW.gif
{
"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"
}
Download Link: http://dl.dropbox.com/u/18858783/UNIVERSAL_bootanimation.zip
To Install:
CyanogenMod-Based ROMS: (Yes, Including AOPK) Rename the .zip posted above to: bootanimation.zip ,
and place it in system/media (Replace any other boot animation there)
OR Flash this: http://dl.dropbox.com/u/18858783/signed_BIOSGENERIC.zip
Stock ROMS: Rename the .zip posted above to: TMUS_bootanimation.zip ,
and place it in system/customize/resource (Replace any other boot animation there)
MikXE: Rename the .zip posted above to: htc_bootanimation.zip ,
and place it in system/customize/resource (Replace any other boot animation there)
​
BIOS Boot Animation (Landscape)​Device Specific (MT4GS)​
Click on "Show Content" to preview or click on the link below.
http://i1052.photobucket.com/albums/s443/overhauling/BIOSv2LANDSCAPEPREVIEW-1.gif
Flash on any CM-Based ROM only.
Download Link: http://dl.dropbox.com/u/18858783/signed_BIOSv2_Overhauling_Landscape.zip
Stock ROMS: Download the .zip posted and unzip the contents.
Then navigate to /system/media/ on the folder you just unzipped and rename the bootanimation.zip to TMUS_bootanimation.zip.
Using a file explorer on your phone, copy that newly renamed file and paste it in /system/customize/resource
(replace the other boot animation there, or add a ".bak" to the old one at the end).
CM10-Branded BIOS Boot Animation (Portrait)
Device Specific (MT4GS)​
Same as Generic in terms of style, but some text has been altered.
Flash on any CM-Based ROM only.
Download Link: http://dl.dropbox.com/u/18858783/signed_BIOSCM10.zip​
​
Wave Boot Animation
Device Specific (MT4GS)​
Preview:
Flash on any CM-Based ROM only.
Download Link: http://dl.dropbox.com/u/18858783/signed_WAVEMT4GS_Overhauling.zip
Stock ROMS: Download the .zip posted and unzip the contents.
Then navigate to /system/media/ on the folder you just unzipped and rename the bootanimation.zip to TMUS_bootanimation.zip.
Using a file explorer on your phone, copy that newly renamed file and paste it in /system/customize/resource
(replace the other boot animation there, or add a ".bak" to the old one at the end).
​
HTC Boot Animation​
Animation made by mtemal​
Preview:
Video uploaded by mtemal
v1 to the right of the video, and v2 to the left.
Flash on any CM-Based ROM only.
Download (v1): http://dl.dropbox.com/u/18858783/signed_HTC_v1_mtemal_overhauling.zip
Download (v2): http://dl.dropbox.com/u/18858783/signed_HTC_v2_mtemal_overhauling.zip
Stock ROMS: Download the .zip posted and unzip the contents.
Then navigate to /system/media/ on the folder you just unzipped and rename the bootanimation.zip to TMUS_bootanimation.zip.
Using a file explorer on your phone, copy that newly renamed file and paste it in /system/customize/resource
(replace the other boot animation there, or add a ".bak" to the old one at the end).
​
If you like my work, hit the thanks button ​
Code:
7/1 - Initial Upload of BIOS + WAVE
7/2 - New Loading Style screen to BIOS (See post below)
- New HTC Boot animation
7/3 - Updated BIOS boot animation
Added landscape and stock version(untested)
Bumped BIOS Animation to v2.0
(Sharper and better looking text + an ACSII Linux Penguin!)
1/6/12 - Added boot animations introduced on 11/24 to OP (http://forum.xda-developers.com/showpost.php?p=34595691&postcount=36)
I've done a couple custom bootanims for my G1 back on like Cupcake, but the format changed a few times and I lost track. This is pretty cool though... I love throwback stuff... And I never'd have thought of a BIOS ... cool!
I would have two humble requests....
1) If you're going to have a throwback to PC bootup, perhaps an OS "scrolling progressbar" style logo after the BIOS bit in lieu of the pulsing MT4GS text (something like what Windows does, and admittedly I haven't watched a Mac boot up in a while, and Linux style bootup can be had with logcat live from Market). Maybe a throwback Andy, but without the whole circle animating like previous CMs... just a Windows style progress bar under it
2) Can a landscape version be made?
But even still, cool as it is now! Thanks!
That's a great idea!
I'll come up with an OS scrolling style progress bar or something similar soon, I'll try to make something original (or let me know if you want the plain windows one instead, whatever looks better.)
I've never seen a landscape BIOS boot animation for Android before, I'll look forward into making one, it's definitely possible and shouldn't be too difficult since I already have all the resources.
I'm also going to update the graphics in BIOS boot, and make the letters a bit sharper
nice really like this reminds me of old school Dos 6.22
cj chitwood said:
1) If you're going to have a throwback to PC bootup, perhaps an OS "scrolling progressbar" style logo after the BIOS bit in lieu of the pulsing MT4GS text (something like what Windows does, and admittedly I haven't watched a Mac boot up in a while, and Linux style bootup can be had with logcat live from Market). Maybe a throwback Andy, but without the whole circle animating like previous CMs... just a Windows style progress bar under it
2) Can a landscape version be made?
Click to expand...
Click to collapse
A "Loading" like feature has been added on the extras, let me know if you prefer the old windows slider look.
I'm still looking into the landscape version.
Also, if anyone has an interesting concept for a boot animation, let me know!
Thanks for these. I've always liked the BIOS boot animation, and the cm9 touch at the end is slick.
Sent from my myTouch_4G_Slide using Tapatalk 2
whoa! those are awesome! you can use mine old ones if you want lol! nice work though, seriously!
Could you make a bios bootanimation (the first one) compatible with stock roms? I am running Bulletproof. Also is it possible to make it so it doesn't say CM9, since I am on Bulletproof. If this is too much to ask, I understand. These are great, thanks for the work!
Thanks for the feedback guys!
I'm currently uploading a landscape version, and a version that should work with stock. (untested)
also, I updated the BIOS animation to make it look a bit nicer.
Thanks for this! I like v1.1! Looking forward to the landscape version.
Question: even though it's obviously mt4gs could this possibly work on other hardware that's running cm9? The file format should be the same across devices and this would make it appropriate for tablets as well, being landscape.
--
Sent from my HTC Swiss Army Doubleshot running CM9a5
I did this boot animation on the G2. If audio works for boot animations on the MT4GS, this would be fun to show off.
yellowjacket1981 said:
Could you make a bios bootanimation (the first one) compatible with stock roms? I am running Bulletproof. Also is it possible to make it so it doesn't say CM9, since I am on Bulletproof. If this is too much to ask, I understand. These are great, thanks for the work!
Click to expand...
Click to collapse
I uploaded a version that should work with stock (And the CM9 text is removed there), let me know if it works!
sino8r said:
whoa! those are awesome! you can use mine old ones if you want lol! nice work though, seriously!
Click to expand...
Click to collapse
Thanks! I haven't had the chance to look at your old ones, but I'll look into porting them.
strapped365 said:
Thanks for these. I've always liked the BIOS boot animation, and the cm9 touch at the end is slick.
Click to expand...
Click to collapse
I liked the CM9 loop at the end too, I had the idea in my head and BAM there it was. Anyhow, the stock version has the same loop except that it doesn't include the "CM9" branding, adding that to the OP now, lol!
cj chitwood said:
Thanks for this! I like v1.1! Looking forward to the landscape version.
Question: even though it's obviously mt4gs could this possibly work on other hardware that's running cm9? The file format should be the same across devices and this would make it appropriate for tablets as well, being landscape.
Click to expand...
Click to collapse
I have a TF201 Transformer Prime and I was considering making a BIOS animation for my tablet as well, it'll look super nice.
Also, I uploaded the landscape version and bumped the version number to 2.0 (the second screen looks a bit cleaner now.) This boot animation should work on any device that's running an AOSP-based ROM (correct me if I'm wrong) since the location of the bootanimation is defaulted to system/media. The only thing that might not work is the Flashable due to the fact that different devices may have different mount points.
The resolution is 480x800 for the portrait one, and 800x480 for the landscape one. A device with a lower resolution might struggle displaying the images, a device with the same resolution would do just fine (but remember, it's MT4GS branded.) And a device with a higher resolution would probably play it smoothly, but it'll look a bit ugly, small, or stretched.
Anyways, thanks for the awesome feedback!
blackknightavalon said:
I did this boot animation on the G2. If audio works for boot animations on the MT4GS, this would be fun to show off.
Click to expand...
Click to collapse
Sweet! I'm going to try to get it running with Audio, I'll let you know if I figure it out ( I haven't seen a boot animation with audio on the doubleshot before.) I believe enabling boot audio is ROM-Specific, I'll look into it.
overhauling said:
I have a TF201 Transformer Prime and I was considering making a BIOS animation for my tablet as well, it'll look super nice.
Also, I uploaded the landscape version and bumped the version number to 2.0 (the second screen looks a bit cleaner now.) This boot animation should work on any device that's running an AOSP-based ROM (correct me if I'm wrong) since the location of the bootanimation is defaulted to system/media. The only thing that might not work is the Flashable due to the fact that different devices may have different mount points.
The resolution is 480x800 for the portrait one, and 800x480 for the landscape one. A device with a lower resolution might struggle displaying the images, a device with the same resolution would do just fine (but remember, it's MT4GS branded.) And a device with a higher resolution would probably play it smoothly, but it'll look a bit ugly, small, or stretched.
Anyways, thanks for the awesome feedback!
Sweet! I'm going to try to get it running with Audio, I'll let you know if I figure it out ( I haven't seen a boot animation with audio on the doubleshot before.) I believe enabling boot audio is ROM-Specific, I'll look into it.
Click to expand...
Click to collapse
audio in bootanimations will work for cm9 and aokp as long as you put them in system/media and name them android_audio.mp3
Thanks! I can't wait to start messing with these: http://www.soundjay.com/ :good:
xmc wildchild22 said:
audio in bootanimations will work for cm9 and aokp as long as you put them in system/medoa and name them android_audio.mp3
Click to expand...
Click to collapse
This reminds me...
I had one with audio for my G1, where it had green text appear on the black background one character at a time, but fast. With each character was a little beep. It was similar to the techie computer text effect that Hollywood loved so much in the 80s and 90s.
The text was like "owner info" mixed with "in case of emergency" but the trick was getting the audio to sync with the characters. I never quite got it to match up. In the end, I gave up on sync and just made a generic sound at about the right time, and later it occurred to me that the bootup was never the exact same one time to the next. Near the end of the anim, the audio was always quite noticeably out of sync.
I wasted days on that project. The concept is simple but it is so much work!
"That's a great story, Grampaw!"
--
Sent from my HTC Swiss Army Doubleshot running CM9a5
Ha, that first one is super cool. Love it. Thanks!
cj chitwood said:
This reminds me...
I had one with audio for my G1, where it had green text appear on the black background one character at a time, but fast. With each character was a little beep. It was similar to the techie computer text effect that Hollywood loved so much in the 80s and 90s.
Click to expand...
Click to collapse
That concept sounds amazing, if me or anyone could get that to work that would be sick. The problem is, some ROMs boot faster than others, and a Hot Boot is about a quarter faster than a regular reboot. A working, but boring solution, would be to make a boot animation where the cursor is constantly moving so that Audio would always match no matter what.
iceolate said:
Ha, that first one is super cool. Love it. Thanks!
Click to expand...
Click to collapse
Thanks for the feedback! suggestions are always welcome too.

Categories

Resources