[Q] about image resources [Resolved] - Galaxy Note II Q&A, Help & Troubleshooting

EDIT: Turns out that my carrier has decided that it needs three apks for the dialer res, just found my other set of resources in another contacts.apk Bloody carriers!!!
Hopefully someone can help me here.
I've been trying to edit the images for a personal theme, but I've come across a bit of a stumbling block in my Contacts.apk
The res images for the dialer in the contacts seem to not be present. I've compared to other SecContacts.apk and apparently my DcmContacts.apk (I have a docomo Note 2) doesn't have a /drawable-sw359dp-xhdpi/ that contains the images for the dialer background and such. However the dialer does have the stock touchwiz images for the dialer background and top/action bar. I cannot for the life of me find these images in any of the directories in the res folder of either my DcmContacts.apk or SecPhone_DCM.apk, I checked there just in case.
Now I was wondering if anyone could point me in the right direction, where would the apk be pulling the res images from, would I need to edit smali or have missed something completely, another apk or the like??
If anyone can help, it would be much appreciated. Thanks

Related

CM7 Status Bar Messed Up

Is it just me or is this a bug in the rom? I did do some systemui and framework editing but i cannot solve this. Basically the headers "ongoing" and "notifications" is given a space too large and the color is not showing up. also, beneath notifications where it is supposed to be transparent, it is not. I have played with the statusbar files but I may be mistaken. Can someone tell me what files corresponds to these issues?
I'm also having a problem with the contact pictures. There is a really ugly white frame around it. How can i get rid of this? Thanks for your help
From what I can see, you have selected a theme, either from the theme manager or from flashing a theme. If it was from the theme manager, revert to the system theme, I'm sure it will fix your notification issue. It's most likely a bug in the theme. Also, the area below the notifications on the stock system theme is 100% opaque, it's a google thing. It isn't transparent anymore. The framework editing you did probably further screwed up some UI stuff. Especially if you edited .9 png's without decompiling framework-res.apk, you could have some distorted images.
If selecting the system theme in the theme manager doesn't work, then wipe & reflash the ROM, whether it be RC1 or the latest nightly.
As for the contact frame, it's part of gingerbread. I'm sure it's a framework png in framework-res.apk somewhere, and if you can find it, and it doesn't have a .9 or a .9.png ending to the filename, then open it up in your favorite image editing tool and make the entire image transparent (as in raise the alpha of the layer). If it DOES have a .9 on the end of it, leave it alone, chances are, you'll only screw it up.
If I remember correctly, the contact frame, being a frame, is a .9 image, so you should probably live with it. If you REALLY know what you're doing, then you can decompile the apk, raise the alpha of the layer to 100% and redraw the .9patches with the draw9patch.bat included in the android sdk, or the executable draw9patch script in the linux version.
If you had no idea what I just said, then don't attempt it.
I actually am using system theme. I guess i can recheck all the statusbar files. They are the same ones I used in my cm 6.1 theme. I'll try searching for the frame in framework-res. I was looking in phone.apk and contacts.apk and couldn't find it.
edit: found the frame as quickcontact in framework-res but if i change that to be transparent, there will be a weird gap. the contact picture will not actually be larger.
So what happened was the 9patch file for the status bar headers didn't have any 9patch data. As for the background on the pulldown, i found out in cm7 it uses a new file "shade_bg" and that is working fine as well. Also the quickcontact frame was an easy fix. I just used transparent files for that and it doesnt show up and the contact pictures are bigger as well so everything is fine now
Ah, glad you found the culprit. Yeah, those 9patch pngs suck. I ran into major issues with them when making a theme for the stock rom, had to redo a lot of it after realizing I had to decompile the apk first.
Sent from my T-Mobile myTouch 3G Slide

Question about theme mod's

