[Mod][Transparency] Sense Settings Menu - Custom Transparency+Background - EVO 4G Themes and Apps

Hey gang!
I had a couple users ask me how this is done and this is how in a few simple steps!
This will not be a comprehensive how-to for apktool and/or android-utility. There are many many guides! Consult here for awesome advice!
For this to work, you need these tools:
apktool by Brut.all
Alternately, you can use Android Utility by yours truly (for Mac OS X and Linux)
Java JRE and JDK (for apktool to work)
Text Editor (Bluefish or Gedit on Linux works wonders, TextWrangler on Mac OS X, Unsure for Windows)
A bit of Knowledge on android references to styles and framework
That should be it!​
First, acquire those tools above.
Second, acquire frameworks-res.apk and com.htc.resources.apk from your ROM (either adb pull or simply from the rom.zip you downloaded)
Third, for our intents and purposes, I will be working from a directory on the Desktop called SettingsCustom. So place all three files into that directory.
Fourth, let's get down to the commands for dissembling the apk:
Code:
cd $HOME/Desktop/SettingsCustom
# the following "for" command is a one-liner, just copy and paste entire command into terminal
# hint, to copy and paste inside terminal, use CTRL+SHIFT+C and CTRL+SHIFT+V
for a in framework-res.apk com.htc.resources.apk ; do apktool if $a custom ; done
apktool d -t custom Settings.apk Settings
Fifth, I will list the files you need to edit and what to do add to them one by one. This is for setting a custom transparency but not a custom background. It will use the current wallpaper.
Settings/AndroidManifest.xml:
ORIGINAL:
Code:
<application android:theme="@style/Theme" android:label="@string/settings_label" android:icon="@com.htc:drawable/common_app_ic_launcher_settings" android:taskAffinity="" allowSkinChange="false" pluto:isThemeable="true">
CHANGE TO:
Code:
<application android:theme="@style/Theme.Custom" android:label="@string/settings_label" android:icon="@com.htc:drawable/common_app_ic_launcher_settings" android:taskAffinity="" allowSkinChange="false" pluto:isThemeable="true">
Settings/res/values/colors.xml:
ADD LINE:
Code:
<color name="classic_transparent">#7f111111</color>
Keep in mind for this one you can make the transperancy whaever you choose! 00 is full transperancy and 7f is roughly 50%. I like 50%.​Settings/res/values/styles.xml:
FIND:
Code:
<style name="Theme">
<item name="htcPreferenceStyle">@style/HtcIconPreference</item>
<item name="htcCheckBoxPreferenceStyle">@style/HtcIconPreference.HtcCheckBoxPreference</item>
</style>
ADD DIRECTLY UNDER:
Code:
<style name="Theme.Custom" parent="@android:style/Theme">
<item name="android:windowBackground">@color/classic_transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
Keep in mind it you can technically paste that chunk anywhere but it is cleaner code-wise to keep like snippets close togther.​Settings/res/values-hdpi/styles.xml:
ADD TO BOTTOM OF FILE [before </resources>]:
Code:
<style name="Theme.Custom" parent="@android:style/Theme">
<item name="android:windowBackground">@color/classic_transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
Sixth, the following is what you need to do to add a custom background instead of having to use the wallpaper:
Hang tight. Coming later. This is rather easy but I want to make sure I have the best way possible​
I really hope this helps you some! If you know of a more efficient way to do this let me know. I know that you can just reference the styles Theme.Wallpaper from framework-res but that is tricky because you cannot set a custom transparency without having to edit framework-res.apk as well. This way, all of your work is localized inside Settings.apk.
This is for Sense based Settings.apk. I am pretty certain AOSP will be different.
Enjoy the possibilities...
Tommy Nguyen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I will be trying this out later tonight. Thanks Like always dude
Sent from my PC36100 using xda premium

tommytomatoe said:
Hey gang!
I had a couple users ask me how this is done and this is how in a few simple steps!
This will not be a comprehensive how-to for apktool and/or android-utility. There are many many guides! Consult here for awesome advice!
For this to work, you need these tools:
apktool by Brut.all
Alternately, you can use Android Utility by yours truly (for Mac OS X and Linux)
Java JRE and JDK (for apktool to work)
Text Editor (Bluefish or Gedit on Linux works wonders, TextWrangler on Mac OS X, Unsure for Windows)
A bit of Knowledge on android references to styles and framework
That should be it!​
First, acquire those tools above.
Second, acquire frameworks-res.apk and com.htc.resources.apk from your ROM (either adb pull or simply from the rom.zip you downloaded)
Third, for our intents and purposes, I will be working from a directory on the Desktop called SettingsCustom. So place all three files into that directory.
Fourth, let's get down to the commands for dissembling the apk:
Code:
cd $HOME/Desktop/SettingsCustom
# the following "for" command is a one-liner, just copy and paste entire command into terminal
# hint, to copy and paste inside terminal, use CTRL+SHIFT+C and CTRL+SHIFT+V
for a in framework-res.apk com.htc.resources.apk ; do apktool if $a custom ; done
apktool d -t custom Settings.apk Settings
Fifth, I will list the files you need to edit and what to do add to them one by one. This is for setting a custom transparency but not a custom background. It will use the current wallpaper.
Settings/AndroidManifest.xml:
ORIGINAL:
Code:
<application android:theme="@style/Theme" android:label="@string/settings_label" android:icon="@com.htc:drawable/common_app_ic_launcher_settings" android:taskAffinity="" allowSkinChange="false" pluto:isThemeable="true">
CHANGE TO:
Code:
<application android:theme="@style/Theme.Custom" android:label="@string/settings_label" android:icon="@com.htc:drawable/common_app_ic_launcher_settings" android:taskAffinity="" allowSkinChange="false" pluto:isThemeable="true">
Settings/res/values/colors.xml:
ADD LINE:
Code:
<color name="classic_transparent">#7f111111</color>
Keep in mind for this one you can make the transperancy whaever you choose! 00 is full transperancy and 7f is roughly 50%. I like 50%.​Settings/res/values/styles.xml:
FIND:
Code:
<style name="Theme">
<item name="htcPreferenceStyle">@style/HtcIconPreference</item>
<item name="htcCheckBoxPreferenceStyle">@style/HtcIconPreference.HtcCheckBoxPreference</item>
</style>
ADD DIRECTLY UNDER:
Code:
<style name="Theme.Custom" parent="@android:style/Theme">
<item name="android:windowBackground">@color/classic_transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
Keep in mind it you can technically paste that chunk anywhere but it is cleaner code-wise to keep like snippets close togther.​Settings/res/values-hdpi/styles.xml:
ADD TO BOTTOM OF FILE [before </resources>]:
Code:
<style name="Theme.Custom" parent="@android:style/Theme">
<item name="android:windowBackground">@color/classic_transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
Sixth, the following is what you need to do to add a custom background instead of having to use the wallpaper:
Hang tight. Coming later. This is rather easy but I want to make sure I have the best way possible​
I really hope this helps you some! If you know of a more efficient way to do this let me know. I know that you can just reference the styles Theme.Wallpaper from framework-res but that is tricky because you cannot set a custom transparency without having to edit framework-res.apk as well. This way, all of your work is localized inside Settings.apk.
This is for Sense based Settings.apk. I am pretty certain AOSP will be different.
Enjoy the possibilities...
Tommy Nguyen
Click to expand...
Click to collapse
Once again thanks for the write up Tommy! I seem to be all out of thanks for the day, but will definitely hit you up with my next daily allotment.

