Framework-res.apk xml edit - Android Q&A, Help & Troubleshooting

Hi, I was intrigued me
the exact construction of
framework-res.apk. I would like to
know which. xml are responsible
for individual elements
appearance. would ask for
clarification or sent me a link to
the tutorial.

KuaQ said:
Hi, I was intrigued me
the exact construction of
framework-res.apk. I would like to
know which. xml are responsible
for individual elements
appearance. would ask for
clarification or sent me a link to
the tutorial.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=916814

Related

Looking for Dev to help with my Orange theme

Hey guys,
I'm building a theme and i'm running in to some trouble. I'm hoping someone might want to team up with me on this who has a little more experience. Currently, i have themed all the images in drawable-hdpi, and it took me about two days of work to do. I replaced the originals within 7zip with my new ones and then ran the rom through my kitchen to resign it...but now i'm getting errors about the framework when i try to do anything.
So anyway, i'd like to be able to just make this in to a flashable .zip theme that can be used on all the roms. If anyone can help me out, i'd appreciate it. Send me a PM and i will email you a zip of all the files i have themed so far, and we can collaborate from there. This theme is Orange...It looks real nice and i've put a lot of work in to it so far. Painstakingly long hours. Thanks in advance.
Thatisandwas
If your using 7zip to replace the images than there is no need to resign it.
Sent from my PG86100 using XDA Premium App
Yeah i did...really i'm just looking for someone with some more theming experience that might want to help me on this. I'm fine with doing the legwork..i just need a few pointers with xml's and editing the nav bar..various things.
thatisandwas said:
Yeah i did...really i'm just looking for someone with some more theming experience that might want to help me on this. I'm fine with doing the legwork..i just need a few pointers with xml's and editing the nav bar..various things.
Click to expand...
Click to collapse
Shoot me a PM with your questions or what you need help with.
-- Sent from my 3D Shooter --
No takers?

Modding: What are the PNG names of files

Hey peeps,
I'm finally trying to get into themeing my 3D on my own and would like to know where I can find the names of each individual file that I can edit and what it changes within the ROM. For example the text input areas what are the names of those files within the framework-res.apk? Any and all help would be greatly appreciated and if this has already been covered can you point me to the right place because searches aren't bringing up anything. Also, Mods if this is in the wrong place, move it for me. thanx
You need to know that you can't edit all files or think that all is in png's since some of them are values and not graphics. FE if you want to mod the dialer you need to edit the xml files.
HTC Reseller said:
You need to know that you can't edit all files or think that all is in png's since some of them are values and not graphics. FE if you want to mod the dialer you need to edit the xml files.
Click to expand...
Click to collapse
Cool, thanks for that info
This thread will answer all of your questions...
http://forum.xda-developers.com/showthread.php?t=1320891
Thanx ssojyeti2!!
but I still don't see anyone explaining what the specfic file names are for the images within the system\framework\framework-res.apk\res\drawable-hdpi\ or other similar places you can edit/switch out pngs. I've extracted the images but you can't always tell which image affects what within a ROM.
Nobody makes lists of all the images because there are thousands of them and they constantly change with software versions. Most are always in drawable-hdpi
Sent from my PG86100 using Tapatalk 2
BigMark82 said:
Thanx ssojyeti2!!
but I still don't see anyone explaining what the specfic file names are for the images within the system\framework\framework-res.apk\res\drawable-hdpi\ or other similar places you can edit/switch out pngs. I've extracted the images but you can't always tell which image affects what within a ROM.
Click to expand...
Click to collapse
Unfortunately man it is exactly as notsointeresting said. Basically its looking through all the images and finding what you think may change what, then just edit it and test it. The only tutorials you'll find are how to edit the actual .9 pngs and maybe some text edits. Here's one that I had posted in the Interactive Phone Modification thread, but it is just color text edits that can be made in framework-res for sense 3.6.
http://forum.xda-developers.com/showpost.php?p=26491437&postcount=3974
If you give me £1,000,000 I'll name them. Seriously tho experiment and after you have done a few themes you will start to know what does what. I quite often ask mayfield for the 0x0000000 numbers of m10 files because he has modded the fusion so may times he has learnt mot of them from by heart. Good luck
Bebida said:
If you give me £1,000,000 I'll name them. Seriously tho experiment and after you have done a few themes you will start to know what does what. I quite often ask mayfield for the 0x0000000 numbers of m10 files because he has modded the fusion so may times he has learnt mot of them from by heart. Good luck
Click to expand...
Click to collapse
For 50,000 ill help...
Sent from my PG86100 using Tapatalk 2
I'll do it for a $100 an image
Jk
Sent from my Xoom using Tapatalk 2
If I did it for a penny an image I'd still get 10,000 dollars....
This thread. I love it. Seriously though, look at the file names and try to relate them common, divider, ect...
And as soon as you figure it out you'll get a newer operating system and have to start over. That's where the fun is.
I figured out evo 4g and then I bought a evo 3d. Then figured it out and then bought the el tevo. It's a vicious cycle.
Sent from el tevo using tapatalk
So many images, so few pennies....
Sent from my PG86100 using xda premium
Knight has list of a handful probably has more of em named now. But you learn pretty quick what is what after you do it a few times. . As for other pngs edit as many as you want in the system ui frame work res and so on. Also look in the sticky section a lot of info you should read up on.
Sent from my PG86100 using xda premium
Set your explorer window to grid the images spread out then look at your phone and then look for the image you want to change in your explorer window.
Make a few changes and send the file to your phone reboot and see if it worked.
It's long hard tedious work but rewarding in the end when you finish and people download.
Sent from my EVO One 3D using the XDA Premium App.
HTC Reseller said:
You need to know that you can't edit all files or think that all is in png's since some of them are values and not graphics. FE if you want to mod the dialer you need to edit the xml files.
Click to expand...
Click to collapse
You are wrong about Dialer , open phone.apk find the image and edit like you want like I do