Hi there I have just got my SGSII
i've been able to root it and install TW4.5 and pretty much have the device exactly how I want it with just one gripe
The drop down of the notification bar is way too dark especially for notifications with black fonts.
Can anyone point me to any kind of guide or way of changing the the background graphic for this drop down?
Thanks in advance
Everything you'll ever need to know
forum.xda-developers.com/showthread.php?t=916814
dully79 said:
Everything you'll ever need to know
forum.xda-developers.com/showthread.php?t=916814
Click to expand...
Click to collapse
Hey man thans very much for the resources they helped me find what I needed.
however the methods of editing seemed very complex for my needs ....
Since I only wanted to change some of the png graphics slightly (just to lighten them up) I opened the framework-res.apk and the systemui.apk in winrar extracted the png's I wanted lightened them up with irfanview dropped them back in the still open apk in winrar and then copied the apk's back where the originals were (renaming the originals .bak first).
I didn't change any .odex or .jar files in any way and I have kept backups of all the originals just in case so I only have one question for you.
can you think of any reason my simple method, for graphics only, would have caused any harm?
it doesn't seem to have after a reboot it seems to have had the desired affect on the notfication bar (which was to make all notifications readable whether they had black or white fonts)
There are 2 kinds of PNG files. Ordinary PNG files can be edited without any problems, but to properly edit .9 png's, you need to decompile the apk first, make changes and then recompile.
To do that, you need to use apktool/apk manager.
Sent from my GT-I9100 using Tapatalk
sileshn said:
There are 2 kinds of PNG files. Ordinary PNG files can be edited without any problems, but to properly edit .9 png's, you need to decompile the apk first, make changes and then recompile.
To do that, you need to use apktool/apk manager.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
ok so if I have edited one of the .9.png and I think I might have done and simply dumped it back in the apk with winrar what harm might I have done and what symptoms might I see?
Sometimes you can get away with editing .9' s the way you have if the black border around the outside stays completely black, any slight discoloration and its force close city on a one way ticket courtesy of systemui.
It seems you my have gotten away with it......this time.
Thanks to everyone who has repsonded to me on this thread you have all been very helpful. This is a truely wonderful phone I cant believe how big a step up this is from my old SGS. I tired all sorts of custom roms and mods on that to get features on that, with this I have it pretty much exactly where I want it simply by rooting and installing a the custom Touchwiz 4.5 (I have other lauchers but find myself going back to that all the time)
So the only remaining thing was the fact that some notifications were in black and the backgrounds on the notification drop down were too dark to read some app's notifications in black with a simple glance so your help with finding the right pngs and files (systemui.apk and framework-res.apk) were very very helpful. Not sure if this was the simplest way to achieve what I needed but it worked so I am happy.
Thanks again one and all.

[Q] Pull Down Bar Background

Hello i was wanting to know how to change the image in the pulldown bar like you see in the UOT kitchen and if its possible to change the top buttons images like the wifi on / off and 4G on /off ect or the whole button itself
there in the SystemUI.apk located in system/apps
res/drawablehdpi folder
just edit in any image editor but try and stay away from the .9.pngs they are special and a pain in the bum.
you can just change .apk to .zip to unzip then rezip and rename.apk
you want the quicklaunch icons for the drop down icons
and status_bar_background for the actual background
thank you bro for such a fast answer
no problem i just happen to be trollin through
do you happen to know were the battery images are ?
and if i could just remove all the stock ones with ones from another theme for my phone ?
battery images are in framework-res
system/framework
if using ones from another phone you'll probably need to do some renaming
most roms currently on our phone use full 100 % increments
if i remember correctly there are 203 total 100 unplugged
100 plugged and a full empty and unknown
thanks again you have been a huge help
anytime
if noone shares the info this stuff can be a royal pain.
If you use the UOT Kitchen and keep getting errors, try un-checking Patch9 autofix. This will not decompile the 9patch images and may allow your theme to build. It worked for me with modding ACS Ice Cream Sandwich Theme (modded battery only).
thank you
and are there any other theme kitchens or rom kitchens for our phone ?
oh and i noticed there are two different default pull-down backgrounds one under systemUI.apk and one under the frameworks.apk and both are different sizes and dimensions , witch ones do i change ? or do i change both ?
the one you want for the drop down background is
status_bar_background.png
in SystemUI.apk
mjcollum said:
anytime
if noone shares the info this stuff can be a royal pain.
Click to expand...
Click to collapse
I'm fairly new to Android, coming from my FrankenPre to the Epic Touch. I want to begin editing the icons and images on my phone, and I've been exploring some ROMs ansd themes and switching up some icons, which have worked fine. However, I have no idea exactly where all the images are kept. For instance, I tried to change the stock Email icon, but the images I changed weren't right, and I was somehow left with the "Android Robot" icon.
My question is, seeing as how you know where these images reside on the phone, how do I go about knowing which icons are where, and which ones I need to change? Is there a list somewhere of the stock system images and their locations, or is it trial and error to figure out where they are? Thanks for the help.
mjcollum said:
no problem i just happen to be trollin through
Click to expand...
Click to collapse
haha "just rollin thru""