Awesome will try it just for the heck of it.

Your a great dev Tommy! Thanks for taking it one step further to teach others.

I'm not sure it was referenced (or maybe I didn't undersand), but how would you change the text color? Which files would you change?

edgarzonjr said:
I'm not sure it was referenced (or maybe I didn't undersand), but how would you change the text color? Which files would you change?
Click to expand...
Click to collapse
This guide was solely for the background. The text color is controlled by either colors.xml within settings.xml or in com.htc.res. I haven't tried yet so I can't tell you for sure.
Sent from my PG86100 using Tapatalk

tommytomatoe said:
This guide was solely for the background. The text color is controlled by either colors.xml within settings.xml or in com.htc.res. I haven't tried yet so I can't tell you for sure.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
I am not sure but I think the text color in the setting is in the framework and then you end changing it in other place too but I am not sure I could be wrong
Sent from my PC36100 using xda premium

This is a beautiful thing! I hope you know we all have big expectations now from classic 1.0 :beer:
Sent from my PC36100 using xda premium

jessesse said:
This is a beautiful thing! I hope you know we all have big expectations now from classic 1.0 :beer:
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Dude pm me when you can I need a little help from you with something
Sent from my PC36100 using xda premium

Can't wait to learn how to make the custom background.. no hurry though. I know you have your hands full.
Sent from my PC36100 using xda premium

Transparent widgets
Can you use the same idea to make transparent widgets for evo4g sense 3.5 ?

Hi Tommy - I just stumbled over this thread and wanted to say Hi. I always used a slightly different approach and added my custom styles to framework-res and used a png as background in order to be flexible with gradients or whatever I needed.
In settings in Android.Manifest.xml it was pretty similar, but refered to the custom style in framework-res.apk
PHP:
android:theme="@style/Theme"
in
android:theme="@android:style/Theme.Custom"
In framwework-res I added the following style to styles.xml plus a background png (hestheone.png)
PHP:
<style name="Theme.Custom" parent="@style/Theme.Wallpaper">
<item name="windowBackground">@drawable/hestheone</item>
That is very flexible and I can always refer to my custom style in other apk`s, whenever i need to change to that bg. Having said that, your approach is certainly better for individual mods - my version makes sense for full Themes (if only m.10`s wouldn`t be locked...).

he_stheone64 said:
Hi Tommy - I just stumbled over this thread and wanted to say Hi. I always used a slightly different approach and added my custom styles to framework-res and used a png as background in order to be flexible with gradients or whatever I needed.
In settings in Android.Manifest.xml it was pretty similar, but refered to the custom style in framework-res.apk
PHP:
android:theme="@style/Theme"
in
android:theme="@android:style/Theme.Custom"
In framwework-res I added the following style to styles.xml plus a background png (hestheone.png)
PHP:
<style name="Theme.Custom" parent="@style/Theme.Wallpaper">
<item name="windowBackground">@drawable/hestheone</item>
That is very flexible and I can always refer to my custom style in other apk`s, whenever i need to change to that bg. Having said that, your approach is certainly better for individual mods - my version makes sense for full Themes (if only m.10`s wouldn`t be locked...).
Click to expand...
Click to collapse
Hey stranger!
Yeah the framework-res method is definitely more portable to an entire theme. I figured this method was easy enough for most users to follow without messing up any other aspects of their theme/Rom.
Can't wait to see you at it again once m10 is cracked
Sent from my PG86100 using Tapatalk 2

Related

[Q] P1000 framework-res.apk Anatomy!?

