[Q] how do you edit the coloring of an .apk? - Samsung Galaxy S (4G Model)

Hi all. I'm attempting to edit the look of the phone.apk on the SGS4G (my original question as to if it's even possible is HERE). I've never done anything like this so I am a noob but I wanted to theme the .apk so that it will match up better with Bionix Black Ice (and Trigger for that matter). Like i said, i've never done this before so would someone be so kind as to walk me through what must be edited and with what tools? Thanks in advance!

Juls317 said:
Hi all. I'm attempting to edit the look of the phone.apk on the SGS4G (my original question as to if it's even possible is HERE). I've never done anything like this so I am a noob but I wanted to theme the .apk so that it will match up better with Bionix Black Ice (and Trigger for that matter). Like i said, i've never done this before so would someone be so kind as to walk me through what must be edited and with what tools? Thanks in advance!
Click to expand...
Click to collapse
Open the apk in win rar or whatever fial program u have
u see folders
you need to edit the png files along with the xml files to change the colors once done replace ur modified copies over the origonals
push back to phone reboot enjoy
differs from apk to apk
Sent From My super sexy over priced rice burner from hell SGH-I9100

RaverX3X said:
Open the apk in win rar or whatever fial program u have
u see folders
you need to edit the png files along with the xml files to change the colors once done replace ur modified copies over the origonals
push back to phone reboot enjoy
differs from apk to apk
Sent From My super sexy over priced rice burner from hell SGH-I9100
Click to expand...
Click to collapse
Suggested program to open the xml file?
Sent from my SGH-T959V using XDA App

Juls317 said:
Suggested program to open the xml file?
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
any xml editor should be fine
Sent From My super sexy over priced rice burner from hell SGH-I9100

so i have an .xml editor, but what do i do to change colors and stuff? is there a certain coding that i need to learn? i'm really sorry about the questions but like i said, i'm a noob and have no clue what i'm doing

Related

[REQUEST] Purple Swype

