[Simple guide] change font colour in twframework-res.apk - Galaxy Y GT-S5360 Themes and Apps

hi all..
I don't know where i must share this guide
so please call the moderator to deleted my post if i'm in wrong thread
this is not my really guide..so i give credits to the developer who first discovered this guide
and please write a comment if i'm wrong or i don't give credits to the developer
check this out
first you must decompile twframework-res.apk
and you can find
res/colour
well here is basically a bridge connecting the actual color code
example
i used this xml
tw_textappearance_grouptitle.XML
and i found this code
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/tw_color001" />
</selector>​
and the code it self was tw_001
VALUES/colour.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="tw_color001">#ffff0000</color>
<color name="tw_color002">#ff99fe80</color>
<color name="tw_color003">#ff99ff00</color>
<color name="tw_color004">#ffff4500</color>
<color name="tw_color005">#ffc8c8c8</color>
<color name="tw_color006">#ffff0033</color>
<color name="tw_color007">#ffccfe80</color>
<color name="tw_color008">#ff5e5e5e</color>
<color name="tw_color009">#ff6c6c6c</color>
<color name="tw_color010">#ff105886</color>
<color name="tw_color011">#ff4f4f4f</color>
<color name="tw_color012">#ff636363</color>
and further​
and it is the database code that you will change the color using the color hex code
after you change the colour codes recompile the apk
i'm sorry about my stupid english...
if this simple guide was help you..please press thanks
Credits...to all developer

From where u got this guide?
Want To Ask Question? Ask Here
Thanks,
TechnoSavie

(re) guide
technosavie said:
From where u got this guide?
Want To Ask Question? Ask Here
Thanks,
TechnoSavie
Click to expand...
Click to collapse
i found this guide from my experience sir
when i use ussr v8 my font colour is white
and when i use ussr v9 my font colour is grey
so..i try to change ussr v9 using twframework ussr v8
and my font colour was change to white
I think why do not I just
decompile it twframework it
worked
i'm sorry about my stupid english

:good:
nice guide bro
there are many prople here who keep asking how to fix black text on black text...
this guide will help them
Ubuntu themed apps and other stuff here
Click to expand...
Click to collapse
--->make phone faster and battery efficient
--->partition and link2sd for NOOBS?!?!?
--->3d games for galaxy y (no root no lag)

Thanks this could come of use.
Sent from my Quad-core 1.5GHz 512MB RAM GT-S5360 using xda premium

Thnxx. Working perfectly.
:thumbup:
Sent from my HTC-Desire using xda app-developers app

thanks

Awesome..!!! Very helpful even for devs..
Sent from my GT-S6102 using Xparent ICS Tapatalk 2

samsoul16 said:
Awesome..!!! Very helpful even for devs..
Sent from my GT-S6102 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
oh ya
u can try this guide bro..
may be next time i wanna share other guide using framework-res.apk
but i confuse about this...

nice! thanks!

u're wellcome bro

Hey what xml editor did you use because notepad++ dont seemed to be reading them correctly, might seem of topic but ive been been trying to do this all day, as well as img coulors

benjiboythelad said:
Hey what xml editor did you use because notepad++ dont seemed to be reading them correctly, might seem of topic but ive been been trying to do this all day, as well as img coulors
Click to expand...
Click to collapse
i used notepad ++
but,i suggest u to used Vts
search in xda

not working on samsung galaxy grand quattro, but thanks fr your hard-work

nice work

This is not the proper way to change font color. The results are not as shown.. If you wanna know. Pm me . I found its way and happily creating new looks fr my device

Related

[Problem] 4.2.1 Settings background image

