Related
So I have two questions regarding the icons in the "taskbar" (ie 3G, BT, WIFI, time, etc)...
1. Is it possible to make these icons smaller? If I have Service, BT on and the phone on Vibrate the taskbar gets filled up pretty quickly and I was wondering if there was a way to shrink these down?
2. Has anyone been able to replace the battery icon with a percentage?
Thanks.
Stigy said:
So I have two questions regarding the icons in the "taskbar" (ie 3G, BT, WIFI, time, etc)...
1. Is it possible to make these icons smaller? If I have Service, BT on and the phone on Vibrate the taskbar gets filled up pretty quickly and I was wondering if there was a way to shrink these down?
2. Has anyone been able to replace the battery icon with a percentage?
Thanks.
Click to expand...
Click to collapse
Any of that is possible by editing the .xml files.
supremeteam256 said:
Any of that is possible by editing the .xml files.
Click to expand...
Click to collapse
So I would have to edit these .xml files (location?) and then resign the update and flash my phone?
Stigy said:
So I would have to edit these .xml files (location?) and then resign the update and flash my phone?
Click to expand...
Click to collapse
You can't edit the compiled xml files straight from an apk. You'd have to rebuild that apk from the source.
goldenarmZ said:
You can't edit the compiled xml files straight from an apk. You'd have to rebuild that apk from the source.
Click to expand...
Click to collapse
Okay so do you know which apk the battery icon is in?
I'm surprised no one has replaced the battery icon with a percentage yet.
Thanks.
I *think* it's in framework-res.. let me just check.
Edit: yep.. /system/framework/framework-res.apk
goldenarmZ said:
I *think* it's in framework-res.. let me just check.
Edit: yep.. /system/framework/framework-res.apk
Click to expand...
Click to collapse
Okay so I can go in there, edit the files accordingly and just re-push that file via adb correct? I would have NO idea what I was doing a few months back. Its so awesome to be involved in these forums.
Thanks in advance.
Stigy said:
Okay so I can go in there, edit the files accordingly and just re-push that file via adb correct? I would have NO idea what I was doing a few months back. Its so awesome to be involved in these forums.
Thanks in advance.
Click to expand...
Click to collapse
You can edit the images that way, but if you want to edit the xml's you'll have to pull them from the android source and recompile through eclipse. The xml files within an apk are in binary format and you can only really change them with a hex editor.. not very practical.
The documentation here will help you get started with the source:
http://source.android.com/download
You might also want to run through the "hello world" project to get used to compiling with eclipse.
Once you start digging around in the source you're getting deep into the geek sh*t.. It may seem daunting at first but you can accomplish so much.
This falls under "theming".. theres some good info for you here:
http://forum.xda-developers.com/showthread.php?t=471586
goldenarmZ said:
You can edit the images that way, but if you want to edit the xml's you'll have to pull them from the android source and recompile through eclipse. The xml files within an apk are in binary format and you can only really change them with a hex editor.. not very practical.
The documentation here will help you get started with the source:
http://source.android.com/download
You might also want to run through the "hello world" project to get used to compiling with eclipse.
Once you start digging around in the source you're getting deep into the geek sh*t.. It may seem daunting at first but you can accomplish so much.
This falls under "theming".. theres some good info for you here:
http://forum.xda-developers.com/showthread.php?t=471586
Click to expand...
Click to collapse
Perfect, thanks.
Is it possible to make the status bar on android 2.1 to look like froyo's ? White !?
dzadze said:
Is it possible to make the status bar on android 2.1 to look like froyo's ? White !?
Click to expand...
Click to collapse
yes, the png resides in the /system.framework/framework-res.apk in there its under res\drawable-mdpi\statusbar_background.9.png.
So use 7 zip and apk manager take this png i posted, go into the mentioned folder above in your favorite rom or theme and replace it with this one its the stock one from CM6.
note: don't alter this png its a 9 patch just replace it in the apk without unziping it or the rom in which your replacing it in. You'll also need to resign your rom or you could just push the new framework-res.apk in a root adb shell.
i don't really understand you... do i need rooted phone.. i can't fint that folder.. ? can u explain me a little more please !
Yes your phone will need to be rooted. And you'll need to use a standard theme setup.
Sent from my HERO200 using XDA App
where can i find that folder ? i cant find on my sdcard or on the phone .. ?
dzadze said:
where can i find that folder ? i cant find on my sdcard or on the phone .. ?
Click to expand...
Click to collapse
I would suggest hitting up the theming thread but that files resides in system/framework/framework-res.apk
sorry for this but, how to pull or hit out that files from the phone ? can u explain me a little more pls
dzadze said:
sorry for this but, how to pull or hit out that files from the phone ? can u explain me a little more pls
Click to expand...
Click to collapse
Go read the stickies on ADB.
(Assuming you're all set up - adb pull system/framework/framework-res.apk)
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.
How can I edit the control bar ?
Any help would be appreciated.
I can provide you whatever you need from the ROM.
Thanks !
Anyone ? .
I have no idea about you r phone...but they are 9.png´s and probably in framework-res.apk.
I've searched everything in framework-res.apk but I cannot find them anywhere.
what´s your Rom?
Void ROM. Do you want me to upload something ?
badeaioan said:
Void ROM. Do you want me to upload something ?
Click to expand...
Click to collapse
yeah, framework-res.apk
Here you go.
Thank you !
u use a theme?..cause the battery icon is different..
Yes, I have modified it using the online theme kitchen.
Only the notification bar is modified.
ok.
It´s all in frameworks... but as you use kitchen, I dont know how about applying a morph over it, never tried kitchen......I would use default "void" framework and apply a morph for all your changes.
I can extract the original framework-res.apk from the void ROM. Can you do something with it ?
badeaioan said:
I can extract the original framework-res.apk from the void ROM. Can you do something with it ?
Click to expand...
Click to collapse
do morphs work on your Rom?
Haven't tried any morph yet. Any way I could check ?
Here is the original framework.
yes, take a morph for your phone and try it..a framwork morph would be good.
Sorry to say but there are none morphs for my phone. It is pretty new in this area.
Where have you found them in the framework ? Can't I modify it and then repack + sign the framework ?
Test Morph_DarkX
ok...if this test morph works on your default framework-res.apk (not kitchen!)..you can start to theme
- put "DarkX.zip" in /sdcard/AndrodThemes/
- apply with MetaMorph (app from Market)
It gets stuck at Applying framework-res.apk.
badeaioan said:
It gets stuck at Applying framework-res.apk.
Click to expand...
Click to collapse
- You got Void's default framework-res.apk ?
- Applied DarkX.zip with MetaMorph?
Sent from my Nexus One
Hi, I've searched thoroughly through this and other forums, but this topic doesn't seem to interest many people...and even when there are questions, answers are often imprecise and evasive.
I'd like to know how to modify the toggle buttons in my statusbar. I want to remove the orientation switch (who uses it, seriously?), and add (for a total of 6 buttons), toggle data and 2G/3G switch...is that possible? Yes it is, it's Android
But how to do it? Is there a guide or even some files ready for flashing? I'd like to get rid of Extended Controls once and for all...
Thanks in advance, looking forward for an answer
Unfortunately it's not possible to edit those buttons on the Stock LG ROM.
remczar69 said:
Unfortunately it's not possible to edit those buttons on the Stock LG ROM.
Click to expand...
Click to collapse
Another good reason to switch to a cooked ROM
Anyway, can you post anything you are willing to (links to guides, files...) for doing this on other ROMs? And maybe a list of ROMs that allow this operation (or, at least, the characteristic they need to have, for example a certain kernel or other stuff).
Thanks in advance
I know for sure that CM 7 has that possibility. I use CM7 it is pretty stable for me.
it it possible to hide the buttons?
(using modaco r19)
thx
lixeira said:
it it possible to hide the buttons?
(using modaco r19)
thx
Click to expand...
Click to collapse
cook rom without buttons, you can choose in kitchen
75markus said:
cook rom without buttons, you can choose in kitchen
Click to expand...
Click to collapse
i know ... dont have modaco premium account
you can use apk manager to decompile the framework-res.apk file
then modify a file called status_bar_expanded.xml (found in /res/layout)
then compile it
i have made the edits to the files, but i cant get it do compile again
(attached the xml file, rename the file back to .xml)
Mjuksel said:
you can use apk manager to decompile the framework-res.apk file
then modify a file called status_bar_expanded.xml (found in /res/layout)
then compile it
i have made the edits to the files, but i cant get it do compile again
(attached the xml file, rename the file back to .xml)
Click to expand...
Click to collapse
Not that skilled yet still learning ... but thanks
i'm not that skilled either so don't mind it
i just can't get it to recompile