Hi
Who know how to change the background color of the Settings Menu:-
[ Its not as Documented!] I made Every possible mod. but it still white:-
[ Its not as Described for other 2.2 froyo!]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any info will be appreciated!
Thanks
Can u send me settings.apk?
I dont have a tab, but i Will lok into code (to change it)
Hi krkrs
Settings.apk
and i will upload framework-res.apk if it required.
with thnx
Galaxyer said:
Hi
Who know how to change the background color of the Settings Menu:-
[ Its not as Documented!] I made Every possible mod. but it still white:-
[ Its not as Described for other 2.2 froyo!]
Any info will be appreciated!
Thanks
Click to expand...
Click to collapse
I did a minor moding on a Galaxy S Settings.apk and it worked 80%
1-what doesnt work (change of language) it is stuck with english
2- One page in the wireless and settings is still in white :s
other wise the settings page is now in black
Edit: Nevermind
DistortedWisdom said:
I did a minor moding on a Galaxy S Settings.apk and it worked 80%
1-what doesnt work (change of language) it is stuck with english
2- One page in the wireless and settings is still in white :s
other wise the settings page is now in black
Click to expand...
Click to collapse
Hi Disto,
I'm already have a modified version of 2.2 Galaxy S Settings.
but with Tab the issue is another story...the black menu turns my hair white....
thnx
I know, what i was talking about is a modified port from Galaxy S to Galaxy Tab... and it is working except for 1 page and the case that it is stuck with english..
I have black menu in Settings on the tab
Galaxyer said:
Hi Disto,
I'm already have a modified version of 2.2 Galaxy S Settings.
but with Tab the issue is another story...the black menu turns my hair white....
thnx
Click to expand...
Click to collapse
http://www.mediafire.com/?h1fbhm53yzb7xqt
check it out it might help !!
DistortedWisdom said:
http://www.mediafire.com/?h1fbhm53yzb7xqt
check it out it might help !!
Click to expand...
Click to collapse
it looks great. but when i tap on call settings it'll FC.
kay_kiat88 said:
it looks great. but when i tap on call settings it'll FC.
Click to expand...
Click to collapse
Which firmware are u on?
Sent from my GT-P1000 using XDA Premium App
DistortedWisdom said:
http://www.mediafire.com/?h1fbhm53yzb7xqt
check it out it might help !!
Click to expand...
Click to collapse
Trying to decompile this but ended up with some value errors, is this apk from galaxy s or a stock/modified tab? missing the right framework-res i guess.
DistortedWisdom said:
Which firmware are u on?
Click to expand...
Click to collapse
i'm on overcome 1.6.0!
Hi to All....
Finally after digging and xml-ing the folders of Settings.apk, I found the Magic words that will darken the Settings.apk menu...
Mod:-
In the file Settings.apk\res\values\styles.xml
search for: -
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Light">
<item name="android:listViewStyle">@android:style/Widget.ListView.White</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Light.NoTitleBar">
change to:-
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Black">
<item name="android:listViewStyle">@android:style/Widget.ListView</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Black.NoTitleBar">
Thanks...
Galaxyer said:
Hi to All....
Finally after digging and xml-ing the folders of Settings.apk, I found the Magic words that will darken the Settings.apk menu...
Mod:-
In the file Settings.apk\res\values\styles.xml
search for: -
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Light">
<item name="android:listViewStyle">@android:style/Widget.ListView.White</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Light.NoTitleBar">
change to:-
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Black">
<item name="android:listViewStyle">@android:style/Widget.ListView</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Black.NoTitleBar">
Thanks...
Click to expand...
Click to collapse
i tried to decompile the settings.apk using apk manager but it gives me some error.
Galaxyer said:
Hi to All....
Finally after digging and xml-ing the folders of Settings.apk, I found the Magic words that will darken the Settings.apk menu...
Mod:-
In the file Settings.apk\res\values\styles.xml
search for: -
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Light">
<item name="android:listViewStyle">@android:style/Widget.ListView.White</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Light.NoTitleBar">
change to:-
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Black">
<item name="android:listViewStyle">@android:style/Widget.ListView</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Black.NoTitleBar">
Thanks...
Click to expand...
Click to collapse
Cool will try it out, tnx for the code..
kay_kiat88 said:
i tried to decompile the settings.apk using apk manager but it gives me some error.
Click to expand...
Click to collapse
Ull have to have the framework-res (from same rom) renamed to 1.apk in /apktool folder..
ex tutorial @ http://www.miui-au.com/add-ons/apktool/
biopsin said:
Ull have to have the framework-res (from same rom) renamed to 1.apk in /apktool folder..
ex tutorial @ http://www.miui-au.com/add-ons/apktool/
Click to expand...
Click to collapse
i did that. i decompiled, edited the styles.xml and compiled it. but doesn't work.
kay_kiat88 said:
i did that. i decompiled, edited the styles.xml and compiled it. but doesn't work.
Click to expand...
Click to collapse
Only move resources.arsc from (unsigned)builded apk to original apk and store changes..(winrar is the easiest to use)
Ill try finding Galaxyer winrar example from the remove brightness post, to simplify it..
here http://forum.xda-developers.com/attachment.php?attachmentid=511229&d=1297080660
Note:
Call settings and Account and sync are not affected..
biopsin said:
only move resources.arsc from (unsigned)builded apk to original apk and store changes..(winrar is the easiest to use)
ill try finding galaxyer winrar example from the remove brightness post, to simplify it..
here http://forum.xda-developers.com/attachment.php?attachmentid=511229&d=1297080660
note:
Call settings and account and sync are not affected..
Click to expand...
Click to collapse
thanks a million i got it to work!!!
yeah call settings and accounts and sync are still white.

Transparent Setting.apk !!!

