yashsingh1/xdaforums huggingface dataset:
[Android Themes] mianosm:
I've added these two png's to my update.zip\framework\framework-res.apk\assets\images\

I've been able to reboot with them in the apk now, but it's just a black/blank screen. Does anyone see any reason why they wouldn't be able to be merged into the apk?

I've gotten a log but at the moment, I'm not seeing anything very telling....
[Android Themes] kusotare:
you did sign the file and reflash the update, correct? cause I just downloaded your two png files, loaded, signed, flashed and it works just fine for me.
[Android Themes] bboy_201:
heya,

i have tried to edit JFv1.51 CRB43-us but when i go into the folder i dont not see a .apk file i see .cramsf is there a way i can do it on these themes???
[Android Themes] Beast84:
OP,

Mind sharing your red/white background?

EDIT: Just tried this. Edited my own files, repacked into framework-res.apk under assets & images. Resigned the update & all I got was a black screen. Does the framework-re.apk have to be pulled out of the update & edited, then resigned? Or can it just be edited from within the update.zip itself? I am using 7zip if that helps

EDIT2: Just tried pulling the framework-res.apk to edit the images but it didn't work. I placed the original images back in & that worked. I don't get it. The files are the same dimensions. But my images were bigger than the original as far as bytes go. I don't know if that has anything to do with it. I don't know how to get them any smaller. I tried pnggauntlet but it didn't seem to work. O well I'll stick with the stock stuff but continue playing with it till I get it
[Android Themes] kusotare:
I dont have the original red/white because i'm using a much different background now. the easiest thing i can recommend would be to open the original shine image with photoshop, go image>adjustments>hue/saturation and drag the hue slider until you achieve the desired color. Oh yeah, and edit the image height to match your mask image.

As far as the other two problems, you can do it from directly within the zip. watch the video tutorial at the bottom of the OP, shows you exactly how to do it step by step.
[Android Themes] crotalusfreak:
Thanks for the tutorial Kusotare,just thought I would add that I use 320 x 480 images like Dude/Manup did in his 1.1 and 1.2 builds and they dont cut off the sides at all.Both of my themes use 320 x 480 boot animations if anyone wants to grab one as a template feel free they are in my signature.
[Android Themes] mianosm:
Yep, I can include the two pngs to my update.zip/resign/flash, and then I just get a black screen now instead...tried fixing permissions/chmod'ing the file as well....still just getting a blank screen after rebooting.
[Android Themes] Beast84:
I did it exactly how it was done in the video & still I get a black screen. The phone boots up fine but no animation
[Android Themes] kusotare:
Try doing it through winrar. I've had problems with 7zip in the past, which is why I use winrar to do it.
[Android Themes] jubeh:
i did this through 7zip. you can modify a whole update (for example, you love a theme but hate the vanity boot screens authors sometimes force upon you) by bringing up the context menu (right click) on the update.zip, then 7-zip>open, after that, navigate to system/framework, and at framework-res.apk just right click again and select "Open inside", and then navigate to assets, pull the two files to your desktop, edit them however you want (or if you already have your own just skip pulling them out), and then just pull the files back to the window and close, it's going to ask you if you want to save, just say yes or ok, and that's it, the update is all good to go (no need to re-sign or anything, i can confirm it works that way)
[Android Themes] mianosm:
I've used WinRAR and 7z, no dice.
[Android Themes] CBowley:
Threw this together to test.
[Android Themes] Autarkis:
Thanks for that, kusotare!

I used an adb-based approach:

1.) I pulled the framework-res.apk from /system/framework via adb

2.) then I put my modified PNGs (attached) into it

3.) I wanted to adb push framework-res.apk back onto /system/framework, but there was no space left on device.

4.) so I created a symlink (ln -s /system/sd/framework-res.apk /system/framework/framework-res.apk) to my Apps2SD partition.

5.) awesomely, it worked on the first try.

Edit: There is some kind of error with the scrolling background, it's maybe too big. Also, the blue doesn't look as good on the G1 screen as on my laptop. Firmware Information: JF 1.51 EU, 62.505.20.17U_2.22.19.26I, 2.6.27-00392-g8312baf jesusfreke@spork #1 CRB43

Edit: Okay, apparently, using Apps2SD for this is not a good idea. It can get you looped. However, it's easy to use adb to get out of it again by removing the symlink and repushing the original framework-res.apk . There is an even better solution for everyone with the current Google Maps from the Market - just erase the default /system/app/Maps.apk which is ignored anyway (according to adb logcat).

