I'm trying to replace the 3g and reception bars icons in the taskbar but I can't seem to locate the .pngs in framework-res.apk. I thought they were in the drawable-hdpi-v4 folder but no dice. Can someone point me to where they are? I can change them myself once I find them. If anyone's interested, it's a VaelPak 2.3 framework-res with MattedBlues icons replacing most of those in the framework-res, I'll upload it when done. Thanks.
Look in drawable-mdpi, the names should be something like stat_sys_data
C0dy said:
Look in drawable-mdpi, the names should be something like stat_sys_data
Click to expand...
Click to collapse
The taskbar icons are in the drawable-hdpi-v4 on my ROM, which I'm pretty sure is the same as the mdpi folder. I saw the 3G icons (not the reception bar ones) but when I replaced them then pushed the new framework-res, they don't change. I'm using ClockWorkMod Recovery so I can mount the system partition and push the file but it has an issue with clearing dalvik. Could this be the problem? Also, do I have to replace the Gmail icon in the gmail.apk? That is still the old style also. Thanks for the help.
I found what I was looking for: the icons are in the com.htc.resources.apk in /system/res folder. Switched 'em out, all good. The taskbar isn't finished 'cause I gotta get into some individual app .apk but when I'm finished doing that and probably making a whole theme, I'm gonna post it on VaelPak forum: http://vaelek.com/. Thanks.
What file controls the extended power menu? Thnx
Theres a lot of them.
framework-res.apk needs to have icon images added in, and .xml files changed to accommodate them.
framework.jar needs to have .smali files duplicated and edited to make the new buttons shutdown, reboot, etc.
android.policy.jar needs to have .smali files edited to add the extra three menu items.
Sent from my Captivate.
Thank you sir!
Sent from my SCH-I897 using XDA App
Customizing an app with icons of choice:
App considered in example: Settings.apk
Archive software: winrar
Image editor: GIMP Portable
Download and install software needed, if not already present:
An image editor that lets you work on images, a little advanced preferred so the transparency of icons is not lost. I used GIMP portable version since this won't create any registry entries and would be un-intrusive on my system.
Winrar to extract files from the app.
Copy the Settings.apk from /system/app folder to some temp folder, say /sdcard/temp using an app like Root Explorer
Connect the phone to computer and copy this app from temp folder to computer
Download and install winrar on computer
Note: I used winrar, you can use any archive manager of your choice as long as you can open the apk file with it
Open Settings.apk with winrar
Enter the folder "res"
You will find a few folders here. Copy the folder "drawable-hdpi" to desktop.
Open this folder and turn on image previews.
This folder contains the icons used in the app. Select the icons you want to update.
Creative part here: Search for icons that appeal to you, or you feel would appeal to public if you plan to release it public. Don't worry abt the size, but ensure they are atleast 96x96.
Sizes as per my preference:
App icon as seen in app drawer: 96x96
Internal icons in settings: 64x64
The (b) above may not always hold good. You could try with one size, and then try resizing to best fit the app you are working on.
Open the icon you downloaded in GIMP and resize it.
On toolbar: Image --> Scale Image --> Type in the width and height you want (pref in pixels to be accurate) and click "Scale"
Save the file.
Give this file the same name as the icon you want to replace.
Repeat steps 11 through 13 to resize all the icons you want to replace.
Please make sure the icon that is visible in app drawer is atleast 96x96.
Copy these new icons into the "drawable-hdpi" folder overwriting the existing files.
Open Settings.apk with winrar
Enter the folder "res"
Enter the folder "drawable-hdpi"
Drag and drop all the icons in our "drawable-hdpi" on desktop into this folder in winrar
Close winrar (it is auto saved).
Move the "drawable-hdpi" to recycle bin (do not delete it at this point)
Open Settings.apk again in winrar, and extract the "drawable-hdpi" folder to desktop.
Open this folder and make sure all the icons are present in it as per the updating you just did.
Move this file to phone to some location say /sdcard/temp
Open root explorer and move this file to /system/app
You might consider backing up the current Settings.apk file to Settings.bak before copying the new file there (it is always recommended to backup the existing app in case you wanted to revert)
Thats' it. You now have a new look settings app.
*** All standard 'messing with system outcomes' disclaimers apply ***
Word of caution. Non stock apps may not update correctly in the market after doing this.
whiteguypl said:
Word of caution. Non stock apps may not update correctly in the market after doing this.
Click to expand...
Click to collapse
I don't think this could cause an issue 'cos all I am updating here are some images, not any XML or anything.
Edit: I haven't so far tried it on any apps I bought from market so far.
Great write up...
Thanks for doing this...It takes the mystery out of changing things around some.
Mac
I was actually looking into this and am very glad you put up a tutorial. Thanks a lot!
If you simply want to change the app icon on the homescreen as opposed to the app drawer, download Desktop VisualizeR. Great and simple app that allows you to pick and choose icons for different apps. Really fast to do if all you want is home screen and don't care about app drawer.
danrubi said:
I was actually looking into this and am very glad you put up a tutorial. Thanks a lot!
If you simply want to change the app icon on the homescreen as opposed to the app drawer, download Desktop VisualizeR. Great and simple app that allows you to pick and choose icons for different apps. Really fast to do if all you want is home screen and don't care about app drawer.
Click to expand...
Click to collapse
Yea. Changing just the home screen icon can be done even through Launcher Pro shortcuts. This changes the icon whole. This way it gets changed with the new one in the drawer, and retains the new one even when u create a shortcut wherever u want.
nice write up diablo.
this will help people who might want to make a theme, or customize their phone or whatever, but have no idea where to start.
di11igaf said:
nice write up diablo.
this will help people who might want to make a theme, or customize their phone or whatever, but have no idea where to start.
Click to expand...
Click to collapse
Thanks dilli.
Did u like my settings app customizations? Would it be worth considering to put them into our green and blue themes?
Nice write up but for making only minor changes, such as with swapping out a few images, isn't it much easier and faster to just use ninjamorph?
newter55 said:
Nice write up but for making only minor changes, such as with swapping out a few images, isn't it much easier and faster to just use ninjamorph?
Click to expand...
Click to collapse
This is assuming with no tools. Just the basic editors. And like I said, this is my first step, and I don't even know any tools.
im trying to install these signal bars.
ive tried following these steps but going into framework-res instead of apps for the signal bars, but when i went to paste the folder back into the framework-res / res folder it just made a copy outside of the framework-res and nothing has changed
bignate78 said:
ive tried following these steps but going into framework-res instead of apps for the signal bars, but when i went to paste the folder back into the framework-res / res folder it just made a copy outside of the framework-res and nothing has changed
Click to expand...
Click to collapse
Open framework-res.apk in winrar. Browse to the folder u want within winrar. Drag and drop the files there.
If u can wait abt an hour, I can upload my version of customized 3.0 FF ROM. Incidentally I have customized a couple icons in framework-res.apk, and happen to include the same signal icons. U could use my framework apk if u wanted to.
Will this change anything on my phone besides the signal bars?
Sent from my SAMSUNG-SGH-I897 using XDA App
bignate78 said:
Will this change anything on my phone besides the signal bars?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Nope. Only a few more icons here n there like changing some icons to green that were initially with no color. Changed the sync icon. Rest all the same.
Unrar the file and u will get an apk file. Copy this into /system/framework folder on ur phone using an app like root explorer, and reboot immediately (ignore any FCs).
Cause I dnt want to change what's done to my phone besides the signal bars.
And thanks a ton for the help!!
Sent from my SAMSUNG-SGH-I897 using XDA App
bignate78 said:
Cause I dnt want to change what's done to my phone besides the signal bars.
And thanks a ton for the help!!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
U can extract the files from the apk and compare the images between existing and this one. Hardly any changes.
Let me recall:
1. Sync icons
2. Wifi icons
3. Some icons color changed to green, and some error icons to orange (these were colorless earlier)
diablo009 said:
U can extract the files from the apk and compare the images between existing and this one. Hardly any changes.
Let me recall:
1. Sync icons
2. Wifi icons
3. Some icons color changed to green, and some error icons to orange (these were colorless earlier)
Click to expand...
Click to collapse
ok cool let me look at them and if i like them could you possably change the colors?
bignate78 said:
ok cool let me look at them and if i like them could you possably change the colors?
Click to expand...
Click to collapse
10char
diablo009 said:
10char
Click to expand...
Click to collapse
is there anyway i can send my framework and have you change the bars and basically change what would be green in yours to blue in mine?
So I changed the statusbar background to a transparent png and the status bar does become transparent upon reboot. however it becomes dark again after I open an app or turn the screen on and off.
I also changed the png to show an extra bar of signal, but it still shows one bar for some reason. Can some one please help me here.
I am on Arhd 11.0, and my systemui.apk file is https://www.dropbox.com/s/0n8o1pkvt8f3q0u/SystemUI.apk
Can some one please help me here
Thnx
Sent from my HTC One using XDA Premium HD app
In which folder did you changed the png?
And did you do it with VTS or apktool?
Drawable xhdpi and drawable xxhdpi.
I used 7 zip
Sent from my Nexus 10 using XDA Premium HD app
EnIXmA said:
Drawable xhdpi and drawable xxhdpi.
I used 7 zip
Sent from my Nexus 10 using XDA Premium HD app
Click to expand...
Click to collapse
Umh, you know that you have to sign the apk after some change?
EnIXmA said:
So I changed the statusbar background to a transparent png and the status bar does become transparent upon reboot. however it becomes dark again after I open an app or turn the screen on and off.
I also changed the png to show an extra bar of signal, but it still shows one bar for some reason. Can some one please help me here.
I am on Arhd 11.0, and my systemui.apk file is https://www.dropbox.com/s/0n8o1pkvt8f3q0u/SystemUI.apk
Can some one please help me here
Thnx
Sent from my HTC One using XDA Premium HD app
Click to expand...
Click to collapse
I really appreciate you for trying to figure it out on your own how to do this stuff, instead of just asking someone else to do it Well First off, you can't edit the signal bars to show more signal. it's gonna show what the network provides. Next the statusbar background. you edited the right image, but you didn't add it's 9 patch back after you edited it to transparent. So I edited the image correctly for you. Just so you know inside the tools folder in your android sdk you will see draw 9 tool use that to add the 9patch back into your image before you compile it back. Also I should note that the statusbar will appear solid in most HTC apps like blinkfeed,appdrawer, etc. htc draws the statusbar from the background images in lots of it's apks. Anyways attached is your apk. It should be what your looking for.
rayford85 said:
I really appreciate you for trying to figure it out on your own how to do this stuff, instead of just asking someone else to do it Well First off, you can't edit the signal bars to show more signal. it's gonna show what the network provides. Next the statusbar background. you edited the right image, but you didn't add it's 9 patch back after you edited it to transparent. So I edited the image correctly for you. Just so you know inside the tools folder in your android sdk you will see draw 9 tool use that to add the 9patch back into your image before you compile it back. Also I should note that the statusbar will appear solid in most HTC apps like blinkfeed,appdrawer, etc. htc draws the statusbar from the background images in lots of it's apks. Anyways attached is your apk. It should be what your looking for.
Click to expand...
Click to collapse
My status bar disappeared after I reboot.
Sent from my HTC One using XDA Premium HD app
Hey guys how would i go about themeing the status bar icons.
I already got my Battery Themed using Wanem Xposed.
But how can i theme my 4g, wifi Vibrate etc....
let me know
Bump
I think that stuff is in the SystemUI.apk file.
I believe you have to pull it off the phone, unpack it, edit the files, pack it again, and resign it before putting it back on the phone.
There could be an easier way, though.
Sent from my SAMSUNG-SM-N900A using xda app-developers app