[Guide]Theming Settings Heavily »Update^1/3/14«[GB] - Samsung Galaxy Mini

Presenting a full guide on theming and understanding conceps of Settings.apk
Theming it white with changeable background
Check 2nd Post
Note.
I am not responsible if you make any damage to your phone
Click to expand...
Click to collapse
This simple editing requires.
# STEP 1
Patience
[For that use my method of spreading cold water over your head.}
# STEP 2
Notepad ++
{A very handy tool}
google it if you dont have for editing xml files.
# STEP 3
My provided files for changing backgrounds.
Click to expand...
Click to collapse
Lets start our work.
# STEP 4
Decompile your Settings.apk
# STEP 5
Open Androidmanifest.xml
# STEP 6
In
Code:
<application android:label="@string/settings_label"
# STEP 7
Add this
Code:
android:theme="@*android:style/Theme.Light"
# STEP 8
So it will look like thisafter editing
Code:
<application android:theme="@*android:style/Theme.Holo" android:label="@string/settings_label"
# STEP 9
Now find
Code:
Theme.NoTitleBar
And replace each with
Code:
Theme.Light.NoTitleBar
# STEP 10
Now open ManageApplications$ApplicationsAdapter.smali in
Code:
smali/com/android/settings/applications/ManageApplications$ApplicationsAdapter.smali
# STEP 11
Find
Code:
getColorStateList
# STEP 12
Above it you will see public id linked to framework
i.e.
Code:
0x1060001
# STEP 15
Change it to
Code:
0x1060004
This is to fix white colour problem in manage aplications tab items.
# STEP 14
Recompile your apk back.
Click to expand...
Click to collapse

{
"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"
}
EXTRA TIPS.​
#
Changing the backgroung from white to grey or set your image
# STEP 15
Download Zip Package from here and merge with your settings.
# STEP 16
Open styles.xml
Paste this in the last above
Code:
</resources>
Code:
<style name="Settings" parent="@*android:style/Theme.Light">
<item name="android:windowBackground">@drawable/background</item>
</style>
# STEP 17
Open Androidmanifest.xml
# STEP 18
In
Code:
<application android:label="@string/settings_label"
# STEP 19
Add this
Code:
android:theme="@style/Settings"
# STEP 20
So it will look like this after editing
Code:
<application android:theme="@style/Settings" android:label="@string/settings_label"
# STEP 21
And background will be changed.
Click to expand...
Click to collapse

#
To change separators
# STEP 22
Open styles.xml
Paste this in the last above
Code:
</resources>
Code:
<style name="Widget.TextView.ListSeparator.White" parent="@*android:style/Widget.TextView.ListSeparator">
<item name="android:textColor">#ff000000</item>
<item name="android:background">@drawable/light_header</item>
</style>
# STEP 23
Change
Code:
<style name="Settings" parent="@*android:style/Theme.Light">
<item name="android:windowBackground">@drawable/background</item>
</style>
to
Code:
<style name="Settings" parent="@*android:style/Theme.Light">
<item name="android:windowBackground">@drawable/background</item>
<item name="android:listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
</style>
# STEP 24
Recompile back your apk file.
# STEP 25
Sign it.
# STEP 26
Push to system/app with permissions rw-r-r
# YOUR STEP
And Work Completed.
Click to expand...
Click to collapse

san122 said:
Click to expand...
Click to collapse
used white bg can consumes more battery, black should be better
Sent from my GT-S5570 using Tapatalk

Work on stuck rom???

farzadone said:
Work on stuck rom???
Click to expand...
Click to collapse
Yup
Sent from my GT-S5360 using Tapatalk 2

Related

[Request] Theme howto - Mac centric