I swapped the splash out 5+ times now, and the phone boots up reliably. There is a very small possibilty of problems while using the phone, going to bed now and exploring that tomorrow. (It's 4:11)
[Android Themes] kusotare:
Yeah, I tried the ADB version when I first started, thinking "you know, pushing the framework-res would certainly be much easier than manually repacking and resigning the whole update". Then I ran into the same problems you did and decided that the method I eventually settled on and posted here was going to be much easier for most people than trying to solve the million adb-how-to questions that would eventually come up. Glad you got the adb method working well though.
[Android Themes] Autarkis:
Thanks for confirming that, kusotare!

In anticipation of the adb-who-what questions you mentioned, let me state it for all to see:

First: All adb questions are answered in the forum. Use search, or Google. I heard they have this nifty search engine. I don't know where it'll get them eventually, but for the moment you can find pretty much everything using Google.

Second: I don't support adb - I love it! :D
[Android Themes] Binary100100:
Custom

I was bored and decided to make an electric version. I'll fool around with it with some newer ideas later.

As usual... open framework-res.apk, drop+replace in assets/images, sign.
[Android Themes] mianosm:
I'm beginning to think that it's something that Paint Dot Net does, because I can use the png's in the first image and they work perfectly, as soon as I edit the mask or the shine not changing the name or size by too much it craps out on me (it updates, but just goes to a black screen for the animation)...

Anyone doing this with pdn, or are you guys all using GIMP/Adobe?

Paint Dot Net users: do not save with 32 bit, do not allow it to choose for you or it won't work for you. Much aggravation dispelled now...
[Android Themes] IamLugo:
Edit:deleted
[Android Themes] Binary100100:
I just download an image, save it to my desktop, edit it with MS Paint, Save the new file to my desktop. Nothing fancy. I was able to accomplish this on my first attempt.
[Android Themes] mianosm:
Paint Dot Net tries to optimize and help you out with your images, this isn't what the phone is looking for.

I was banging my head trying to figure out what was going wrong, and it needs to be a PNG32, not 24 or 8. Just a heads up to anyone else that is able to get it to "work", but is actually only getting a black screen with no animation (scrolling of the screen).
[Android Themes] goa200:
all i get is wrong digest when i follow this tut.

using Saphire htc branded
[Android Themes] mianosm:
This error is most common when signing didn't take place correctly.
[Android Themes] openback:
I'm trying to do this myself, and my only success was making the basic android logo wider. Any other time and all I get is a blank screen. What are the rules for the images? I don't see what I'm doing wrong image-wise.

Also, even when I got the image changed that one time, my phone would not go to the home screen or display anything. My logcat shows a crapload of

errors like:

W/PackageManager( 136): Unknown permission android.permission.VIBRATE in package com.android.mms
W/PackageManager( 136): Unknown permission android.permission.INTERNET in package com.android.mms
W/PackageManager( 136): Unknown permission android.permission.READ_SMS in package com.android.mms
W/PackageManager( 136): Unknown permission android.permission.WRITE_SMS in package com.android.mms
W/PackageManager( 136): Unknown permission android.permission.ACCESS_NETWORK_STATE in package com.android.mms
W/PackageManager( 136): Unknown permission android.permission.CHANGE_NETWORK_STATE in package com.android.mms

I'm using adb to push the file and I have also resigned it, so I'm unsure as to what I'm doing wrong.
[Android Themes] DAKIDD236:
why can't i open the framework-res.apk?, it just says "windows cannot open this file"

edit - changed framework-res.apk to framework-res.zip and was able to open it.
[Android Themes] kusotare:
you REALLY need to be using something other than windows to open the files. windows will not repack and nest the files correctly. use winrar or 7zip.
[Android Themes] IamLugo:
Edit:sorry guys wrong thread
[Android Themes] Six6Sicks:
My newest animated boot screen. FINALLY got it working!!! Feel free to use if you want.
[Android Themes] deepsix:
WOW...a Windows logo on a Linux system.

So wrong in so many ways...but hey...nice job :)
[Android Themes] 1sickat:
When i try to change the boot animation screen i get a black baground and a white box...my question is does the file have to be a certain size
[Android Themes] zgmf-x322a:
Shouldnt it say:

