EDIT: SOLVED.
Thanks to all the amazing threads on this site, I'm able to and in the process of theme-ing my phone (blues instead of greens). I've transformed all of the .9.pngs that i could find in the drawable-hdpi folders in both com.htc.resources.apk and framework-res.apk. Thus far, everything has been good (once i realized the bottom and right traces in draw9patch were for content regions..)
As you can see in the images attached, the outline and highlight of the textfield has been modified from the original green in portrait mode. However, there seems to be 2 pesky images that i cannot find for landscape (the last two attached images). Ive looked thru the drawable-land-hdpi as well in both of the apks. I haven't left a single orange colored .9.png file. Hell, i even modified the textfield_im_user_pressed_pad.9.png and textfield_im_user_selected_pad.9.png in the stock MMS.apk drawable-hdpi folder. I simply cannot find this file...
The one orange-colored image which i thought was it, keyboard_textfield_pressed.9.png in com.htc.resources.apk, was not.
Unless, its an XML color or drawable...in which case im screwed. Any help would be greatly appreciated.
EDIT: Found the correct file...turns out its in the HTC_IME_hi.apk drawables. keyboard_textfield_pressed.9.png and keyboard_textfield_selected.9.png if anyone was wondering..
Related
I can't find the original post on this forum that contained the attachment, so I am attaching it here. I'm not sure what was changed in the file to get it to do it. Was hoping I could find more info from the person who made it... but I can't find the post.
Can anyone help with this, please?
Thanks!
That's weird. I just got a PM about an hour ago regarding the same question. When the "mods" thread got "cleaned up" much of the stuff went missing, unfortunately.
The phone text is cleared out in:
Rosie.apk\res\layout-port\button_bar.xml
Attached is a patched XML file that will clear the text out. You will still need to replace the applicable .png files with transparent ones, for example, if you want to remove the phone icon, etc.
Download <--- Right click to save the file, otherwise, it will attempt to load in your browser.
wow lol thats kinda funny
wtphoto said:
wow lol thats kinda funny
Click to expand...
Click to collapse
I know, right? Well, here you go .
JsChiSurf said:
That's weird. I just got a PM about an hour ago regarding the same question. When the "mods" thread got "cleaned up" much of the stuff went missing, unfortunately.
The phone text is cleared out in:
Rosie.apk\res\layout-port\button_bar.xml
Attached is a patched XML file that will clear the text out. You will still need to replace the applicable .png files with transparent ones, for example, if you want to remove the phone icon, etc.
Download <--- Right click to save the file, otherwise, it will attempt to load in your browser.
Click to expand...
Click to collapse
Thanks. That worked in removing the phone text, but it didn't center the phone icon on the button. Can you do that, too?
I can't seem to find the file that centers the phone image onto the middle button for the launcher. I've tried launcher.xml but no dice. bb_btn_middle.xml perhaps?
Also, could you provide some insight into what folders to edit? What is mdpi, land, port? Which folders get edited with our phone? I find myself constantly playing a guessing game with which folder the edits go into.
EDIT: Ok, it turns out it was the button_bar.xml file. Now that I knew that, I pulled it out of the zip in the first post and the phone icon is centered. Attached just the xml.
Jedis said:
I can't seem to find the file that centers the phone image onto the middle button for the launcher. I've tried launcher.xml but no dice. bb_btn_middle.xml perhaps?
Also, could you provide some insight into what folders to edit? What is mdpi, land, port? Which folders get edited with our phone? I find myself constantly playing a guessing game with which folder the edits go into.
EDIT: Ok, it turns out it was the button_bar.xml file. Now that I knew that, I pulled it out of the zip in the first post and the phone icon is centered. Attached just the xml.
Click to expand...
Click to collapse
The phone icon is in Rosie.apk res/drawable-normal-mdpi. Its called icon_p_phone_rest.png and icon_p_phone_on.png.
VinceOB said:
The phone icon is in Rosie.apk res/drawable-normal-mdpi. Its called icon_p_phone_rest.png and icon_p_phone_on.png.
Click to expand...
Click to collapse
I didn't need to edit the actual png, it was just something in the xml file that centered the placement of it. It's all fixed.
My goal is all Metamorph's with the black droid launcher with phone text removed, all clear widgets (Digital Clock Widget, GenieWidget, pure calendar, pure music player, power control widget, etc). Genie, pure calendar/music is done. Digital Clock Widget is working, but tapping on it to edit the alarm is busted since the WorldClock was removed for the lockscreen...
I'm sick of remembering which files were editted in the apk files to achieve the mods... Metamorphing will make everything much easier, but it's a process to figure out which files were edited, since repacking the zipfiles usually modifies the 'modified date'.
I want to make a minor change to the way the lockscreen looks and want to see if its something easy enough for me to do.
I'm looking to make the gray part with the dots on ether side slightly transparent. I would also like to keep the clock solid. Also not lose any of the functionality of the htc lockscreen.
Is this easy enough for someone with no theming experience to do?
Assuming you are rooted and if you are just changing images it is not difficult at all.
The lockscreen slider is actually in
/system/framework/com.htc.resources.apk
and there are 3 that start with lockscreen_arc
You need to copy the apk to your PC and open it with 7zip (my preferences) and extract the res folder to the PC. Do your graphic changes in that folder. Then reopen the apk in 7zip and drag the modified res folder over the window and drop it in.
Then you just do and adb push to put it back on the phone
You can use the same process to modify other images in the
/system/app/HtcLockScreen.apk
Changes that are not just graphics become very difficult and require de-compiling the apk to edit xml files.
AND Do a nand backup before just in case you mess up.
Awesome, sounds like a good guide. I'll post my results once I finish it.
it seems this is going to be harder than i thought.
I made the part that I wanted translucent only to find that the two pngs under it are not editable enough to remove them from behind it, so I'm left with this. I'm assuming that the only way to fix this is to do some xml editing which is a little above me.
I actually like that
If I could just get rid of the straight parts near the top of the time, I would like it. But simply editing the pngs won't cut it as I have a feeling that the xml extends the top graphic straight down because what is seen there doesn't match up with what the png looks like.
You would be correct. The problem you're running into is the 2 images behind the main lock bar are actually .9.png images and not regular .png images.
Quick, very rough explanation: To save space these images are stretched by xml files at certain points in the image to create a background. When an apk is decoded, these stretch points are represented by a 1px border around the image. This does not show up when you just use a program like 7zip.
Something to try if you want to cheat, not sure if it'll work.. Treat it all as one image instead of 3 separate ones. Make lockscreen_arc.png a taller image, and then put the top and bottom bars on it that way. Then just make the other two .9.png files completely transparent. Since it's a regular .png, it wont get stretched. I know making it smaller works out, so I'm assuming you could also make it larger.
Edit: Just thought about it some more, and that might not work, because if I had to guess, the Verizon and date text are probably set up in the xml relative to that image.
I'll mess around a little more today and see if I can't come up with something.
i also would like to do this but not the stock lock screen but this one..
To look like this...
Just the green and yellow to blue..
If all else fails, you could use the theme kitchen (http://uot.dakra.lt/kitchen). It'll allow basic changes to the whole theme (specifically the lockscreen).
Dude this thread is almost a year old and some people like to do stuff manually
some of the png's i open in photoshop have a black background/black pixely border. i have took a ss of one of the media control images as an example and it's attached below.
if anyone knows why this is happening could you please give me an idea? It's not all just a few here and there.
droidx11 said:
some of the png's i open in photoshop have a black background/black pixely border. i have took a ss of one of the media control images as an example and it's attached below.
if anyone knows why this is happening could you please give me an idea? It's not all just a few here and there.
Click to expand...
Click to collapse
because i believe you are looking at .9.png's which use black borders as a guide for stretching if the file is something.9.png then that is your answer
hmm.. i haven't seem to have a problem editing the .9 PNG's, i've tried searching this forum and a few other forums and haven't found that anyone has asked this.. that particular png file name is "ic_media_play". i've also had the same problem when opening the wifi, 3g, some of the keyboard buttons, the "spinner_black_16" image. i've tried opening them in firefox then copying image, dragging them directing into photoshop and a few other things. sorry if this is a newb question...
droidx11 said:
hmm.. i haven't seem to have a problem editing the .9 PNG's, i've tried searching this forum and a few other forums and haven't found that anyone has asked this.. that particular png file name is "ic_media_play". i've also had the same problem when opening the wifi, 3g, some of the keyboard buttons, the "spinner_black_16" image. i've tried opening them in firefox then copying image, dragging them directing into photoshop and a few other things. sorry if this is a newb question...
Click to expand...
Click to collapse
well ic_media_play isnt a .9.png so if it has a black outline its just for the way it looks the wifi, 3g, and spinner_black_16 images you shouldnt have a problem with since they arent .9.png's either, most of the keyboard images are tho and will need to be decompiled and recompiled to get them to work correctly. im working on a theme right now and theres no easy way to edit them, oh also if you're using something like 7zip to open up the apk that might be your problem i edit most of mine in Linux so i dont remember if you can open them in Photoshop without decompiling but the best way is to decompile, edit, then recompile and there are guides out there that describe how to better than i could but search for apktool or apkmanager
Funnyface19 said:
well ic_media_play isnt a .9.png so if it has a black outline its just for the way it looks the wifi, 3g, and spinner_black_16 images you shouldnt have a problem with since they arent .9.png's either, most of the keyboard images are tho and will need to be decompiled and recompiled to get them to work correctly. im working on a theme right now and theres no easy way to edit them, oh also if you're using something like 7zip to open up the apk that might be your problem i edit most of mine in Linux so i dont remember if you can open them in Photoshop without decompiling but the best way is to decompile, edit, then recompile and there are guides out there that describe how to better than i could but search for apktool or apkmanager
Click to expand...
Click to collapse
first i'd like to thank you for your response. what i am doing is unzipping the contents from framework-res with winrar. (i was planning on just replacing the unzipped folders with the existing folders that are in framework-res, just overwriting them.) then i just pulled the images from the unzipped folder, res -> drawable-hdpi, into photoshop... in the unzipped folder thumbnail image, these images seem to look okay, no border/stroke around the edges, no black bg etc. but in photoshop they seem to have locked layers named "index" which i just change the mode to RGB to make the layer editable. i'm not sure what i'm doing right, i'm sure it's something i'm not doing right, i just can't figure it out - maybe i'll try a different program to unzip the folder?
i've attached a ss of the folder with the thumbnail images looking okay.
(p.s. this theme is for my gf)
I've been working on a theme also, though not for the DX... I had to completely remake the PNG's in question. I'm on OSX using Photoshop and it does the same thing. First start with an indexed color version then once you get it done on a block level convert it to an RGB 8-bit image and smooth the image with a very mild gaussian blur or lens blur... personally I use gaussian.
Here's a screenshot of mine in action... I made the "empty" signal bars hollow with a neon outline..
You'll want to use 7-zip, not sure about the black stroke on the images, sounds like a .9 PNG issue. I don't use Photoshop personally, I use Fireworks. It could be Photoshop putting the stroke on the images...If you have access to Fireworks, trying using that instead.
k0smo86 said:
You'll want to use 7-zip, not sure about the black stroke on the images, sounds like a .9 PNG issue. I don't use Photoshop personally, I use Fireworks. It could be Photoshop putting the stroke on the images...If you have access to Fireworks, trying using that instead.
Click to expand...
Click to collapse
winRAR is fine too you can open a zip file without having to unzip the entire contents, personally i use linux/Ubuntu which has an awesome photoshop like picture editor G.I.M.P. idk if you can download it or not for windows but you could check it out
droidx11 said:
first i'd like to thank you for your response. what i am doing is unzipping the contents from framework-res with winrar. (i was planning on just replacing the unzipped folders with the existing folders that are in framework-res, just overwriting them.) then i just pulled the images from the unzipped folder, res -> drawable-hdpi, into photoshop... in the unzipped folder thumbnail image, these images seem to look okay, no border/stroke around the edges, no black bg etc. but in photoshop they seem to have locked layers named "index" which i just change the mode to RGB to make the layer editable. i'm not sure what i'm doing right, i'm sure it's something i'm not doing right, i just can't figure it out - maybe i'll try a different program to unzip the folder?
i've attached a ss of the folder with the thumbnail images looking okay.
(p.s. this theme is for my gf)
Click to expand...
Click to collapse
lol sure its for HER lol you can use 7zip/winRAR either one but use it to extract the drawable res folder out and pull them into photoshop, edit the ones you want and put them back in the one already zipped up, but if you do it that way stay away from .9.png's
XGX5309 said:
I've been working on a theme also, though not for the DX... I had to completely remake the PNG's in question. I'm on OSX using Photoshop and it does the same thing. First start with an indexed color version then once you get it done on a block level convert it to an RGB 8-bit image and smooth the image with a very mild gaussian blur or lens blur... personally I use gaussian.
Here's a screenshot of mine in action... I made the "empty" signal bars hollow with a neon outline..
Click to expand...
Click to collapse
looks very nice so far, did you edit the analog clock also? looks amazing... thanks for the tips.
k0smo86 said:
You'll want to use 7-zip, not sure about the black stroke on the images, sounds like a .9 PNG issue. I don't use Photoshop personally, I use Fireworks. It could be Photoshop putting the stroke on the images...If you have access to Fireworks, trying using that instead.
Click to expand...
Click to collapse
thanks for the advice, i'll give fireworks a try and see how it turns out.
Funnyface19 said:
lol sure its for HER lol you can use 7zip/winRAR either one but use it to extract the drawable res folder out and pull them into photoshop, edit the ones you want and put them back in the one already zipped up, but if you do it that way stay away from .9.png's
Click to expand...
Click to collapse
hahaha yea i was trying on that pink to see how it looked on me . I'm going to try to dl GIMP along with fireworks to see how they turn out and yea i've read about those .9.png's on other threads about how they weren't changing over in certain apps. hopefully i won't run into this problem but if i do then its back to the pros on xda for advice. lol
Update - Editing the PNG's in fireworks, works like a charm, a lot smoother. Thanks everyone for your useful and helpful information
You should be able to option +2x click the index layer and then cmd + J in PS to mod it without redrawing it.
Hth
Sent from my SCH-I800 using XDA App
Hey guys, I am a bit OCD and this has bothered me all the way back to day 1 of Sense 3.6 ICS.... Does anyone know where the lock screen folder (the square background) is located? I am assuming it's a diff file from the one on the home screens because the lock screen folder has a little graphical glitch on the top corner... I just wanna fix it up. XD I appreciate anyone's help.
That would be either framework-res.apk or systemui.apk
You need to decompile then compile after your changes are done
Sent from my Sensation
Sweet, that narrows things down a bit... been looking through both and can't seem to find what I'm looking for... Can't seem to find any folder icons, actually. Does anyone know where these are located specifically?
If it is in readable format (.png or 9patch) it might be in Idlescreen_Base.apk but there is a chance that it is hidden in a .m10 file.
HTC created the m10 format as a container for encoded images and other apk properties (bit like xml file).
So far with the use of Virtuous Ten Studio by Diamondback and Flemmard (+ rest of virtuous team) we can view and edit the xml part of m10 files but images cannot yet be decoded though diamondback has said he has made this possible in the next version.
Hey Ya'll! I've hunted everywhere for an answer to this question. Hopefully I have it in the right place? I uploaded and decompiled an .APK file that I wanted to edit (the colors/pngs to be specific). It decompiled just fine. When I open the images in the res-drawable hdpi folder to edit, the colors will not change. The only color I have successfully used is white. Anything else just turns the original color to an off-color
Example: Dark grey will turn to light grey.
... if that makes any sense! It happened to me before, but then started working so I'm not sure what to do or what is causing it... HELP PLZZ!!!
SO SORRY for taking so long to respond to this... I was cleaning out my Email and must have overlooked your response! Which BTW I Thank you for. My answer is: I open the project file from APK Mult-tool>Res>Drawable>HDPI ... once I open these images in the hdpi file they're the ones that won't edit color... someone told me that some people who build the Themes lock their images so they can't be edited? Not sure