[Q] theme colors - Sony Xperia S, Acro S, Ion

Hi
So now on jellybean
We get toggles with their colors with respect to the theme
Is it possible to add New colors?
Like I would love a yellow colored theme in general..

ameya23 said:
Hi
So now on jellybean
We get toggles with their colors with respect to the theme
Is it possible to add New colors?
Like I would love a yellow colored theme in general..
Click to expand...
Click to collapse
I think that is possible. We can decompile any one theme apk (like BlackThemeBlueAccent.apk) in /system/app and then go to /res/values/colors.xml and change the color to yellow from there. Recompile, copy Android Manifest.xml and META-INF from the original apk and place the recompiled apk back in /system/app. That should work.
Good luck

abcdjdj said:
I think that is possible. We can decompile any one theme apk (like BlackThemeBlueAccent.apk) in /system/app and then go to /res/values/colors.xml and change the color to yellow from there. Recompile, copy Android Manifest.xml and META-INF from the original apk and place the recompiled apk back in /system/app. That should work.
Good luck
Click to expand...
Click to collapse
uhmm
im actually a civil engineer with very less knowledge about the computer programming..
can you or someone else help me out?
like i understood till colors.xml
now dont know how to change the color..

ameya23 said:
uhmm
im actually a civil engineer with very less knowledge about the computer programming..
can you or someone else help me out?
like i understood till colors.xml
now dont know how to change the color..
Click to expand...
Click to collapse
Hi,
I have attached the modified apk which has yellow as the base theme color. Steps to install it :-
1. Go to /system/app and delete BlackTheme.apk
2. Copy YellowTheme.apk to /system/app
3. Set permissions on YellowTheme.apk like this -
XX-
X--
X--
4. Reboot and enjoy the yellow theme

thanks bro!

abcdjdj said:
Hi,
I have attached the modified apk which has yellow as the base theme color. Steps to install it :-
1. Go to /system/app and delete BlackTheme.apk
2. Copy YellowTheme.apk to /system/app
3. Set permissions on YellowTheme.apk like this -
XX-
X--
X--
4. Reboot and enjoy the yellow theme
Click to expand...
Click to collapse
can you tell me how exactly you changed the color?
like the apps used to decompile..?

ameya23 said:
can you tell me how exactly you changed the color?
like the apps used to decompile..?
Click to expand...
Click to collapse
I used apktool by iBotPeaches to decompile the apk. Then I went to /res/values.xml and changed the values of all the colors there to this -
Code:
#ffff00
I got the color code for yellow from here - http://www.color-hex.com/color/ffff00
This is a good tutorial to learn how to decompile apks - http://forum.xda-developers.com/showthread.php?t=2195680
Regards,
abcdjdj

Related

