Could I Metamorph icons into the notification bar?
Sent from my DROIDX
I've heard of it, but never used it... I just edit the .apk.. :S
Could I Metamorph icons into the notification bar?
Sent from my DROIDX
Could I Metamorph icons into the notification bar?
Sent from my DROIDX
I've heard of it, but never used it... I just edit the .apk.. :S
Quick question... say I found a theme where I like the black bar on it. Would it be easy for me to pull just the black bar (and pull down shader) off of that theme? Incognito Red for 1.6 has one I really like, but I dont want to use the rest of the theme because it has some things that I don't prefer (invisible unlock slider and non-existent silencing slider on lock screen).
I'm thinking I might be too picky for this stuff... and that I want to become a themer so that I can customize stuff myself (although I'm going to limit myself to non-graphical customization, I.e. any graphics I use will be pulled from other sources rather than created myself). I'm a quick learner, have some programming experience, and would appreciate anyone pointing me in the right direction on where to begin.
All of the changes that are into the black bar, the text colors, all of the images for... well all the basic system functions/notification bar/everything, are all held in the framework-res file.. so no, there's no easy way to grab just what you want. Only way, is to start with one, and start adding/modifying/changing it to your liking... which isn't quite as easy as it sounds either I haven't seen a guide, but I'm sure there's one around... sorry I can't help more.
Quick question... say I found a theme where I like the black bar on it. Would it be easy for me to pull just the black bar (and pull down shader) off of that theme? Incognito Red for 1.6 has one I really like, but I dont want to use the rest of the theme because it has some things that I don't prefer (invisible unlock slider and non-existent silencing slider on lock screen).
I'm thinking I might be too picky for this stuff... and that I want to become a themer so that I can customize stuff myself (although I'm going to limit myself to non-graphical customization, I.e. any graphics I use will be pulled from other sources rather than created myself). I'm a quick learner, have some programming experience, and would appreciate anyone pointing me in the right direction on where to begin.
All of the changes that are into the black bar, the text colors, all of the images for... well all the basic system functions/notification bar/everything, are all held in the framework-res file.. so no, there's no easy way to grab just what you want. Only way, is to start with one, and start adding/modifying/changing it to your liking... which isn't quite as easy as it sounds either I haven't seen a guide, but I'm sure there's one around... sorry I can't help more.
ok so i've been figuring it out pretty quickly but am now stuck, maybe you can help. here is what i've learned:
if you're building framework from scratch, you have to sign it. the work alone means this is out of the question.
if you're decompiling an apk (i.e., framework-res), you will need to sign it again when you compile it. also, if you simply unzip the apk, you will lose the .9 properties of the apk.
so what to do? well the simplest way to make modifications is to simply find the modified versions of the files, and drag them straight into the framework-res.apk (assuming you have winrar), which will update the apk.
so here is what i did to get the incognito red black bar. I downloaded incognito red 3.2 for focused 1.6, deleted everything in the system folder except the framework folder, edited com/google/android/update-script to remove the stuff pertaining to files i deleted, edited manifest.sf and cert.sf to remove the information regarding the deleted apps and their sha1-digest, etc.
so this gives me the entire theme except for all the apps, fonts, lib files, and media (notification ringtone), etc. basically, i'm left with the graphical stuff.
now theoretically (and please tell me if I'm wrong), the next step is to simply identify which files pertain to the black bar and notification pulldown. once I know what those files are, I will take the original rubix focused 1.6 rom file, open it up and open the framework-res.apk there, extract all of the files out of it, and put all of the ones that DONT pertain to the blackbar/pulldown into the framework-res.apk within the incognito red zip. then simply put it on my sd card and install it like i would normally any theme.
so my question is something that I would assume you're experienced with: which files pertain to bb/pulldown?
EDIT: so I just realized, alternatively, I can simply push the bb/pulldown from incognito red to the rubix focused 1.6 zip and reflash, once i identify them. Am I wrong? is it not this simple?
Awesome questions.. Going to be flat out honest with you.. I would normally take the hour to answer you in detail... but its' 1:46am, and I've gotta be up early tomorrow. :S
I could probably make whatever it is you're trying to make faster than explain, but here's a short version for now...
System .apk's appear to not need to be signed. So.. first concern isn't as much of an issue.
When decompiling, it throws errors if it's been optimized... yes. But if you had the orig., it would make life much easier (I also, unfortunately, don't have the orig..). So, I decompile, find out what I want/need to change, and most of the time, just do it via Hex for now. I'll play around with recompiling when I have more time to do so. I HAVE gotten the 1.0 framework-res to recompile correctly, but it led to other issues.
I use 7zip rather than winrar (totally free (open source) program). But yes, you can just unzip the .apk, and change out the files you want. Unfortunately, when dealing with font colors (etc.), you also need to deal with compiled .xml files.
If you JUST want the background images, you can just swap them over, if those are the only things that are changing.. it IS that simple...
As to which files.. *sigh*.. I'm nto 100% sure what files it is that you are referring to, and I'd have to look them up. I have probably edited/changed more than 20 to 30 files from stock to get my mod the way I like it... more changes coming before I crash (assuming testing goes ok... :S
If you want something specific.. send me a PM or email, and I'll see if I can help you out some more if you'd like.
so just did my first test. not bad so far, i took all files from incognito red that began with stat_ or status_ or contained _stat_ in the file name that I could find within framework-res.apk, including some that started with zz_. this included xml files in drawable and layout, and png files in drawable-hdpi. then reflashed (didn't have to wipe data/cache, so I can keep doing this as many times as I need without having to reinstall all my apps). it worked! i pulled the status bar! only problems right now: clock is missing from status bar, notification icons disappear when shade is pulled down, middle part of shade pulldown is white, indicating that it hasn't been modified from original rom.
test 2 imminent...
edit: new realization.... is the clock not there? or is it just black on black (because the space IS there)... will have to test further...
edit 2: I was wrong, all animation icons are missing. 3G has no upload/download indication arrows, signal bar is stuck at 1 bar, etc. the animation images exist, so it must be an xml issue.
edit: new realization.... is the clock not there? or is it just black on black (because the space IS there)... will have to test further...
so just did my first test. not bad so far, i took all files from incognito red that began with stat_ or status_ or contained _stat_ in the file name that I could find within framework-res.apk, including some that started with zz_. this included xml files in drawable and layout, and png files in drawable-hdpi. then reflashed (didn't have to wipe data/cache, so I can keep doing this as many times as I need without having to reinstall all my apps). it worked! i pulled the status bar! only problems right now: clock is missing from status bar, notification icons disappear when shade is pulled down (or has it always been like this), middle part of shade pulldown is white, indicating that it hasn't been modified from original rom.
test 2 imminent...
edit: new realization.... is the clock not there? or is it just black on black (because the space IS there)... will have to test further...
Sephtin's blackbar mod for Focused 1.6.
More info here:
Sephtin’s BlackBar Mod for Focused 1.6 -- sephtin.com
Sorry this took so long... hope it was worth the wait!