Hey guys,
I want to make a theme, so i ask all you themers here:
How do i have to add a background picture, for example to settings.apk? there is no bg.png or something like that to replace..so obviously i'll have to add one..but i think that has to happen in an .xml file..but how do i edit those xml files?
Please help me, our Minis are going to get a beautiful theme
Thanks,
nitro
Nitroboy77 said:
Hey guys,
I want to make a theme, so i ask all you themers here:
How do i have to add a background picture, for example to settings.apk? there is no bg.png ord something like that to replace..so obviously i'll have to add one..but i think that has to happen in an .xml file..but how do i edit those xml files?
Please help me, our Minis are going to get a beautiful theme
Thanks,
nitro
Click to expand...
Click to collapse
Pretty easy if you have xml
Code:
<android:background="@drawable/background">
Add that to relative layout
thanks for your fast reply darknessys
but i don't get you all the way..where do i have to add this line? And how do i decompile a xml file? do i have to decompile a xml file anyway?
Related
Someone can make a porting of this ui?
http://forum.xda-developers.com/showthread.php?t=801833
Yes that ui looks awesome.
Wow, this looks great.
lollazzo said:
Someone can make a porting of this ui?
http://forum.xda-developers.com/showthread.php?t=801833
Click to expand...
Click to collapse
I have ported gala s to htc legend so why not try this
There're a lot of graphic files and 9.png ones also. I can resize all the images but the 9.png make me confused. I downloaded the rom and may try it sometimes. I love this UI too.
U can not batch resize .9 pngs. U have to decompile, resize, manually edit and recompile them back one by one.
Sent from my HTC Legend
I found a jar file that writes 9.pngs info into rezised pictures
So if we batch rezise all the images then we should be able to write the info in the 9.png again
We can actually in theory batch resize
I don't say it's impossible but how do you know which pixels are resizable after you resize the whole png?
Care to share the link to that tool.
Sent from my HTC Legend
I like the colour icons in the notification bar, and the nice clear font, but a lot of the settings screens look way to much like iOS for me...
I'd love to see this miui stuff ported to the legend ;-)
Maybe we could split the work between a few people to recompile the .9 pngs and so on ?
Would love to see this, any progress ?
Indeed, it does look pretty sweet.
please anyone try to port to legend....if that it will be sweet
i think no one is caring about this thread.
I found this thread on XDA, it is an how to
http://forum.xda-developers.com/showthread.php?t=1161371
Please check the link in the first post 'cause the how to is "legacy" if used on latest ROM.
Hi guys, I was wondering if anybody knows how to adjust the rotary wheel's position on the lock screen, I'd like to maybe move it a little lower if possible. I'm guessing that the positioning must lie in an XML somewhere, but which and where? It's no big deal if it can't be practically done, the ROM remains awesome either way.
I'm using a NAA and D_d CM7.2.0.4 on the mini
Thanx in advance guys
And props to all the devs on this forum!! You guys are the reason why dynamite comes in small (mini) packages!!
it is in framework-res.apk
xml's are in layout:
keyguard_screen_tab_unlock.xml
keyguard_screen_tab_unlock_land.xml
keyguard_screen_unlock_landscape.xml
keyguard_screen_unlock_portrait.xml
Thanx but now how do I edit them, what program do I use because when I open them up on my phone, all I see is... stuff, no values.
you need to edit them on pc by using Apk Maneger and Notepad++.
maybe if i will have some time i will fix framework for your device but you can try it if you want
THANK YOU!!! I appreciate the offer but I'm going to try for myself first but if I have problems, I'll let you know!! Thanx again!
Edit: Ok, extracted apk and opened one of the XMLs in Notepad ++ but its different stuff, "SOL" "NUL" where are values you can edit? How do you change Notepad ++ to show numbers that humans can read ?
Hello guys, I am very interested on modding some roms, I've already managed to modify devilsking's TheMythICS Lite. I've managed to change stuff like, overglow color, icons and some text colors
But I am not really familiar with scripts and stuff like that. So can anyone enlighten me here?
Btw, I have experience on XML programming
If you have experience in xml,try modding apk files
You know changing icons and pngs
you are good in xml then what you want to know
Prawesome said:
If you have experience in xml,try modding apk files
Click to expand...
Click to collapse
I've already modded the SystemUI.apk and framework-res.apk and managed to change the icons and text colors
nims11 said:
You know changing icons and pngs
you are good in xml then what you want to know
Click to expand...
Click to collapse
Idk. lol there's so much to do and deal with, I don't know where to start
Lead me?
hey u can try making lockscreens me to finding a tutorial about it.....
can you guys please tell me how to change the color of the text 'messaging' (green colored) to white....
need it fast!!
please reply fast sir
Ok first. You didnt give any real info. Second If you need a fast reply you are in the wrong place. This is not a support site.
i am themeing this apk for myself... and i wanted to know in which xml i may find the color code to this text .....
i searched the internet and i wanted this to change to white
here is the apk...........
it is from galaxy y s 5620 gingerbread
pandorasmindabhi said:
i am themeing this apk for myself... and i wanted to know in which xml i may find the color code to this text .....
i searched the internet and i wanted this to change to white
here is the apk...........
it is from galaxy y s 5620 gingerbread
Click to expand...
Click to collapse
Wont do me any good. I cant decompile it as I am missing the framework dependencies to decompile it. I would start looking in the layout folder for the list layout xml. Then go from there. Is this a TW rom, AOSP, Ect. Those things matter as the mms apk is very different depending on device.
I have been theming apps on my phone to give them black backgrounds. The white backgrounds bother my eyes. I'm doing pretty well but I am having a big problem with the LGSettings.apk. I have decompiled the apk and edited the colors.xml, styles.xml and parts of the manifest that i thought might change the theme. I then recompile and run the settings app but I never see any changes. I am trying to figure out what I need to edit to achieve white text on a black background. Any help would be greatly appreciated.
I don't have the apks in front of me, but you may need to theme more than that one. I think you'll need:
LGSettings (which you currently themed)
Possibly: LGSettingsAccessibility/LGSettingsProvider
These two may or may not have anything to theme in them, so you may need to decompile to take a look.
Ok. I'm getting there. The background item and textcolor item were lurking in the lge-res.apk. I am still having trouble finding a way to change the blue action bar color (1) and the color of the white section headers (2). Anybody know what these might be called and what apk I need to look in? Thanks a lot!
skyman88882002 said:
Ok. I'm getting there. The background item and textcolor item were lurking in the lge-res.apk. I am still having trouble finding a way to change the blue action bar color (1) and the color of the white section headers (2). Anybody know what these might be called and what apk I need to look in? Thanks a lot!
Click to expand...
Click to collapse
Ok. I found the action bar - I used 'Widget.Material.ActionBar.Solid' to hard code the background color. Now I just need somebody to help me find those white section headers. Anybody? Thanks so much!
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
skyman88882002 said:
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
Click to expand...
Click to collapse
Awesome, great work!
I remember doing something similar when I was doing this to my Galaxy S3, trying to find the various apk's where Sammy had changed things. It was a great feeling to find and change things.
skyman88882002 said:
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
Click to expand...
Click to collapse
HI THERE, I WAS WONDERING IF YOU CAN SHARE THOSE APS's, COUULD YOU MAKE IT POSSIBLE?
elmanolette said:
HI THERE, I WAS WONDERING IF YOU CAN SHARE THOSE APS's, COUULD YOU MAKE IT POSSIBLE?
Click to expand...
Click to collapse
Hi. Please in the future don't use all capital letters. I know you didn't mean this in this case, but it's generally considered "shouting", and for longer strings it makes it harder to read. Thanks for understanding.
roirraW "edor" ehT said:
Hi. Please in the future don't use all capital letters. I know you didn't mean this in this case, but it's generally considered "shouting", and for longer strings it makes it harder to read. Thanks for understanding.
Click to expand...
Click to collapse
sorry man, i'm understand!
I definitely intend to share my findings. However right now i am redoing the theming trying to push all the edits into LGsettings. Since I did the editing in the lge-res.apk it has a lot of unintended consequences on other parts of the system
subscribed.
i despise white backgrounds.
Brian
i cant find any color.xml in any stock apps?
skyman88882002 said:
I have been theming apps on my phone to give them black backgrounds. The white backgrounds bother my eyes. I'm doing pretty well but I am having a big problem with the LGSettings.apk. I have decompiled the apk and edited the colors.xml, styles.xml and parts of the manifest that i thought might change the theme. I then recompile and run the settings app but I never see any changes. I am trying to figure out what I need to edit to achieve white text on a black background. Any help would be greatly appreciated.
Click to expand...
Click to collapse
how do you theme? i can never find the color.xml file in any stock app?
Glitch15 said:
how do you theme? i can never find the color.xml file in any stock app?
Click to expand...
Click to collapse
You need a deodexed ROM/apk file to decompile to find those resources.
RMarkwald said:
You need a deodexed ROM/apk file to decompile to find those resources.
Click to expand...
Click to collapse
my Rom is deodex, can you pm me a step by step guide to get to the color.xml?
it would be nice if you can post a brief guide about theming it.. so people can have benefit.
knowledge is meant to share after all
minhas729 said:
it would be nice if you can post a brief guide about theming it.. so people can have benefit.
knowledge is meant to share after all
Click to expand...
Click to collapse
Hey there! Good to see you on this thread Minhas729. I'm really sorry for the delay, I have just been slammed on the home front and haven't had time to play around with this stuff.
I'm still not happy with the theming I'm doing but I plan on posting my work in process files in the next 5 or 6 days.
In the meantime, let me share my knowledge (it isn't much!)
I think I am going to change the thread title to Theming for Dummies (Like Me) (anybody know how to change a thread title?). so step one will be in the next post.....
OVERVIEW
(Ok - so here is a quick overview of the theming process as I do it. Again, I am just a novice and I just stumble around so if I get the terms incorrect forgive me.
1) The first step in theming an apk is to decompile the apk. Unzipping the apk is not going to work. This is because there are special files like styles.xml and colors.xml that are hidden in a 'values' folder in the res directory. As far as I know, you cannot access these special files by simply unzipping the apk.
2) To decompile you need an apk tool - I use 'Tickle My Android' (I'm going to call it TMA going forward) - it has a great developer with excellent instructions. The way decompiling works is you first have to create a mini-work area on your computer. You do this by decompiling and installing the framework-res and lge-res apks from your phone to your computer. TMA needs these files to decompile other apps because most apps reference a bunch of things in the framework-res and lge-res files Installing TMA is pretty easy and the instructions on the thread are excellent. The only issue I had was finding a good version of apktool.jar to use in conjunction with TMA - one that worked well with marshmallow apks. The apktool is the actual tool that does all the work - TMA (in my understanding) is simply a very well designed user interface to use the apktool. So you need an apktool that will recognize marshmallow files and be able to decompile them. I use "apktool_2.1.0-a64a03-SNAPSHOT"" as my apktool.jar file.
3) Once an apk is decompiled, all the apk components will be saved in a 'working' folder. You can then go in and edit colors and and styles using an xml editor.
4) Once you have made your edits you use TMA to recompile and sign the apk. Then you move the file back to your phone, place it in the proper device directory, fix permissions, reboot and cross your fingers.
Ok - that is the overview - go off and start trying it. One suggestion - dont try to push files from the phone to the pc with TMA - just use your usb cable.
more to come...
skyman88882002 said:
I think I am going to change the thread title to Theming for Dummies (Like Me) (anybody know how to change a thread title?). so step one will be in the next post.....
Click to expand...
Click to collapse
Edit your first post in a web browser. Choose Advanced mode and there'll be a field to edit the title.
Below are links to download the themed lge-res.apk and lgsettings.apk. MAKE A BACKUP FIRST (I'm not responsible for anything that goes wrong if you try these files). Once downloaded you will need to use a root browser to copy the files to the appropriate system directory and to change the permissions. Keep in mind, this is a work in process, if you enter settings and click on the bluetooth or wifi sections you will notice that the background is not themed yet. I'll repost when these are fixed.
lge-res.apk download link
LGSettings.apk download link
Keep in mind that you have to install both files if you want the full black background.
Ok. I think I worked out most of the bugs. The files are now set up in a flashable zip. Test it out and let me know if you see any issues. If it is working well I will start a new thread in the Themes section and work on the systemui as well. Thanks. Download link below:
download