Fellow Android chefs, I need some help.
Up to Android 4.1.2 you could easily change the Settings background by replacing the framework-res/res/drawable-nodpi/background_holo_dark.png. This png was also responsible for background in SystemUI, Mms and some other apps.
From Android 4.2.0 Google changed this behavior. They've hardcoded it in the /framework-res/red/drawable/background_holo_dark.xml and have moved from png resource to color - gradient or solid.
This is the content of background_holo_dark.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#ff000000" android:endColor="#ff272d33" android:angle="270.0" />
</shape>
I have a problem reverting this change back to the pre-4.2.0 behavior, means - I want to use the background_holo_dark.png instead of the coded color in the xml.
Any thoughts?
Are images referable in xml files?
I know nothing of ROM development, I'll try not to be nuisance, but here goes...
Can you store the .png you want to use somewhere suitable, and then refer to it in the /framework-res/red/drawable/background_holo_dark.xml file?
for example (pseudo code, n00b remember )
Code:
<image = /where/ever/the/image/is/stored.png
</image>
Hope this helps (at least a bit)
Thanks for the reply. Yes, I know that I need to point in the xml to the png, but I don't know the right format that's xml expecting.
brainmaster said:
Thanks for the reply. Yes, I know that I need to point in the xml to the png, but I don't know the right format that's xml expecting.
Click to expand...
Click to collapse
Oh, I see. Sorry I couldn't've been of more help.
---edit---
Wait a moment, I confess I don't think I read your Q properly: I didn't realise it was coded into framework-res.apk, I assumed it was contained within Settings.apk .
HTCDreamOn said:
Oh, I see. Sorry I couldn't've been of more help.
Click to expand...
Click to collapse
No problem. I appreciate the effort.
Sorry for intruding but take a look here. See the last part of post 36. If you still don't get it, just PM Uber.
http://forum.xda-developers.com/showpost.php?p=36079807&postcount=36
Sent from my Nexus 7
veeman said:
Sorry for intruding but take a look here. See the last part of post 36. If you still don't get it, just PM Uber.
http://forum.xda-developers.com/showpost.php?p=36079807&postcount=36
Sent from my Nexus 7
Click to expand...
Click to collapse
Thanks, gonna take a look.
The next question would be - how can i delete xml through the VRTheme System?

[Q] about 9patch.png and xml help me

Hello friend, this is my first post after years of just being a silent reader ... I finally decided to create an account on this forum.
Now I want to ask, what's the name of the action bar and the 9patch.png name of this image number one in attachment below
then these two objects below on image number two marked with arrows
and one more question about this editing contact page that I can't figure it out how to change its background instead of holo white, any other pages was changed except this one, where is the damn layout xml for this thing?
help from my friends here will be greatly appreciated and I would be grateful
C.E.R.N said:
Hello friend, this is my first post after years of just being a silent reader ... I finally decided to create an account on this forum.
Now I want to ask, what's the name of the action bar and the 9patch.png name of this image number one in attachment below
then these two objects below on image number two marked with arrows
and one more question about this editing contact page that I can't figure it out how to change its background instead of holo white, any other pages was changed except this one, where is the damn layout xml for this thing?
help from my friends here will be greatly appreciated and I would be grateful
Click to expand...
Click to collapse
Welcome new XDA participant
I don't write down all png files I have modified and I don't have access to my theme right now but here are some clues:
1st screenshot: it's in framework-res.apk and check .9.png called "***bottom***" There aren't so much .9.png called like that.
2nd screenshot: it should be located into the Contacts.apk and there isn't a lot of .9.png files.
3rd screenshot: there's a .xml file into /res/drawable/ of Contacts.apk for the background.
Primokorn said:
Welcome new XDA participant
I don't write down all png files I have modified and I don't have access to my theme right now but here are some clues:
1st screenshot: it's in framework-res.apk and check .9.png called "***bottom***" There aren't so much .9.png called like that.
2nd screenshot: it should be located into the Contacts.apk and there isn't a lot of .9.png files.
3rd screenshot: there's a .xml file into /res/drawable/ of Contacts.apk for the background.
Click to expand...
Click to collapse
Okay, I will check all *bottom 9.png
And about the .xml can you give me any other clue?
C.E.R.N said:
Okay, I will check all *bottom 9.png
And about the .xml can you give me any other clue?
Click to expand...
Click to collapse
Check the color of "background_dial_holo_dark"
Primokorn said:
Check the color of "background_dial_holo_dark"
Click to expand...
Click to collapse
the value of "background_dial_holo_dark" refer to an .png image, I was replace this with my own .png image, or maybe it is "primary background color" ? in the folder values/colors/color.xml there is an code <color name="background_primary">#ffffffff</color> but I haven't change it yet.
I want to make half transparent effect on the background that shows my current wallpaper instead, if it's possible.
Would you mind to check my res folder if you're not busy, in the attachment...
C.E.R.N said:
the value of "background_dial_holo_dark" refer to an .png image, I was replace this with my own .png image, or maybe it is "primary background color" ? in the folder values/colors/color.xml there is an code <color name="background_primary">#ffffffff</color> but I haven't change it yet.
I want to make half transparent effect on the background that shows my current wallpaper instead, if it's possible.
Would you mind to check my res folder if you're not busy, in the attachment...
Click to expand...
Click to collapse
So try to remplace into colors.xml file
Code:
<color name="background_primary">#ffffffff</color>
by this
Code:
<color name="background_primary">#00ffffff</color>
Primokorn said:
So try to remplace into colors.xml file
Code:
<color name="background_primary">#ffffffff</color>
by this
Code:
<color name="background_primary">#00ffffff</color>
Click to expand...
Click to collapse
I will try that and report the result later
It works :good: thanks man