Can someone please modify Swype to be purple and black? I wish I knew how to theme myself as I really want a complete purple and black theme. Need more girl themers out there =(
Mydnightsorrow said:
Can someone please modify Swype to be purple and black? I wish I knew how to theme myself as I really want a complete purple and black theme. Need more girl themers out there =(
Click to expand...
Click to collapse
im a guy, but i could probably whip up a quick version really quick tomorrow.
Sent from my Incredible using XDA App
lol I meant the needing more girl themers part because then we would have more theme color choices. Everything always tends to be red and/or blue =/
I'm down to sport a pink and purple swype.
Sent from XDA App
Unrevoked Root and Sucked-off
2.0.5 Baseband
SkyRaider 3.0 Vanilla
#1 King Bad F*cking **** Kernel OC to 1.13
Purple, yeah. Pink.... no way.
i tried for ya... but it force closes every time u try to use it... i dont know what i did wrong.
swapped the images, and resigned no clue what else to try. i posted in another thread we will see if djkms responds.
either way i will attach the file for you guys to play with and maybe someone can fix it
IT DOES NOT WORK FOR ME ON 2.2 Virtuous
wowthatisrandom said:
i tried for ya... but it force closes every time u try to use it... i dont know what i did wrong.
swapped the images, and resigned no clue what else to try. i posted in another thread we will see if djkms responds.
either way i will attach the file for you guys to play with and maybe someone can fix it
IT DOES NOT WORK FOR ME ON 2.2 Virtuous
Click to expand...
Click to collapse
How did you "swap them"? If you extracted all the files and then repackaged them, I'd say that's why it didn't work. I modify resources by directly editing the APK. Use 7-zip, right-click the file, under the 7-zip menu hit "open archive", and drag and drop the files you changed to their spot. That should work.
whiplash000 said:
How did you "swap them"? If you extracted all the files and then repackaged them, I'd say that's why it didn't work. I modify resources by directly editing the APK. Use 7-zip, right-click the file, under the 7-zip menu hit "open archive", and drag and drop the files you changed to their spot. That should work.
Click to expand...
Click to collapse
thats exactly what i did, same way i modified the framework apk... but it just keeps force closing no idea why... figurd id attach the apk for people to try it has all the images in they keyboard folder
You can make them a mm theme.
Sent from my ADR6300 using XDA App
im not familiar with w metamorph themes,
ill post the zip of the images
wowthatisrandom said:
im not familiar with w metamorph themes,
ill post the zip of the images
Click to expand...
Click to collapse
Yea post the images and I can put it in a mm theme if you want.
Sent from my ADR6300 using XDA App
wowthatisrandom said:
im not familiar with w metamorph themes,
ill post the zip of the images
Click to expand...
Click to collapse
Hey all, here is an Metamorph theme for PurpleSwype by wowthatisrandom
Open Metamorph, Extract the theme. Then apply. Restart phone- Yippee-ki-yay
**Important. The swype file must be named Swype.apk and must be located in system/app...so rename the apk and/or move it (sometimes its located in data/app)
Let me know if it doesnt work. Attached is a screenshot as well!
Thanks wowthatisrandom!
qmartman711 said:
Hey all, here is an Metamorph theme for PurpleSwype by wowthatisrandom
Open Metamorph, Extract the theme. Then apply. Restart phone- Yippee-ki-yay
**Important. The swype file must be named Swype.apk and must be located in system/app...so rename the apk and/or move it (sometimes its located in data/app)
Let me know if it doesnt work. Attached is a screenshot as well!
Thanks wowthatisrandom!
Click to expand...
Click to collapse
no thank you! thats why i couldnt get metamorph to work i was trying to use the com.swype.inputmethod.apk and it kept failing...
thanks a ton for making it work properly!
Sorry to dredge this old thread up, but hey... I searched lol.
Does this purple swype download work on other phones? I'm attempting to edit it myself but I'm not sure if I'm applying it to the apk properly.

[Q] Framework-res.apk

I'm somewhat new to hacking and modding. And I'm reading a lot, as well as playing with my phone a lot. I happened to extract the framework-res file to my sd card.
What are all the things I could customize with playing with that file?
Sent from my PG06100 using XDA App
Enraged21 said:
I'm somewhat new to hacking and modding. And I'm reading a lot, as well as playing with my phone a lot. I happened to extract the framework-res file to my sd card.
What are all the things I could customize with playing with that file?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Anything you want. The easiest thing is editing the png so you change the system appearance. But you don't have to extract it to SD, you have to send it to your PC, decompile it (for .9.png's and xml, if just png you can extract the folder, then put the edited png's back in the apk with 7zip and push), and do whatever you want.
You will need to look for info about decompiling and pushing if you don't know yet.
So is that how themeing works?
Sent from my PG06100 using XDA App
Enraged21 said:
So is that how themeing works?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Yeah, explained fast and in a general way.
Lol thanks man!
Sent from my PG06100 using XDA App
Could you send me any links?
Sent from my PG06100 using XDA App
How exactly do I pull the framework file, then decompile it?
Sent from my PG06100 using XDA App
Bump
Sent from my PG06100 using XDA App
Enraged21 said:
How exactly do I pull the framework file, then decompile it?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
I saw you, I just haven't time to write. Look for a tutorial about pulling and also APK Manager for decompiling. You will need adb
Can I edit the font from this file?
I want to change my rom again but keep the font that I usually use. How would I do that?
________
Evo SHIFT
Evervolv ROM
x99 kernel
Enraged21 said:
Can I edit the font from this file?
I want to change my rom again but keep the font that I usually use. How would I do that?
________
Evo SHIFT
Evervolv ROM
x99 kernel
Click to expand...
Click to collapse
Fonts are not in framework. They are in system/fonts, so you can go to the zip of your current ROM in the PC, open it, go to system/fonts and copy them. Then paste them into the zip of the new ROM or flash it, then push the fonts. (If you can, it will be easier doing it before flashing, with WinRAR or 7zip in computer)
1111111st
congratz man, you got the 1111111 Thread!
http://forum.xda-developers.com/showthread.php?t=1111111
just wanted you to see
Enraged21 said:
I'm somewhat new to hacking and modding. And I'm reading a lot, as well as playing with my phone a lot. I happened to extract the framework-res file to my sd card.
What are all the things I could customize with playing with that file?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
You could upload the file you extracted to the uot kitchen (google it, i cannot provide links).
The site allows to create a theme for your phone and to package it in a flashable .zip
(•.•) said:
congratz man, you got the 1111111 Thread!
http://forum.xda-developers.com/showthread.php?t=1111111
just wanted you to see
Click to expand...
Click to collapse
Haha, sweet!
Evo SHIFT
mordekainen said:
You could upload the file you extracted to the uot kitchen (google it, i cannot provide links).
The site allows to create a theme for your phone and to package it in a flashable .zip
Click to expand...
Click to collapse
Yeah I found out about that website a while ago.
But I can never get the colors right to match my theme.
Evo SHIFT
Theming Help
Try this thread:
http://forum.xda-developers.com/showthread.php?t=821638
Enraged21 said:
So is that how themeing works?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
APK Manager
Sorry for double posting but here is the thread for APK Manager:
http://forum.xda-developers.com/showthread.php?t=695701
Enraged21 said:
Yeah I found out about that website a while ago.
But I can never get the colors right to match my theme.
Evo SHIFT
Click to expand...
Click to collapse
For matching the colors you can use any app that lets you choose a custom color. I used widgetsoid, chose a custom color that matched my theme and wrote down the hex value. You can then use the hex value in the uot kitchen.
Sent from my LG Optimus One
Well, I took a snapshot of my homescreen. Uploaded it to a color extractor, and pulled the hex value through there. Used that hex value with UOT kitchen, and the colors still weren't the same after I flashed it...
Evo SHIFT
Evervolv
Can anyone guide on adding crt effect in services.jar?
Sent from my Desire S using XDA App

CM7/Custom Soft-Buttons

Ive searched the forums, trying to find if this has been posted.
Im looking for a way to change the look of the soft-buttons inside CM7-SoS on the Kindle Fire.
There is a post in this forum for changing them in ICS with simple flashable ZIP files. Im looking for something similar to this, for CM7
Thanks in Advance!
Kcuhc said:
Ive searched the forums, trying to find if this has been posted.
Im looking for a way to change the look of the soft-buttons inside CM7-SoS on the Kindle Fire.
There is a post in this forum for changing them in ICS with simple flashable ZIP files. Im looking for something similar to this, for CM7
Thanks in Advance!
Click to expand...
Click to collapse
One way to change the look of the soft-buttons, is to use adb or a file-manager to pull SystemUI.apk from /system/app and then edit png images to make them your own. And then push it back. That's what I did. Do a search on themeing android to find more in-depth tutorials.
Sent from my Kindle Fire using xda premium
Thanks!
that did it, appreciate the direction
Kcuhc said:
Thanks!
that did it, appreciate the direction
Click to expand...
Click to collapse
Your welcome, have fun!
Here's my latest customization of the soft-buttons and status bar in general.
Sent from my Kindle Fire using xda premium
I did the ics zip, easiest way without zip is ninjamorph. Do you have images already? Maybe I could throw something together for you, I'm in the middle of a couple themes at the moment, one for ics on the fire might be putting out tonite. Let me know if I can help.
Sent from adizzys tbolt
I too am trying to do this.. I have the png images that I want to use but im not sure on how to replace them. When I go to the SystemUI.apk and the appropriate folder I cant seem to figure out how you simply replace the images you want.
T_VASS said:
I too am trying to do this.. I have the png images that I want to use but im not sure on how to replace them. When I go to the SystemUI.apk and the appropriate folder I cant seem to figure out how you simply replace the images you want.
Click to expand...
Click to collapse
Do you know how to use ninjamorph? If not send me a pm and I'll give you my gmail, you can send me the images and I'll put them in a fishable zip for you when I get a chance. I will need to know which cm7 your using too.
Sent from adizzys tbolt
Another approach might be to do what I did-- freeze the status bar and use Button Savior (or SoftKeys or Virtual Home Bar).
Sent from my Kindle Fire (CM7) using xda premium
T_VASS said:
I too am trying to do this.. I have the png images that I want to use but im not sure on how to replace them. When I go to the SystemUI.apk and the appropriate folder I cant seem to figure out how you simply replace the images you want.
Click to expand...
Click to collapse
Everything that needs to be edited is in drawable-mdpi folder the files to replace start with 'ic' the easiest way to do it is using 7-zip, name your replacement image the same as the image you want to replace and then drag and drop your images into the apk into the drawable-mdpi folder. And then your good to go.
Sent from my Kindle Fire using xda premium
daggy1985 said:
Here's my latest customization of the soft-buttons and status bar in general.
Sent from my Kindle Fire using xda premium
Click to expand...
Click to collapse
how to get this????????????????
I was able to get this done with ease.
Copied the systemui file, moved it to my computer, renamed ZIP, extracted to a folder. Opened up the files i wanted edited in Photoshop. I made them Transparent PNGs so they would work with any theme that changes the graphic of the status bar.
saved files, zipped up folder. used RootExplorer to Back up systemui. It caused a Foreclose loop. Rebooted, with no status bar. Back into RE, copied the modified systemui, set permissions, and rebooted.
acax456 said:
how to get this????????????????
Click to expand...
Click to collapse
I'll upload my customized SystemUI for you to use either later today or tomorrow, must get some sleep now.
Sent from my Kindle Fire using xda premium

Softkey icons

I know that the softkeys can be changed to display words instead of the icons. I have found some images that have them as such but can't seem to get to work when using the custom framework maker. Am I missing something or does anyone have text image files that will work.
Tybo611 said:
I know that the softkeys can be changed to display words instead of the icons. I have found some images that have them as such but can't seem to get to work when using the custom framework maker. Am I missing something or does anyone have text image files that will work.
Click to expand...
Click to collapse
are the imgs u have to replace them pngs? easiest way is to rightclick framework-res.apk and open with 7zip. then drang new pngs over ones in assests folder.
then try and drag that new eddited apk into framework maker. to make a package to flash.
not sure if tb101s themer has to be editted for ec09 but ive been having trouble with 5.5 and ec09
im in chat right now if u want a hand to hold
http://forum.xda-developers.com/showpost.php?p=10422177&postcount=1
ciscogee said:
are the imgs u have to replace them pngs? easiest way is to rightclick framework-res.apk and open with 7zip. then drang new pngs over ones in assests folder.
then try and drag that new eddited apk into framework maker. to make a package to flash.
not sure if tb101s themer has to be editted for ec09 but ive been having trouble with 5.5 and ec09
im in chat right now if u want a hand to hold
http://forum.xda-developers.com/showpost.php?p=10422177&postcount=1
Click to expand...
Click to collapse
won't that create a 7zip file? that was the only problem i had with the themer, everything worked to remove the ticker history and weather. no fc's..yet.
Well the softkeys have to be alighned. Open existing PNGs in paint or whatever and alighn new ones and save. Then run themer.
Sent from my SCH-I400 using xda premium
thank you, checked the sizeds and they were different. now stuck at the decomling stage in themer.
Your making it way more difficult than it should be lol.
Look for older soft keys posts in our theme section.
There are easier ways in there. No decompile needed for softkey.
Sent from my SCH-I400 using xda premium
ciscogee said:
Your making it way more difficult than it should be lol.
Look for older soft keys posts in our theme section.
There are easier ways in there. No decompile needed for softkey.
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
Thanks you for your help. Finally got the text softkeys working.
huge thanks to ciscogee for his help, and trailblazer for the themer. screen shot is attached
CISCO! is your computer unpacked finally?
pattielipp said:
CISCO! is your computer unpacked finally?
Click to expand...
Click to collapse
no i wish. been a bumby road past month. trying to grab it in next couple weeks. just using phone and gf laptop. no cygwin no linux, minor apk editting when i can.

Location of ICS background file?

My i9000 has a slight issue in displaying greys and the settings menu and any other app that uses it look awful on my phone.
All I want to know is the location the background is stored so I can change it to an all black background. I've asked this question in many different threads and no one had answered me yet. So many thanks to whoever tells me.
Sent from my GT-I9000 using XDA
Bump
Sent from my GT-I9000 using XDA
Vertron said:
My i9000 has a slight issue in displaying greys and the settings menu and any other app that uses it look awful on my phone.
All I want to know is the location the background is stored so I can change it to an all black background. I've asked this question in many different threads and no one had answered me yet. So many thanks to whoever tells me.
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
It will most probably be in framework-res.apk in /system/framework/
I'm not sure about ICS, but in my ancient version it's in framework-res.apk
/res/drawable-mdpi/default-wallpaper.png
You may have it in different screen resolutions.
Are you talking about the homescreen background?
You could always just do it the 'old fashioned' way..
Open paint (or similar)
Create a canvas the size of your phone resolution, paint all black. Save as a file and add to your phone. Change background using the menus and pick your black file.
Would probably take less time than pulling, inserting, and pushing framework-res. And you'd have the file on your sd card to re-apply should you do any updates (you'd need to modify framework-res again, unless the rom update didn't require changes and you could flash the old framework-res)
Renate NST said:
I'm not sure about ICS, but in my ancient version it's in framework-res.apk
/res/drawable-mdpi/default-wallpaper.png
You may have it in different screen resolutions.
Click to expand...
Click to collapse
he wants the background of stuff like settings and all
aqnd said:
Are you talking about the homescreen background?
You could always just do it the 'old fashioned' way..
Open paint (or similar)
Create a canvas the size of your phone resolution, paint all black. Save as a file and add to your phone. Change background using the menus and pick your black file.
Would probably take less time than pulling, inserting, and pushing framework-res. And you'd have the file on your sd card to re-apply should you do any updates (you'd need to modify framework-res again, unless the rom update didn't require changes and you could flash the old framework-res)
Click to expand...
Click to collapse
He wants app background, not launcher background
QuantumFoam said:
It will most probably be in framework-res.apk in /system/framework/
Click to expand...
Click to collapse
Yeah I think it's in here somewhere. Now I've just got to find the image. Thanks
Sent from my GT-I9000 using XDA
Oh! Then what you need is in /system/framework/framework-res.apk,
but the part you want is in /res/values/styles.xml
That has all the default theme, "Theme".
The theme for settings inherits off that, maybe "Theme.Dialog"
All of that references specific style elements and colors in /res/values/colors.xml
Renate NST said:
Oh! Then what you need is in /system/framework/framework-res.apk,
but the part you want is in /res/values/styles.xml
That has all the default theme, "Theme".
The theme for settings inherits off that, maybe "Theme.Dialog"
All of that references specific style elements and colors in /res/values/colors.xml
Click to expand...
Click to collapse
I've looked in /res but there is no values folder for some reason. Where else could it be?
Sent from my GT-I9000 using XDA
Vertron said:
I've looked in /res but there is no values folder for some reason. Where else could it be?
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
Decompile framework-res.apk using apktool then open the decompiled folder.
In res/drawable, most of the background XMLs are stored. Search for one that holds the background details. However, it won't be easy. I suggest u ask a recognized themer to help u, or use the UOT kitchen
Ok I've found the png file. It's in res/drawable-nodpi/background_holo_dark.png
An older version of the rom I'm using had an all black image, so I'll use that png file to replace the current one.
Now do I have to simply change the image to the all black one or is out more complicated than that?
Sent from my GT-I9000 using XDA
I've also found the xml in;
res/drawable/activated_background_holo_dark.xml
Will changing the line <item state_activated="true" to <item state_activated="false" disable the png file, forcing it to change to all black?
Sent from my GT-I9000 using XDA
Now that u know where it is, take a black PNG and add it to the archive of framework-res so that u wont have to recompile and sign the apk. Just make sure u get the correct folder.
And don't touch the XML. Just replace the png
QuantumFoam said:
Now that u know where it is, take a black PNG and add it to the archive of framework-res so that u wont have to recompile and sign the apk. Just make sure u get the correct folder.
And don't touch the XML. Just replace the png
Click to expand...
Click to collapse
How do I add it to the archive of framework-res.apk? I assume you have to copy the apk to a PC and add it by winzip or something? I'm using root explorer to view it atm.
Sent from my GT-I9000 using XDA
Vertron said:
How do I add it to the archive of framework-res.apk? I assume you have to copy the apk to a PC and add it by winzip or something? I'm using root explorer to view it atm.
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
Yes. Do it by winRAR or Winzip
How do I put the modified framework-res.apk back into system/framework? I don't think I can just overwrite it using root explorer.
Sent from my GT-I9000 using XDA
Vertron said:
How do I put the modified framework-res.apk back into system/framework? I don't think I can just overwrite it using root explorer.
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
U can overwrite it using root explorer. However I use adb.
Use this command in adb
adb push C:\framework-res.apk /system/framework/
Assuming ur modified framework is in C:\
I know it's a bit late, but I finally managed to do it. The hardest thing was creating an update.zip to apply the change.
You could have just pushed it with adb.....
---------- Post added at 07:44 PM ---------- Previous post was at 07:42 PM ----------
Or used some one else's flashable zip and just removed the custom content and put yours in
AshtonTS said:
You could have just pushed it with adb.....
---------- Post added at 07:44 PM ---------- Previous post was at 07:42 PM ----------
Or used some one else's flashable zip and just removed the custom content and put yours in
Click to expand...
Click to collapse
I tried that on a theme update.zip for my rom, it wouldn't let me edit the contents of the zip for some reason.
I used root explorer rather than adb and the phone rebooted straight away and wouldn't get past the boot screen...

Categories

Resources