[Q] How to mod framework-res.apk and twframework-res.apk - Captivate Themes and Apps

Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!

Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.

icezar1 said:
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=724778
Get apk manger.I'm trying to do this too.

Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...

icezar1 said:
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
Click to expand...
Click to collapse
find you find out before keep me updated, and i'll do the same.

icezar1 said:
Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Click to expand...
Click to collapse
You can change the battery icons in the framework-res.apk [look in the res/drawable hdpi/stat_sys_battery_x.png
and to change the text color: I was trying to figure that one out last week....From what I figured out you need to modify:
res/layout/status_bar_latest_event_content.xml
Which is found in your framework-res.apk aswell....Decomplie-edit-recomplie....
Good luck

what program are you using to edit your xml's?

chaosjh said:
what program are you using to edit your xml's?
Click to expand...
Click to collapse
apk_manager_4.9 to decomplie-recomplie. Then use notepad to edit

i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.

If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say

No way..
OK, just decompiled-added icons from other decompiled framework-recompiled, no xml edits-installed. Look is changed, battery icons now displaying fine but... force closes and restarts the shell in less than 20 secs...

yup try the winrar method - there is no decompiling.. just copies the images into the *.apk
And shouldn't have any FC's if you try that method.

avgjoegeek said:
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
Click to expand...
Click to collapse
Yeah i changed icon with winRar, and all kinds of crazy stuff happed. Loop boots,and Fc

Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App

fritzgerald said:
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!

dfuse06 said:
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
Click to expand...
Click to collapse
Shoot me a link to the icons you're trying to use. What ROM are you using(name & version). What text are you looking to change? There's not one global change to make all the text different I'll need to know what specifically you're trying to change.

I use the uot kitchen you get the icon on perception 7,but im on 8 now. I'm running perception 7 darknees 2.3 theme, and that is what i'm trying to get the icons on its the battery icon of the android smiley faces it is version j with white numbers. i'm going to look for a link for them.i have the framwork-res.apk with them in it.

When you recompile with APK Manager, a couple of things are very important to do:
1. Hit yes to "system app".
2. Hit yes to restoring the files:
-Open the "keep" folder and delete resources.arsc. Then delete anything you changed (if it's there).
3. Do NOT sign it.
It should work.

PuffinNugz said:
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
Click to expand...
Click to collapse
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.

TheEscapist said:
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
Click to expand...
Click to collapse
I just dragged the images from a particular themes framework and dropped them to the new one all within 7zip.

Related

[ICON THEME] Coloured status bar icons

Well I never thought I would find myself contributing anything to XDA-Dev but I liked these icons so much I decided to share!
These icons are either hand made by myself, or edited from various sources. They feature a transparent background, so they should work well with most statusbar's out there. I am currently working on finishing the blue style icons across the board, and perhaps the purple as well (like the battery).
I have tested these on VanillaEclaire 4 and FroydVillan 1.1, and these work without MetaMorph etc etc.
These are fairly simple to install:
- Pull your framework-res.apk (should be in /system/framework) to the folder of your choice.
- Open framework-res.apk with WinRAR or 7zip and navigate to res\drawable-mdpi (some may be called drawable-hdpi). Just find the .png files that match the ones in my zip files.
- Drag your favourite .png files into the WinRAR/7zip window and click OK to save
- Push updated framework-res.apk to your device and reboot. (adb remount, then, adb push ..., adb reboot)
- If you wish to include the gmail, email, or sms icons like in the screenshot, please also update gmail.apk, email.apk, mms.apk as appropriate!
Update: Pictures! Tons more icons!
Update 2: Vending.apk icons (Market download notifications) See post
Mass spam of the icons, pick and choose!
Disclaimer:
Please update the filenames of the .png's as appropriate. I have created/included several copies that can be used as you please, so the names don't always match the .apk files.
Please make backups before pushing to /system
I have read posts on this forum regarding editing .apk files and the need to re-sign them, or issues with endless reboots after editing .apk files. I used WinRAR and did not create a new framework file, only edited it. I have had 0 issues.
Mega pack attachment below contains all icons from the other 3 zip files!
Update: Pink/Purple pack!
Reserved.
Hopefully I can upload pictures now.
Credits:
istockphoto.com
psdgraphics.com
My brother for helping me learn to use photoshop!
I can't get it to work? this what I get
E:Wrong digest:
system/framework/framework-res.apk
E:Verification failed
=[
I'll keep trying.I really wanna see a purple battery instead of green or blue
<3
Hi Jen, sorry was this when you were pushing or pulling the file? Rebooting?
I use a vanilla rom, and the location of framework-res.apk is exactly where you mentioned. I use a program called "ADB File Explorer" to find things on my device.
SpeeDemon said:
Hi Jen, sorry was this when you were pushing or pulling the file? Rebooting?
I use a vanilla rom, and the location of framework-res.apk is exactly where you mentioned. I use a program called "ADB File Explorer" to find things on my device.
Click to expand...
Click to collapse
When I was pushing in files..
I haven't tried it since I last posted,just don't have the time at the momment i'll give it another try tomorrow..But im really excited on getting this to work <3 i've been looking for something like this for the longest.
Ok sounds good! If it keeps failing to push, try ADB file explorer:
http://code.google.com/p/adb-file-explorer/downloads/list
Jen, you're not repacking the apk are you? Just need to update, If you look at my sig i've made a video on how to update images on the phone, might help =o)
SpeeDemon, I really like your battery icons, would it be ok to use them on my next video? I'm making a video on how to change the look of the battery status bar icon and rather than making crappy images myself would like to use your ones, I would of course give credit to you for the icons.
.FxN
Hey, sure thing fxn, go wild!
Bump for huge update! Still more to come!!!
These are superb SpeeDemon! Mind if I use a few of them in a theme I'm looking into creating?
Beautiful! Gonna try them ASAP! Thanks!
Absolutely fantastic work, muchly appreciated!
I have one small request… Could you make a blue Alarm Clock status bar icon please? Its the only thing left white on my system and looks weird lol
Soul_Est said:
These are superb SpeeDemon! Mind if I use a few of them in a theme I'm looking into creating?
Click to expand...
Click to collapse
Please, feel free, thank you!
SLX69 said:
Beautiful! Gonna try them ASAP! Thanks!
Click to expand...
Click to collapse
Thank you! Lemme know how they work out. Especially if you have a dark statusbar as I havent tested them on dark.
shadowch31 said:
Absolutely fantastic work, muchly appreciated!
I have one small request… Could you make a blue Alarm Clock status bar icon please? Its the only thing left white on my system and looks weird lol
Click to expand...
Click to collapse
How's this? Added some silver colour to the trim as it seems to fit the style.
That looks stunning!
By the way I'm using a black status bar and the electric blue set just fyi.
not working on my galaxy spica!! is there any resolution problem..
vineet.rox said:
not working on my galaxy spica!! is there any resolution problem..
Click to expand...
Click to collapse
Can you please elaborate for me? Are you getting error messages?
How did you update your .apk files and push them back to your device?
Thanks for your interest in the icons!
HTC Desire
Hi, first of nice icons
Second, do I need to put another rom on my Desire ???
It's running with what ever it came with.
Dennis
can i push my framework.apk without adb?
like with root explorer?
kind regards DauL
[email protected] said:
Hi, first of nice icons
Second, do I need to put another rom on my Desire ???
It's running with what ever it came with.
Dennis
Click to expand...
Click to collapse
Hi Dennis. These icons should work with most ROM's out there available for your device, rooted or otherwise. You will need to familiarise yourself with any of the various methods of pulling framework-res.apk from your phone, and placing the .png files into their correct folder (as outlined in my first post). Then you will need to update the file on the phone with your modified .apk (Google/Android call this "push").
x10i DauL said:
can i push my framework.apk without adb?
like with root explorer?
kind regards DauL
Click to expand...
Click to collapse
If root explorer can pull a copy to your SD card, you may be able to pull it and just do a normal file copy to your PC. You would then need to push it back from SD > /system using root explorer. I have never used the app before, but I just googled it now and some screenshots hint at this possibility.
I would still suggest trying to get ADB working - it is worth the hassle and much quicker than mounting/unmounting an SD card all the time!
i made it with root explorer. I made a copy from the system folder to SD card. then i sent the file via bluetooth to my pc. then i replaced some pictures and clicked OK. after this i sent the framework-res.apk back to my device. then i copied this and pasted it in System/framework and replaced the old one.
and now i cant boot anymore.
it just shows the startupshow (modified) and then there is a black screen which is illuminated a little bit..
so what can I do?
hope for a quick answer.
kind regards from sad DauL

[Q] Getting started on making themes.

Clicking the wiki just now gave me a 404 error and the sticky is a bit long and just a bit outdated in terms of the links.
What programs, apps, vids, etc do I need in order to make themes?
I have been flashing themes left and right and each have their goods and bads. The biggest bad is there doesn't seem to be a well done red theme which I would like to do. I have tried enamored but the notification icons kill it for me.
So again, are there any up to date tutorials on making themes? Thanks in advance for any help.
+1 to that
Sent from my Droid using Tapatalk
A quic and dirty how to
lovethyEVO said:
Clicking the wiki just now gave me a 404 error and the sticky is a bit long and just a bit outdated in terms of the links.
What programs, apps, vids, etc do I need in order to make themes?
I have been flashing themes left and right and each have their goods and bads. The biggest bad is there doesn't seem to be a well done red theme which I would like to do. I have tried enamored but the notification icons kill it for me.
So again, are there any up to date tutorials on making themes? Thanks in advance for any help.
Click to expand...
Click to collapse
shanesol said:
+1 to that
Sent from my Droid using Tapatalk
Click to expand...
Click to collapse
heres the How to
An apk is really just a zip file... apk stands for android package (if i remember correctly). So treat it like a standard zip file.
Youll need a pint program to make changes I use gimp its free so get it here
TIP: Your first theme should really just be a mixing and matching of other themes to get use to the process.
TIP: d/l and look at other themes and see what the have done, using the same process below you can port and mash themes. To see what is themed go to the res/drawable-xxx folders and sorte the png's in there to newest at the top and you'll see what they have changed.
TIP: system/app/xxx.apk are where most apps that are themed are contained in these apks you'll find a res folder and in there you have a bunch of folders. you really on need to look in the drawable-xxx ones mdpi, no-dpi, land and so forth. these pngs make up the apps look and feel changing them will theme the app.
You'll need apk manager this will allow you to sign zips which makes them flashable. get that here
Now get your favorite Rom and make a folder. In that folder make 2 folders one called packed the other called packed. Take your rom and unzip it in the unpacked folder. and then take the original zip and move it to the packed folder.
Next go into the unpacked folder and nav to system/framework.framework-res.apk (this holds the bulk of the android png that make up all the stuff most people change to make a theme) take this apk and unzip it in this folder and then make a copy of the apk and move the copy to the packed folder.
Now when you want to make a change to the framework-res.apk use the unpacked as a reference. us the packed as the change dir, you do this by opening but not unzipping the apk you want to change and just dragging the files you are replacing into the apk, this will replace them. You might want to make a a 3rd folder sorta of a master copy if you ever mess up the packed roms. Remember that in all three of the dirs created you want to keep the dir structure the way you extracted it from the rom and theme.
Now that you have an altered framework-res.apk you can just push it to system/framework folder (i think) and reboot and your changes are in. I never do this since flashable is easier to manage I make a flashable.
A flashable is like a rom but allot smaller, so d/l one of my themes and take the zip file and place in in a folder next to the packed and unpacked folder call it something like staging. now unzip apk manager into the top dir next to 4 other folders you just made.
Now my theme zip can be renamed to whatever you want, your going to use it as a place holder for signing flashable zips. go into the theme zip and delete ever thing in the system folder except the framework folder then go into the frame work folder and delete everything, if you have apps your theming just make the system/app.
Your flashable zip folder should only have a a meta-inf folder and a system folder, the system folder should only have a framework and or app folders. Now drag your altered framework-res.apk into the flashable zip system/framework folder you just cleaned out.
Ok now you have to sign it, copy that flashable zip to the place-apk-here-for-signing folder, this should have shown up when you unzipped apk manager into the folder the also contains unpacked and packed folders.
Now click on the script.bat and you'll see a bunch of option you can do option 16 to sign your zip. it takes a second or two and the date should get updated on the flashable.zip file in the place-apk-here-for-signing folder.
Now you have your new them ready to install. if your changing something else find the apk and replace framework-res.apk in these instruction and it works the same. note that most app reside in system/app so you next to take that into account.
Keep the questions reasonable and I'll answer then.
Thanks simmons. For the most part I have been doing the open apk without extracting and replacing png files. The one thing that I cant seem to get is changing the battery icon...it never sticks. Anyways, do the themes always have to be signed? I know amon 1.8 can flash unsigned zips but do the themes have to be signed always? I will be taking my laptop to work tonight to practice what you outlined. Thanks again.
EDIT: I noticed some themes have com.htc.resources.apk alongside framework res and some have services.jar. What are these for?
No they don't have to be signed but people will complain cause most people don't have the eng spl, it all so protects you from flashing bad stuff. If your only changing the standard 5 battery icons thus method always works.
The services.jar usually room specific and changes things like lock screen behavior mixes These with other roms will cause boot loops be careful.
Sent from my HERO200 using XDA App
Simmons thanks for answering so far.
My last question is to theme the entire phone is it basically the resources, framework, and services.jar files that need to be edited? I understand the apps would be themed themselves and then just included as part of the zip file right?
lovethyEVO said:
Simmons thanks for answering so far.
My last question is to theme the entire phone is it basically the resources, framework, and services.jar files that need to be edited? I understand the apps would be themed themselves and then just included as part of the zip file right?
Click to expand...
Click to collapse
well the service.jar is compiled and therefore can't necessarily be themed you can't hack it or mod it by decompling it or you can change it by compiling changes you made from source but for the sake of normal themes its not needed.
as for the resources I assume your referring to the resources.arsc which is basically a set of compiled xml files. In here it where you can change stuff like how many pngs are associated with the battery status icons (think of circle batter mod which has one icon per percentage instead of the 0 10 20 40 60 80 100 ? icons in the normal aosp rom) changing this can be done with the apk manage by decompiling the framework-res.zpk, making the change and compiling back. but I wouldn't recommend it to a beginner.
The problem with the above is you take the chance of the theme not be cross-rom compatible. For you normal theme all you need to change are the pngs in the res folder of the framework-apk, however somethings like the launcher or the dialer still reside in the app folder and have there own apk.
Oh and I have no question limit.
ASimmons said:
well the service.jar is compiled and therefore can't necessarily be themed you can't hack it or mod it by decompling it or you can change it by compiling changes you made from source but for the sake of normal themes its not needed.
as for the resources I assume your referring to the resources.arsc which is basically a set of compiled xml files. In here it where you can change stuff like how many pngs are associated with the battery status icons (think of circle batter mod which has one icon per percentage instead of the 0 10 20 40 60 80 100 ? icons in the normal aosp rom) changing this can be done with the apk manage by decompiling the framework-res.zpk, making the change and compiling back. but I wouldn't recommend it to a beginner.
The problem with the above is you take the chance of the theme not be cross-rom compatible. For you normal theme all you need to change are the pngs in the res folder of the framework-apk, however somethings like the launcher or the dialer still reside in the app folder and have there own apk.
Oh and I have no question limit.
Click to expand...
Click to collapse
Simmons, thank you very much. Every answer you give is clearing things up more and more for me. I have decompiled a frameworkres before when I was trying to get the circle batt mod onto the odex stock rom so I am not too unawares there. What I want to do is theme the colors on anything and everything along with making the transparent windows such as when you confirm actions and the transparent notification pull down. Are these really accomplished with simply changing the pngs or do I have to edit the xml files? If I must edit the xml files, are there key files to edit or would editing one xml affect another?
lovethyEVO said:
Simmons, thank you very much. Every answer you give is clearing things up more and more for me. I have decompiled a frameworkres before when I was trying to get the circle batt mod onto the odex stock rom so I am not too unawares there. What I want to do is theme the colors on anything and everything along with making the transparent windows such as when you confirm actions and the transparent notification pull down. Are these really accomplished with simply changing the pngs or do I have to edit the xml files? If I must edit the xml files, are there key files to edit or would editing one xml affect another?
Click to expand...
Click to collapse
The xml files really just hold names for the pngs. So for example the pngs for the battery have there names store in the xml (cant remember off hand which one of the decompiled xml from the resource.arsc.. strings??) file and then as the value value next to that filename for what percent to show that specific png at.
But 95% of your theming only involves changing the png files. So to have a clear notification back ground look in the framework-res.apk/res/drawable-mdpi/status_bar_background.png or you want to change the button to unlock your phone framework-res.apk/res/ic_jog_dial_unlock.png or to change the status bar framework-res.apk/res/statusbar_background.9.png
TIP: if you see a png with 9 in the name like xxxx.9.png its basically a stretchable png where the side that you want stechable has a one pixel wide line running the length of the png as a border this tells android that the png should stretch that side until it fills the screen.
9 patch explanation
So aside from editing the xmls for the battery percent everything is just replacong pngs? Thats awesome.
When it comes to apps like the internet browser for example, where would I find the apk? I'm assuming theming the apps is just like themeing the phone in that I just replace the .pngs right? Again your answers are very much appreciated and definitely making things seem easier. Thanks.
Hiya all.
I'm a noob at this too and I want to change the icons of some of the apps installed on my phone and theme a couple of widgets that am using. I have two questions:
1) In the system/app folder of the phone almost all the apps have a xxx.apk and a xxx.odex file. In order to change the png files in the apk does something need to be done with the odex file too?
2) Can I change the png files in the apk files in data/app the way you described above?
Sorry if the questions are noobish
From my Galaxy S loonie-phone
lovethyEVO said:
So aside from editing the xmls for the battery percent everything is just replacong pngs? Thats awesome.
When it comes to apps like the internet browser for example, where would I find the apk? I'm assuming theming the apps is just like themeing the phone in that I just replace the .pngs right? Again your answers are very much appreciated and definitely making things seem easier. Thanks.
Click to expand...
Click to collapse
To theme the browser you can alter the Browser.apk in the system/app and using the direction I posted it works the same way.
And if you make a theme pm me so I can check it out.
Fireloon said:
Hiya all.
I'm a noob at this too and I want to change the icons of some of the apps installed on my phone and theme a couple of widgets that am using. I have two questions:
1) In the system/app folder of the phone almost all the apps have a xxx.apk and a xxx.odex file. In order to change the png files in the apk does something need to be done with the odex file too?
2) Can I change the png files in the apk files in data/app the way you described above?
Sorry if the questions are noobish
From my Galaxy S loonie-phone
Click to expand...
Click to collapse
1. My theming expertise is more with AOSP roms but its my understanding that you should be able to theme a sense rom in the same way by de-odexing a rom. And yes any and all apps are themable if it has a png files in it you can unpack it alter the png's and put them back in the original apk, which overwrites the original png's and resign it and then flash or reinstall it.
2. Yes you can. any and all apks can be themed in the manner I described. for odexed roms search the forum for de-odexing techniques.
Thx for the answer. I'll search about deodexing
From my Galaxy S loonie-phone
Thanks for all the great tips I just got finished porting a theme thanks to all the help!
shanesol said:
Thanks for all the great tips I just got finished porting a theme thanks to all the help!
Click to expand...
Click to collapse
awesome pm some screenies or the op here I'd like to check it out.
ASimmons said:
awesome pm some screenies or the op here I'd like to check it out.
Click to expand...
Click to collapse
It's a simple black/white matte theme called Invertnito. It was made for Sapphire but I like CM too much to give it up lol
ASimmons said:
awesome pm some screenies or the op here I'd like to check it out.
Click to expand...
Click to collapse
Looking to have some sort of base by this weekend. I have just been mix/matching pngs I like from other themes as well as trying to make my own pngs and figuring out the transparency/borders effect. Taking my time but still want to come out with something for critique.
shanesol said:
It's a simple black/white matte theme called Invertnito. It was made for Sapphire but I like CM too much to give it up lol
Click to expand...
Click to collapse
Nice Job.
lovethyEVO said:
Looking to have some sort of base by this weekend. I have just been mix/matching pngs I like from other themes as well as trying to make my own pngs and figuring out the transparency/borders effect. Taking my time but still want to come out with something for critique.
Click to expand...
Click to collapse
Well I'm not much of a critiquer since most of the themeing stuff I've done doesn't go over so well around here (I dont like dark colors, black, dark blue blah blah) really its up to what you like, I made a couple of themes based on what I liked and left it at that. But I'll be glad to look at it and dont forget to make sure that if you use some elses stuff you give them there props in your ops and pm them a warning you going to use it, unless they specify different this is all you should need to do..
ASimmons said:
Nice Job.
Well I'm not much of a critiquer since most of the themeing stuff I've done doesn't go over so well around here (I dont like dark colors, black, dark blue blah blah) really its up to what you like, I made a couple of themes based on what I liked and left it at that. But I'll be glad to look at it and dont forget to make sure that if you use some elses stuff you give them there props in your ops and pm them a warning you going to use it, unless they specify different this is all you should need to do..
Click to expand...
Click to collapse
Definately making note of whose work I use. Though it's kind of hard because my favorite notification icons I have seen in two diff themes and neither one of them mention who was the artist for them. But still keeping at it. And like you I dont care about dark colors unless its used to contrast the main theme color. I'm working on a red theme and there will be some parts that will have a darkish background to help the red border colors and/or text pop more. In time though. Your first post here was definitely a great shove in the right direction.