[Guide][Ambor Theme Engine]How to port Xperia Themes to Cm11

How to port Xperia Themes To cm11
Hi everyone
Many peoples have asked to me about porting xperia themes to cm11
I have decided to make a guide for it
Info About Ambor Theme Engine
http://forum.xda-developers.com/showthread.php?t=2766508
Lets start
Steps
1)Download any theme from xperia themes.
2)Decompile it via any Apk Multi Tool
3)After decompiling
Go to xperia theme.apk/res/assests
You will see some zip files.
For example
android.zip
com.android.systemui.zip
com.sonyericsson.home.zip
com.sonyericsson.uxp.zip
....
Change last name of all files from .zip to .apk
Ex: old :android.zip
new:android.apk
4)Decompile all apk that you have changed them.(step 3)
5)Now download any theme from my thread.
http://forum.xda-developers.com/crossdevice-dev/sony/ambor-theme-engine-themes-collections-t2824696
6)Decompile it(step5)
7)Again return to step4
Go to xxx.apk/res/drawable-xxhdpi for all themes
Now you musst be carefull.
compare all of them with drawable-xxhdpi of my theme.
all name musst be same.
Tipp
Easy Compare
for example
go to my theme.apk/res/xml/android.xml
open it
and look at drawable line by line
8)Go to com.sonyericsson.uxp.apk/res/values/colors.xml
open it
you will see some code lines
somc_theme_accent_color_dark
somc_theme_accent_color_light
somc_accent_color_neutral
for example
PHP:
<color name="somc_theme_accent_color_dark">#ff82c7e1</color>
<color name="somc_theme_accent_color_light">#ff2b5c6a</color>
<color name="somc_accent_color_neutral">#ff82c7e1</color>
This codes are color of theme
copy #ff82c7e1
Go to my theme.apk/res/values/colors.xml/
you will see different lines.Dont worry.
for example
PHP:
<color name="somc_color_dark">#ff205971</color>
<color name="somc_color_light">#ff205971</color>
<color name="somc_color_light_off">#ff205971</color>
Paste all colors (#ff82c7e1,#ff2b5c6a) to my theme
it musst be show like this after this step
PHP:
<color name="somc_color_dark">#ff82c7e1</color>
<color name="somc_color_light">#ff2b5c6a</color>
<color name="somc_color_light_off">#ff82c7e1</color>
9)Make the same for all another colors
Tipps about some colors
go to my theme.apk/res/xml/com.xxx.xxx
open it
for example
com_sonyericsson_soundenhancement.xml
open it
you will see this colors lines
PHP:
<item name="color/scalebar_line_color">@color/scalebar_line_color</item>
<item name="color/scalebar_center_line_color">@color/scalebar_center_line_color</item>
<item name="color/surround_preset_name_color">@color/surround_preset_name_color</item>
<item name="color/surround_preset_summary_color">@color/surround_preset_summary_color</item>
10)After than go to my theme.apk/res/values/colors.xml
you will see like this
PHP:
<color name="scalebar_line_color">#ffff6265</color>
<color name="scalebar_center_line_color">#ffff6265</color>
<color name="surround_preset_name_color">#ffff6265</color>
<color name="surround_preset_summary_color">#ffff6265</color>
<color name="somc_accent_color_neutral">#ffff6265</color>
This color code #ffff6265 is my theme color.Look at "somc_color_light"
11)At last you musst edit other pngs in drawable hdpi and xxhdpi according to your theme color
How to edit png files?
Look at this thread
That´s it.
You have ported Xperia Theme.
12)Dont forget that the name of theme
For this
Go to my theme.apk/res/values/strings.xml
Change the app name
13)Last step
go to mytheme.apk/res/androidmanifest.xml
Find package
ex:com.gamzekal.themename.apk
change it what do you want
14)Compile your new theme.apk
Credits
Of course @ Ambor
Bro you are awesome. I really admire your work. I release a new theme soon add conversation.apk working with a small bug list separator. But the error is in the framework-apk
But I had to change the original applications @ ashishdubey. I put theme engine in the app. colors all these 2 values
Ambor said:
Bro you are awesome. I really admire your work. I release a new theme soon add conversation.apk working with a small bug list separator. But the error is in the framework-apk
But I had to change the original applications @ ashishdubey. I put theme engine in the app. colors all these 2 values
Click to expand...
Click to collapse
thank's bro... :good::good:
Thank so Much For the guide
Black_Eyes said:
Thank so Much For the guide
Click to expand...
Click to collapse
hey bro please make new themes.I have prepared for you.

Marshmallow 6.0 Power Menu