Transparent
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Settings.apk\res\values\styles.xml
Search
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Light">
<item name="android:listViewStyle">@android:style/Widget.ListView.White</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Light.NoTitleBar">
replaced by
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Wallpaper">
<item name="android:listViewStyle">@android:style/Widget.ListView</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Wallpaper.NoTitleBar">
That's nice.
Thanks for sharing.
Noob question: How to install this? Is this compatible with Overcome 1.63 (Android 2.2.1)?
thanks
Nandroid first. This way you can try on rom of choose to test.
Instructions for Settings with transparent background:
1. download settings.rar and extract the apk inside to your sd card
2. copy or move the apk using root explorer
3. navigate to system/app
4. tap on r/w at the top
5. [optional] backup your Settings.apk/ somewhere just in case it doesn't work for your rom.
6. paste all apks
Thanks for this, ran out of thing to do with my fascinate and took my tab on. Been working with a couple dev with their roms and mods, to create themes for the vzw tab, would like permission to add this to the themes (of course for the transparent) but the icons would be changed to match theme. With proper credits goes without saying.
looks like tab is finally getting a fine choice of themes/mods nice work
anyway to get this to 70% for light wallpapers
All4TheFam said:
Thanks for this, ran out of thing to do with my fascinate and took my tab on. Been working with a couple dev with their roms and mods, to create themes for the vzw tab, would like permission to add this to the themes (of course for the transparent) but the icons would be changed to match theme. With proper credits goes without saying.
Click to expand...
Click to collapse
I agree, use that.
will this work in a rooted gTab with stick rom?
Sef_P1000 said:
will this work in a rooted gTab with stick rom?
Click to expand...
Click to collapse
Should. Try it and report back.
I replaced your setting.apk and it's not working. I attached a picrure and you can see what happend.
The thing is I thought I copied my original setting.apk but I can't find it now.
could you please upload the original one?
Thank you.
In your instruction it's written that "replace all apks", but I found just one apk.
Is the way in first post same as the second way?
------------------------------------------
I found the original file, thanks anyway.
Hey, really cool
Is there a APK-File of the transparent Market?
BoyPpc used it in his actual Rom V4.....
wow~~~ thanks guys!!!
kepp up ing!!!
In rooted tab w/ originale rom it doesn't workshop.
I changed settings.apk but it remain looks like the original one
I have original jk5 firmware rooted and cwm installed w/ rom manager
(Sorry 4 my bad English )
Editor....it's work!!!!! i used "File Expert" but it corrupted apk file....now i use "Super Manager" and it's OK!
Sent from my GT-P1000 using Tapatalk
Thanx alot, this was realy nice
Sent from my GT-P1000 using XDA App
In my tab i back to stock settings cause this one crash when i tried to send 1 file w/ Bluetooth.
I suggest to backup Settings.apk AND SETTINS.ODEX cause if u want retunt to stock u need to replace this 2 files....if u don't replace settings.odex u will stay w/o settings and Widgets.
So....backup them in SD!
Sent from my GT-P1000 using Tapatalk
As i'm flashed Overcome 2.0.0 Beta 1 on my Galaxy Tab last night.
I was curious if the modified settings apk could be applied at Gingerbread 2.3.3
But for the people how want to give this a try.
I doesn't work because at some pages or setting options the settings apk will FC
V6-Maniac said:
As i'm flashed Overcome 2.0.0 Beta 1 on my Galaxy Tab last night.
I was curious if the modified settings apk could be applied at Gingerbread 2.3.3
But for the people how want to give this a try.
I doesn't work because at some pages or setting options the settings apk will FC
Click to expand...
Click to collapse
But is this only a few "unimportant" settings or pretty essential settings? And thank you for your review/test on these MODs on 2.3.3 - saved me the effort
mikkel-ol said:
But is this only a few "unimportant" settings or pretty essential settings? And thank you for your review/test on these MODs on 2.3.3 - saved me the effort
Click to expand...
Click to collapse
It's happening on the essential settings.
Take for example the volume settings, phone settings, and applications.
damn that sucks , was hoping to have this on the gingerbread version aswell ! hope you will update
Works like a charm on my cappy running Mosaic V

[GUIDE][2.2+]How to change Setting's background

If this thread helped then rate this thread 5stars and click onTip Us
Hey Guys i am back with my new guide:victory:
I searched a lot to find a method to chnage the bclack background of the menu and settings but sorry i didn't got any!
Software needed :
1.7zip (to replace the image)
2.android sdk(to use adb commands to push/pull the files)
3.)Apktool (search on XDA)
Difficulty level: Medium
For 2.2+ based ROMs
1. Decompile framework-res.apk
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_dark</item>
with
<item name="windowBackground">@drawable/mybackground</item>
6. Locate <style name="Theme.Black" parent="@style/Theme">
7. Replace
<item name="colorBackground">@color/black</item>
with
<item name="colorBackground">@color/transparent</item>
8. Replace
<item name="windowBackground">@color/black</item>
with
<item name="windowBackground">@drawable/mybackground</item>
9. Create a png of size according to your resolution(like 320*480 for mdpi) to your liking, name it mybackground.png and place it in drawable-hdpi folder
9. Recompile framework-res.apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For 4.0+ based ROMs
1.) Open the framework-res.apk via 7zip and navigate to the following directory
"framework-res.apk\res\drawable-nodpi\", you will see a file called "background_holo_dark.png". Delete the image and dont close the 7zip.
2.)Preparing your own image:
Now use any png image you want to set as background , resize it to 512 x 512 via mspaint or any other image editing software and rename the file to "background_holo_dark.png".
3.)Drag the newly created image file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
4.)Replace the framework-res.apk(that you edited now) with the your ROM's using and Root Browser like Root Explorer and reboot.
For 4.2+ Based ROMs
1. Decompile framework-res.apk
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_selector_dark</item>
with
<item name="windowBackground">@drawable/mybackground</item>
6. Create a png of size according to your resolution(512*512 most common) to your liking, name it mybackground.png and place it in drawable-nodpi folder
7. Recompile framework-res.apk
For users who know how to use root explorer can use the same to copy/paste the framework-res.apk before and after editing.​
Click to expand...
Click to collapse
Those who don't have the above mentioned pngs please upload your styles.xml to pastebin and kindly post in the thread i will look into it and solve it!

			
				