[MOD] toggle color

heres how i changed the color of the toggles
decompile com.htc.resources.apk
go to: res\values\colors and edit the first line with the color of your choice
recompile and enjoy
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="multiply_color">[COLOR="Red"]#ff40a4cf[/COLOR]</color>
Thanks to jeffsanace and eg1122 for the help with getting the apktool working
scrosler for what to edit
You should do a bunch of colors and make them flashable on any rom.
Just saying....
Sent from my EVO LTE using xda premium
eyeisdasteve said:
You should do a bunch of colors and make them flashable on any rom.
Just saying....
Sent from my EVO LTE using xda premium
Click to expand...
Click to collapse
X2
Sent from my eVo LTE
I can't get resources to recompile with apktool.
Sent from my EVO LTE using xda premium
This is what i get when trying to recompile. I also made sure i got rid of the zero_dummy_assets when editing pubilc xml in apktool.
Any idea?
benny3 said:
heres how i changed the color of the toggles
decompile com.htc.resources.apk
go to: res\values\colors and edit the first line with the color of your choice
recompile and enjoy
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="multiply_color">[COLOR="Red"]#ff40a4cf[/COLOR]</color>
Click to expand...
Click to collapse
Can you make the blue flashable for Joel's rom?
Sent from my EVO using xda premium
thatotherguy.. said:
Can you make the blue flashable for Joel's rom?
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I will take RED toggles please, thank you!!!!
If you guys use VillainTheme System (you can just gank the template from my theme in my signature) once you recompile the apk, pull the XML file you edited, place it in the right folder within vrtheme (com.htc.resources.apk/res/values/) and it will work on any ROM by only overwriting that specific XML file.
OP, if you can give me a hand with something: I can recompile com.htc.resources with no errors and all, but hte ENTIRE values folder are missing from my newly compiled APK, even if I make no changes. I assume that has something to do with my set up but I tried resetting up my apktools folder a thousand times. Any insight?
When will you guys learn to use the search button? Seriously, learn to use it and help yourself out. The solution to your apk compiling issues was solved by this thread in May.
To the OP: It is always proper etiquette to thank your source.
FYI to everyone else: multiply color variable changes A LOT more than just the toggles. Use PIN lock for one example and notice what I mean.
Thread moved to the Themes and Apps section.
SteelH said:
When will you guys learn to use the search button? Seriously, learn to use it and help yourself out. The solution to your apk compiling issues was solved by this thread in May.
To the OP: It is always proper etiquette to thank your source.
FYI to everyone else: multiply color variable changes A LOT more than just the toggles. Use PIN lock for one example and notice what I mean.
Click to expand...
Click to collapse
Way to read.
I made it CLEAR that I'm not having any compile issues, I'm just missing the values folder when I DO compile. No errors. No nothing. Know why? BECAUSE I FOLLOWED THAT SAME EXACT GUIDE.
Racer Of All said:
OP, if you can give me a hand with something: I can recompile com.htc.resources with no errors and all, but hte ENTIRE values folder are missing from my newly compiled APK, even if I make no changes. I assume that has something to do with my set up but I tried resetting up my apktools folder a thousand times. Any insight?
Click to expand...
Click to collapse
Don't be a complete jerk without reading my post.
Also for proof:
Sorry OP for derailing the thread, your mod is awesome great job!
Racer Of All said:
Way to read.
I made it CLEAR that I'm not having any compile issues, I'm just missing the values folder when I DO compile. No errors. No nothing. Know why? BECAUSE I FOLLOWED THAT SAME EXACT GUIDE.
Don't be a complete jerk without reading my post.
Also for proof:
Sorry OP for derailing the thread, your mod is awesome great job!
Click to expand...
Click to collapse
i was gonna share This link with you but i see you found it