Google

WinDroid 1.5

or

HTC

WinDroid 1.5

something like that? take out the windows word :P

if u dun like it, its okay ^^
[Android Themes] Six6Sicks:
I'm gonna be working on a few this weekend. I'll throw up your ideas if I get to them.
[Android Themes] prash:
I know many of you have experienced a black screen on editing the boot images, but anyone get a completely white screen? It loads up just fine afterwards, but no matter what I do, If i dont use the image sizes from the original logo/shine, it gives me a white screen.

I've tried lowering quality from png24 to png8, lowering file size, making images smaller in dimension, making them to dimensions of other people's WORKING boot files and still nothing. I keep getting white screen on boot images.

The odd thing about all this is that I remember I made the boot screen and shine work on an old CM template (3.9.5 i think) but anything on the newer CM rom template just gives me white screen.

I really want to use my old systemforce boot screen with new edits on the SystemForce 3 I've been working on but I had to settle with a firey type logo which to me is sorta lame compared to full sized 320x480 image I have made from older systemforce theme versions.

I'll have to try to see if I can save a PNG32 and hope that's the only issue from reading this thread, glad to know i'm not alone in wanting to pull my hair out wanting to get this to work.
[Android Themes] hedjemunkee:
Thanks for the Tut

Hey...just wanted to say thanx for the great tutorial. I was able to change my g/f's boot screen for some MAJOR brownie points.
[Android Themes] garok89:
consider urself lucky there arent more linux-purists on this place to crucify u for putting a windows logo on a linux syste...

i shall forgive u since its good work tho lol
[Android Themes] Six6Sicks:
I knew there would be some "haters/purists" but it's understandable, it doesn't bother me. I don't use linux outside of my G1, so I don't know much about it. I've been using windows since 95.

Wait till I release my complete Windows 7 themed Cyanogen ROM that's currently in the works. I should be getting death threats soon after :)
[Android Themes] kusotare:
Heh, I think he's pretty much safe anyway. Hell, there are people who have been begging for a complete WinMo port on these very forums. Yes, I know, having WinMo ported to the G1 would be a mortal sin, but there seems to be people who want it like their head are on fire.
[Android Themes] Burlyskink:
I have to give up on this : / ...No matter what I try I always get a white square in the middle of the screen, I can't wrap my head around why.. :(
[Android Themes] prash:
I hate hate hate the white square thing.. its probably your size. Thanks to armyranger251, I found out that the width of the image HAS to be 256 pixels in the newer roms. It probably got hardcoded into the system. Try that.
[Android Themes] Burlyskink:
Ok thanks, I will check it out then... It was driving me nuts, we will see how it is then. and thats just the width right?
[Android Themes] prash:
Yup, height can be up to 480 (height of screen) but width is restricted to 256 it seems, and on the glow the width can be 512 and height 480.
[Android Themes] Burlyskink:
Just so that you know... I love you
[Android Themes] prash:
Yeah, I get that a lot :D... Haha nah I was having the same issue as you I went through countless hair pulling out sessions with the damn boot image being a big white screen. I even had resized it to 256x480 before and it STILL came out to be a 256x480 white screen. I tried it again after a fellow forum member pm'd me with the restriction info, and I said why not and gave it another go. Somehow, it works now and I don't care to understand it, but it'll have to do. Updated my theme with a new boot screen just tonight.
[Android Themes] Burlyskink:
Hey, I was wondering if anybody knew how fast the android-logo-shine.png actually moved... I need to know because I am working on something, but I have no idea how to figure out how many pixels a second it moves.
[Android Themes] Burlyskink:
Quick question, I don't like the fact that when we flash these that we flash the whole ROM, are we able to just flash the framework-res.apk?

Edit - Sorry, just realized I double posted : /
[Android Themes] mianosm:
You can delete the other items in your update.zip and just leave the /META-INF and /framework folders.

Should vastly increase your load/reload times. = )
[Android Themes] Burlyskink:
Ok awesome, thank you!
[Android Themes] wcdisciple:
Does anyone know if it's possible to use a short movie clip for Boot Animation?
[Android Themes] wolfcrowell:
I added this startup image using your winrar and resign process. Works great, just have to make sure if you edit the mask that you set the background back to transparent using a photo editor.

Thanks to Binary100100 for the shine image - well done.
[Android Themes] YuYe:
This is my personal one I apply to all roms I try or use:D