[Q] Customizing Framework/SystemUI XML Files to Change System Font Colors

Hey, I've got a Samsung Galaxy Nexus (Verizon, SCH-I515) that I'm working on fully customizing to my liking and I had a few questions I was hoping to get some help with, mainly pertaining to changing the default font colors. I'm running Paranoid Android 3.1 (JB 4.2.2) as well as using Nova Launcher Prime. The basic idea of what I'm doing is changing the entire phone from a dark themed phone into a light themed phone. This includes everything, the dialer, settings menu, notifications menu, etc.
I'm currently using Ninjamorph to find all the image files to replace with their light counterparts I'm doing and though sometime tedious, I seem to be slowly finding all the files I need. The problem is I need to change the font colors now from light to dark so that I can see them with my lighter backgrounds. From what I understand, I'll need to go to the framework-res.apk/res/color and inside those XML files will be the coding for the font colors.
1.) If I can just email the XML file to myself from my phone and open it on my computer, what program can I use to read the XML file to change the values I need to? I figure after that I can download the edited file to my phone and use Ninjamorph to put it back into my framework-res.apk.
2.) Would I be able to change the background in the app drawer from black by default to white, from one of these XML files as well?
3.) Is there any way that this white housing (http://www.ebay.com/itm/new-Housing...261?pt=LH_DefaultDomain_0&hash=item20cc67e87d) would fit my phone? It's designed for i9250 but if it'll fit I'd like to try it.
I attached some screen shots below of my phone so you can see the basic idea of what I'm trying to do and where I'm at. Thanks so much for taking the time to read this!
Nothing guys? Really?

[Q} Editing a non-png image

Hey fellow themers out there! So one of the things that's preventing me to call my theme complete is this gray background image on my themed MusicPlayerWT.apk (see picture). It shows up under the track info and only in landscape mode. I looked and looked for a png file that makes up that image but I just can't find it. There ain't many png files in the drawable folders for me to keep missing so it just leads to conclude that is not a png file I'm after. It's similar to the grey notification bar on the notifications dropdown in the SystemUI.apk or the white dialer background in the Phone.apk. They are not png files that you could swap or edit. I really want to either make it completely transparent or black. If anyone out there could give me a hand with this I would appreciate it (link to apk file below). Thx ahead.
mrrobc97 said:
Hey fellow themers out there! So one of the things that's preventing me to call my theme complete is this gray background image on my themed MusicPlayerWT.apk (see picture). It shows up under the track info and only in landscape mode. I looked and looked for a png file that makes up that image but I just can't find it. There ain't many png files in the drawable folders for me to keep missing so it just leads to conclude that is not a png file I'm after. It's similar to the grey notification bar on the notifications dropdown in the SystemUI.apk or the white dialer background in the Phone.apk. They are not png files that you could swap or edit. I really want to either make it completely transparent or black. If anyone out there could give me a hand with this I would appreciate it (link to apk file below). Thx ahead.
...
Click to expand...
Click to collapse
It's <color name="music_player_header_bg">#ff191919</color> in res/values-land/colors.xml my friend.
Tip: When you are looking for some background to change look what's on the foreground. In your case it took me 1 min to find it - first found that allshare button icon in drawables, then searched for the png name in /res -> found the button xml, then searched in layouts for the button xml name and found that head layout which has the background color I gave you. Simple, right...?
nijel8 said:
It's #ff191919 in res/values-land/colors.xml my friend.
Tip: When you are looking for some background to change look what's on the foreground. In your case it took me 1 min to find it - first found that allshare button icon in drawables, then searched for the png name in /res -> found the button xml, then searched in layouts for the button xml name and found that head layout which has the background color I gave you. Simple, right...?
Click to expand...
Click to collapse
Wow thx!:thumbup: It shows how much there is still to learn. Thx for the tip. I wish I could give u more thank yous but you know how that goes...
...anyways...why now do we have background images generated from xml files? Unless I'm mistaken, I don't remember running into that on previous Android releases.
Sent from my Blutiful Note3

Categories

Resources