Customize your phone (theme/icons/locksreen)

Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
reimi said:
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Click to expand...
Click to collapse
Final ?? When did it come out ?? Didn't find on Darky's website.
Sorry , wasn't logged in.
GT-I9000 said:
Final ?? When did it come out ?? Didn't find on Darky's website.
Click to expand...
Click to collapse
its the files name, I downloaded from somewhere in this thread:
http://forum.xda-developers.com/showthread.php?t=814091
reimi said:
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
Click to expand...
Click to collapse
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
coldflid said:
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
Click to expand...
Click to collapse
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
reimi said:
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
Click to expand...
Click to collapse
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme the glass lockscreen, you need to edit the pngs in framework-res.apk/res/drawable-hdpi named zzz_unlock_arrow_0000.png up to zzz_unlock_arrow_0009.png and the zzz_unlock_blackbg.9.png and zzz_blackbg_dual.9.png
To theme puzzle lockscreen:
edit zzz_unlock_puzzle_noti_icon_unlock and zzz_unlock_puzzle_noti_icon_unlock_fit
For android lockscreen (in framework-res.apk/res/drawable-land-hdpi):
ic_jog_dial_unlock
ic_jog_dial_sound on
ic_jog_dial_sound off
For epic unlock on framework-res.apk/res/drawable-hdpi
mod zz_unlock_lockbg_press
mod zz_unlock_lockbg_press
In case you want to get a stock framework and get aosp lockscreen:
To get aosp lockscreen you'd need to decompile classes.dex in android.policy.jar and edit a few files.
For that, i use ubuntu.
You open android.policy.jar and extract classes.dex
Then get baksmali and smali and place them in the same location as classes.dex
Open up a terminal and type cd and the location
Example:
cd /home/coldflid/Desktop
Then type java -jar baksmali-1.2.5.jar classes.dex
(if you've got another version of bajsmali change the 1.2.5 for the version you have).
You can type java -jar baksmali-1.2.5.jar classes.dex -o *
Where * is the name of the folder where you want classes.dex to be decompiled
Then you'd need to mod LockPatternKeyGuardView.smali or replace it with a modded one.
Then type in terminal
Then type java -jar smali-1.2.5.jar *
Where * is the name of the folder where classes.dex was decompiled
out.dex should be generated, rename it to classes.dex and copy it to android.policy.jar (replace the old one).
Then use root explorer to copy it to system/framework
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme...
Click to expand...
Click to collapse
thank you for the answer!
I'm currently using LockBot Pro to change the locksreen and its background, works fine for me.
I'll try to change the stock app icons as soon as I have time. Thanks!
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app...
Click to expand...
Click to collapse
I'm currently trying to substitute the stock app icons.
My question is, how I can find out, which of all those images is used for the menu and how can I browse the folders on my pc, which I can browse on my phone via root explorer...
thanks for the answer!

How to build my own theme?

Hello, I am looking forward on creating my own them for Galaxy S2, so I suppose I need to find where all the icons are located.
I will probably open the stock samsung theme graphics in photoshop and edit them, so any idea where they are located?
Is this the correct way of doing it?
ZenorGR said:
Hello, I am looking forward on creating my own them for Galaxy S2, so I suppose I need to find where all the icons are located.
I will probably open the stock samsung theme graphics in photoshop and edit them, so any idea where they are located?
Is this the correct way of doing it?
Click to expand...
Click to collapse
Easy and beginers way:
Start with UOT kitchen: http://uot.dakra.lt/
Get the SystemUI.apk and framework-res.apk from the rom which you want to theme. Upload it to the kitchen and edit what you want.
Cook the theme and flash it with CWM as an update.
More advanced:
Get the toucwiz's framework and Settings.apk, you can edit png's of settings menu and touchwiz launcher. (you can not do this with UOT kitchen)
And check out this thread: http://forum.xda-developers.com/showthread.php?t=916814
GOOD LUCK!
Thanks Dark Emotion, good guide!
Dark Emotion said:
Easy and beginers way:
Start with UOT kitchen: http://uot.dakra.lt/
Get the SystemUI.apk and framework-res.apk from the rom which you want to theme. Upload it to the kitchen and edit what you want.
Cook the theme and flash it with CWM as an update.
More advanced:
Get the toucwiz's framework and Settings.apk, you can edit png's of settings menu and touchwiz launcher. (you can not do this with UOT kitchen)
And check out this thread: http://forum.xda-developers.com/showthread.php?t=916814
GOOD LUCK!
Click to expand...
Click to collapse
Thank you, what about the Notification bar power controls? Where can these be found?
ZenorGR said:
Thank you, what about the Notification bar power controls? Where can these be found?
Click to expand...
Click to collapse
In the UOT kitchen: go to icons (check "Use this mod"), scroll down and check "Notification Power Buttons" and just choose any icon set you want. You can choose between 8 types of icons.
No I meant, in which apk are they found, so I can replace them with my own.
Is it on the framework-res.apk or systemUI.apk ?
/edit: Found them, on SystemUI.apk -> res folder
But it seems they are indexed png images, so can't edit them in photoshop. I suppose I will have to replace them.
Ok one more question would be, is it possible to change the color of the White popup windows?(like the one that popus when you long press the power button).
I know it's possible to edit the background color, but what about the font color? I suppose it's found on the xml.
Here's how the popup is displayed on kitchen:
ZenorGR said:
Ok one more question would be, is it possible to change the color of the White popup windows?(like the one that popus when you long press the power button).
I know it's possible to edit the background color, but what about the font color? I suppose it's found on the xml.
Here's how the popup is displayed on kitchen:
Click to expand...
Click to collapse
Sorry man but I don't know answer to that question.
Well I found that the font colors may exist on framework-res\res\values\colors.xml if you decompile framework-res.apk
But after changing a color value, I then compiled the apk, replaced the new on on my phone and got boot loop so I had to re-flash a different theme to unstuck.
If anyone got any idea on how to change the font colors let me know!
If you have a search in the "how to theme" thread (link already posted) I put up a zip that I had lying on my desk top that tells you where to find a lot of the text colours.
The only problem with editing these is some apps will still use their own colour code and could cause problems like readability.
Hope this helps.
Edit: I had them on my sd card, credit to the creator!!!
In which page dully?
ZenorGR said:
In which page dully?
Click to expand...
Click to collapse
I've posted them in my last post m8
Oh now I see it, so the one I am looking for is bright_foreground_light color. I want that in white, so the hex would be this one right? #ffffffff
Well that's what I did, then compiled the framework-res and replaced it on the Systems folder, then rebooted the phone but I got a reboot loop.
Any suggestions?
What did you use apkmanager?
If so did you answer yes and yes then delete what you modified from the keep folder
I used apktool:
apktool b framework-res(folder)
but as I can see now, the new apk compiled it's missing the META-INF folder, maybe that's why?
/edit:
So I just tried with apk-manager, I used the same method then compiled (answered yes/yes) now I have this:
unsignedframework-res.apk
But getting an error when trying to sign it.
ZenorGR said:
I used apktool:
apktool b framework-res(folder)
but as I can see now, the new apk compiled it's missing the META-INF folder, maybe that's why?
/edit:
So I just tried with apk-manager, I used the same method then compiled (answered yes/yes) now I have this:
unsignedframework-res.apk
But getting an error when trying to sign it.
Click to expand...
Click to collapse
Don't sign it, you don't sign system apks.
Just delete the "unsigned" part or rename to framework-res.apk and push or flash and it should work.
Ok thanks.
I just replaced it but no go, the font is still black(atleast there is no boot loop this time).
I suppose I messed up the part on apk_manager where it says to delete any files you modified on the "keep" folder.
On keep folder there was no value/colors.xml(colors.xml is the one I edited the bright_foreground_light).
Cheers
Did you delete resources.arsc?
No, let me try again.
Success! Dude you rock! Thanks a lot, for providing lot's of great info about this, here it is: blue font and full black pop-up menus.
Also attached two more shots of the theme I am making:
ZenorGR said:
No, let me try again.
Click to expand...
Click to collapse
Basically resources.arsc is the"hidden" xml folders that become visible when you decompile.

[Q] SystemUI apk problem

Hi everyone,
I'm using the deodexed 4.2.1 rom on My Galaxy Nexus with a custom SystemUI.apk that works (it doesn't make notification and navigation bar disappear) taken from this thread.
I successful replaced unwanted image files in the apk with 7zip and now I'm trying to change the clock color in the taskbar.
I do the following things, in order:
1. Decompile apk with apktools
2. Change values of color in the proper xmls
3. Recompile apk
4. Replace SystemUI with the new one
5. Clean Cache/Dalvik and reboot
After that notification and navigation bar disappear. Am i missing something?
Help please! D':
Does the modified apk have the proper permissions?
cupfulloflol said:
Does the modified apk have the proper permissions?
Click to expand...
Click to collapse
I think so (rw r r).
That's my SystemUI.apk
I would like to change clock/date color in notification/toggle mode from ics blue to white.
Hey mate!!!!!
You must sign apk with signapk everytime you make changes into an apk.
http://code.google.com/p/dex2jar/ in dex2jar you will find d2j-apk-sign.sh/bat script
Seems that i told you bull**** coz systemUI never have to be signed...
http://forum.xda-developers.com/showthread.php?t=1848458
So, restoring old "stock" SystemUI.apk you get phone working well again?
Ultrakiller said:
Hey mate!!!!!
You must sign apk with signapk everytime you make changes into an apk.
http://code.google.com/p/dex2jar/ in dex2jar you will find d2j-apk-sign.sh/bat script
Seems that i told you bull**** coz systemUI never have to be signed...
http://forum.xda-developers.com/showthread.php?t=1848458
So, restoring old "stock" SystemUI.apk you get phone working well again?
Click to expand...
Click to collapse
Yes, I made a nandroid backp for safety.

