[TUTORIAL]How to Theme Samsung Android 4.4, 4.3 and 4.1.2

Phone_Guru

Senior Member
Jul 11, 2010
1,269
645
133
Jerusalem
This tutorial is aimed at people who have themed previously. Therefore, you must already have a working environment set up. I will tell you where to find the required xmls to change and difficult to find files.


Procedure
1. Decompile with APK Multitool
2. Make your desired changes
3. Compile
2. To minimise errors I recommend you simply replace the edited XMLs into the original file or flash them with the universal flasher or VRT
 
Last edited:

Phone_Guru

Senior Member
Jul 11, 2010
1,269
645
133
Jerusalem
KitKat 4.4

General Changes from 4.3
The battery meter is not image-based anymore. It is controlled by entries in colors.xml in SystemUI.apk


SystemUI.apk
To make the notification shade transparent you need to change the notification background colour setting in drawables.xml to #00000000, similarly for the notification title

The annoying blue line above the carrier label is controlled by the jbp_close_handler_divider value

The toggle text is found in values>drawables.xml

Status bar date, clock, battery text etc. is controlled by layout>status_bar.xml and values>drawables.xml


Framework-res.apk
Main Text is controlled by tw_primary/secondary_text_holo_dark xmls
Popup text is tw_popup_primary-text_holo_dark.xml
values>styles.xml controls the colour of notifications text, date etc. search the file for EventContent entries

TWframework-res.apk
I've had issues flashing recompiled resources.arsc which used to work. Now I get a SystemUI FC. The good news is that you can now change the colour of text in the contacts app which used to be found here in styles.xml in SecContacts.apk

SecContacts
You'll have compiling errors. Simply fix the errors as per the log.
 
Last edited:

Phone_Guru

Senior Member
Jul 11, 2010
1,269
645
133
Jerusalem
Jell Bean 4.3

SystemUI.apk
To make the notification shade transparent you need to change the notification background colour setting in drawables.xml to #00000000, similarly for the notification title

The annoying blue line above the carrier label is controlled by the close_handler_divider value

The toggle text is found in values>drawables.xml

Status bar date, clock etc is controlled by layout>status_bar.xml and values>drawables.xml

You will encounter issues recompiling this This Folder contains the edited files to allow you to compile successfully. Place the files in the appropriate folders. It should be self-explanatory.

Framework-res.apk
Main Text is controlled by tw_primary/secondary_text_holo_dark xmls
Popup text is tw_popup_primary-text_holo_dark.xml
values>styles.xml controls the colour of notifications text, date etc.
A lot of files which used to be in drawable-xhdpi are now in drawable-sw359dp-xhdpi including the dialogs, menu backgrounds, Wi-Fi etc. toggles

TWframework-res.apk
I've had issues flashing recompiled resources.arsc which used to work. Now I get a SystemUI FC. The good news is that you can now change the colour of text in the contacts app which used to be found here in styles.xml in SecContacts.apk

SecContacts
You'll have compiling errors. The files needed to compile correctly are in the same file as the SystemUI corrections.
 
Last edited:

Phone_Guru

Senior Member
Jul 11, 2010
1,269
645
133
Jerusalem
Jelly Bean 4.1.2

SystemUI.apk
To change the colour of the status bar go to res/values/drawables.xml and change the value for status_bar_background. Black is ff000000 and transparent is 00000000.

The toggle text is found in layout>tw_quick_setting_button.xml

Status Bar Text, clock etc is controlled by layout>tw_status_bar and tw_status_bar_expanded xmls

Framework-res.apk
Main Text is controlled by tw_primary/secondary_text_holo_dark xmls
Popup text is tw_popup_primary-text_holo_dark.xml

TWFramework-res.apk
This is the easiest file ever. It works fine with any automated apktool GUI. The color. xml file controls the colour of the letters and dividers in the index of the contacts list.
 
Last edited:

DSA

Senior Member
May 15, 2011
4,755
5,776
263
May be related to your setup

Check that Java is in your path...which java version do you have installed?
 

Laminus6

New member
Aug 6, 2012
3
0
0
Installation ziped pack in custom rom

A good tutorial mate, let see what i can change :D
Hi every one :)

Could you please let me know the steps in order to install a ZIPED PACK 3D HD Wallpapers downloaded as a pack in a custom rom i have the latest foxhound v1.7 i have downloaded this content from wallpaper section in foxhound setting panel as pack ziped, i have also downloaded the new camera update v 4.2 (nexus style) i have tried to reboot my device I9300 in a recovery mode and install from zip after the installation complete i start my device then i found nothing in wallpaper section

please help :crying:
 

Evewon

Senior Member
Jan 21, 2012
189
126
0
Re: [TUTORIAL]How to Theme Samsung Jelly Bean 4.2.1 and 4.1.2

Any idea where I can find the XML to change lock screen status bar?

Sent from my SAMSUNG-SGH-I747 using xda premium