i will take this one also
and this one hahah:silly:
Great work dude (Y)
You rocked man....really rocked.....now we can do ultimate theming
Thanks for posting this bro
Nicely explained
Can u make a guide how to edit System
Png's and Framework.apk pngs
Re: [TUTORIAL][ICS][GB]How to change Android's black background
How to add new ones to the existing???
Sent from my Micromax A110 using Tapatalk 2
Great tut. But will u plz tell me- which tool is best for compile/decompile apk files??
Re: [TUTORIAL][ICS][GB]How to change Android's black background
2020shyboy said:
Thanks for posting this bro
Nicely explained
Can u make a guide how to edit System
Png's and Framework.apk pngs
Click to expand...
Click to collapse
There's no need of tutorials for editing pngs....
I'll tell you now...
Copy systemUI or framework-res from your mobile to pc. Extract it.
Now check the dimensions of the PNG you want to replace and remember the folder.
Now chose your image...change it's dimensions....rename it to the same name as of original file.
Drag your new files into the new folder directly in the apk using 7zip or winrar.
Replace your apk with default one in the system and you are done
Using XDA premium through A5
---------- Post added at 06:43 AM ---------- Previous post was at 06:42 AM ----------
himaloyee said:
Great tut. But will u plz tell me- which tool is best for compile/decompile apk files??
Click to expand...
Click to collapse
Use apktool....here is the detailed tutorial how to use it... http://forum.xda-developers.com/showthread.php?t=1989533
Using XDA premium through A5
Re: [TUTORIAL][ICS][GB]How to change Android's black background
Nice, I am going to give this a try and report back.
Sent from my Nexus 7 using Tapatalk HD
UPDATED THE OP
with edited first step it is
. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
viijay4b7 said:
How to add new ones to the existing???
Sent from my Micromax A110 using Tapatalk 2
Click to expand...
Click to collapse
haven't you read the post throughly i have corretly mentioned that replace the existing backgroun_holo_dark.png with your any favourite wallpaper bu make sure that it has same attributes of the existing one.
done exactly the same in my micromax a110, but stuck on boot logo any help ????
pankycool123 said:
done exactly the same in my micromax a110, but stuck on boot logo any help ????
Click to expand...
Click to collapse
first see the original size of the pic(in pixels) then use an resizer and resize your photo(which you want to resize) to that size and in png format rename it to original one and replace the photo and then replace the framework-res.apk and reboot i have tested on a110 also it is working 100%
Re: [TUTORIAL][ICS][GB]How to change Android's black background
pankycool123 said:
done exactly the same in my micromax a110, but stuck on boot logo any help ????
Click to expand...
Click to collapse
Which file explorer did you use??
Using XDA premium through A5
Re: [TUTORIAL][ICS][GB]How to change Android's black background
The Droid Master said:
haven't you read the post throughly i have corretly mentioned that replace the existing backgroun_holo_dark.png with your any favourite wallpaper bu make sure that it has same attributes of the existing one.
Click to expand...
Click to collapse
I have read it. But I have understood wrongly may be.
I am looking to add new wallpapers to the existing, I.e when you press and hold on the home screen, add Wallpaper's--> new one's here..
So your guide is to just to avoid dark black ground r8?:what:
Sent from my Micromax A110 using Tapatalk 2
viijay4b7 said:
I have read it. But I have understood wrongly may be.
I am looking to add new wallpapers to the existing, I.e when you press and hold on the home screen, add Wallpaper's--> new one's here..
So your guide is to just to avoid dark black ground r8?:what:
Sent from my Micromax A110 using Tapatalk 2
Click to expand...
Click to collapse
ya u can say but it is actually to change the background to any wallpaper
Excellent! Working perfectly on Galaxy Mini (cm7.2)!
Thank you! :good:
MagModBR said:
Excellent! Working perfectly on Galaxy Mini (cm7.2)!
Thank you! :good:
Click to expand...
Click to collapse
Link this thread to your phone's forum so that others can also enjoy

[GUIDE][MOD] [I9500]WHITE Themed APK --UPLOADED [Flashable Zip Attached]