Changing Backgrounds XML

I'm trying to change the background on multiple apps which I think are all related to the same element background...I checked all png's but unfortunately could not find it, I'm pretty sure it is xml files but when I change them inside the apps themselves it doesn't take the changes which is due to dependencies of the apps...if someone has any clue where to find these xml files or where to look at them??
It has been done in oldest version of sense I think as well. Any help would be very appreciated!!
Where the strings would be for placed that is listview background in com.HTC.resources. that I believe is in values-xxdpi colors or maybe values drawables .
The text fields are input views which I think are images in resources. Since resources can't be decompiler you have to hex edit the listview
Sent from my HTC6435LVW using xda premium
fernando sor said:
Where the strings would be for placed that is listview background in com.HTC.resources. that I believe is in values-xxdpi colors or maybe values drawables .
The text fields are input views which I think are images in resources. Since resources can't be decompiler you have to hex edit the listview
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
Thanks for your answer...I will look into it and get back with any news. is there a chance that smali have to be also edited? Do you have an idea which smali files have to be checked?
santacruzdz said:
Thanks for your answer...I will look into it and get back with any news. is there a chance that smali have to be also edited? Do you have an idea which smali files have to be checked?
Click to expand...
Click to collapse
no smali is needed to invert
fernando sor said:
no smali is needed to invert
Click to expand...
Click to collapse
I read in some Forums that the Layout could also affect the menu backgrounds, is that true? I thought we should only look into the values?
fernando sor said:
no smali is needed to invert
Click to expand...
Click to collapse
I edited all the images in the drawable-xxhdpi and none is responsible of the background ...the htc resources is making me crazy!!!!

★★Transparent Framework Dependent Apks ★★[Closed]