[HOW TO] change date color on JB lockscreen (4.1.2) & AccuWeatherWidget

I searched on XDA and doesn't find a guide how to change date color on JB 4.1.2 lockscreen.
So i decided share a method how i do it.
Decompile framework-res.apk
go to:
framework\layout-hdpi\keyguard_circlelock_clockwidget.xml
framework\layout-hdpi\keyguard_circlelock_clockwidget_land.xml
framework\layout-sw320dp-hdpi\keyguard_circlelock_clockwidget_sub.xml
search f6f7c9 color in this layouts and replace it to desired color (all values 3x in each file).
The same in AccuWeatherWidget.apk
Decompile AccuWeatherWidget.apk
go to:
res/values/colors.xml
and replace <color name="date_zone_text">#fff6f7c9</color> to desired color.
It works on LSJ, LS8, LSD, MS1. All Samsung JB based ROM for GS2.
Happy changing
thanks, but is it normal to get bootloops after doing this??
I never get bootloop when theming framework, now it has!
If you doing this corectly (decompile, change values recompile) there is no way to got bootloop. So please write step by step how you do this?
only solution?
jackq said:
If you doing this corectly (decompile, change values recompile) there is no way to got bootloop. So please write step by step how you do this?
Click to expand...
Click to collapse
Could u plz try it, maybe it then work?
You have ONLY to change date color in: ff33b5e5
CLICK
---------- Post added at 01:16 PM ---------- Previous post was at 12:58 PM ----------
Edit: problem soled:laugh:
solution: google and found this VERY useful tip: http://forum.xda-developers.com/showthread.php?t=1806602
If you have problem with de/re-compiling apk you can use http://apkmultitool.com/
With this program i don't have any problems.
Download latest apk multitool.
Unzip, now copy attached files to "other" folder and copy framework-res.apk and twframework-res.apk from your ROM base.
Now run bat scripts framework if and twframework if, this will automatically add sources.
Enjoy decompiling and recomiling.
Attachments:
http://speedy.sh/8Taf2/framework-if.bat
http://speedy.sh/qsT7e/twframework-if.bat
jackq said:
If you have problem with de/re-compiling apk you can use http://apkmultitool.com/
With this program i don't have any problems.
Download latest apk multitool.
Unzip, now copy attached files to "other" folder and copy framework-res.apk and twframework-res.apk from your ROM base.
Now run bat scripts framework if and twframework if, this will automatically add sources.
Enjoy decompiling and recomiling.
Attachments:
http://speedy.sh/8Taf2/framework-if.bat
http://speedy.sh/qsT7e/twframework-if.bat
Click to expand...
Click to collapse
I dont use apk multitools always get errors, or am I doing sth wrong? Instead, I use this: http://forum.xda-developers.com/showthread.php?t=1989533
But now I wanna change icons of apps, market apps. Its very hard everytime I wanna install my new apk it says: app not installed. Pushing to system/app doesnt help
Help plzz!!
Finally I change that ugly yellow date.

[THEME] 4.3 stock MMS apk - cyan & red themes

Just simple themed Mms.apks--icons and emoji
When I have the time, I'll work on some other colors. Let me know if you have any suggestions.
Instructions:
Code:
Copy to /system/app
Rename your existing Mms.apk (e.g. Mms.bak)
Rename downloaded file to Mms.apk
Fix Permissions:
--Using a file explorer, go to properties & change to rw-r-r
**May require a reboot**
Enjoy!
Download:
Cyan: https://dl.dropboxusercontent.com/u/77740451/Mms-4.3-cyan.apk
Red: https://dl.dropboxusercontent.com/u/77740451/Mms-4.3-red.apk
Image:
https://db.tt/vUxwaeiH
Rushead said:
Just a simple cyan themed mms.apk--icons and emoji
When I have the time, I'll work on some other colors. Let me know if you have any suggestions.
Click to expand...
Click to collapse
Where the hell were you at yesterday when I installed a dark mms?
Put up a Red theme. I still working on modding some extra stuff in red.
Can you post some screenshots please?
.
Can't upload an image. XDA is really acting up lately. Put up a link to a png
Sent from a frequent flasher.

Categories

Resources