Can one of the authors of the 3 themes that have been made for the XOOM grace the community with a quick down and dirty howto?
What Scripts are needed?
What tools do you use?
Steps to open APK
Steps to repackage APK
Do we need to sign it? If so how?
Before I get flamed:
I have google'ed and there are allot of tutorials for others devices but I would like to see a tried and true method for the XOOM - with the current state of things (backup options) I am not feeling very adventurous so I would rather get some info from those whom have it down and a good process, Ideally this would get sticky so we would have a point of reference for future authors.
So if you have a few mins. today can you jot down the steps above and we can start to compile a nice howto?
Thanks,
----- My trial and errors -----
I will do a small modification to the SystemUI.apk to change the 3 icons on the bottom left launcher.
** Assumptions: Reader is using a Intel Mac, and has SDK and mac ports installed.
Download APKManager as suggested
Install SOX - for mac
Code:
sudo port install sox
APK Manager only comes in two flavors that I found, Windows and Linux, take the Linux one and build any other packages we might need
Code:
sudo port install p7zip
sudo port install optipng
Remove supplied optipng and aapt tools as they were compile for linux and are in ELF format so we can't exec them but we have our own now.
create a directory to work from
Code:
mkdir mytheme
Copy the script and the other fold in to your workspace:
Code:
cp -r Script.sh other ../mytheme
Enter your workspace and extract SystemUI.apk
Code:
cd ../mytheme
don't forget to make Script.sh and stuff other executable
chmod +x (or 755) Script.sh
chmod +x (or 755) -R other/*
./Script.sh
choose option 0
type: /system/app/SystemUI.apk
choose option 1
open a new tab
cd ../mytheme
cd out
Now you have a extracted / decompiled version of the systemui.apk that you can modify.
More to come...
Modify SystemUI.
Download APKManager. It is pretty self explanatory.
Okay,
So I finished my theme tutorial and as the post above stated it was very simple to follow along, I will update the first post and finish off the tutorial so others can learn,
Here is an image of my finial change, I used some icons from Gnome to change the 3 bottom left buttons as I think the theme shipped w/ xoom is good just those darn buttons are not very good looking.
Shot:
{
"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"
}
Those icons look really slick...
Sent from my Nexus S using XDA App
njstisforall said:
Those icons look really slick...
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Thanks,
Here is the SystemUI.apk
MD5 (SystemUI.apk) = 8c998de760fa36bd7b447538f48dc96c
first time distributing so backup yours just in case I did it wrong
adb pull /system/app/SystemUI.apk .
adb push ~/Downloads/SystemUI.apk /system/app/
Cheers,
where do I do this step:
Remove supplied optipng and aapt tools as they were compile for linux and are in ELF format so we can't exec them but we have our own now.
I figured it out

[Q] help

{
"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"
}
Umm..yes...tell us...you want us to help you with a broken image?
Here found this:
AvatarOfFrost said:
If you ever get bored with the black background in Android, now you can change it by making a few small edits to framework-res.apk/res/values/styles.xml
This will affect MOST of the black background you see in Android (e.g. settings, contacts, mms, installer etc.) with the exception of certain apps that use their on backgrounds (e.g. contacts logs, email etc.).
Difficulty level: Medium
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 480x800 png to your liking, name it mybackground.png and place it in drawable-hdpi folder
9. Recompile framework-res.apk
DONE!
Always create a backup before making any modifications!!!
Click to expand...
Click to collapse
This is for a hdpi device so make the background 320x480 and put it in drawable-mdpi
tomb20 said:
Here found this:
This is for a hdpi device so make the background 320x480 and put it in drawable-mdpi
Click to expand...
Click to collapse
i tried this but nothing happen
harsh43 said:
i tried this but nothing happen
Click to expand...
Click to collapse
Make sure you reboot after applying the changes.
Anyone know if the tw-framework will affect the settings background?
tomb20 said:
Make sure you reboot after applying the changes.
Anyone know if the tw-framework will affect the settings background?
Click to expand...
Click to collapse
Tw framework is mostly used for dialer and contacts
And most tabs.
And tw apps
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Tw framework is mostly used for dialer and contacts
And most tabs.
And tw apps
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
help me pls to change setting bg

[GUIDE][15 AUG] How To Colorize Lock Screen Clock in Jellybean

Here is a guide how to colorize lock screen clock in JellyBean.
1. Download attached apktools.zip and unpack it on your computer (make sure there are NO spaces in folder names!)
2. Copie framework-res.apk to same folder.
3. Navigate to this folder in your work station, press SHIFT ang right click and in contex menu -> "open command from here".
4. Now we have to install fist the framework-res (U have to do this only once for each rom!) by typing following command:
Code:
java -jar apktool.jar if framework-res.apk
5. For decompiling framework-res.apk:
Code:
java -jar apktool.jar d framework-res.apk
6. Now there should be a folder named "framework-res".
7. Navigate to framework-res\res\values\ and open colors.xml with a text editor and search for:
Code:
<color name="lockscreen_clock_background">#ff33b5e5</color>
<color name="lockscreen_clock_foreground">#ff33b5e5</color>
<color name="lockscreen_clock_am_pm">#ff33b5e5</color>
8. Now you can edit color with what ever U want. In my case it is ICS blue.
9. Save changes and navigate back to apktools root folder.
10. Now for compiling framework-res again open command as mentioned in 3. and type:
Code:
java -jar apktool.jar b framework-res
11. Compiled framework-res.apk should now be in \framework-res\dist\ (be patient...could take a few minutes)
12. Last but not least you have to sign framework-res.apk. I always sign apk's with Android Commander and never had any issues.
There are also two .zip's attached which can be used to flash framework-res via CWM. One for patched and one for original file (in the case there went something wrong).
Tested on Win7 64bit!
{
"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"
}
Very Nice! Which property changes the color of the date and "charging" text?
I believe I am supposed to get framework-res.apk from my ROM but I don't see it. Where do I find it?
Idyar said:
I believe I am supposed to get framework-res.apk from my ROM but I don't see it. Where do I find it?
Click to expand...
Click to collapse
/system/framework/...
Sent from my paranoid phone's mind

[GUIDE][RXS MOONBRAKERS]How to add Xperia Theme Features into Cm12 Themes

**************************RXS Moonbreakers presents proudly**************************
{
"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"
}
Hi guys,
We (RXS DEV TEAMS) have ported many Xperia Themes to Cm11 before 4-5 months.
Now i will show you how to add quickly xperia stuffs(like Theming of Launcher,Widgets,Apps).I hope you like it
This method is only working with this Xperia Stuffs (we have configured all apps to cm based Rom)
Download Link
Xperia_Z3_Stuffs_for_Cm12_by_RXS_Moonbreakers.zip]Click me!!
How to make Colorful Xperia Launcher and add into your cm12 theme?
-Download a xperia theme from googleplay
Click
-Decompile it via apktool
-go to this place --->xperia_theme.apk/assests/com.sonyericsson.home.zip
-rename it from """com.sonyericsson.home.zip""" to """com.sonyericsson.home.apk"""
-And decompile it and copy all drawable dpi files(ex:drawable-hdpi,xdpi,xxhdpi,drawable-land xdpi...) to Cm12theme.apk/assets/overlays/com.sonyericsson.home(file name)
-Download this pack for cm12 and paste it to Cm12theme.apk/assets/overlays/com.sonyericsson.home(file name)
-go to res/values/colors.xml and configure it
<resources>
PHP:
<color name="apptray_drawer_text_color">#main color value of your theme</color>
<color name="apptray_drawer_badge_text_color">#ff000000</color>
</resources>
-Last go to res/values/dimens.xml
if you are using your hand without on screen button,dont change them.
if not; change this value from 0.0dip to 48.dip
PHP:
<dimen name="home_default_navigation_bar_offset">0.0dip</dimen>
-For Lockscreen and Homescreen wallpapers
Go to xperia_theme.apk/res/drawable-xhdpi or drawable-xxhdpi(choose one of them)
Copy three jpgs
PHP:
semc_theme_lockscreen_wallpaper
semc_theme_preview
semc_theme_wallpaper
Paste them Cm12theme.apk/assets/images and rename
PHP:
from "semc_theme_lockscreen_wallpaper" to "lockscreen_preview"
from "semc_theme_preview" to "styles_preview"
from "semc_theme_wallpaper" to "wallpaper_preview"
-Done you have now colorful Xperia Launcher and drawer color will change according to your theme color
How to change color of Xperia Widgets according to your cm12 theme?
Clock Widgets
-Go to Cm12theme.apk/assets/overlays/com.sonyericsson.advancedwidget.clock
-Paste this pack into com.sonyericsson.advancedwidget.clock folder
-Go to com.sonyericsson.advancedwidget.clock/res/values/colors.xml and configure it
PHP:
<color name="accent_material_light">#main color value of your theme</color>
-Done.Color of Clock widgets changes according to your main color of cm12 theme
Music Widgets
-Go to Cm12theme.apk/assets/overlays/com.sonyericsson.advancedwidget.music
-Paste this pack into com.sonyericsson.advancedwidget.music
-Go to com.sonyericsson.advancedwidget.music/res/values/colors.xml and change it according to your theme
PHP:
<color name="light_theme_accent_addition">#main color value of your theme</color>
<color name="art_pane_title_text_color">#main color value of your theme</color>
-Go to com.sonyericsson.advancedwidget.clock/res/drawable-xhdpi or drawable-xxhdpi
-Make colorizable all pngs according to your theme
-Done
Top Contacts
-Go to Cm12theme.apk/assets/overlays/com.sonymobile.advancedwidget.topcontacts
-Paste this pack into com.sonymobile.advancedwidget.topcontacts
-Go to com.sonymobile.advancedwidget.topcontacts/res/drawable-xxhdpi/
-Make colorizable all pngs according to your theme
-Done
How to change color of Xperia Keyboard according to your cm12 theme?
-Go to Cm12theme.apk/assets/overlays/com.sonyericsson.textinput.uxp
-Paste this pack into com.sonyericsson.textinput.uxp
-Go to com.sonyericsson.textinput.uxp/res/values/colors.xml and change it according to your theme
PHP:
<color name="accent_color_default">#main color value of your theme</color>
<color name="privacy_policy_title">#main color value of your theme</color>
-Done
Credits
Ambor
nice

[GUIDE][RXS MOONBRAKERS]How to add Xperia Theme Features into Cm12 Themes

**************************RXS Moonbreakers presents proudly**************************
{
"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"
}
Hi guys,
We (RXS DEV TEAMS) have ported many Xperia Themes to Cm11 before 4-5 months.
Now i will show you how to add quickly xperia stuffs(like Theming of Launcher,Widgets,Apps).I hope you like it
This method is only working with this Xperia Stuffs (we have configured all apps to cm based Rom)
Download Link
Xperia_Z3_Stuffs_for_Cm12_by_RXS_Moonbreakers.zip]Click me!!
How to make Colorful Xperia Launcher and add into your cm12 theme?
-Download a xperia theme from googleplay
Click
-Decompile it via apktool
-go to this place --->xperia_theme.apk/assests/com.sonyericsson.home.zip
-rename it from """com.sonyericsson.home.zip""" to """com.sonyericsson.home.apk"""
-And decompile it and copy all drawable dpi files(ex:drawable-hdpi,xdpi,xxhdpi,drawable-land xdpi...) to Cm12theme.apk/assets/overlays/com.sonyericsson.home(file name)
-Download this pack for cm12 and paste it to Cm12theme.apk/assets/overlays/com.sonyericsson.home(file name)
-go to res/values/colors.xml and configure it
<resources>
PHP:
<color name="apptray_drawer_text_color">#main color value of your theme</color>
<color name="apptray_drawer_badge_text_color">#ff000000</color>
</resources>
-Last go to res/values/dimens.xml
if you are using your hand without on screen button,dont change them.
if not; change this value from 0.0dip to 48.dip
PHP:
<dimen name="home_default_navigation_bar_offset">0.0dip</dimen>
-For Lockscreen and Homescreen wallpapers
Go to xperia_theme.apk/res/drawable-xhdpi or drawable-xxhdpi(choose one of them)
Copy three jpgs
PHP:
semc_theme_lockscreen_wallpaper
semc_theme_preview
semc_theme_wallpaper
Paste them Cm12theme.apk/assets/images and rename
PHP:
from "semc_theme_lockscreen_wallpaper" to "lockscreen_preview"
from "semc_theme_preview" to "styles_preview"
from "semc_theme_wallpaper" to "wallpaper_preview"
-Done you have now colorful Xperia Launcher and drawer color will change according to your theme color
How to change color of Xperia Widgets according to your cm12 theme?
Clock Widgets
-Go to Cm12theme.apk/assets/overlays/com.sonyericsson.advancedwidget.clock
-Paste this pack into com.sonyericsson.advancedwidget.clock folder
-Go to com.sonyericsson.advancedwidget.clock/res/values/colors.xml and configure it
PHP:
<color name="accent_material_light">#main color value of your theme</color>
-Done.Color of Clock widgets changes according to your main color of cm12 theme
Music Widgets
-Go to Cm12theme.apk/assets/overlays/com.sonyericsson.advancedwidget.music
-Paste this pack into com.sonyericsson.advancedwidget.music
-Go to com.sonyericsson.advancedwidget.music/res/values/colors.xml and change it according to your theme
PHP:
<color name="light_theme_accent_addition">#main color value of your theme</color>
<color name="art_pane_title_text_color">#main color value of your theme</color>
-Go to com.sonyericsson.advancedwidget.clock/res/drawable-xhdpi or drawable-xxhdpi
-Make colorizable all pngs according to your theme
-Done
Top Contacts
-Go to Cm12theme.apk/assets/overlays/com.sonymobile.advancedwidget.topcontacts
-Paste this pack into com.sonymobile.advancedwidget.topcontacts
-Go to com.sonymobile.advancedwidget.topcontacts/res/drawable-xxhdpi/
-Make colorizable all pngs according to your theme
-Done
How to change color of Xperia Keyboard according to your cm12 theme?
-Go to Cm12theme.apk/assets/overlays/com.sonyericsson.textinput.uxp
-Paste this pack into com.sonyericsson.textinput.uxp
-Go to com.sonyericsson.textinput.uxp/res/values/colors.xml and change it according to your theme
PHP:
<color name="accent_color_default">#main color value of your theme</color>
<color name="privacy_policy_title">#main color value of your theme</color>
-Done
Credits
Ambor

Categories

Resources