Apart from secsettings, I will also post a guide to other apk's so that themers can make a VRtheme! It will work on all the variants of Galaxy S4. Though the changes look huge, but it is pretty small only...so dont be scared by looking at code!:laugh: It is tested on GT-I9500 MF3 FW. I have also attached a secsettings.apk for I9500 (MF3 FW) flashable zip for deodexed rom.
Anyway major change is very simple all we need to change is from Theme.DeviceDefault to Theme.DeviceDefault.Light. This is only change which controls all other apks apart from some png's. So themers can give a try.
Some hidden secrets for themers:
1. You can make the entire apk / rom/ fraemwork to white by just modyfying the styles.xml from Theme.DeviceDefault to Theme.DeviceDefault.Light
2. To make any app to work in full window (I mean to hide statusbar), all we need to do is add a following line at the beginning of styles.xml and by default the app works in full window
PHP:
<style name="Theme" parent="@*android:style/Theme.DeviceDefault.Light">
<item name="android:windowFullscreen">true</item>
</style>
Download Link
This flashable zip works only with GT-I9500 deodex roms only. If you have odex, then delete the odex files and then flash the zip. I have not tested on any other variants, so odnt scream on me if it doesnt work. Only call recording mod is not enabled, which i will upload today evening. Mirrors are welcome. For secsettings.apk, the download link is avaibale at the bottom of this post.
Download for all other apks
Task Manager in White
Secsettings in white for GT_I9500
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TO- DO
1. Music Player Done
2.Keyboard Partially Done and it will be done tonight hopefully
3. Phone.apk Done
4. Seccontacts.apk done
5. Secmms.apk done
6. Framework Partially Done
7. Secsettings.apk done
Must Have
1. Apktool
2. Some knowledge about compiling and decompiling
3. 7zip
4. notepad++
5. backsmali
Screenshot
Target File
SecSettings.apk
Changes to be done!
1. Decompile the attached secsettings.apk and navigate to drawable folder and copy the following png's to your secsettings.apk
smartnetwork_bar_off.9.png
tw_divider_ab_holo_light.9.png
tw_preference_contents_list_divider_holo_dark.9.png
2. Navigate to drawable-xxhdpi and copy the following png's to your secsettings.apk
tw_divider_ab_holo_light.9.png
3. Navigate to values folder and make following changes
from
PHP:
<style name="SetupWizardTheme_phone" parent="@*android:style/Theme.DeviceDefault" />
<style name="SetupWizardTheme1" parent="@*android:style/Theme.DeviceDefault">
to
PHP:
<style name="SetupWizardTheme_phone" parent="@*android:style/Theme.DeviceDefault.Light" />
<style name="SetupWizardTheme1" parent="@*android:style/Theme.DeviceDefault.Light">
from
PHP:
<style name="Theme.CreateShortCut" parent="@*android:style/Theme.DeviceDefault.DialogWhenLarge" />
<style name="setup_wizard_theme" parent="@*android:style/Theme.DeviceDefault">
to
PHP:
<style name="Theme.CreateShortCut" parent="@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge" />
<style name="setup_wizard_theme" parent="@*android:style/Theme.DeviceDefault.Light">
from
PHP:
<style name="TextAppearance.PagerTabs" parent="@*android:style/TextAppearance.DeviceDefault.Small">
to
PHP:
<style name="TextAppearance.PagerTabs" parent="@*android:style/TextAppearance.DeviceDefault.Light.Small">
from
PHP:
<style name="SettingsTheme" parent="@*android:style/Theme.DeviceDefault" />
<style name="SettingsTheme.Dialog" parent="@*android:style/Theme.DeviceDefault.Dialog" />
<style name="SettingsTheme.Dialog.NoWindowDisplay" parent="@*android:style/Theme.DeviceDefault.Dialog">
to
PHP:
<style name="SettingsTheme" parent="@*android:style/Theme.DeviceDefault.Light" />
<style name="SettingsTheme.Dialog" parent="@*android:style/Theme.DeviceDefault.Light.Dialog" />
<style name="SettingsTheme.Dialog.NoWindowDisplay" parent="@*android:style/Theme.DeviceDefault.Light.Dialog">
from
PHP:
<style name="SettingsTheme.NoActionBar" parent="@*android:style/Theme.DeviceDefault.NoActionBar" />
<style name="SettingsTheme.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.DialogWhenLarge" />
<style name="SettingsTheme.Panel" parent="@*android:style/Theme.DeviceDefault.Panel" />
<style name="SettingsTheme.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert" />
to
PHP:
<style name="SettingsTheme.NoActionBar" parent="@*android:style/Theme.DeviceDefault.Light.NoActionBar" />
<style name="SettingsTheme.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge" />
<style name="SettingsTheme.Panel" parent="@*android:style/Theme.DeviceDefault.Light.Panel" />
<style name="SettingsTheme.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert" />
from
PHP:
<style name="Theme.OffloadDialog" parent="@*android:style/Theme.DeviceDefault.Dialog">
to
PHP:
<style name="Theme.OffloadDialog" parent="@*android:style/Theme.DeviceDefault.Light.Dialog">
from
PHP:
<style name="TabTheme" parent="@*android:style/Theme.DeviceDefault">
to
PHP:
<style name="TabTheme" parent="@*android:style/Theme.DeviceDefault.Light">
from
PHP:
<style name="Theme.WifiP2PDialog" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert">
to
PHP:
<style name="Theme.WifiP2PDialog" parent="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert">
Download Link for GT-I9500_SECSETTINGS_WHITE_MF3
Feel Helped, Press Thanks! Any one free to use this with due credits and link to this thread
reserved
Worked perfect, thank you, that saved me some time to find out where the xmls were, massive help for my new theme..
Rixsta said:
Worked perfect, thank you, that saved me some time to find out where the xmls were, massive help for my new theme..
Click to expand...
Click to collapse
I tried all other apks and everything is coming white with small change in xml. I guess you can try as well! Tonight i will try to edit the framework as well (oops I just done it and need to change the secondary color and framework is also done), in the mean time, here you go the myfiles...still the work needs to be done though...
I use vrtheme but i cant use that for settings because the value folder is hidden in the apk
Any help with that please mate ?
Does your guide also only work for Deodexed Rom?
Rixsta said:
Worked perfect, thank you, that saved me some time to find out where the xmls were, massive help for my new theme..
Click to expand...
Click to collapse
Please make white music player and keyboard if possible..
dong2007 said:
Does your guide also only work for Deodexed Rom?
Click to expand...
Click to collapse
it wworks with odexed as well, because i am not making any changes in classes.dex, hence you can follow the guide with no problems... Let me reveal the secret..
all the apks and framework xml's needs to be changed from Theme.DeviceDefault to Theme.DeviceDefault.Light in styles.xml and twseconadry and primarycolors needs to be changed. Thats all, you will have white theme of entire samsung ROM
Another Hidden secret! TO make any app to work in full window. Navigate to styles.xml and add the following line
<style name="Theme" parent="@*android:style/Theme.DeviceDefault.Light">
<item name="android:windowFullscreen">true</item>
</style>
dong2007 said:
Does your guide also only work for Deodexed Rom?
Click to expand...
Click to collapse
jashir101 said:
Please make white music player and keyboard if possible..
Click to expand...
Click to collapse
white music player is already done and working on keyboard right now...
Rixsta said:
I use vrtheme but i cant use that for settings because the value folder is hidden in the apk
Any help with that please mate ?
Click to expand...
Click to collapse
Bro, i am not much in to themeing, I am only interested in coding...but somehow (I love white though) i got motivated to make this theme by editing xml files...i guess, you can contact vertumus , propably he can help you...
edit: I guess it can be done, as i remember DARKY ROM / ALLIANCE ROM scripts works like vrtheme and they use the same for themeing...i will check tonight
there is many things in settings that still has white text, if you were to use a pure white background then there is a lot in the sub menus that would be unreadable. I think the project is just far to big for myself to make a complete theme, its just to complex
Thanks anyway
grgsiocl said:
it wworks with odexed as well, because i am not making any changes in classes.dex, hence you can follow the guide with no problems... Let me reveal the secret..
all the apks and framework xml's needs to be changed from Theme.DeviceDefault to Theme.DeviceDefault.Light in styles.xml and twseconadry and primarycolors needs to be changed. Thats all, you will have white theme of entire samsung ROM
Another Hidden secret! TO make any app to work in full window. Navigate to styles.xml and add the following line
<style name="Theme" parent="@*android:style/Theme.DeviceDefault.Light">
<item name="android:windowFullscreen">true</item>
</style>
Click to expand...
Click to collapse
Kk thx, I will give a try . Can I use Sublime text instead of Notepad ++?
Excellent... Excellent Works ...Great finding... You Rocks Always.. Hidden Developer ...
---------- Post added at 09:00 PM ---------- Previous post was at 08:58 PM ----------
dong2007 said:
Kk thx, I will give a try . Can I use Sublime text instead of Notepad ++?
Click to expand...
Click to collapse
You Can use any Text editer ..
prasadnaidu66 said:
Excellent... Excellent Works ...Great finding... You Rocks Always.. Hidden Developer ...
---------- Post added at 09:00 PM ---------- Previous post was at 08:58 PM ----------
You Can use any Text editer ..
Click to expand...
Click to collapse
If you have the I9505, can you upload the modded SecSetttings?
I can only find they 3 first "From" PHP code in styles.xml :-/
Can op upload flashable zip for the rest of the mods like secphone/contact/mms/sms and etc?...tq
Sent from my GT-I9500 using xda premium
hazri1974 said:
Can op upload flashable zip for the rest of the mods like secphone/contact/mms/sms and etc?...tq
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
i am out now...but you can get from the other threads following apks, seccontacts & secmms which i posted earlier...secphone.apk i am having problem with the video call. I will fix that and then upload....
you can get some of them here
Rixsta said:
I use vrtheme but i cant use that for settings because the value folder is hidden in the apk
Any help with that please mate ?
Click to expand...
Click to collapse
All xml files from values* folders end up in 'resources.arsc'. It would be a nightmare if one couldn't change values here but it's for sure not a problem for vrtheme.
Cheers
Toscha
toscha42 said:
All xml files from values* folders end up in 'resources.arsc'. It would be a nightmare if one couldn't change values here but it's for sure not a problem for vrtheme.
Cheers
Toscha
Click to expand...
Click to collapse
I wish you would come on board with me lol. Anyway thanks for the info. Most helpful
Sent from my GT-I9505 using xda app-developers app
Rixsta said:
I wish you would come on board with me lol. Anyway thanks for the info. Most helpful
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
UPLOADING ALL THE APK'S INLCUDING WHITE KEYBOARD IN A WHILE...Just want to know, users want modded apk's or unmodded one before i upload...Screenshots in a while at the first post
grgsiocl said:
UPLOADING ALL THE APK'S INLCUDING WHITE KEYBOARD IN A WHILE...Just want to know, users want modded apk's or unmodded one before i upload...Screenshots in a while at the first post
Click to expand...
Click to collapse
I think the modded one so we can enjoy them
Inviato dal mio fantasticamente nero e puro Galaxy SIV con tapatalk 2