Anyone have it? without advance reboot menu
I'm looking for this too! Just flashed the stock 6.0 ROM and need the nice reboot menu as it's a pain without.
I Was going to flash any reboot menu but now I've seen this thread may be we need one specific to the android 6.0 ? :-s
No one?
dieselboy said:
No one?
Click to expand...
Click to collapse
You will require rooted device
Open system/build.prop using root explorer or Build.prop editor app
Then
Remove these lines
ro.build.scafe=americano
ro.build.scafe.size=short
ro.build.scafe.shot=single
ro.build.scafe.cream=white
ro.build.scafe.version=2015A
Then add these lines
ro.build.scafe.version=2016A
ro.build.scafe.size=short
ro.build.scafe.shot=double
ro.build.scafe.cream=white
Then reboot
Now you will get new Power menu like s7 edge
If your text color is not visible in power menu
Then you must edit it in frameworkres.apk
How to Change text color from black to white:
Decompile
framework-res.apk
Locate to
framework-res.apk/res/values/colors.xml
Old code
<color name="tw_global_action_messagetext_textcolor">#ff000000</color>
<color name="tw_global_action_statustext_textcolor">#ff6b6f72</color>
New code
<color name="tw_global_action_messagetext_textcolor">#fffafafa</color>
<color name="tw_global_action_statustext_textcolor">#ffc3c3c3</color>
Recompile and make a flashable zip of your frameworkres.apk and flash it
Enjoy
Ss
@Miaf
@dieselboy
By The way what is your device model ??
Do mention it for what model you want so that some one can give you a zip of modded files
I' ve systemui by Al Cr and this mod change all the panel with jellow letters and White colors. How can solve?
please
yash92duster said:
@Miaf
@dieselboy
By The way what is your device model ??
Do mention it for what model you want so that some one can give you a zip of modded files
Click to expand...
Click to collapse
Please Please can you give me the zip for the 900T for mod
victor952 said:
Please Please can you give me the zip for the 900T for mod
Click to expand...
Click to collapse
search for guide how to make it in s5 themes section
there is a guide by karkrass follow his guide
i dont have your model to make one
marioghs said:
I' ve systemui by Al Cr and this mod change all the panel with jellow letters and White colors. How can solve?
Click to expand...
Click to collapse
The same thing happens to me too, but it's not for the MOD! because I uninstalled it and it remains the same, there must be a solution in the "build pro"
yash92duster said:
You will require rooted device
Open system/build.prop using root explorer or Build.prop editor app
Then
Remove these lines
ro.build.scafe=americano
ro.build.scafe.size=short
ro.build.scafe.shot=single
ro.build.scafe.cream=white
ro.build.scafe.version=2015A
Then add these lines
ro.build.scafe.version=2016A
ro.build.scafe.size=short
ro.build.scafe.shot=double
ro.build.scafe.cream=white
Then reboot
Now you will get new Power menu like s7 edge
If your text color is not visible in power menu
Then you must edit it in frameworkres.apk
How to Change text color from black to white:
Decompile
framework-res.apk
Locate to
framework-res.apk/res/values/colors.xml
Old code
<color name="tw_global_action_messagetext_textcolor">#ff000000</color>
<color name="tw_global_action_statustext_textcolor">#ff6b6f72</color>
New code
<color name="tw_global_action_messagetext_textcolor">#fffafafa</color>
<color name="tw_global_action_statustext_textcolor">#ffc3c3c3</color>
Recompile and make a flashable zip of your frameworkres.apk and flash it
Enjoy
Click to expand...
Click to collapse
Wait, how do you get to root explorer?

Change the homescreen label color

Hi.I used a image as background,its almost white as attached.But the color of clock and labels are still white,making it hard to recognize.Any solution to change to black manually?Thanks in advance!
This setting is somewhere in the theme used..
oslo83 said:
This setting is somewhere in the theme used..
Click to expand...
Click to collapse
But when I select a absolutely white pic as background I remember it will turn black...Maybe my mind cheated me.
Anyway,how to tweak the setting in the theme?
Thanks.
Sent from my Honor 9 using XDA Labs
Edit your current .hwt theme, inside there is a file to mod called 'com.huawei.android.launcher/theme.xml'.
Inside there is this code :
Code:
<?xml version="1.0" encoding="utf-8"?>
<hwthemes>
<!-- 桌面图标投影 -->
<color name="icon_shadow">#00000000</color>
<!-- 一键清理字体颜色 -->
<color name="widget_text_color">#FFFFFFFF</color>
</hwthemes>
#FFFFFFFF (WHITE) should be mod to #FF000000 (BLACK)
color code source:
You could use 7zip or winrar to edit this file inside your .hwt theme .
I shall try later....
Does it work ?

Categories

Resources