Related
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
Ok so I just have a quick question about theming. How do I change the text color on the lockscreen? I'm pretty sure I have to edit one of the .xml files, but which one and how? And do I have to actually decompile the .apk to edit it or can I just pull it using 7zip and edit it that way? I already have edited the actual .pngs for the lockscreen, so if anyone can help me out with this it would be great. Oh and this is with the stock deodexed rom.
I'm not sure where its located but it will be an xml file and you will need to decompile wherever it lays. Try androidpolicy.jar and look in there..
Sent from my SPH-D700 using xda premium
travmofosho said:
I'm not sure where its located but it will be an xml file and you will need to decompile wherever it lays. Try androidpolicy.jar and look in there..
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
So it's not actually in the lockscreen .apk? I will look in the androidpolicy.jar. Also how would I go about decompiling it?
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.
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...
CM10. I can't for the life of me figure out how to theme these blue parts in the Contacts.apk without the Phone app FCing. Everytime I edit anything in the colors.xml for the Contacts.apk the Phone app FC's. I've edited other app xml's just fine with no fc's. I've managed to successfully change the blue parts in this picture to red by editing this line in colors.xml <color name="people_app_theme_color">#ff33b5e5</color> but whenever I do that, like I said, the Phone app FC's and I have to change it back. I'm trying to change the #ff33b5e5 which is blue to #ffcc0000 which is red. It's the only part of my theme I haven't been able to fix. Can someone with the know-how PLEASE help me. I'm so frustrated lol. I've been trying to figure this out for 5 days now.
You had to make the edit to the source file before the apk is built. This has been an issue for a long time.
Sent from the Bat Cave
zelendel said:
You had to make the edit to the source file before the apk is built. This has been an issue for a long time.
Sent from the Bat Cave
Click to expand...
Click to collapse
Thank you. Someone finally answered lol.
I don't understand tho. This is what I did:
-Decompiled the Contacts.apk with apktool
-edited the colors.xml in Contacts > res > values
-Saved the color.xml with the new changes
-Recompiled Contacts.apk with apktool
Now the Phone app fc's. How come there is a problem with this but no problems with any of the other apks I edit?
You can't edit ICS/jb contacts that way anymore. You have to do it in the source file and then build the apk. I also faced this issue and had to build the apk from scratch to make it work.
Sent from the Bat Cave
zelendel said:
You can't edit ICS/jb contacts that way anymore. You have to do it in the source file and then build the apk. I also faced this issue and had to build the apk from scratch to make it work.
Sent from the Bat Cave
Click to expand...
Click to collapse
I see. That must be why there are so many blue themes lol. I thought I've seen some red ones tho.
Can you show me how? Or lead me in the right direction?
Also, is that the only apk that you need to do that for?
Sent from my One X using xda app-developers app
SkizzMcNizz said:
I see. That must be why there are so many blue themes lol. I thought I've seen some red ones tho.
Can you show me how? Or lead me in the right direction?
Also, is that the only apk that you need to do that for?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
What I had to do was set up a build environment and then sync with the the ROMs git hub and then sync the repo and then made my edits and built the whole ROM.
The phone apk is also like this
Sent from the Bat Cave
zelendel said:
What I had to do was set up a build environment and then sync with the the ROMs git hub and then sync the repo and then made my edits and built the whole ROM.
The phone apk is also like this
Sent from the Bat Cave
Click to expand...
Click to collapse
Damn that's so much work just to theme one line. Does the same thing happen if I use Theme Chooser?
Is it only CM10 roms that have that problem? I'm wondering if the same thing would happen if I try to make a Sense theme.
Sent from my One X using xda app-developers app
I wonder if it's because the colors of those apps are inverted. The background of the phone app is dark and the one in the contacts app is white. Maybe that's why there is a problem?
Sent from my One X using xda app-developers app
SkizzMcNizz said:
I wonder if it's because the colors of those apps are inverted. The background of the phone app is dark and the one in the contacts app is white. Maybe that's why there is a problem?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
The problem is from the apktool jar file. It decodes a few apks badly. Not sure what set up your using but seems The newest apktool from ibots fixed this issue.
zelendel said:
The problem is from the apktool jar file. It decodes a few apks badly. Not sure what set up your using but seems The newest apktool from ibots fixed this issue.
Click to expand...
Click to collapse
Awesome do you have a link?
Sent from my One X using xda app-developers app
SkizzMcNizz said:
Awesome do you have a link?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
A search would have found it easy enough lol. Here is a link. I have been able to edit all the xmls without an issue.
http://forum.xda-developers.com/showthread.php?t=1755243
zelendel said:
A search would have found it easy enough lol. Here is a link. I have been able to edit all the xmls without an issue.
http://forum.xda-developers.com/showthread.php?t=1755243
Click to expand...
Click to collapse
Thanks man. You have been such a great help. I appreciate it.
What should I download? Just the apktool.jar or the updated aapt also? It says on one page that the aapt is only required for Linux but on the OP it says that the patched aapt is required. It says it under previous versions.
Sent from my One X using xda app-developers app
I use a modded version of apkmultitool and all I did was tale the apktool jar file
Sent from the Bat Cave
zelendel said:
I use a modded version of apkmultitool and all I did was tale the apktool jar file
Sent from the Bat Cave
Click to expand...
Click to collapse
Can you send me your apktookmultitool? I'm still getting a fc when I try to open the Phone app. The only thing I changed is the line in the colors.xml in the Contacts apk that said "People app theme color". I changed it to #ffcc0000. Whenever I decompile the Phone.apk it decompiles fine but I get a bunch of errors when I recompile even if I dont' change anything. I'm not using apkmultitool or apkmanager. I'm just using apktool and these commands: java -jar apktool.jar d Contacts.apk and to recompile I use: java -jar apktool.jar b Contacts.
EDIT: Holy Sh*t, Nevermind I got it. I didn't need to change anything in the Phone.apk at all just the Contacts.apk. But I'd still like to know how come my Phone.apk gives errors every time I try to recompile.
I can finally move on now! lol
SkizzMcNizz said:
Can you send me your apktookmultitool? I'm still getting a fc when I try to open the Phone app. The only thing I changed is the line in the colors.xml in the Contacts apk that said "People app theme color". I changed it to #ffcc0000. Whenever I decompile the Phone.apk it decompiles fine but I get a bunch of errors when I recompile even if I dont' change anything. I'm not using apkmultitool or apkmanager. I'm just using apktool and these commands: java -jar apktool.jar d Contacts.apk and to recompile I use: java -jar apktool.jar b Contacts.
EDIT: Holy Sh*t, Nevermind I got it. I didn't need to change anything in the Phone.apk at all just the Contacts.apk. But I'd still like to know how come my Phone.apk gives errors every time I try to recompile.
I can finally move on now! lol
Click to expand...
Click to collapse
Yeah then only changes that need to be done in the dialer is for the in call screen. I will upload my apkmultitool as soon as I can. My PC is hooked up to the TV and better half has control
Sent from the Bat Cave
zelendel said:
Yeah then only changes that need to be done in the dialer is for the in call screen. I will upload my apkmultitool as soon as I can. My PC is hooked up to the TV and better half has control
Sent from the Bat Cave
Click to expand...
Click to collapse
Ok sounds good. Thanks.
Btw would you know why I would get a fc when I try to theme the Swiftkey 3 keyboard? I themed it and then put it on my sdcard and tried to install it but it said "app not installed." That happened when I tried to theme the Facebook app but I put it in System/app and it worked but when I put Swiftkey 3 in System/app it just fc's. I know its not because of the 9.png's because I themed them correctly. I'm wondering if its maybe because its a paid app that I purchased? Do you think I'll have that problem with all the apps that aren't in System/app such as Chrome, Play Store, etc.?
SkizzMcNizz said:
Ok sounds good. Thanks.
Btw would you know why I would get a fc when I try to theme the Swiftkey 3 keyboard? I themed it and then put it on my sdcard and tried to install it but it said "app not installed." That happened when I tried to theme the Facebook app but I put it in System/app and it worked but when I put Swiftkey 3 in System/app it just fc's. I know its not because of the 9.png's because I themed them correctly. I'm wondering if its maybe because its a paid app that I purchased? Do you think I'll have that problem with all the apps that aren't in System/app such as Chrome, Play Store, etc.?
Click to expand...
Click to collapse
It could be that the app developer has it set not to work if decompiled. Hand cent is that way (and pisses me off as I am stuck with bob issues due to their lazy theming lmao.) I have edited a few apps and have no issues. Like tapatalk and what not. But some just won't work.
Sent from the Bat Cave
zelendel said:
It could be that the app developer has it set not to work if decompiled. Hand cent is that way (and pisses me off as I am stuck with bob issues due to their lazy theming lmao.) I have edited a few apps and have no issues. Like tapatalk and what not. But some just won't work.
Sent from the Bat Cave
Click to expand...
Click to collapse
Yea that sucks lol. I wanna add some red to the Swiftkey 3 keyboard. =(
Here is a link to my version of the apkmultitool. You can unzip it anywhere and it will work. At least it does for me lol
https://dl.dropbox.com/u/7544625/apktool test.7z
zelendel said:
Here is a link to my version of the apkmultitool. You can unzip it anywhere and it will work. At least it does for me lol
https://dl.dropbox.com/u/7544625/apktool test.7z
Click to expand...
Click to collapse
Thanks. I'll try it out. Just wondering, is there any reason you don't just use apktool? Also, what did you change in the apkmultitool?
Sent from my One X using xda app-developers app