[TUTORIAL] Complete and Comprehensive Guide for Creating 4.3 Themes

Comprehensive Guide for Beginners to Create 4.3 Xperia Themes
Hello Friends!
As we all know Android 4.3 brought for us the capability to customise our Xperias with soothing themes and adding custom flavor to it
I am creating this tutorial to teach you how to create your own themes
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Click to expand...
Click to collapse
Pre Requisites--
NotePad++
7Zip/Winrar or equivalent zip manager
Apktool or Virtuous Ten Studio or equivalent apk decompiler
Paint.net tool for editing pngs or equivalent editor
Java JDK installed
Sign++ for signing themes (only applicable if you use other than vts)
Basic windows knowledge
A creative Mind
​
Click to expand...
Click to collapse
So lets start!
STEP 1 - DECOMPILING AND SETUP
Download this 4.3 theme apk and decompile it using apktool
(Dont worry, visit this thread if you dont know how to decompile apks)
STEP 2 - ADDING WALLPAPERS
Go to res/values/drawable-xxhdpi folder
Here you will find the images which are the default wallpapers for lockscreen and launcher
Also change the preview of your theme as desired
Replace them according to your desired theme
Repeat the same for res/values/drawable-sw720dp-hdpi folder (these are wallpapers for tablet theme users)
STEP 3 - CHANGING THE NAME
Open the AndroidManifest.xml
Here you will find this in 2nd line
Code:
<manifest android:versionCode="1" android:versionName="1.0" package="[COLOR="Red"]somc.theme.xxx.xxxx[/COLOR]"
Change the package name as desired
Now go to res/values/strings.xml using Notepad++
And edit the theme name as desired
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="semc_theme_title">Xperia Example™</string>
</resources>
STEP 4 - ADDING/REMOVING/CREATING ASSETS
-> What are assets?
Well they are the resources (pngs, xmls and other things which make your themes beautiful)
These can be found in assets folder in zip format
-> How to create assets?
Assets are basically the apks itself
To create assets I am giving you an example for Settings.apk
1. First decompile your Settings.apk
2. Go to res folder inside decompiled Settings and delete all the folders except the drawable-xxhdpi and values folder (as icon pngs are present in it)
3. Delete the smali and assets folder inside the decompiled Settings
4. Go to drawable-xxhdpi folder and delete the unwanted pngs which you do not wish to theme
5. Edit the pngs as desired using Paint.net or equivalent advanced png editor
6. Now go to values folder and and delete all the xml files except public.xml
7. Now open the public.xml in Notepad++ and paste the following code-
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
</resources>
8. Now open the AndroidManifest.xml of the Settings
Select all and paste the following code-
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1" android:versionName="1.0" package="com.sonymobile.dummy"
xmlns:android="http://schemas.android.com/apk/res/android">
<application android:label="None" />
</manifest>
9. Now recompile the Settings folder
10. Open the recompiled apk and delete the MATA-INF folder (if present)
11. Now rename the recompiled Settings.apk to its package name i.e. com.android.settings.zip
12. Now paste the com.android.settings.zip to assets folder of the theme
13. Scroll down to learn how to add your newly created asset in the theme
The above steps can be used for any of the apk you wish to create assets for
-> How to add the assets?
I recommend you to add more and more custom assets to make your theme unique
For example you wish to add Settings.apk assets
1. Create the asset zip as explained above
2. Open the AndroidManifest.xml of the theme
and add this code-
Code:
<asset path="com.android.settings.zip" target="com.android.settings">
<laf-version-filter from="1" to="1" />
</asset>
between these tags
Code:
<runtime-skin version="1">
....
....
....
</runtime-skin>
So new code will look like this
-> How to remove specific app assets?
You need to do this when you do not wish any resource to be modified
For example if you do not want the modifications to statusbar in your theme
Then go to assets folder and delete the com.android.systemui.zip
Then open the AndroidManifest.xml of the theme
and find this code-
Code:
<runtime-skin version="1">
<asset path="com.sonyericsson.uxp.zip" target="com.sonyericsson.uxp">
<laf-version-filter from="1" to="1" />
</asset>
[COLOR="Red"]<asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="1" to="1" />
</asset>[/COLOR]
<asset path="com.sonyericsson.home.zip" target="com.sonyericsson.home">
<laf-version-filter from="1" to="1" />
</asset>
</runtime-skin>
Delete the highlighted code ONLY
So new code will look like this
STEP 5 - MODIFYING THE EXISTING (DEFAULT) ASSETS OF THEME
In my example theme I have 4 basic assets (SystemUI, Android, Home and SemcGeneric Accent)
So I am explaining one by one
1. The SystemUI and Home assets
Firstly go to assets folder of theme and copy the asset zip to main folder from where you can decompile it
Rename the com.sonyericsson.home.zip to com.sonyericsson.home.apk
Then decompile it using apktool or vts
Modify the decompiled folder pngs as desired using Paint.net or other and recompile it
Open the recompiled apk with winzip, 7z and delete the META-INF folder if present
Now rename the com.sonyericsson.home.apk to com.sonyericsson.home.zip
Paste it to assets folder of the decompiled theme
The above procedure can be repeated for systemui asset too
2. The Android assets
These are the most important assets of the theme
These decide the most of the UI as they are framework-res resources
To modify these-
Firstly go to assets folder of theme and copy the asset zip to main folder from where you can decompile it
Rename the android.zip to android.apk
Then decompile it using apktool or vts
Modify the decompiled folder pngs as desired using Paint.net or other and recompile it
Open the recompiled apk with winzip, 7z and delete the META-INF folder if present
Now rename the android.apk to android.zip
Paste it to assets folder of the decompiled theme
3. The Theme Accent assets
These decide the theme accent of the Sony Apps
To change the theme accent-
-> Firstly go to assets folder of theme and copy the asset zip to main folder from where you can decompile it
-> Rename the com.sonyericsson.uxp.zip to com.sonyericsson.uxp.apk
-> Then decompile it using apktool or vts
-> Go to res/values/colors.xml
And modify the highlighted hex code ONLY!
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="somc_theme_accent_color_dark">#ff[COLOR="Red"]4038ff[/COLOR]</color>
<color name="somc_theme_accent_color_light">#ff[COLOR="Red"]4038ff[/COLOR]</color>
<color name="somc_accent_color_neutral">#ff[COLOR="Red"]4038ff[/COLOR]</color>
</resources>
I recommend you to keep the hex code according to theme wallpapers and framework-res assets color
To know the hex codes of the different colors visit ColorHexa website
More information about hex codes of colors
-> After finishing this edit recompile the asset
-> Open the recompiled apk with winzip, 7z and delete the META-INF folder if present
-> Now rename the com.sonyericsson.uxp.apk to com.sonyericsson.uxp.zip
-> Paste it to assets folder of the decompiled theme
STEP 6 - RECOMPILE THE THEME APK
Recompile the theme apk and sign it using Sign++
STEP 7 - TEST ON YOUR PHONE
Install your theme apk like normal app or push it to system/app
Make sure you have SuperUser Mod installed!
Enjoy and do share your themes with us
​
Thanks to @funky0308 for his Guides- This and This
And @saqib nazm
FAQ Soon!
Press thanks and rate my thread 5 stars if you liked it ​
Nice one Ayush !
Great work man
Very nice mate...
I thought you will repeat stuff we already said but you did awesome job.
Great new things - very nice.
One thing only, it's not necessary to rename assets for decompiling.
Apk and Zip files are similar packages and you can easily decompile and recompile zip files.
But that's not important, it'll work in both ways.
One question, have you tried to add that line I was talking about in mine thread in systemUI asset?
I found one line in drawable.xml and we could easily add status bar transparency through whole OS.
I'll have more free time today to try again, I tried yesterday and got some errors in decompiling systemUI so couldn't check that.
My plan was to edit systemUI for all guys who can't use custom theme but want to have transparent status bar.
Sent from my C6903 using Tapatalk
Great work bro.. Nice explanations... Keep it up
I think I could add transparency to whole status bar (in all apps) but can't decompile systemui.zip.
I found line in systemUI\res\values\drawables.xml line #ff000000>/item>
I think if we change ff00000 to #00000000 we could get transparency in all apps.
(#00000000 is for 100% transparency,
50% transparency is #80000000 and full opaque is #ff00000000)
But as I just said - can't decompile properly.
Click to expand...
Click to collapse
We should try to make this...
I'm at work now but if you have time, PM me and we could talk (maybe to join and create our little group on hangouts) and work on some projects together...
We could build nice things for everyone...
Or you try that...
If you delete that line drom systemUI and add it in drawable.xml in systemUI assets it could work in themes as well...
Sent from my C6903 using Tapatalk
funky0308 said:
We should try to make this...
I'm at work now but if you have time, PM me and we could talk (maybe to join and create our little group on hangouts) and work on some projects together...
We could build nice things for everyone...
Or you try that...
If you delete that line drom systemUI and add it in drawable.xml in systemUI assets it could work in themes as well...
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Yes I had tried this once
But the results arent good
It appeared like this for a second
and then again goes back to its normal state
I have exams at my school, will carry on this later, I will try to add kitkat like systemui gradient soon!
Ayush Singh said:
Yes I had tried this once
But the results arent good
It appeared like this for a second
and then again goes back to its normal state
I have exams at my school, will carry on this later, I will try to add kitkat like systemui gradient soon!
Click to expand...
Click to collapse
Are you sure you had deleted that line from systemUI?
SystemUI have advantage over themes and it probably change color back.
If you got transparency for a sec, that's it.
Sent from my C6903 using Tapatalk
Could I carry out step one using a theme apk of my own? ( some of it is already how I want it so it would mean less work ) could I get apk using romtool box and then move it to my pc?
Sent from my C6903 using Tapatalk
Zippy1 said:
Could I carry out step one using a theme apk of my own? ( some of it is already how I want it so it would mean less work ) could I get apk using romtool box and then move it to my pc?
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
That's the whole purpose of all TUTs, to create your own themes or apk.
You can, of course, just use your systemUI.
Sent from my C6903 using Tapatalk
A very nice & definitive explanation
+1 vote for this thread for portal :good:
Nice Tutorial Brother. Will Nominate it for the Portal.
Cheers!
Hi mate...
One more thing.
When someone is changing/editing theme it shoud edit smali and in apktool.yml as well (name and path)
Smali files should be edited for "telling" system new path (if you changed path for smali files)
And apktool.yml to add here new name so it'll compile new theme with right name and won't overwrite in themes (if you have previouse version)
It's easy to change names there too (name of theme)
So , maybe to add that to OP as well in step "chaniging name"..
see ya
Nice tutorial; perhaps an idea to share themes in a thread with all the 4.3+ users?
Does This Method Work With CyanogenMod?
I am wondering if this theming method works with custom ROMs with theming engines, such as CyanogenMod.
nicholician said:
I am wondering if this theming method works with custom ROMs with theming engines, such as CyanogenMod.
Click to expand...
Click to collapse
No, they won't work on tmobile themes engine.
Sent from my C6903 using Tapatalk
funky0308 said:
No, they won't work on tmobile themes engine.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
I'm not wondering about tmobile, just cyanogenmod in general
nicholician said:
I'm not wondering about tmobile, just cyanogenmod in general
Click to expand...
Click to collapse
That's tmobile theme engine.
I know what you want to say.
But, unfortunately, no, they won't work.
Sent from my C6903 using Tapatalk
So this method only works with Xperia 4.3 Devices?

Categories

Resources