Due to a "dev" attempting to kang this and not give me credit for the framework transparency mod after he has asked me to be a part of the ROM, assist him in the transparent aspect, doing the edits for this individual, and not even originally credited for my work and then only being credited for "Wallpaper Show" as of Aug 5th, my transparent framework thread is no longer available to the public. If you figure it out yourself all the power to you. If you ever use someone elses work in your rom, Please do the XDA right thing and give credit where credit is due. I'm pretty sure you can figure out who it is. I WILL not support losers like this.
I'm grateful everyone has enjoyed my mod enough to run it on their phones and include it in themes/ROMs.
Thank you
Mod:: please move this where appropriate.
Updated with more transparent apps (Play Store, Gmail, Google Now, Contacts, etc)!
Very nice tut. Thanks!!
TaPpEd from my nOtEwOrThY N2
Sexy, nice job.
Thanks for this man.. I'm going to give this a go on a stock deodexed rom.. now with tw..do you have to decompile the tw framework-res as well? I would like to make all this transparent or semi transparent like this =) Thanks in advance!
lacoursiere18 said:
Thanks for this man.. I'm going to give this a go on a stock deodexed rom.. now with tw..do you have to decompile the tw framework-res as well? I would like to make all this transparent or semi transparent like this =) Thanks in advance!
Click to expand...
Click to collapse
Yea i attemtped this on a stock tw deodexed rom and did see any difference.. Followed the exact steps and made image transparent with adobe elements.. Any help would be appreciated!
lacoursiere18 said:
Thanks for this man.. I'm going to give this a go on a stock deodexed rom.. now with tw..do you have to decompile the tw framework-res as well? I would like to make all this transparent or semi transparent like this =) Thanks in advance!
Click to expand...
Click to collapse
No you don't have to touch tw-framework at all. Just change the xml edit to true. And make the image under drawable transparent. I tried this on Moon Rom before actually and it came out nice.
Edit: Try paint.net to make it transparent. I never tried adobe
Can you do transparent pattern lock screen?
Sent from my SCH-I605 using xda app-developers app
Ohh_Trenton said:
No you don't have to touch tw-framework at all. Just change the xml edit to true. And make the image under drawable transparent. I tried this on Moon Rom before actually and it came out nice.
Edit: Try paint.net to make it transparent. I never tried adobe
Click to expand...
Click to collapse
Thanks man for response..Lol im sure it did look good.. I have it working.. But i want more lol of course! Have you seen this ROM I want to do something like this with floating windows and some of the apps that you have provided also.. SO fully transparent!! Have you attempted doing the keyboard or the phone.. The dialer is somewhat transparent but in call is not.. You want to help me put something together???:good::good:
Edit: Do you know where abouts also.. to edit the dropdown/notification panel..
lacoursiere18 said:
Thanks man for response..Lol im sure it did look good.. I have it working.. But i want more lol of course! Have you seen this ROM I want to do something like this with floating windows and some of the apps that you have provided also.. SO fully transparent!! Have you attempted doing the keyboard or the phone.. The dialer is somewhat transparent but in call is not.. You want to help me put something together???:good::good:
Edit: Do you know where abouts also.. to edit the dropdown/notification panel..
Click to expand...
Click to collapse
Let's do it bro! And yes to your last question :thumbup: PM me
Ohh_Trenton said:
Let's do it bro! And yes to your last question :thumbup: PM me
Click to expand...
Click to collapse
Sent..
Hey bro, if you want to just have a background with framework dependent apps then all you need to do is replace, "tw_background_holo_dark." No XML edits needed for that unless you want to go transparent .
ForeverSupra said:
Hey bro, if you want to just have a background with framework dependent apps then all you need to do is replace, "tw_background_holo_dark." No XML edits needed for that unless you want to go transparent .
Click to expand...
Click to collapse
Yeah if you want a custom image that's all you gotta replace. This mod was made for transparent purposes but i figured someone would figure out what you figured out in the process!
Ohh_Trenton said:
Yeah if you want a custom image that's all you gotta replace. This mod was made for transparent purposes but i figured someone would figure out what you figured out in the process!
Click to expand...
Click to collapse
Shaweet, I have it completed and setup up as an aroma option for my two themes. (Not yet released for the others reading this, lol.) Ill make sure to give you proper credit . I dig the mod but it does glitch up with some apps like youtube.
ForeverSupra said:
Shaweet, I have it completed and setup up as an aroma option for my two themes. (Not yet released for the others reading this, lol.) Ill make sure to give you proper credit . I dig the mod but it does glitch up with some apps like youtube.
Click to expand...
Click to collapse
You know what, I found a fix for that for my ROM. And I need to update this thread. There's are more lines I added to styles for the glitches to go away. I will be glad to help you with that. You have a hangouts email we can chat?
Ohh_Trenton said:
You know what, I found a fix for that for my ROM. And I need to update this thread. There's are more lines I added to styles for the glitches to go away. I will be glad to help you with that. You have a hangouts email we can chat?
Click to expand...
Click to collapse
Sounds good, I appreciate it! My GTalk is ForeverSupra.
Will this make a 100% transparent patternlock screen?
Sent from my SCH-I605 using xda app-developers app
oneders65 said:
Will this make a 100% transparent patternlock screen?
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
It doesnt.
Edit: Pattern lock screen? Like a passcode? I have no idea. But the regular lock screen doesnt become transparent.
Due to a "dev" attempting to kang this and not give proper credit, my transparent framework thread is no longer available to the public. I'm pretty sure you can figure out who it is. I WILL not support losers like this.
This Guide is closed. Mod please move this where appropriate.
Ohh_Trenton said:
Due to a "dev" attempting to kang this and not give proper credit, my transparent framework thread is no longer available to the public. I'm pretty sure you can figure out who it is. I WILL not support losers like this.
This Guide is closed. Mod please move this where appropriate.
Click to expand...
Click to collapse
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^THIS SUCKS^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
We don't need shiz like thiz in our forums. You know, Deckoz may not know you did alot of the transparency theming. I mean, it could be a misunderstanding. Have you tried talking to either of them? I really like the rom, and if you had your hand in it, you deserve thanks, and recognition. I have seen problems like this before tear up a whole forum. There is no way I want to get into a he said/ she said thing, and I am sorry this happened. You really shouldn't punish the rest of us low level code tweakers though. I mean, what is done, is done, and pulling your stuff now just hurts us lowly, uneducated people. I am not telling you what to do, just offering a view you prob dont care to see because you are mad. Thanks for having it up, I just wish I would have got to try it myself before it got pulled. Really man, sorry.
Sent from my SCH-I605 using Tapatalk 2

Categories

Resources