and a couple others
[Android Themes] Binary100100:
no problem. nice modification.
[Android Themes] YuYe:
New Theme Boot screens by YuYe

Hiya,

I'm working on 2 Theme's.

A Earth Edition and a Mars edition

here's a preview from the Earth boot screen (almost finished).

It'll be a Multi ROM theme but I thought let's get some tip's on the looks and responses.
[Android Themes] YuYe:
Final bootscreen earth

here's the boot screen for earth :D

hope you like it.
[Android Themes] tranceonline:
i got a problem. it seems that it doesnt make any matter if i do adb push the framework-res.apk or flash it as a full signed rom!

i always end up with a white screen AND everytime i touch the screen, the HTC Touch input crashes.

i even used a file here forn the thread, the windroids thing.

same thing! white screen, boot and touch input crashes like every 10 seconds :(

help !!
[Android Themes] kusotare:
if you're getting the white box screen, your images are not in the right format or are too big. if the touch input crashes after boot, that has nothing to do with the boot animation unless you altered your framework in some other way.
[Android Themes] tranceonline:
after putting the old files in and flashing cyanogen 4.2.6 i had to flash HCT_ime.apk again. than it worked again.

i dont understand what i do wrong with the files!

i even saved your images of the Windroids, renamed them right, put them in, push them with adb and same problem!! white screen when booting. :(

I have the HardSPL, Cyanogens 4.2.6, amon_ra's recovery, advanced launcher replacement. that's all.

i really dunno WHY it wont work! Cant be the files or ur images have to work, right?
[Android Themes] kusotare:
first, make sure the images are the right size. width on the android-logo-mask has to be 256px, height less than 320. android-logo-shine width has to be 512px or less, height should generally be the same as the mask. both images have to be png format, 8 bit RGB color. 16 and 32 bit depths WILL NOT WORK.

make sure you're pushing them to the right place. both files have to be in the framework-res.apk/assets/images
[Android Themes] tranceonline:
ok, perhaps the 8 bit or the pixels was my error.

I did like this:

Choosed pictures i wanted

made bmp out of it and edited them with paint

made png out of it and opened with gimp

in gimp added a alphachannel layer to make transperency

saved it (png) and renamed it right

put it back in the framework, where the original files were and let it overwrite

than pushed the framework-res back and rebooted phone.

doesnt made any difference if i pushed it back to phone directly or back in the ROM and re-signed it.

in GIMP, do i have to merge the Alpha-layer and the picture-layer back together before saving it as a 8bit RGB png? or can i leave it as it is before saving it as a 8bit rgb png?

i am sure that my mistake has to be with the files.

BUT as i said, i even copied the Windroids files from sixofsix (not ur as i said before, sorry), renamed them and pushed it back. same thing.

how can this be? Did the files lost their right attribs when uploading it as pictures here in the forum?? or is there a error with my build on my phone?
[Android Themes] kusotare:
I have no idea. I use photoshop, which does the transparency by default.
[Android Themes] tranceonline:
so u dont have to add an extra layer to make transberancy in photoshop??

ok i'll give photoshop a try then.

but i saw, the pictures form sixofsix have a bigger res as u said ?

they are fullscreen, 320x480 and as he says, they work , too.
[Android Themes] tranceonline:
it does NOT work! i dont know WHY. i get really mad now :(

can someone PLZ do a working framework-res.apk with this to files and mail it to my email PLZ ?!?!?

plzz anyone :(

here r the pictures.

the pictures r ready, i dont get it working.

as before, white screen and nothing else.

i even wiped EVERYTHING , cauz i thought perhaps my system is faulty. (and other stuff did not work ether, so it was ok! the other stuff works now)

plz send the file to rathier@gmx.de or pm me. i'll give u msn or icq than.

Thx to anyone who can help me !!!
[Android Themes] kusotare:
first of all, i can see two immediate problems:

1. quit trying to make the images full screen. thats probably why you're breaking them.

2. your names HAVE to have dashes in them. androidlogomask.png will not work. it has to be android-logo-mask.png

Here, I took the liberty of resizing these and testing them, but since I dont know what rom you're using, I cant make you a full framework-res.apk. So download these and push them yourself. If it still doesnt work, then you're doing something wrong, because these images HAVE BEEN TESTED and they work.
[Android Themes] tranceonline:
the file names WERE right before uploading them to imageshack.us

it removes the dashes!

the names were like android-logo-mask.png and android-logo-shine.png

i have cyanogen 4.2.6

i'll try to resize my pictures the the same sizes as ur uploaded ones.

cauz ur uploads changed to jpg.

i'll try it now...

Edit: tried it out..... and NOW its smaller white screen :(

I attached the files in the zip file below.

In it, there r the two ready pictures and the framework-res.apk out of the Cyanogen 4.2.6 Build.

perhaps anyone can build me a working framework-res.apk ... PLZZZZ!!! :(

perhaps some one
[Android Themes] icegad:
i took your images and replaced in framework.apk >> assests >>images and resigned the apk

backup your current framework just incase it breaks anything unexpectedly

edit i went ahead and did it for you for cyan 4.2.7.1

lemmi kno if it works for you:cool:

http://www.mediafire.com/file/1znvxujtrjz/framework-res.apk
[Android Themes] icegad:
i tried putting these two images together the lightning effect shine(thanks binary) over a droid mask

all i get is a white droid when using the bootanimation tester

anyone jus wanna check/replace if these images are the right properties thanks in advance
[Android Themes] kusotare:
ill check me for you icegad, gimme about an hour.

EDIT: ok, a few things I noticed:

-your android-logo-shine was a jpg, not png, so it wouldnt have worked anyway.

-the shine logo had a huge white block on it, so you wouldnt have seen the lightning scrolling anyway.

-not really an error, but the edges of the lightning dont match up, so as it scrolls, you're going to see a nasty cut in the image.

So I edited your images. theres two shine images in the zip: the first is the image you originally posted, corrected for size and formatting. the second is the symmetrical image that will eliminate the image cut when scrolling. However, neither of them are very good. I have some nice photoshop tools that can make a much better lightning scroll than that if you want. Just let me know.

Anyway, here:
[Android Themes] bloodletting284:
Has anyone found out whether sound can be or will be able to be added to the boot animation? I've been able to follow these steps to make a custom boot animation multiple times with no trouble but sound would make it so much more awesome and better!
[Android Themes] icegad:
Thanks a lot bro...yea go ahead, do your photoshop magic..I'm pretty sure I'm not the only one who might like this effect :D
[Android Themes] ThrashWolf:
Getting the same error here, tried using my own images, images others have posted in this thread, all to the same effect; A white mask with apparently no scrolling shine.

So far as I can tell, I'm following the steps to the "t."

I replace the images, same filename etc.

Put the framework-res.apk back into \system\framework

I resign the .apk using Stericsons autosign.bat, then install onto my phone through recovery.

The update installs fine, but once I reboot, I just get a solid white box instead of my mask.

I'm on Cyans latest.

If someone could help, this is driving me round the bend ><
[Android Themes] bbuchacher:
Delete Comment
[Android Themes] tranceonline:
hope SOMEONE will help us both :(

makes me nutts!
[Android Themes] zzfive:
I have tried several methods including the one in the op and have gotten everything but success. I have seen the white screen, a black screen that still booted just didnt show anything, and seen it get stuck on the g1 screen. I have even tried just pushing the framework-res.apk into system/framework/ with no luck. Can anyone shed some light on what might be happening.
[Android Themes] kusotare:
well, like any other problem you're having, post details please.

here's me recipe for success with the process:

1. you must be using a google build, which means cyanogenmod or the like which isnt based on the 2.0 framework. 1.6 and lower google builds use two png files for the bootanimation. 2.0 and hero/sense based builds use animated gifs and bootanim.zip files to run the animation.

2. I use photoshop cs4 for my edits. gives the widest range of options and does things like transparency without having to mess with alpha layers.

3. you need to be using the following settings:

-default/standard color profile, not a custom color profile.

-8-bit color depth. 16/24/32 bit color depth DO NOT WORK and will yield the white block.

-png non-interlaced saves.

-standard resolution (that being 72px/in) and conforming to the exact dimensions (mask cant be wider than 256, shine cant be wider than 512)

-height dimensions on mask and shine MUST MATCH. (this means if your android-logo-mask is 86px tall, your android-logo-shine MUST BE 86px tall)

so if you're following all of these parameters and still coming up empty, go back and double check. I change my boot animation at least once a week and havent ever had a problem that wasnt directly related to screwing up one of the things I listed above.