Change statusbar color

Is there a way to change the color of the status bar ? Maybe some kind of app ?
Sent from my HTC Hero using XDA
App
yes there are many..
one of them is the search function
I'm gunna dredge this up because if you search "change status bar color" all you end up with is "show your home screen", a million threads on things with a title that has nothing to do with changing status bar colours and this thread.
How about being helpful for the new-to-android types that don't know what metamorph is and provide a link?
blakamin said:
I'm gunna dredge this up because if you search "change status bar color" all you end up with is "show your home screen", a million threads on things with a title that has nothing to do with changing status bar colours and this thread.
How about being helpful for the new-to-android types that don't know what metamorph is and provide a link?
Click to expand...
Click to collapse
I used google and found a link fairly quick but since I'm new and I can't post a link, I guess your just going to need to search using this phrase "how to use metamorph XDA". It should be the first link...
Change statusbar_background.png in framework-res.apk and push it back to your phone in Recovery
Or create a metamorph for it
mangus7175 said:
I used google and found a link fairly quick but since I'm new and I can't post a link, I guess your just going to need to search using this phrase "how to use metamorph XDA". It should be the first link...
Click to expand...
Click to collapse
Yeah, I've done it. I just meant that the reply (especially from someone with a donate button!) to the OP could be more helpful for people new to android.
Since it is possible to change the color of the status bar, is it also possible to change the color of the settings screen? This screen is white on black on my HTC evo (and I think other devices). I would like to change it to black on white or so. I searched a lot, but couldn't find any method how to do this. Thanks again for any ideas!
I guess it is not possible?
Sent from my PC36100 using XDA App
palmdude said:
I guess it is not possible?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
it's all in the framework-res apk
palmdude said:
I guess it is not possible?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
the status bar is an image found in framework-res.apk /res/drawable-hdpi/
statusbar_background.png - status bar image. change it in photoshop to what you like. it's not a "color," so you can change the image to have a shadow, a design, whatever you like.
just keep in mind that if you make it transparent (like i did)...it may not work well with other apps on your phone (i.e. you'll see the apps background through the bar on top, not always a good thing!
dont confuse it with status_bar_background.png, which is the background file for your notification drawer.
UOT Kitchen: http://circle.glx.nl/
yer welcome
Many thanks! I will try to find this in the file you mentioned. Basically I will change that background with white.
Max_Pain said:
the status bar is an image found in framework-res.apk /res/drawable-hdpi/
statusbar_background.png - status bar image. change it in photoshop to what you like. it's not a "color," so you can change the image to have a shadow, a design, whatever you like.
just keep in mind that if you make it transparent (like i did)...it may not work well with other apps on your phone (i.e. you'll see the apps background through the bar on top, not always a good thing!
dont confuse it with status_bar_background.png, which is the background file for your notification drawer.
Click to expand...
Click to collapse
Sent from my PC36100 using XDA App
To change the text colors, you must first find the correct xml file to what you wish to change.
Decompile framework-res.apk with ApkManager
go in Folder layout, and search
status_bar_latest_event_content.xml
status_bar_expanded.xml
status_bar.xml
Click to expand...
Click to collapse
Edit with Notpad++ the Colors!!
Compile framework-res.apk and Copy new Files in your framework-res.apk Signed File and Copy your Phone!!
Thanks guys! I haven't tried it yet, but this is exactly the answer I have looking for !!
Now I just need to find a few hours of free time to learn/do this compiling/decompiling stuff. But I am confident
Sent from my PC36100 using XDA App
Wow I need to try this.
LostEden said:
Decompile framework-res.apk with ApkManager
go in Folder layout, and search
Edit with Notpad++ the Colors!!
Compile framework-res.apk and Copy new Files in your framework-res.apk Signed File and Copy your Phone!!
Click to expand...
Click to collapse
In these files I can not find options for changing the color of hours.
LostEden said:
Decompile framework-res.apk with ApkManager
go in Folder layout, and search
Edit with Notpad++ the Colors!!
Compile framework-res.apk and Copy new Files in your framework-res.apk Signed File and Copy your Phone!!
Click to expand...
Click to collapse
decompile or extract? apk manager has two options
NXUS said:
decompile or extract? apk manager has two options
Click to expand...
Click to collapse
You have to decompile to be able to edit xml files. One of those three files mentioned to search for(status bar expand) causes my phone to boot loop when I edit it. Is it linked to some other file that must also be edited?
LostEden said:
Decompile framework-res.apk with ApkManager
go in Folder layout, and search
Edit with Notpad++ the Colors!!
Compile framework-res.apk and Copy new Files in your framework-res.apk Signed File and Copy your Phone!!
Click to expand...
Click to collapse
Can someone please explain how to edit the colors in notepad++ with this method ?
Much thanks !!

How can I mix different themes?

Hi guys.
I've been using the Elegance Theme by Erestor6 for some time now, but I find I would really like a white status bar.
So I went to the UOT Kitchen and designed my own.
It's not refined like the work of Erestor, but it will do for me.
Problem, in the first attached image you can see the result of my UOT kitchen mod.
It's nice but the default switch buttons don't fit.
In the second image you can see the wonderfull Erestor work.
I would like to have his switches and my status bar. How can I do that?
Also in the third image you can see a problem: whenever a phone call is started, the status bar turns black again. I suspect it's embedded in the dialer apk.
Can anyone help me in fixing these issues?
erups said:
Hi guys.
I've been using the Elegance Theme by Erestor6 for some time now, but I find I would really like a white status bar.
So I went to the UOT Kitchen and designed my own.
It's not refined like the work of Erestor, but it will do for me.
Problem, in the first attached image you can see the result of my UOT kitchen mod.
It's nice but the default switch buttons don't fit.
In the second image you can see the wonderfull Erestor work.
I would like to have his switches and my status bar. How can I do that?
Also in the third image you can see a problem: whenever a phone call is started, the status bar turns black again. I suspect it's embedded in the dialer apk.
Can anyone help me in fixing these issues?
Click to expand...
Click to collapse
the toggle buttons are stored in systemUI.apk, you have to change them manually, not with UOT
i uploaded the icons for you , you can exchange them with erestor ones and put em back in systemUI.apk ...
75markus said:
the toggle buttons are stored in systemUI.apk, you have to change them manually, not with UOT
i uploaded the icons for you , you can exchange them with erestor ones and put em back in systemUI.apk ...
Click to expand...
Click to collapse
Thanks, but yours are not the same as Erestor's.
But you pointed me in the right direction: I thought all these files were packed somehow, but looking in erestor's zip they are all there in plain site.
I can try a merge
Edit: I spoke too soon, the UOT zip is packed. They are already apk files.
How can I unpack them?
erups said:
Thanks, but yours are not the same as Erestor's.
But you pointed me in the right direction: I thought all these files were packed somehow, but looking in erestor's zip they are all there in plain site.
I can try a merge
Edit: I spoke too soon, the UOT zip is packed. They are already apk files.
How can I unpack them?
Click to expand...
Click to collapse
yes, i know they are not same, just wanted to point you to this direction ...
just use winrar, winzip, 7zip or whatever to extract them
75markus said:
yes, i know they are not same, just wanted to point you to this direction ...
just use winrar, winzip, 7zip or whatever to extract them
Click to expand...
Click to collapse
You mean an apk is just a zip????
My gosh... couldn't believe it
erups said:
You mean an apk is just a zip????
My gosh... couldn't believe it
Click to expand...
Click to collapse
Yeah, that´s it
just open it with winRAR, and drag new icons into it.
as long as if you don´t change xml files, you can just drag & drop
Yes I noticed, thanks mate!!!
Now since I'm modding my phone, I tried modding the bootanimation.
I took the one I chose with the UOT, unpacked, modified the images, resaved, repacked and put it in my phone.
It doesn't work.
The images have the exact same dimensions and name, still the screen is black.
I used photoshop to save the PNGs.
What may be wrong?
One frame is attached below.
erups said:
Yes I noticed, thanks mate!!!
Now since I'm modding my phone, I tried modding the bootanimation.
I took the one I chose with the UOT, unpacked, modified the images, resaved, repacked and put it in my phone.
It doesn't work.
The images have the exact same dimensions and name, still the screen is black.
I used photoshop to save the PNGs.
What may be wrong?
One frame is attached below.
Click to expand...
Click to collapse
I can tell you :
for bootanimation, it is necessary that you save the zip WITHOUT Compression after modding the images ! (not just drag & drop into zip file, this will use compression !)
you can choose that in winRAR for example, just use option : save
you can have a look at my bootanimation and check archive details ...
http://www.mediafire.com/75markus#r5ah69lj81ci8,1
75markus said:
I can tell you :
for bootanimation, it is necessary that you save the zip WITHOUT Compression after modding the images ! (not just drag & drop into zip file, this will use compression !)
you can choose that in winRAR for example, just use option : save
Click to expand...
Click to collapse
Ok thanks!
It's working
erups said:
Ok thanks!
It's working
Click to expand...
Click to collapse
fine 10 chars

[Q] OnOffTools background ?

I've decompiled OnOffTools.apk but I don't find the png image of the widgets background in drawable-xhdpi...
Any idea where I can fing this png ?
Thanks in advance.
how does your /res/...folders look?
there should be the pngs...hdpi,mdpi,xhdpi folder and more
i tried it out,i see them
i see there pngs like minimised_plate.png, plate.png, plate_pressed.png and all the icon.png's
see my png file,thats in drawable-xhdpi folder
is it, what you ask for?
edit:
i saw you asked the same in the honami home thread? so i guess you mean the onofftools.apk from that honami.zip?
i decompiled, and there isnt plate.png's...you are right.
is it transparent?
immerblind said:
how does your /res/...folders look?
there should be the pngs...hdpi,mdpi,xhdpi folder and more
i tried it out,i see them
i see there pngs like minimised_plate.png, plate.png, plate_pressed.png and all the icon.png's
see my png file,thats in drawable-xhdpi folder
is it, what you ask for?
edit:
i saw you asked the same in the honami home thread? so i guess you mean the onofftools.apk from that honami.zip?
i decompiled, and there isnt plate.png's...you are right.
is it transparent?
Click to expand...
Click to collapse
Yes, I use the honami onofftools.apk. The widget backgroung is white. There's plate.9.png in /res/drawable/nodpi. I hope it's the good one.
Thanks.
OnOffTools.apk\res\drawable-nodpi\plate.9.png
dully79 said:
OnOffTools.apk\res\drawable-nodpi\plate.9.png
Click to expand...
Click to collapse
Thanks.
I've modified plate.9.png (just applied negative filter on the white part), refashed OnOffTools.apk, but Xperia home FC when I try to add the widgets.
However, since it is a 9 patch png, I've left the image border unchanged...
When you saved the image did you save it as a .9.png and not a standard .png?
It works fine in my UFT zip
dully79 said:
When you saved the image did you save it as a .9.png and not a standard .png?
It works fine in my UFT zip
Click to expand...
Click to collapse
No. I use Gimp 2.8 or PaintShop Pro and they don't propose saving as .9.png...
nreuge said:
No. I use Gimp 2.8 or PaintShop Pro and they don't propose saving as .9.png...
Click to expand...
Click to collapse
A lot of the time photoshop doesn't.
I usually copy out the images im editing to another folder, make my edits and then when saving double click the image in the new folder to pick up the full name including .9
I use a USB stick as my workbench so i can drag and drop without moving and overwriting things unless i want to.
dully79 said:
A lot of the time photoshop doesn't.
I usually copy out the images im editing to another folder, make my edits and then when saving double click the image in the new folder to pick up the full name including .9
I use a USB stick as my workbench so i can drag and drop without moving and overwriting things unless i want to.
Click to expand...
Click to collapse
Yes, I've renamed my new image with .9.png extention and I'm really think that my new .9.png is good. Then, I've use Winrar to replace the png in OnOffTools.apk. Actually, Xperia home FC because my new OnOffTools.apk does not want to install...
I'll try to recompile OnOffTools.apk instead of using Winrar.
oh you not use apktool for decompile and recompile?
i recommend using it. its quiet easy after you setup everything
i normally open the 9.png with photoshop,then i edit and keep the black borders like it was, i not touch frame.just change color or whatever.then i just save it. (same file) its the best to edit the stock files. i think better than replace with others. just my experience
(for example open stock.9.png in drawable folder, then edit it, and override/save the file same place...)
oii,im not sure, was that understandable english?
also at beginning i got errors, only while i painted wrong accidentally some pixels in 9.png files. you sure you not touch the borders?
edit: i read u tried recompiling? have some errors while recompiling?
more edit: i remember something, after recompiling you put META-INF and AndroidManifest.xml from the stock OnOffTools.apk inside your new compiled apk?
nreuge said:
Yes, I've renamed my new image with .9.png extention and I'm really think that my new .9.png is good. Then, I've use Winrar to replace the png in OnOffTools.apk. Actually, Xperia home FC because my new OnOffTools.apk does not want to install...
I'll try to recompile OnOffTools.apk instead of using Winrar.
Click to expand...
Click to collapse
Dont bother messing with apks, use UFT.zip, you can find a link and details in my thread in the theme section(basic theming guide).
immerblind said:
oh you not use apktool for decompile and recompile?
i recommend using it. its quiet easy after you setup everything
i normally open the 9.png with photoshop,then i edit and keep the black borders like it was, i not touch frame.just change color or whatever.then i just save it. (same file) its the best to edit the stock files. i think better than replace with others. just my experience
(for example open stock.9.png in drawable folder, then edit it, and override/save the file same place...)
oii,im not sure, was that understandable english?
also at beginning i got errors, only while i painted wrong accidentally some pixels in 9.png files. you sure you not touch the borders?
edit: i read u tried recompiling? have some errors while recompiling?
Click to expand...
Click to collapse
Sucess!!
Firstly, I didn't succeed in recompliling because my 9.png was wrong. Now, the recompiling is working so the 9.png is ok.
The Winrar method don't seem to work all the time because I've use it with the good 9.png and then after fashing Xperia home FC.
Thanks for your help.
I would also suggest using apkmanager or multitool as they provide an log to check for errors.

Categories

Resources