[GUIDE][MOD][CM11] How to automatic disable signal icon when deactive SIM card - Xiaomi Redmi 1S

Easy Guide how to automatic disable signal icon when deactive SIM card base Cm11
REQUIREMENT:
- Know how to decompile/recompiling Apk
- Know how to smali/xml editing
decompile SystemUI.apk
open SystemUI/res/values/drawables.xml
add this code above </resources>
Code:
<item type="drawable" name="deuge_blank_drawable">#00000000</item>
open SystemUI/res/values/styles.xml
find styles code
Code:
<style name="TextAppearance.StatusBar.SimSlotLabel" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">10.0dip</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ff808080</item>
</style>
change
Code:
<item name="android:textSize">10.0dip</item>
to
Code:
<item name="android:textSize">0.0dip</item>
recompile
decompile
open SystemUI/res/values/public.xml
find
Code:
type="drawable" name="deuge_blank_drawable" id="[COLOR="red"]0x7f0?????[/COLOR]"
SAVE RED CODE
open com/android/systemui/statusbar/policy/MSimNetworkController.smali
find
Code:
[COLOR="Blue"]0x7f020117[/COLOR]
note :
type="drawable" name="stat_sys_signal_null" id="0x7f020117"
change 0x7f020117 to red code type="drawable" name="deuge_blank_drawable"
Save,recompile,sign,dan push ke system, DONE!!!

Vertamax

Related

[IN DEPTH GUIDE] How to easily change your battery icons

G'Day XDA,
I have written a bit of a guide to changing your battery icons in a way which is quite easy to do. There are a couple of ways to do it, and depending on your framework and mods depends on how you will need to do it. And before you do anything, please make a Nandroid backup using ClockworkMod Recovery. I will NOT be held responsible if you brick your phone, but I will try my best to help you if the inevitable happens.
On my SGSII I run an odexed 4.0.3 XWLPI stock ROM which has JKay's Deluxe framework & Deluxe Settings app, so I can easily choose to theme my battery icon. There are a number of different icons and ways to create them on XDA, I downloaded mine from shayne77's Battery Mod Tool thread which has quite a few, or if you're that way inclined then you can make your own.
Ok so first things first, you will need a rooted phone and some sort of file explorer that can navigate down to the root folders. I use ES File Explorer but it's personal preference. You will also need a computer with a USB cable that can connect into your phone and a zip program like 7Zip. If you don't have a ROM that currently supports % battery icons then you will need something like APK Tool to decompile and recompile SystemUI.apk . You will also need a text editor like Notepad++ to edit the XML file. The last thing that you may need (if you want to create your own icons or modify any) is a program like Photoshop, but I use Greenfish Icon Editor Pro.
You will need to download/make the icons that you want. Then you need to make sure that they are named accordingly to your SystemUI.apk's /res/drawable-hdpi folder. I use JKay's framework, so mine are named jkay_stat_sys_battery_0.png through to jkay_stat_sys_battery_100.png and then jkay_stat_sys_battery_charge_anim0.png through to jkay_stat_sys_battery_charge_anim100.png . Yours may be named without the jkay at the start if you don't use his framework.
If your ROM currently doesn't support % battery icons then I will show you how to do that. It involves decompiling SystemUI.apk, editing an XML file and then recompiling and flashing and will be detailed in the 3rd post..
Ok now once you have all of the things I mentioned above, you will need to use your file explorer to navigate to /system/app and make a copy of SystemUI.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"
}
I use a folder on my phone's SD card called Mods so I know where everything is. You will then need to plug the phone into the computer and copy SystemUI.apk onto your computer. Again, I use a folder called Mods.
Now right click on SystemUI.apk, hover over 7Zip click Open archive.
When the window opens, double click on res and then double click on drawable-hdpi. Have a look in this folder for a number of icons which will be named something like stat_sys_battery_0.png or jkay_stat_sys_battery_0.png and make note of what they are named. This is what you will need to be renaming the icons that you have downloaded or made, unless of course they already have the same names.
Once all 202 icons have the same names as the ones in the /res/drawable-hdpi folder, you now need to select them all and drag them into the 7Zip archive which you have open. When the prompt asks you if you are sure that you would like to copy the files to the archive, click Yes. Then close the archive.
Now you need to plug your phone back into the computer (unless you left it plugged in from before) and copy your newly modded SystemUI.apk back onto your phone's internal SD Card. Once this is done you can unplug the phone from the computer (unless you are charging it) and open up your file explorer. Navigate to where your newly modded SystemUI.apk is stored and then move it to /system. Once that is done navigate to /system.
Now find the SystemUI.apk that you have modified and long press on it to bring up the menu and click on Properties. When you click on Properties a new window will open up which looks like this.
Notice how the permissions are set to rw- rw- rw-? This needs to be changed. So click on the Change button.
Once you have done that, you will see a new window which looks like the screenshot with a bunch of check boxes and ticks in some of them. We need to uncheck the ticks in the write column in the Group row and the Other row. Yours should now look like this. Click OK.
Now notice how the permissions have changed to rw- r-- r--? This is what we want.
Now long press on SystemUI.apk and select Move To and move it to /system/app.
A window will appear asking if you are sure that you want to overwrite your existing SystemUI.apk. Click yes.
Now restart the phone. And once it reboots, you will be left with your new battery icon! Simple!!!
Another way to change your battery icon is to use a flashable zip file. I use VRTheme zips for all of my mods and they work really well. I have attached 4 flashable zips below, 2 each of the Big Android Battery (which I use) and the Little Android Battery, and one of each is for users with JKay's framework and one of each without. You can download these and flash them through ClockworkMod Recovery, but don't forget to make a Nandroid backup!
Big Android Battery
JKay Big Android Battery
Little Android Battery
JKay Little Android Battery
If you want to use different icons, you can still download the zip which suits your framework and just change the icons for the ones that you want. You will need to download the zip file to your computer and then when it's finished, right click on it and hover over 7Zip and click on Open archive.
Once the window opens, double click on vrtheme then system then app and you should see a folder called SystemUI.apk . Double click on this, then on res and drawable-hdpi. In that folder there should be 202 png icons which are the battery icons.
Simply drag your renamed icons into the folder, click Yes when the prompt asks you if you are sure that you want to add the files to the archive and when that's done simply close the archive.
Now copy the zip file back onto your phone's internal SD card and flash through ClockworkMod Recovery! Simple!!!
Now if you have a ROM that doesn't currently support % battery icons, then this next section if for you. You will need to use a program like APK Tool to decompile your SystemUI.apk, but before you do that you will need to install the Android SDK and the JRE. If you don't know how to do this, then have a look at this post & video on how to download and install the correct components.
You will need to have APK Tool installed to ddecompile and recompile, and if you click on the link that will guide you through how to install that.
Once that is installed you will need to copy SystemUI.apk from /system/app onto your computer, and then you will need to move it to the folder place-apk-here-for-modding which is inside your new APK Tool folder.
Once the apk is in that folder, go back one level to the main folder of APK Tool and click on Script.bat and a Windows Command Prompt should open up with a bunch of green writing.
Type 22 in the Please make your decision: field which will Set current project and press Enter. Now type in the number to the left of SystemUI.apk and press Enter. You should be back on the main screen of the APK Tool script, and up the top on the right it should say Current-App: SystemUI.apk .
Now in the Please make your decision: field type 9 which is for Decompile apk and press Enter. APK Tool will now decompile your SystemUI.apk (this can sometimes take a while). When that is finished, close the script window and double click on the folder projects. When this opens, double click on SystemUI.apk .
Now double click on res. You will see a number of folders. The battery icons that you downloaded or made before, copy them all into drawable-hdpi and say yes to overwrite any battery icons that were previously in the folder. Go back one level to res and then double click on drawable and when that opens up, double click on stat_sys_battery.xml to open it with Notepad++. When that opens, you should see the following:
Notice how there are only a few lines on there with different levels of max battery?
We need to change this to have all 101 levels of battery (from 0 to 100). This may take a while, but you need to make sure that every number from 0 to 100 has it's own line. Your end result should look like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
<item android:drawable="@drawable/stat_sys_battery_4" android:maxLevel="4" />
<item android:drawable="@drawable/stat_sys_battery_5" android:maxLevel="5" />
<item android:drawable="@drawable/stat_sys_battery_6" android:maxLevel="6" />
<item android:drawable="@drawable/stat_sys_battery_7" android:maxLevel="7" />
<item android:drawable="@drawable/stat_sys_battery_8" android:maxLevel="8" />
<item android:drawable="@drawable/stat_sys_battery_9" android:maxLevel="9" />
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_11" android:maxLevel="11" />
<item android:drawable="@drawable/stat_sys_battery_12" android:maxLevel="12" />
<item android:drawable="@drawable/stat_sys_battery_13" android:maxLevel="13" />
<item android:drawable="@drawable/stat_sys_battery_14" android:maxLevel="14" />
<item android:drawable="@drawable/stat_sys_battery_15" android:maxLevel="15" />
<item android:drawable="@drawable/stat_sys_battery_16" android:maxLevel="16" />
<item android:drawable="@drawable/stat_sys_battery_17" android:maxLevel="17" />
<item android:drawable="@drawable/stat_sys_battery_18" android:maxLevel="18" />
<item android:drawable="@drawable/stat_sys_battery_19" android:maxLevel="19" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_21" android:maxLevel="21" />
<item android:drawable="@drawable/stat_sys_battery_22" android:maxLevel="22" />
<item android:drawable="@drawable/stat_sys_battery_23" android:maxLevel="23" />
<item android:drawable="@drawable/stat_sys_battery_24" android:maxLevel="24" />
<item android:drawable="@drawable/stat_sys_battery_25" android:maxLevel="25" />
<item android:drawable="@drawable/stat_sys_battery_26" android:maxLevel="26" />
<item android:drawable="@drawable/stat_sys_battery_27" android:maxLevel="27" />
<item android:drawable="@drawable/stat_sys_battery_28" android:maxLevel="28" />
<item android:drawable="@drawable/stat_sys_battery_29" android:maxLevel="29" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
<item android:drawable="@drawable/stat_sys_battery_31" android:maxLevel="31" />
<item android:drawable="@drawable/stat_sys_battery_32" android:maxLevel="32" />
<item android:drawable="@drawable/stat_sys_battery_33" android:maxLevel="33" />
<item android:drawable="@drawable/stat_sys_battery_34" android:maxLevel="34" />
<item android:drawable="@drawable/stat_sys_battery_35" android:maxLevel="35" />
<item android:drawable="@drawable/stat_sys_battery_36" android:maxLevel="36" />
<item android:drawable="@drawable/stat_sys_battery_37" android:maxLevel="37" />
<item android:drawable="@drawable/stat_sys_battery_38" android:maxLevel="38" />
<item android:drawable="@drawable/stat_sys_battery_39" android:maxLevel="39" />
<item android:drawable="@drawable/stat_sys_battery_40" android:maxLevel="40" />
<item android:drawable="@drawable/stat_sys_battery_41" android:maxLevel="41" />
<item android:drawable="@drawable/stat_sys_battery_42" android:maxLevel="42" />
<item android:drawable="@drawable/stat_sys_battery_43" android:maxLevel="43" />
<item android:drawable="@drawable/stat_sys_battery_44" android:maxLevel="44" />
<item android:drawable="@drawable/stat_sys_battery_45" android:maxLevel="45" />
<item android:drawable="@drawable/stat_sys_battery_46" android:maxLevel="46" />
<item android:drawable="@drawable/stat_sys_battery_47" android:maxLevel="47" />
<item android:drawable="@drawable/stat_sys_battery_48" android:maxLevel="48" />
<item android:drawable="@drawable/stat_sys_battery_49" android:maxLevel="49" />
<item android:drawable="@drawable/stat_sys_battery_50" android:maxLevel="50" />
<item android:drawable="@drawable/stat_sys_battery_51" android:maxLevel="51" />
<item android:drawable="@drawable/stat_sys_battery_52" android:maxLevel="52" />
<item android:drawable="@drawable/stat_sys_battery_53" android:maxLevel="53" />
<item android:drawable="@drawable/stat_sys_battery_54" android:maxLevel="54" />
<item android:drawable="@drawable/stat_sys_battery_55" android:maxLevel="55" />
<item android:drawable="@drawable/stat_sys_battery_56" android:maxLevel="56" />
<item android:drawable="@drawable/stat_sys_battery_57" android:maxLevel="57" />
<item android:drawable="@drawable/stat_sys_battery_58" android:maxLevel="58" />
<item android:drawable="@drawable/stat_sys_battery_59" android:maxLevel="59" />
<item android:drawable="@drawable/stat_sys_battery_60" android:maxLevel="60" />
<item android:drawable="@drawable/stat_sys_battery_61" android:maxLevel="61" />
<item android:drawable="@drawable/stat_sys_battery_62" android:maxLevel="62" />
<item android:drawable="@drawable/stat_sys_battery_63" android:maxLevel="63" />
<item android:drawable="@drawable/stat_sys_battery_64" android:maxLevel="64" />
<item android:drawable="@drawable/stat_sys_battery_65" android:maxLevel="65" />
<item android:drawable="@drawable/stat_sys_battery_66" android:maxLevel="66" />
<item android:drawable="@drawable/stat_sys_battery_67" android:maxLevel="67" />
<item android:drawable="@drawable/stat_sys_battery_68" android:maxLevel="68" />
<item android:drawable="@drawable/stat_sys_battery_69" android:maxLevel="69" />
<item android:drawable="@drawable/stat_sys_battery_70" android:maxLevel="70" />
<item android:drawable="@drawable/stat_sys_battery_71" android:maxLevel="71" />
<item android:drawable="@drawable/stat_sys_battery_72" android:maxLevel="72" />
<item android:drawable="@drawable/stat_sys_battery_73" android:maxLevel="73" />
<item android:drawable="@drawable/stat_sys_battery_74" android:maxLevel="74" />
<item android:drawable="@drawable/stat_sys_battery_75" android:maxLevel="75" />
<item android:drawable="@drawable/stat_sys_battery_76" android:maxLevel="76" />
<item android:drawable="@drawable/stat_sys_battery_77" android:maxLevel="77" />
<item android:drawable="@drawable/stat_sys_battery_78" android:maxLevel="78" />
<item android:drawable="@drawable/stat_sys_battery_79" android:maxLevel="79" />
<item android:drawable="@drawable/stat_sys_battery_80" android:maxLevel="80" />
<item android:drawable="@drawable/stat_sys_battery_81" android:maxLevel="81" />
<item android:drawable="@drawable/stat_sys_battery_82" android:maxLevel="82" />
<item android:drawable="@drawable/stat_sys_battery_83" android:maxLevel="83" />
<item android:drawable="@drawable/stat_sys_battery_84" android:maxLevel="84" />
<item android:drawable="@drawable/stat_sys_battery_85" android:maxLevel="85" />
<item android:drawable="@drawable/stat_sys_battery_86" android:maxLevel="86" />
<item android:drawable="@drawable/stat_sys_battery_87" android:maxLevel="87" />
<item android:drawable="@drawable/stat_sys_battery_88" android:maxLevel="88" />
<item android:drawable="@drawable/stat_sys_battery_89" android:maxLevel="89" />
<item android:drawable="@drawable/stat_sys_battery_90" android:maxLevel="90" />
<item android:drawable="@drawable/stat_sys_battery_91" android:maxLevel="91" />
<item android:drawable="@drawable/stat_sys_battery_92" android:maxLevel="92" />
<item android:drawable="@drawable/stat_sys_battery_93" android:maxLevel="93" />
<item android:drawable="@drawable/stat_sys_battery_94" android:maxLevel="94" />
<item android:drawable="@drawable/stat_sys_battery_95" android:maxLevel="95" />
<item android:drawable="@drawable/stat_sys_battery_96" android:maxLevel="96" />
<item android:drawable="@drawable/stat_sys_battery_97" android:maxLevel="97" />
<item android:drawable="@drawable/stat_sys_battery_98" android:maxLevel="98" />
<item android:drawable="@drawable/stat_sys_battery_99" android:maxLevel="99" />
<item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100" />
</level-list>
You will then need to save and close the file. Now that you have done that, it should mean that once you have flashed that file, you will have a different icon show for each percentage that the battery loses while it's discharging. Once that's done, you will need to do the same for stat_sys_battery_charge.xml and again every number from 0 to 100 needs its own line. Your end result should look like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_charge_anim0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim3" android:maxLevel="3" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim4" android:maxLevel="4" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim5" android:maxLevel="5" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim6" android:maxLevel="6" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim7" android:maxLevel="7" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim8" android:maxLevel="8" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim9" android:maxLevel="9" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim11" android:maxLevel="11" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim12" android:maxLevel="12" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim13" android:maxLevel="13" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim14" android:maxLevel="14" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim15" android:maxLevel="15" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim16" android:maxLevel="16" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim17" android:maxLevel="17" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim18" android:maxLevel="18" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim19" android:maxLevel="19" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim21" android:maxLevel="21" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim22" android:maxLevel="22" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim23" android:maxLevel="23" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim24" android:maxLevel="24" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim25" android:maxLevel="25" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim26" android:maxLevel="26" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim27" android:maxLevel="27" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim28" android:maxLevel="28" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim29" android:maxLevel="29" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim30" android:maxLevel="30" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim31" android:maxLevel="31" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim32" android:maxLevel="32" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim33" android:maxLevel="33" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim34" android:maxLevel="34" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim35" android:maxLevel="35" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim36" android:maxLevel="36" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim37" android:maxLevel="37" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim38" android:maxLevel="38" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim39" android:maxLevel="39" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim40" android:maxLevel="40" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim41" android:maxLevel="41" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim42" android:maxLevel="42" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim43" android:maxLevel="43" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim44" android:maxLevel="44" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim45" android:maxLevel="45" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim46" android:maxLevel="46" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim47" android:maxLevel="47" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim48" android:maxLevel="48" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim49" android:maxLevel="499" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim50" android:maxLevel="50" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim51" android:maxLevel="51" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim52" android:maxLevel="52" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim53" android:maxLevel="53" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim54" android:maxLevel="54" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim55" android:maxLevel="55" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim56" android:maxLevel="56" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim57" android:maxLevel="57" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim58" android:maxLevel="58" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim59" android:maxLevel="59" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim60" android:maxLevel="60" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim61" android:maxLevel="61" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim62" android:maxLevel="62" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim63" android:maxLevel="63" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim64" android:maxLevel="64" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim65" android:maxLevel="65" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim66" android:maxLevel="66" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim67" android:maxLevel="67" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim68" android:maxLevel="68" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim69" android:maxLevel="69" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim70" android:maxLevel="70" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim71" android:maxLevel="71" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim72" android:maxLevel="72" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim73" android:maxLevel="73" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim74" android:maxLevel="74" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim75" android:maxLevel="75" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim76" android:maxLevel="76" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim77" android:maxLevel="77" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim78" android:maxLevel="78" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim79" android:maxLevel="79" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim80" android:maxLevel="80" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim81" android:maxLevel="81" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim82" android:maxLevel="82" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim83" android:maxLevel="83" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim84" android:maxLevel="84" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim85" android:maxLevel="85" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim86" android:maxLevel="86" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim87" android:maxLevel="87" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim88" android:maxLevel="88" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim89" android:maxLevel="89" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim90" android:maxLevel="90" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim91" android:maxLevel="91" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim92" android:maxLevel="92" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim93" android:maxLevel="93" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim94" android:maxLevel="94" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim95" android:maxLevel="95" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim96" android:maxLevel="96" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim97" android:maxLevel="97" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim98" android:maxLevel="98" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim99" android:maxLevel="99" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim100" android:maxLevel="100" />
</level-list>
Again save and close the file. What you have just done will give you an icon for every percentage that the battery recharges. On JKay's Deluxe framework, the icon fills up every second or 2 and displays the percentage that it has charged to so far. I can show you how to do that, but it takes a lot more coding that what we have done above. If I get enough requests then I may do that for you, we'll see.
Ok so once you have edited and saved both of those files, you will need to go back to the main folder of APK Tool and click on Script.bat . Once that opens, choose option 22 again and press enter. When you see the list of apks that are available for modding, type the number to the left of SystemUI.apk and press enter.
You should now be back on the main screen of the script. Type 11 for Compile apk and press enter. The words Building apk should now appear down the bottom of the script screen. Be patient, this can sometimes take a while.
Once it has finished building (you shouldn't get any errors) it will ask 'Is this a system apk?' to which you type y and press enter.
After you do this it will ask 'Aside from the signatures, would you like to copy over any additional files that you didn't modify from the original apk in order to ensure least # of errors' to which you type n and press enter.
Then APK Tool will do it's thing and you will be back on the main screen of the script. Close the script window and double click on the place-apk-here-for-modding folder. When inside that folder you should have a new apk called unsignedSystemUI.apk which is your newly modified apk. You will need to right click on this, hover over 7Zip and select Open archive.
When the new window opens, double click on res, then drawable and highlight stat_sys_battery.xml and stat_sys_battery_charge.xml and drag them both either onto your desktop or into a separate Mods folder (or something simliar). We will need to use these files soon.
There are 2 ways to apply the changes to your phone. You can either use a flashable zip (which I have attached), you can take the xml files out of this new apk and drop them into your original apk, push it to /system/app, change the permissions and restart your phone.
The first one is the one I use, it is the most easy for me. The flashable zip that I have attached is a VRTheme zip.
Flashable Zip
What you need to do is save the zip onto your computer and open the archive with 7Zip. When that opens, double click on vrtheme, then double click on system, then double click on app. Again you will see a folder called SystemUI.apk.
Double click on SystemUI.apk then double click on res and you will see 2 folders, drawable and drawable-hdpi.
You need to drag the 2 xml files that we just took out of our modded apk into drawable and then you need to drag all of your battery icons into drawable-hdpi.
*EDIT* I've been told by a very knowledgable source (thanks Spannaa) that it's a good idea to include the new resources.arsc into the zip because if you ever decompile SystemUI.apk again, any of the PNGs that are not in the original apk will be removed. When including resources.arsc to the zip file it needs to be added without compression. I use Winrar just for resources.arsc when creating new flashable zips.
Now you need to close the archive window. This will save the zip file. Then connect your phone to the computer, drag the zip file onto the internal SD card of the phone and wait for the media scanning to complete. Then you can reboot to recovery, flash the zip file and reboot the phone and you should see your nice new % battery icons. Done!
The second way that you can apply the changes to your phone is to drag the newly modded xml files and the icons into the original SystemUI.apk and push that to /system/app. Ok so what you have to do is go into the APK Tool main folder and then double click on place-apk-here-for-modding. Find SystemUI.apk and copy it onto your desktop.
Then you need to right click on SystemUI.apk, hover over 7Zip and click Open archive.
When this opens you need to double click on res. If you haven't already done it, then double click on drawable-hdpi and drag all of the battery icons that you have downloaded/made into the folder. Once that's done, go back one level to res.
Now double click on drawable. Drag your modified stat_sys_battery.xml and stat_sys_battery_charge.xml into this folder. Now close the window.
Connect your phone to the computer and open the explorer that allows you to see what's in your phone on your computer screen. Now drag your newly modded SystemUI.apk into your phone's internal SD card folder.
Once this is done you can unplug the phone from the computer & open up your file explorer. Navigate to your newly modded SystemUI.apk & move it to /system. Once that is done navigate to /system.
Now find the SystemUI.apk that you have modified & long press on it to bring up the menu. Click on Properties.
When you click on Properties a new window will open up which looks like this.
Notice how the permissions are set to rw- rw- rw-? This needs to be changed. So click on the Change button.
Once you have done that, you will see a new window which looks like the screenshot with a bunch of check boxes and ticks in some of them. We need to uncheck the ticks in the write column in the Group row and the Other row. Yours should now look like this. Click OK.
Now notice how the permissions have changed to rw- r-- r--?This is what we want.
Now long press on SystemUI.apk and select Move To and move it to /system/app.
A window will appear asking if you are sure that you want to overwrite your existing SystemUI.apk. Click yes.
Now restart the phone. And once it reboots, you will be left with your new % battery icon!
I hope you found this guide helpful. If you did you may click the Thanks button to show your appreciation. If you don't want to then that is fine, a simple reply to the thread to let me know if it worked for you would make me happy.
A few thanks are needed to be given:
shayne77 - for his Battery Mod Tool
_JKay_ - for his brilliant Deluxe framework and Deluxe Settings apk
Spannaa - for giving me the knowledge to do this guide and for being an all around helpful awesome guy
Thanks XDA, enjoy.
Dave
unzip systemUI.apk tahn put your images of battery in res/drawable-hdpi ( that will about 204)
zip again sign it with an signer and done
Update
I just updated the 3rd post of this guide with a bit of new information about resources.arsc (thanks again Spannaa) so if anyone has used the guide to create a % battery in their ROM then please have a look at the edit in the 3rd post.
Cheers,
Dave
Or you could use UOT Kitchen
Awesome guide for newbies though
Sent from my Ace 2 running 4.1.2 JB
Fzee said:
Or you could use UOT Kitchen
Awesome guide for newbies though
Click to expand...
Click to collapse
I'd say the opposite - it's much better to learn how to mod stuff yourself.
UOT is great for people who can't...

{Guide} How to change black background of all Android apps

How to change black background for all apps​
Hope you must have got boared of your default Black Android Backgrounds of almost all system application UIs. And If you really fed up of it...then let's change it by making a few small edits to framework-res.apk/res/values/styles.xml
This gonna affect MOST of the Black Background you see in Android (e.g. Settings, Contacts, Mms, Installer etc.)
It would be with the exception of certain apps that use their own backgrounds...!! so all newbies get ready to theme your own apps..
Click to expand...
Click to collapse
Difficulty Level : Medium
HOW TO DO IT
# just follow simple instruction..!!
Click to expand...
Click to collapse
1. Decompile framework-res.apk
[and please Dont ask me How to Decompile & Recompile an APK find a separate post on the same]
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
Code:
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_dark<item>
with
Code:
<item name="windowBackground">@drawable/mybackground</item>
6. Locate <style name="Theme.Black" parent="@style/Theme">
7. Replace
<item name="colorBackground">@color/black</item>
with
Code:
<item name="colorBackground">@color/transparent</item>
8. Replace
<item name="windowBackground">@color/black</item>
with
Code:
<item name="windowBackground">@drawable/mybackground</item>
9. For MDPI Devices:Create a .png with resolution 320x480 as you like, rename it as mybackground.png and place it in drawable-mdpi folder
For HDPI Devices:Create a .png with resolution 480x800 as you like, rename it as mybackground.png and place it in drawable-mdpi folder
10. Recompile framework-res.apk and Push it using Adb or using some Flashable Zip.
Note:-
Always create a backup of your Application and ROM before Making any modifications!!!
Click to expand...
Click to collapse
Hit thanks to Motivate me​

[GUIDE][Ultimate]Theme Apps To Dark Theme | Theme Whole System | Newbies Here! 16/11

Please Welcome My New & The First & The Ultimate Guide For Full Dark Theming On LP!.
I Recommend To Drink Coffee Before Starting And Playing A Startset Song ​
Notes :
I've Really Worked Hard on this, And i would like a hand to help me in fixing the Bugs.
This Guide is tested on Xperia Z1 Lollipop 5.1, LP 5.0 Will be different.
Don't request to Theme your apps, Here's the guide don't be a lazy person .
There are some new modifications on new updated apps, Check this post here for updated guides .
Bugs :
SemcEmail, Days BG & Sender BG In White .
Phonebook, Numbers Field BG In White ( Dialer Section ) .
Clock Buttons In White.
SmallAppLauncher Option In White .
Phonebook Favorites In White & Contact Info In Black .
Clock, The Analog Clock In Black . @jitz975 thanks bro!
Black Text in Battery Usage. @Rajeev thanks bro :highfive:
To Theme List :
Setup Wizard .
SystemUI Notifications .
Sketch .
Index :
Calculator
Calendar
Clock
Home
InCallUI
LockscreenSettings-release (LS Settings)
Messages
Notes
Package-Installer
Phonebook
SemcEmail
SemcSettings (SystemUI Quick Settings Icons)
Settings - Connectivity (enhancedusbux,DualShock3,SomcAutoPairing,SomcDlna,SomcMirrorLinkManualSwitch,SomcPlayAnywhere,SomcSeamlessTethering,SomcWifiDisply)
Skin-Core-Release (Theme Picker)
Small App Launcher
Sound Enhancment
Sound-Picker
Telecom (Xperia Call Machine)
TeleService (Call Settings Option & Emergency Dialer)
Update Center
White Balance
SystemUI
Caculator - Full App Theming :
Navigate To res/values/colors.xml, Make the values like this :
[HTML
<color name="pad_numeric_background_color">#303030</color>
<color name="pad_operator_background_color">#525252</color>
<color name="display_formula_text_color">#6cffffff</color>
<color name="display_result_text_color">#6cffffff</color>
<color name="display_background_color">#303030</color>[/HTML]
Calendar - Full App Theming :
Download The Following Colors.xml From Here, Compare it with yours and make the changes.
Download the Following Drawable Folder From Here, Replace it with yours, Modify if you are xhdpi or hdpi with the same style.
Navigate to res/values/styles.xml, And Do The Following :
Find
HTML:
<style name="CalendarTheme.WithActionBar" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="CalendarTheme.WithActionBar" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="EditInfo_BtnLayout" parent="@android:style/Widget.DeviceDefault.Light.Button">
Replace To
HTML:
<style name="EditInfo_BtnLayout" parent="@android:style/Widget.DeviceDefault.Button">
Find
HTML:
<style name="NotificationSecondaryText" parent="@android:style/TextAppearance.Holo">
Replace To
HTML:
<style name="NotificationSecondaryText" parent="@android:style/TextAppearance.DeviceDefault">
Find
HTML:
<style name="AvailabilityButton" parent="@android:style/Widget.DeviceDefault.Light.Button">
Replace To
HTML:
<style name="AvailabilityButton" parent="@android:style/Widget.DeviceDefault.Button">
Find
HTML:
<style name="ToolbarDark">
<item name="android:theme">@android:style/ThemeOverlay.Material.Dark.ActionBar</item>
<item name="android:popupTheme">@android:style/ThemeOverlay.Material.Light</item>
</style>
Replace To
HTML:
<style name="ToolbarDark">
<item name="android:theme">@android:style/ThemeOverlay.Material.ActionBar</item>
<item name="android:popupTheme">@android:style/ThemeOverlay.Material</item>
</style>
Find
HTML:
<style name="AppBaseTheme" parent="@android:style/Theme.Light" />
Replace To
HTML:
<style name="AppBaseTheme" parent="@android:style/Theme" />
Find
HTML:
<style name="CalendarTitleTheme" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="CalendarTitleTheme" parent="@android:style/Theme.DeviceDefault">
Clock - Full App Theming
Navigate To res/values/colors.xml, Make the values like this :
HTML:
<color name="snooze_text_color">#ffffffff</color>
<color name="list_color_enabled">#cccccc</color>
<color name="reset_button_color">#212121</color>
<color name="weekdays_color_disabled">#a8a8a8</color>
Navigate to res/drawable, Open button_start.xml, Replace startColor & endColor values to this :
HTML:
#969696
Navigate to res/drawable, Open button_stop.xml, Replace startColor & endColor values to this :
HTML:
#c9c9c9
Navigate to res/values/styles.xml, Do The Following :
Find
HTML:
<style name="AppBaseTheme" parent="@android:style/Theme.Light" />
Replace To
HTML:
<style name="AppBaseTheme" parent="@android:style/Theme.DeviceDefault" />
Find
HTML:
<style name="alarm_alert" parent="@android:style/Theme.Dialog">
Replace To
HTML:
<style name="alarm_alert" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="TimePickerDialogTheme" parent="@android:style/Theme.DeviceDefault.VoiceInteractionSession">
Replace To
HTML:
<style name="TimePickerDialogTheme" parent="@android:style/Theme.DeviceDefault.VoiceInteractionSession">
Find
HTML:
<style name="OrganizerDefaultTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="OrganizerDefaultTheme" parent="@android:style/Theme.DeviceDefault">
Making Analog Clock In White, Thanks @jitz975 :
Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogClock.smali
Search for this line or code "0xc1c1c2"
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->strokePaint:Landroid/graphics/Paint;
and change this below line
Code:
const v1, -0xc1c1c2
to this
Code:
const v1, -0x3e3e3f
Search for this line
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v2, -0xcccccd
to this
Code:
const v2, -0x1
Search for this line
Code:
iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v3, -0xcccccd
to this
Code:
const v3, -0x1
Search for this line(Again same code)
Code:
iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v3, -0xcccccd
to this
Code:
const v3, -0x1
Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogTimer.smali
Search for this
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v2, -0xcccccd
to this
Code:
const v2, -0x1
Search for this
Code:
iget-object v5, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v6, -0xcccccd
to this
Code:
const v6, -0x1
Navigate to smali\cpm\sonyericson\orgaizer\components\StopwatchClock.smali
Search for this
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/StopwatchClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v1, -0xcccccd
to this
Code:
const v1, -0x1
Home - Launcher Settings Theming ONLY
Open AndroidManiFest.xml, Do The Following :
Find
HTML:
<activity android:label="@string/interal_settings_activity_title" android:launchMode="singleTop" android:name="com.sonymobile.home.settings.HomeSettingsActivity" android:theme="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<activity android:label="@string/interal_settings_activity_title" android:launchMode="singleTop" android:name="com.sonymobile.home.settings.HomeSettingsActivity" android:theme="@android:style/Theme.DeviceDefault">
Messages - Full App Theming
Ignore the colors.xml in the package on ThinkDroid, And Download THIS, Compare it with yours.
Extra - Modify This Color :
HTML:
<color name="conversations_list_footer_background_color"> #2b2b2b</color>
Now, navigate to res/values/styles.xml, do the following :
Find
HTML:
<style name="EditorialTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
<style name="EditorialTheme.Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.MinWidth">
<style name="EditorialTheme.Settings" parent="@android:style/Theme.DeviceDefault.Settings">
<style name="EditorialActionBarTransparent" parent="@android:style/Widget.Material.Light.ActionBar.Solid">
<style name="EditorialListViewStyle" parent="@android:style/Widget.Material.Light.ListView">
<item name="android:popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item>
Replace To
HTML:
<style name="EditorialTheme" parent="@android:style/Theme.DeviceDefault">
<style name="EditorialTheme.Dialog" parent="@android:style/Theme.DeviceDefault.Dialog.MinWidth">
<style name="EditorialTheme.Settings" parent="@android:style/Theme.DeviceDefault">
<item name="android:colorBackground">#303030</item>
<style name="EditorialActionBarTransparent" parent="@android:style/Widget.Material.ActionBar.Solid">
<style name="EditorialListViewStyle" parent="@android:style/Widget.Material.ListView">
<item name="android:popupMenuStyle">@android:style/Widget.Holo.PopupMenu</item>
[B @NFS_FM , Thanks .[/B]
Delete All "tint" references in spinner_background_tinted.xml
"Push settings" are controlled by WapPush. Its theme is located at AndroidManifest.xml, change it to android:theme="@android:style/Theme.DeviceDefault"
InCallUI - Full App Theming
Download The Following Colors.xml From Here, Compare it with yours and make the changes.
Find
HTML:
<style name="ListViewStyle" parent="@android:style/Widget.Material.Light.ListView">
Replace To
HTML:
<style name="ListViewStyle" parent="@android:style/Widget.Material.ListView">
Find
HTML:
<style name="ContactListFilterTheme" parent="@android:style/Theme.Holo.Light">
Replace To
HTML:
<style name="ContactListFilterTheme" parent="@android:style/Theme.Holo">
Find
HTML:
<style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo.Light">
Replace To
HTML:
<style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo">
Find
HTML:
<style name="Theme.InCallScreen" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="Theme.InCallScreen" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="InCallPopupMenuStyle" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="InCallPopupMenuStyle" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="InCallActionBarStyle" parent="@android:style/Widget.Material.Light.ActionBar">
Replace To
HTML:
<style name="InCallActionBarStyle" parent="@android:style/Widget.Material.ActionBar">
Find
HTML:
<style name="InCallActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault.Light.DarkActionBar</item>
</style>
Replace To
HTML:
<style name="InCallActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault</item>
</style>
Find
HTML:
<style name="SomcTestUIActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar">
Replace To
HTML:
<style name="SomcTestUIActionBarStyle" parent="@android:style/Widget.Holo.ActionBar">
LockscreenSettings-release Settings Theming ONLY
Open AndroidManiFest.xml, Do The Following :
Find
HTML:
<application android:allowBackup="true" android:hardwareAccelerated="true" android:label="@string/lockscreen_app_name" android:requiredForAllUsers="true" android:supportsRtl="true" android:theme="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<application android:allowBackup="true" android:hardwareAccelerated="true" android:label="@string/lockscreen_app_name" android:requiredForAllUsers="true" android:supportsRtl="true" android:theme="@android:style/Theme.DeviceDefault">
Notes - Full App Theming
Download The Following Drawable From Here, Replace it with Yours.
Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="notes_default_bg_color">#303030</color>
<color name="notes_default_text_color">#ffffffff</color>
[*}Navigate to res/values/styles.xml, Do The Following :
Find
HTML:
<style name="CustomActionBarStyle" parent="@android:style/Widget.DeviceDefault.Light.ActionBar.Solid">
Replace To
HTML:
<style name="CustomActionBarStyle" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">
Find
HTML:
<style name="SEMCNotesTheme" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.Light.ActionBar.Solid</item>
Replace To
HTML:
<style name="SEMCNotesTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.ActionBar.Solid</item>
Find
HTML:
<style name="TextSmallSecondary" parent="@style/TextSmallInverse">
<item name="android:textColor">?android:textColorSecondary</item>
Replace To
HTML:
<style name="TextSmallSecondary" parent="@style/TextSmallInverse">
<item name="android:textColor">#b3ffffff</item>
Package Installer - Full App Theming
Navigate to res/values/styles.xml, Do The Following :
Find
HTML:
<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.Light.DialogWhenLarge.NoActionBar" />
Replace To
HTML:
<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.DialogWhenLarge.NoActionBar" />
Find
HTML:
<style name="Theme.AlertDialogActivity" parent="@android:style/Theme.DeviceDefault.Light.Panel">
Replace To
HTML:
<style name="Theme.AlertDialogActivity" parent="@android:style/Theme.DeviceDefault.Panel">
Phonebook - Full App Theming
Download the Following Drawable Folder From Here, Replace it with yours, Modify if you are xhdpi or hdpi with the same style.
Color this drawable to "#414141", "ic_hint_bg.9", And you may need to re-color some icons to white.
[*\Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="common_signin_btn_light_text_default">#ffffffff</color>
<color name="common_signin_btn_light_text_disabled">#b3ffffff</color>
<color name="generic_primary_background_color">#303030</color>
<color name="generic_secondary_background_color">#303030</color>
<color name="dialpad_text_color">#ffffffff</color>
<color name="icon_overlay_text_color">#ffffffff</color>
<color name="quickcontact_list_background">#303030</color>
<color name="background_primary">#303030</color>
<color name="call_button_container_color">#303030</color>
<color name="smart_search_background_color">#303030</color>
<color name="add_edit_account_chooser_background">#303030</color>
<color name="cardview_light_background">#303030</color>
<color name="expanding_entry_card_button_text_color">@android:color/white</color>
<color name="expanding_entry_card_default_text_and_icon_color">@android:color/white</color>
<color name="card_margin_color">#4a4a4a</color>
<color name="quickcontact_name_detail_background">@android:color/white</color>
<color name="quickcontact_entry_sub_header_text_color">@android:color/white</color>
Now, Navigate to res/values/styles.xml, Make the following :
Find
HTML:
<style name="ListViewStyle" parent="@android:style/Widget.DeviceDefault.Light.ListView">
Replace To
HTML:
<style name="ListViewStyle" parent="@android:style/Widget.DeviceDefault.ListView">
Find
HTML:
<style name="Theme.QuickContact" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="Theme.QuickContact" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="ContactsAlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">
Replace To
HTML:
<style name="ContactsAlertDialogTheme" parent="@android:style/Theme.Material.Dialog">
Find
HTML:
<style name="Dialpad.DigitText" parent="@style/Dialpad">
<item name="android:textColor">?android:colorPrimary</item>
</style>
Replace To
HTML:
<style name="Dialpad.DigitText" parent="@style/Dialpad">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="ContactEditorGroupListTheme" parent="@android:style/Widget.DeviceDefault.Light.Spinner">
Replace To
HTML:
<style name="ContactEditorGroupListTheme" parent="@android:style/Widget.DeviceDefault.Spinner">
Find
HTML:
<style name="SelectableItem" parent="@android:style/Theme.Material.Light">
Replace To
HTML:
<style name="SelectableItem" parent="@android:style/Theme.Material">
Find
HTML:
<style name="ContactsActionBarOverflow" parent="@android:style/Widget.Material.Light.ActionButton.Overflow" />
Replace To
HTML:
<style name="ContactsActionBarOverflow" parent="@android:style/Widget.Material.ActionButton.Overflow" />
Find
HTML:
<style name="ContactsActionBarTabTextStyle" parent="@android:style/Widget.Material.Light.ActionBar.TabText">
Replace To
HTML:
<style name="ContactsActionBarTabTextStyle" parent="@android:style/Widget.Material.ActionBar.TabText">
Find
HTML:
<style name="Widget.Button.Spb" parent="@android:style/Widget.DeviceDefault.Light.Button">
Replace To
HTML:
<style name="Widget.Button.Spb" parent="@android:style/Widget.DeviceDefault.Button">
Find
HTML:
<style name="SemcActionBarMenuTextAppearance" parent="@android:style/Widget.DeviceDefault.Light.ActionBar.Solid">
Replace To
HTML:
<style name="SemcActionBarMenuTextAppearance" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">
Find
HTML:
<style name="BackgroundOnlyTheme" parent="@android:style/Widget.DeviceDefault.Light">
Replace To
HTML:
<style name="BackgroundOnlyTheme" parent="@android:style/Widget.DeviceDefault">
Find
HTML:
<style name="ListSeparatorBoxTextViewStyle">
<item name="android:textColor">?android:colorPrimary</item>
</style>
Replace To
HTML:
<style name="ListSeparatorBoxTextViewStyle">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="Theme.Spb.Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<item name="android:popupTheme">@android:style/ThemeOverlay.Material.Light</item>
Replace To
HTML:
<item name="android:popupTheme">@android:style/ThemeOverlay.Material</item>
Add " android:background="#ff303030" " to dialpad.xml in res/layout, right after "<LinearLayout androidrientation="vertical" android:id="@id/dialpad""
Add " android:background="#ff303030" " to dialpad_fragment.xml in res/layout, instead of "@color/call_button_container_color".
Add android:background="#303030" to group_detail_member_item.xml, after " android:id="@id/contacts_list_item" .
Add android:textColor="#ffffffff" to group_detail_member_item.xml, before android:id="@id/list_item_status" .
Add android:textColor="#ffffffff" to group_detail_member_item.xml, before android:id="@id/list_item_name" .
Replace background value with #303030 in dial_background.xml .
SemcEmail - Full App Theming
Download The Following Drawable From Here, Replace it with Yours.
Download The Following Colors.xml From Here, Compare it with yours and make the changes. NOTE:CHANGE THESE LINES TO THESE VALUES :
HTML:
<color name="message_view_background_color">#303030</color>
<color name="message_unread_background">#4a4a4a</color>
Now,Navigate to res/values/styles.xml, Do The Following :
Find
HTML:
<style name="EmailTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="EmailTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="PlainEditText" parent="@android:style/Widget.Holo.Light.EditText">
Replace To
HTML:
<style name="PlainEditText" parent="@android:style/Widget.Holo.EditText">
Find
HTML:
<style name="message_view_tab" parent="@android:style/Widget.DeviceDefault.Light.Tab">
Replace To
HTML:
<style name="message_view_tab" parent="@android:style/Widget.DeviceDefault.Tab">
Find
HTML:
<style name="MessageViewHeaderButton" parent="@android:style/Widget.DeviceDefault.Light.Button">
Replace To
HTML:
<style name="MessageViewHeaderButton" parent="@android:style/Widget.DeviceDefault.Tab">
Find
HTML:
<style name="AccountSetupProgressDialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="AccountSetupProgressDialog" parent="@android:style/Theme.DeviceDefault.Dialog">
Now,Open AndroidManiFest.xml, Do The Following :
Find
HTML:
<activity android:name=".activity.Welcome" android:theme="@android:style/Theme.DeviceDefault.Light.Panel">
Replace To
HTML:
<activity android:name=".activity.Welcome" android:theme="@android:style/Theme.DeviceDefault.Panel">
Find
HTML:
<activity android:launchMode="singleTask" android:name=".activity.CriticalIncidentNotifier" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog"/>
Replace To
HTML:
<activity android:launchMode="singleTask" android:name=".activity.CriticalIncidentNotifier" android:theme="@android:style/Theme.DeviceDefault.Dialog"/>
Find
HTML:
<activity android:enabled="false" android:name=".activity.ShortcutPicker" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<activity android:enabled="false" android:name=".activity.ShortcutPicker" android:theme="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<activity android:configChanges="keyboardHidden|orientation|screenSize" android:enabled="false" android:excludeFromRecents="true" android:name=".widget.WidgetConfiguration" android:taskAffinity="" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<activity android:configChanges="keyboardHidden|orientation|screenSize" android:enabled="false" android:excludeFromRecents="true" android:name=".widget.WidgetConfiguration" android:taskAffinity="" android:theme="@android:style/Theme.DeviceDefault.Dialog">
In message_list_view_fragment_common.xml, Make the value like this :
HTML:
android:background="#242424"
In section_overlay_themed.xml, Make the value like this :
HTML:
android:color="#303030"
In messagelist_item_swipe_to_organize_ui.xml, Make the value like this :
HTML:
android:background="#303030"
In mailbox_list_fragment.xml, Make the value like this :
HTML:
android:background="#303030"
In message_view_pager.xml, Make the value in the last line, like this :
HTML:
android:background="#303030"
In email_activity_one_pane.xml, Make the value like this :
HTML:
android:background="#303030"
In message_compose.xml, Make the value in the first line, like this :
HTML:
android:background="#303030"
In raised_button.xml, Make the Value like this :
HTML:
android:color="#303030"
In message_list_last_update.xml, Make the Value like this :
HTML:
android:background="#b0b0b0"
Thanks to @NFS_FM
Modify account_setup_password_field.xml Like this :
HTML:
<View android:id="@id/dummy_password_divider" android:background="#3f3f3f"
Modify account_setup_email_field.xml :
HTML:
<View android:background="#3f3f3f"
Modify account_setup_divider.xml :
HTML:
<View android:background="#3f3f3f"
Modify account_setup_protocol_selector.xml:
HTML:
<View android:background="#3f3f3f"
Modify simple_list_item.xml:
HTML:
<View android:layout_gravity="bottom" android:background="#3f3f3f"
Modify waiting_for_sync_message.xml:
HTML:
android:id="@id/waiting_for_sync_message" android:background="@android:drawable/dialog_holo_dark_frame"
Modify message_list_titlebar_divider.xml:
HTML:
android:id="@id/message_list_header_container" android:background="#000000"
Modify message_list_last_update.xml:
HTML:
android:id="@id/last_update_container" android:background="#149dea"
Modify attachment_collaped.xml:
HTML:
somc:drawable="@drawable/ic_attachment_holo_dark" somc:color="@android:color/white"
Install The Following Drawable, and replace it with yours ( if found ) .
SemcSettings - Full Appp Theming
Download The Following Drawable From Here, Replace it with Yours.
Navigate to res/values/styles.xml, Do the Following :
Find
HTML:
<style name="SEMCSettings" parent="@android:style/Theme.DeviceDefault.Settings" />
Replace To
HTML:
<style name="SEMCSettings" parent="@android:style/Theme.DeviceDefault" />
Settings - Full App Theming
Download The Following Drawable From Here, Replace it with Yours.
Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="dashboard_background_color">#303030</color>
<color name="wifi_divider">#303030</color>
<color name="setup_wizard_navbar_bg_dark">#303030</color>
<color name="divider_color">#303030</color>
<color name="setup_divider_color_dark">#303030</color>
Now, Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="setup_wizard_navbar_style">
<item name="android:background">?setup_wizard_navbar_bg_color</item>
</style>
Replace To
HTML:
<style name="setup_wizard_navbar_style">
<item name="android:background">#303030</item>
</style>
Find
HTML:
<style name="setup_wizard_navbar_button_style" parent="@android:style/Widget.Material.Button.Borderless">
<item name="android:background">@drawable/setup_wizard_navbar_btn_bg</item>
</style>
Replace To
HTML:
<style name="setup_wizard_navbar_button_style" parent="@android:style/Widget.Material.Button.Borderless">
<item name="android:background">#303030</item>
</style>
Find
HTML:
<style name="StaminaItemLabel">
<item name="android:textColor">?android:textColorPrimary</item>
</style>
Replace To
HTML:
<style name="StaminaItemLabel">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="TextAppearance.PasswordEntry" parent="@style/TextAppearance">
<item name="android:textColor">?android:textColorPrimary</item>
</style>
Replace To
HTML:
<style name="TextAppearance.PasswordEntry" parent="@style/TextAppearance">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="TopDivider">
<item name="android:background">?setup_divider_color</item>
</style>
Replace To
HTML:
<style name="TopDivider">
<item name="android:background">#303030</item>
</style>
Find
HTML:
<style name="wifi_item_label">
<item name="android:textColor">?android:textColorSecondary</item>
</style>
Replace To
HTML:
<style name="wifi_item_label">
<item name="android:textColor">#b3ffffff</item>
</style>
Find
HTML:
<style name="wifi_item_content">
<item name="android:textColor">?android:textColorPrimary</item>
</style>
Replace To
HTML:
<style name="wifi_item_content">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="SecurityPreferenceButtonContainer" parent="@android:style/DeviceDefault.Light.SegmentedButton">
<style name="SecurityPreferenceButton" parent="@android:style/Widget.DeviceDefault.Light.Button.Borderless">
<style name="Widget.TimePicker" parent="@android:style/Widget.DeviceDefault.Light.TimePicker">
Replace To
HTML:
<style name="SecurityPreferenceButtonContainer" parent="@android:style/DeviceDefault.SegmentedButton">
<style name="SecurityPreferenceButton" parent="@android:style/Widget.DeviceDefault.Button.Borderless">
<style name="Widget.TimePicker" parent="@android:style/Widget.DeviceDefault.TimePicker">
Find
HTML:
<style name="SetupWizardTheme.Light" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
<item name="android:alertDialogTheme">@style/Theme.Light.WifiDialog</item>
<item name="ic_menu_add">@drawable/ic_menu_add_light</item>
<item name="ic_wps">@drawable/ic_wps_light</item>
<item name="setup_divider_color">@color/setup_divider_color_light</item>
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_light</item>
<item name="wifi_signal">@drawable/wifi_signal_light</item>
</style>
Replace To
HTML:
<style name="SetupWizardTheme.Light" parent="@android:style/Theme.DeviceDefault.NoActionBar">
<item name="android:alertDialogTheme">@style/Theme.WifiDialog</item>
<item name="ic_menu_add">@drawable/ic_menu_add_dark</item>
<item name="ic_wps">@drawable/ic_wps_dark</item>
<item name="setup_divider_color">@color/setup_divider_color_dark</item>
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_dark</item>
<item name="wifi_signal">@drawable/wifi_signal_dark</item>
</style>
Find
HTML:
<style name="Theme.Light.WifiDialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert">
<item name="ic_menu_add">@drawable/ic_menu_add_light</item>
<item name="ic_wps">@drawable/ic_wps_light</item>
<item name="wifi_signal">@drawable/wifi_signal_light</item>
</style>
Replace To
HTML:
<style name="Theme.Light.WifiDialog" parent="@android:style/Theme.DeviceDefault.Dialog.Alert">
<item name="ic_menu_add">@drawable/ic_menu_add_dark</item>
<item name="ic_wps">@drawable/ic_wps_dark</item>
<item name="wifi_signal">@drawable/wifi_signal_dark</item>
</style>
Find
HTML:
<style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault.Settings" />
Replace To & Add
HTML:
<style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault" />
<item name="android:textColorPrimary">#ffffffff</item>
<item name="android:textColorSecondary">#b3ffffff</item>
Find
HTML:
<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.Settings">
<style name="Theme.CryptKeeper" parent="@android:style/Theme.DeviceDefault.Settings">
<style name="Theme.AlertDialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert">
Replace To
HTML:
<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault">
<style name="Theme.CryptKeeper" parent="@android:style/Theme.DeviceDefault">
<style name="Theme.AlertDialog" parent="@android:style/Theme.DeviceDefault.Dialog.Alert">
Find
HTML:
<style name="VertDivider">
<item name="android:background">@color/divider_color</item>
</style>
Replace To
HTML:
<style name="VertDivider">
<item name="android:background">#303030</item>
</style>
In Layout/Dashboard_Category, Replace The " background " to this
HTML:
android:background="#303030"
In Layout/battery_history_chart, Replace android:textcolor to this
HTML:
android:textColor="#ffffffff"
In Layout/preference, repalce the first android:textcolor with primary, and the second one with secondary
HTML:
android:textColor="?android:textColorPrimary"
android:textColor="?android:textColorSecondary"
In Layout/Stamina_battery_time, replace all the android:textcolor with this :
HTML:
android:textColor="?android:textColorSecondary"
Settings - Connectivity Options Theming
enhancedusbux - USB Connectivity Option
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="settings" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="settings" parent="@android:style/Theme.DeviceDefault">
DualShock3 - ( data/app/com.sony.nfx.service.WirelessControllerManagerService.apk ) - Full App Theming
Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="black87percent">#ddffffff</color>
<color name="black54percent">#89ffffff</color>
<color name="black26percent">#42ffffff</color>
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="settings" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="settings" parent="@android:style/Theme.DeviceDefault">
This code in the last line of Styles.xml .​
SomcAutoPairing - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="OtsAppThemeBase" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="OtsAppThemeBase" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="OtsTabletActionBar" parent="@android:style/Widget.DeviceDefault.Light.ActionBar.Solid">
Replace To
HTML:
<style name="OtsTabletActionBar" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">
Find
HTML:
[HTML]<style name="TranslucentStyle" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
Replace To
HTML:
<style name="TranslucentStyle" parent="@android:style/Theme.DeviceDefault.NoActionBar">
SomcDlna - Full App Theming
Open AndroidManiFest.xml, Do the following :
Find
HTML:
<activity android:configChanges="keyboardHidden|orientation|screenSize" android:enabled="false" android:excludeFromRecents="true" android:launchMode="singleTop" android:name="com.sonyericsson.dlna.cta.CtaActivity" android:screenOrientation="user" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog"/>
Replace To
HTML:
<activity android:configChanges="keyboardHidden|orientation|screenSize" android:enabled="false" android:excludeFromRecents="true" android:launchMode="singleTop" android:name="com.sonyericsson.dlna.cta.CtaActivity" android:screenOrientation="user" android:theme="@android:style/Theme.DeviceDefault.Dialog"/>
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="DlnaTheme" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="DlnaTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="DlnaTheme.NoActionBar.TranslucentDecor" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor">
Replace To
HTML:
<style name="DlnaTheme.NoActionBar.TranslucentDecor" parent="@android:style/Theme.DeviceDefault.NoActionBar.TranslucentDecor">
SomcMirrorLink - Full App Theming :
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="MirrorLinkManualSwitchTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="MirrorLinkManualSwitchTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="MirrorLinkManualSwitchDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="MirrorLinkManualSwitchDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="MirrorLinkSettingsTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="MirrorLinkSettingsTheme" parent="@android:style/Theme.DeviceDefault">
SomcPlayAnywhere - Full App Theming
Navigate to res/values/colors.xml, Make the valeus like this :
HTML:
<color name="setting_background_color">#303030</color>
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="PlayAnywhereTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="PlayAnywhereTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="ThrowSettingTheme_isNotHomeAsUpEnabled" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="ThrowSettingTheme_isNotHomeAsUpEnabled" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="ThrowSettingTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="ThrowSettingTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="DeviceCardProgressTheme" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="DeviceCardProgressTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="DeviceCardProgressDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="DeviceCardProgressDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="GuidancesTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="GuidancesTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="DeviceCardAlreadyDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="DeviceCardAlreadyDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="Translucent" parent="@android:style/Theme.Holo.Light">
Replace To
HTML:
<style name="Translucent" parent="@android:style/Theme.Holo">
Find
HTML:
<style name="CtaDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="CtaDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
SomcSeamlessTethering - Full App Theming :
Navigate to res/values/style.xml, Do the following :
Find
HTML:
<style name="Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
</style>
Replace To
HTML:
<style name="Dialog" parent="@android:style/Theme.DeviceDefault.Dialog">
</style>
Find
HTML:
<style name="DialogLegacy" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
</style>
Replace To
HTML:
<style name="DialogLegacy" parent="@android:style/Theme.DeviceDefault.Dialog">
</style>
Find
HTML:
<style name="Default" parent="@android:style/Theme.DeviceDefault.Light">
</style>
Replace To
HTML:
<style name="Default" parent="@android:style/Theme.DeviceDefault">
</style>
SomcWifiDisplay - Full App Theming
Navigate to res/values/style.xml, Do the following :
Find
HTML:
<style name="App" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="App" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="Black" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.Fullscreen">
Replace To
HTML:
<style name="Black" parent="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen">
Find
HTML:
<style name="Transparent" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="Transparent" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="NotificationButton" parent="@android:style/Widget.Material.Light.Button.Borderless.Small" />
Replace To
HTML:
<style name="NotificationButton" parent="@android:style/Widget.Material.Button.Borderless.Small" />
Skin-Core-Release - Full App Theming
Download The Following Drawable From Here, Replace it with Yours.
Navigate to res/values/styles.xml, Do The Following :
Find
HTML:
<style name="Theme.Picker.Base" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar" />
Replace To
HTML:
<style name="Theme.Picker.Base" parent="@android:style/Theme.DeviceDefault" />
Find
HTML:
<style name="common_subheader" parent="@android:style/Widget.DeviceDefault.Light.TextView">
Replace To
HTML:
<style name="common_subheader" parent="@android:style/Widget.DeviceDefault.TextView">
Find
HTML:
<style name="skin_preview_text" parent="@android:style/Widget.DeviceDefault.Light.TextView">
Replace To
HTML:
<style name="skin_preview_text" parent="@android:style/Widget.DeviceDefault.TextView">
Find
HTML:
<style name="tab_item" parent="@android:style/Widget.DeviceDefault.TextView">
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:background">?android:selectableItemBackground</item>
</style>
Replace To
HTML:
<style name="tab_item" parent="@android:style/Widget.DeviceDefault.TextView">
<item name="android:textColor">#ffffffff</item>
<item name="android:background">#303030</item>
</style>
Find
HTML:
<style name="item_skin_skinTitle" parent="@android:style/Widget.DeviceDefault.Light.TextView">
Replace To
HTML:
<style name="item_skin_skinTitle" parent="@android:style/Widget.DeviceDefault.TextView">
Find
HTML:
<style name="item_skin">
<item name="android:background">?android:selectableItemBackground</item>
</style>
Replace To
HTML:
<style name="item_skin">
<item name="android:background">#303030</item>
</style>
SmallAppLauncher - Full App Theming
Download The Following Drawable From Here, Replace it with Yours.
Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="listpopupwindow_divider">#ff000000</color>
Add this to res/layout/smallapp_menu_item.xml :
HTML:
android:background="#303030" android:textColor="#ffffffff", After android:textSize="18.0sp".
Download this pack, compare it with your layout files ( Z5's one is different ) .
Now,Navigate to values/res/styles.xml, Do the following :
Find
HTML:
<style name="SmallAppHeaderLayoutStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid">
Replace To
HTML:
<style name="SmallAppHeaderLayoutStyle" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">
Find
HTML:
<style name="SmallAppRenameDescriptStyle">
<item name="android:textColor">#ff000000</item>
</style>
Replace To
HTML:
<style name="SmallAppRenameDescriptStyle">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="SmallAppContentLayoutStyle">
<item name="android:background">@drawable/semc_bg_light</item>
</style>
Replace To
HTML:
<style name="SmallAppContentLayoutStyle">
<item name="android:background">@drawable/semc_bg_dark</item>
</style>
Find
HTML:
<style name="SmallAppIconStyle">
<item name="android:textColor">#ff000000</item>
<item name="android:lines">2</item>
</style>
Replace To
HTML:
<style name="SmallAppIconStyle">
<item name="android:textColor">#ffffffff</item>
<item name="android:lines">2</item>
Sound Enhancement - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="DefaultLightFromSettingsTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="DefaultLightFromSettingsTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="AccessoryTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
Replace To
HTML:
<style name="AccessoryTheme" parent="@android:style/Theme.DeviceDefault">
Sound Picker - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="SoundPickerListView" parent="@android:style/Widget.DeviceDefault.Light.ListView">
Replace To
HTML:
<style name="SoundPickerListView" parent="@android:style/Widget.DeviceDefault.ListView">
Find
HTML:
<style name="SoundPickerRadioButton" parent="@android:style/Widget.DeviceDefault.Light.CompoundButton.RadioButton">
Replace To
HTML:
<style name="SoundPickerRadioButton" parent="@android:style/Widget.DeviceDefault.CompoundButton.RadioButton">
Find
HTML:
<style name="AppThemeBase" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar" />
Replace To
HTML:
<style name="AppThemeBase" parent="@android:style/Theme.DeviceDefault" />
Telecom - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="SomcSettingsLight" parent="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<style name="SomcSettingsLight" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="Theme.Telecomm.Transparent" parent="@android:style/Theme.Material.Light">
Replace To
HTML:
<style name="Theme.Telecomm.Transparent" parent="@android:style/Theme.Material">
Find
HTML:
<style name="SomcAmSettingsLight">
<item name="android:textColor">?android:textColorPrimary</item>
</style>
Replace To
HTML:
<style name="SomcAmSettingsLight">
<item name="android:textColor">#ffffffff</item>
</style>
TeleService - Full App Theming
Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="background_dialpad">#303030</color>
<color name="dialpad_icon_tint">#ffffffff</color>
<color name="dialpad_digits_text_color">#ffffffff</color>
<color name="dialpad_secondary_text_color">#b3ffffff</color>
<color name="background_dialpad_pressed">#303030</color>
<color name="phone_settings_background_color">#303030</color>
<color name="incall_secondary_info_background">#303030</color>
<color name="incall_call_banner_background">#303030</color>
Now,Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="EmergencyDialerTheme" parent="@android:style/Theme.Material.Light">
Replace To
HTML:
<style name="EmergencyDialerTheme" parent="@android:style/Theme.Material">
Find
HTML:
<style name="SimImportTheme" parent="@android:style/Theme.Material.Light">
Replace To
HTML:
<style name="SimImportTheme" parent="@android:style/Theme.Material">
Find
HTML:
<style name="Empty" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="Empty" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="DialerAlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">
Replace To
HTML:
<style name="DialerAlertDialogTheme" parent="@android:style/Theme.Material.Dialog">
Find
HTML:
<style name="DialerSettingsLight" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.Light.ActionBar.Solid</item>
</style>
Replace To
HTML:
<style name="DialerSettingsLight" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.ActionBar.Solid</item>
</style>
Find
HTML:
<style name="SettingsLight" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.Light.ActionBar.Solid</item>
</style>
Replace To
HTML:
<style name="SettingsLight" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.ActionBar.Solid</item>
</style>
Find
HTML:
<style name="SettingsActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault.Light.DarkActionBar</item>
</style>
Replace To
HTML:
<style name="SettingsActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault</item>
</style>
Find
HTML:
<style name="SomcDialerSettingsLight" parent="@style/SomcSettingsLight">
<item name="android:dialogTheme">@android:style/Theme.DeviceDefault.Light.Dialog</item>
</style>
Replace To
HTML:
<style name="SomcDialerSettingsLight" parent="@style/SomcSettingsLight">
<item name="android:dialogTheme">@android:style/Theme.DeviceDefault.Dialog</item>
</style>
Find
HTML:
<style name="SomcEmergencyDialerTheme" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:alertDialogTheme">@android:style/Theme.DeviceDefault.Light.Dialog.Alert</item>
</style>
Replace To
HTML:
<style name="SomcEmergencyDialerTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:alertDialogTheme">@android:style/Theme.DeviceDefault.Dialog.Alert</item>
</style>
Find
HTML:
<style name="PhoneTheme" parent="@android:style/Theme.DeviceDefault.Light">
<item name="com.sonyericsson.uxp:extendedLookAndFeel">true</item>
</style>
Replace To
HTML:
<style name="PhoneTheme" parent="@android:style/Theme.DeviceDefault">
<item name="com.sonyericsson.uxp:extendedLookAndFeel">true</item>
</style>
Find
HTML:
<style name="PhoneAlertDialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="PhoneAlertDialog" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="SomcSettingsLight" parent="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<style name="SomcSettingsLight" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="SomcSimImportTheme" parent="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<style name="SomcSimImportTheme" parent="@android:style/Theme.DeviceDefault">
Find
<style name="Theme.Material.Settings" parent="@android:style/Theme.Material.Settings">
Replace To
HTML:
<style name="Theme.Material.Settings" parent="@android:style/Theme.Material">
Update Center - Full App Theming
Navigate to res/values/colors.xml, Do the following :
HTML:
<color name="secondary_text_color">#89ffffff</color>
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="SystemDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar">
Replace To
HTML:
<style name="SystemDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog.NoActionBar">
Find
HTML:
<style name="MainTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="MainTheme" parent="@android:style/Theme.DeviceDefault">
Whie Balance - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="AppTheme" parent="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<style name="AppTheme" parent="@android:style/Theme.DeviceDefault">
SystemUI - Notifications Theming
In this stage, you have to modify Framework-res.apk, So Decompile it and Navigate to Styles, Search and make the styles like this :
HTML:
<style name="TextAppearance.Material.Notification" parent="@style/TextAppearance.Material">
<item name="textSize">@dimen/notification_text_size</item>
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Emphasis" parent="@style/TextAppearance.Material.Notification">
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Info" parent="@style/TextAppearance.Material.Notification">
<item name="textSize">@dimen/notification_subtext_size</item>
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Line2" parent="@style/TextAppearance.Material.Notification">
<item name="textSize">@dimen/notification_subtext_size</item>
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Time" parent="@style/TextAppearance.Material.Notification">
<item name="textSize">@dimen/notification_subtext_size</item>
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Title" parent="@style/TextAppearance.Material.Notification">
<item name="textSize">@dimen/notification_title_text_size</item>
<item name="textColor">#ffffffff</item>
</style>
Modify The Following From Framework-res/res/values/colors, And make it like this :
HTML:
<color name="notification_icon_bg_color">#636363</color>
<color name="notification_action_color_filter">@color/secondary_text_material_dark</color>
<color name="notification_media_primary_color">@color/primary_text_material_dark</color>
<color name="notification_media_secondary_color">@color/secondary_text_material_dark</color>
<color name="notification_progress_background_color">@color/secondary_text_material_dark</color>
Make The Following Values Like This in SystemUI.apk/res/values/colors.xml :
<color name="notification_legacy_background_color">#303030</color>
<color name="notification_material_background_color">#303030</color>
<color name="notification_material_background_dimmed_color">#d4000000</color>
<color name="notification_material_background_low_priority_color">#3d3d3d</color>
<color name="notification_material_background_media_default_color">#4a4a4a</color>
Download Layout files from Here, Replace with your Layout xml files.
Recompile,Sign .. Congrats!.
Calendar - Continue :
Now, Search For btn_default_mtrl_shape.xml, Replace The value and make it like this : android:color="#303030"
Modify refresh_bar.xml :
HTML:
android:background="#303030"
android:textColor="#ffffffff"
Modify hint_and_promo_item.xml :
HTML:
<TextView android:textStyle="bold" android:textColor="@android:color/primary_text_light" --> <TextView android:textStyle="bold" android:textColor="@android:color/primary_text_dark"
Modify skip_color.xml :
HTML:
<item android:color="#ffffffff" />
Modify event_info_title_bar.xml :
HTML:
<item android:icon="@drawable/ic_delete_w" android:id="@id/delete" --> <item android:icon="@drawable/ic_delete_w" android:id="@id/delete"
Modify event_info_fragment.xml :
HTML:
<Toolbar android:gravity="center_vertical" android:id="@id/toolbar" android:background="?android:colorPrimary" style="@style/ToolbarStyle" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<ScrollView android:id="@id/event_info_scroll_view" android:background="#303030" style="@style/MatchParent">
Modify btn_default_mtrl_shape.xml
HTML:
android:color="#3f3f3f"
Modify event_info_divider.xml
HTML:
android:background="#6f6f6f"
Modify edit_event.xml
HTML:
<ImageButton android:id="@id/event_color_button" android:background="#303030"
<ImageButton android:id="@id/maps_button" android:background="#303030"
<ImageButton android:id="@id/to_plus_required" android:background="#303030"
<ImageButton android:id="@id/to_plus_optional" android:background="#303030"
Modify sync_with_linkedin.xml
HTML:
android:src="@drawable/ic_close" to android:src="@drawable/ic_close_w"
Replace The following Drawables, with yours .
Here's The Most Awaited Guide!, Be sure to press thanks.
And PLEASE, When Following & Making Dark Apps According to this guide, Don't forget to put Credits And a link for the tutorial!
And there are tons of guide are coming soon
abo hani said:
Here's The Most-Waiting Guide!, Be sure to press thanks.
And PLEASE, When Following & Making Dark Apps According to this guide, Don't forget to put Credits And a link for the tutorial!
And there are tons of guide are coming soon
Click to expand...
Click to collapse
Awesome work bro, been waiting so long Thank you for all your guides and eagerly waiting for more :good:
Edit: Small correction bro, calculator background colour "#303030", you didn't change it in code (<color name="display_background_color">#ffffffff</color>)
jitz975 said:
Awesome work bro, been waiting so long Thank you for all your guides and eagerly waiting for more :good:
Edit: Small correction bro, calculator background colour "#303030", you didn't change it in code (<color name="display_background_color">#ffffffff</color>)
Click to expand...
Click to collapse
Oops , It's added now .. thanks for the tip! & glad you liked the guide :highfive:
abo hani said:
Oops , It's added now .. thanks for the tip! & glad you liked the guide :highfive:
Click to expand...
Click to collapse
@abo hani
You added that code without deleting :laugh: Bro, i fixed that analog clock in black visual bug. You need to edit smali files
Here is the step..
Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogClock.smali
Search for this line or code "0xc1c1c2"
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->strokePaint:Landroid/graphics/Paint;
and change this below line
Code:
const v1, -0xc1c1c2
to this
Code:
const v1, -0x3e3e3f
Search for this line
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v2, -0xcccccd
to this
Code:
const v2, -0x1
Search for this line
Code:
iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v3, -0xcccccd
to this
Code:
const v3, -0x1
Search for this line(Again same code)
Code:
iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v3, -0xcccccd
to this
Code:
const v3, -0x1
Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogTimer.smali
Search for this
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v2, -0xcccccd
to this
Code:
const v2, -0x1
Search for this
Code:
iget-object v5, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v6, -0xcccccd
to this
Code:
const v6, -0x1
Navigate to smali\cpm\sonyericson\orgaizer\components\StopwatchClock.smali
Search for this
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/StopwatchClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v1, -0xcccccd
to this
Code:
const v1, -0x1
This will fix that analog black bug bro :good:
Finally, hopefully more People can make their own apps dark from now on. Never had to edit smali to make any app dark though.
XperienceD said:
Finally, hopefully more People can make their own apps dark from now on. Never had to edit smali to make any app dark though.
Click to expand...
Click to collapse
:laugh: ya..may be this time, no pngs for clock layout. So it should be smali only
nice guide brov..... keep flying high brov!!!
@abo hani i pressed 4 thanks button.
thanks a lot for your great tut and hope bug will fixes soon
thanks
Hamidreza2010 said:
@abo hani i pressed 4 thanks button.
thanks a lot for your great tut and hope bug will fixes soon
thanks
Click to expand...
Click to collapse
Analog bug is fixed now, thanks to @jitz975 .
We still have the Email & Phonebook bugs, I'm working on Email bug now.
abo hani said:
Analog bug is fixed now, thanks to @jitz975 .
We still have the Email & Phonebook bugs, I'm working on Email bug now.
Click to expand...
Click to collapse
Fixed that email and phonebook bug too
For phonebook FIX,
Navigate to res\layout\dialpad_fragment.xml
Edit this line
Code:
<RelativeLayout android:background="@color/call_button_container_color" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
To this
Code:
<RelativeLayout android:background="#ff303030" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
Regarding that email, i will send you pm. No time.. working on PhoeniX v2.
jitz975 said:
So it should be smali only
Click to expand...
Click to collapse
I've not had to for my clock , depends on the look you're going for I guess, and nice to know.
abo hani said:
Analog bug is fixed now, thanks to @jitz975 .
We still have the Email & Phonebook bugs
Click to expand...
Click to collapse
I've listed some code in my Xperia guide that might be of help for the Phonebook, and you can see how it looks HERE.
jitz975 said:
Fixed that email and phonebook bug too
For phonebook FIX,
Navigate to res\layout\dialpad_fragment.xml
Edit this line
Code:
<RelativeLayout android:background="@color/call_button_container_color" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
To this
Code:
<RelativeLayout android:background="#ff303030" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
Regarding that email, i will send you pm. No time.. working on PhoeniX v2.
Click to expand...
Click to collapse
XperienceD said:
I've not had to for my clock , depends on the look you're going for I guess, and nice to know.
I've listed some code in my Xperia guide that might be of help for the Phonebook, and you can see how it looks HERE.
Click to expand...
Click to collapse
Phonebook bug is now fixed, I'm gonna try SemcEmail now, will see if the bug is fixed or not, thanks for the big help guys! :highfive:
Hi,
Very nice tutorial.
Being one of the target users wanted to try it by testing on the Calculator app - as this one only requires 5 inputs- but have run into a snag.
Have a rooted Z3C on LP 5.1.1 (.232) and when I go to /RES folder (using ES File Explorer) there is only one folder: images - nothing else??
Unable to find colors.xml via ES search at all??
Being the Newbie what am I missing/ doing wrong??
Norup58 said:
Hi,
Very nice tutorial.
Being one of the target users wanted to try it by testing on the Calculator app - as this one only requires 5 inputs- but have run into a snag.
Have a rooted Z3C on LP 5.1.1 (.232) and when I go to /RES folder (using ES File Explorer) there is only one folder: images - nothing else??
Unable to find colors.xml via ES search at all??
Being the Newbie what am I missing/ doing wrong??
Click to expand...
Click to collapse
You need to decompile it, not view it
Use AdvancedApkTool, install your framework using the tool, then decompile the apk, modify it, compile it, sign it, finally push to system and replace the existing apk.
unbelievable
Can`t read
I am joking bro.Thanks for your hard work.This is hammer of Guide that i have ever seen before:good::good::good:
6 thanks from me
Hello bro @abo hani
One small bug in settings.apk tutorial. We can't read battery history texts. Its all black. I have made a fix for that. Simply copy the xml fies to res/layout folder and re compile..
Here is the fixed files
https://drive.google.com/file/d/0BzhU-xAQX1qTa2F0ODdfZXVxRG8/view?usp=sharing
{
"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"
}
Rajeev said:
Hello bro @abo hani
One small bug in settings.apk tutorial. We can't read battery history texts. Its all black. I have made a fix for that. Simply copy the xml fies to res/layout folder and re compile..
Here is the fixed files
https://drive.google.com/file/d/0BzhU-xAQX1qTa2F0ODdfZXVxRG8/view?usp=sharing
Click to expand...
Click to collapse
Thanks bro, added to the main guide .

[Cm12.1][Mod]Xperia Z5 framework[Tut][Updated]

Hello Guys i have here a tutorial to port Z5 framework so let's start :
Note : its only compatible with Sony apps and some others
needs : brain
basic knowledge of decompiling
sense of humor
to the tut :
first you need to download the the files bellow and replace the files with your files in your decompiled framework-res.apk
Seems easy now to the Hard part
it's not really hard but only for noobs
go to Values folder in your decompiled framework-res.apk
open ^attr-privates.xml and add this to the end of it (before </resources> ) (needed)
Code:
<attr name="somcSystemUiLight" format="boolean" />
<attr name="somcSkinnableTranslucentBars" format="boolean" />
Click to expand...
Click to collapse
open arrays.xml and add this to the end (idk if its needed)
Code:
<string-array name="special_language_codes">
<item>bs_BA</item>
<item>in_ID</item>
<item>jv_ID</item>
<item>su_ID</item>
<item>sr_RS</item>
<item>tl_PH</item>
</string-array>
<string-array name="special_language_names">
<item>Bosanski</item>
<item>Bahasa Indonesia</item>
<item>Jawa</item>
<item>Basa Sunda</item>
<item>Srpski</item>
<item>Tagalog</item>
</string-array>
<string-array name="share_priority_extra_weights">
<item>com.sonymobile.socialengine.plugins.facebook_sharefrwk,3.4</item>
<item>com.sonymobile.social.apps,3.3</item>
</string-array>
<string-array name="ps3_controller_names">
<item>PLAYSTATION(R)3 Controller</item>
<item>Sony PLAYSTATION(R)3 Controller</item>
<item>Sony Computer Entertainment Wireless Controller</item>
</string-array>
<string-array name="config_runtime_skin_blacklist">
<item>com.android.vending</item>
<item>com.google.android.googlequicksearchbox</item>
<item>com.android.packageinstaller</item>
</string-array>
<array name="config_packagesBlacklist" />
<array name="config_single_pdp_detection_fail_causes" />
<integer-array name="config_lteDbmThresholds">
<item>-85</item>
<item>-95</item>
<item>-105</item>
<item>-115</item>
<item>-140</item>
</integer-array>
<integer-array name="config_umtsDbmThresholds">
<item>2147483647</item>
<item>2147483647</item>
<item>2147483647</item>
<item>2147483647</item>
</integer-array>
<array name="removable_application_list" />
<array name="config_silentSmsPackageList" />
<string-array name="config_trustedInstallersPackageList">
<item>com.sonyericsson.updatecenter</item>
</string-array>
<array name="config_fac_list" />
<integer-array name="launchboost_params">
<item>0x2fe</item>
<item>0x3fe</item>
<item>0x4fe</item>
<item>0x5fe</item>
<item>0x702</item>
</integer-array>
<array name="system_server_preloaded_drawables">
<item>@drawable/somc_bg_dark</item>
<item>@drawable/somc_bg_light</item>
</array>
<array name="preloaded_skin_drawables">
<item>@drawable/somc_bg_dark</item>
<item>@drawable/somc_bg_light</item>
</array>
Click to expand...
Click to collapse
open bools.xml and do the same (not needed)
Code:
<bool name="config_enableCpuBoostForOverScrollerFling">false</bool>
<bool name="config_enableCpuBoostForScroller">false</bool>
<bool name="config_enableCpuBoostForAppLaunch">true</bool>
<bool name="config_enableLowAccPollFreqWithBoost">true</bool>
<bool name="config_clean_up_connections_before_lte">false</bool>
<bool name="config_enable_wifi_txpower_control">false</bool>
<bool name="config_enable_wifi_connection_handler">true</bool>
<bool name="config_telephony_enable_lte">true</bool>
<bool name="config_led_off_when_battery_fully_charged">false</bool>
<bool name="config_formatSdcardAtEasDeviceWipe">true</bool>
<bool name="config_enable_default_preferred_apn">false</bool>
<bool name="config_enable_easy_wakeup_mode">true</bool>
<bool name="config_enable_glove_mode">true</bool>
<bool name="config_enable_single_pdp_detection">false</bool>
<bool name="config_enable_extend_EONS">false</bool>
<bool name="config_wifi_use_iw_for_auto_regulatory_domain">false</bool>
<bool name="config_telephony_enable_apn_switch">true</bool>
<bool name="config_enable_eu_roaming_apn">false</bool>
<bool name="config_enable_eu_roaming_ui">false</bool>
<bool name="national_data_roaming_visibility">false</bool>
<bool name="disable_charge_popups">false</bool>
<bool name="config_enable_data_failure_dialog">false</bool>
<bool name="config_enable_extra_short_ussd_code">false</bool>
<bool name="config_deactivate_tether_after_sim_refresh_reset">false</bool>
<bool name="config_update_existing_applications_only">true</bool>
<bool name="config_display_emergency_calls_only_to_restricted_user">false</bool>
<bool name="config_wifi_eap_sim_supported">true</bool>
<bool name="config_ps3c_bt_supported">true</bool>
<bool name="config_hardware_auto_brightness_available">true</bool>
<bool name="config_bootAnimationSoundEnabled">true</bool>
<bool name="config_dualModeSimApnManagement">false</bool>
<bool name="config_move_apps_to_sd_card">true</bool>
<bool name="config_override_prefer_external">true</bool>
<bool name="config_enable_volte_default_value">false</bool>
<bool name="config_wifi_auto_add_ssid_support_for_dbdc_access_point">false</bool>
<bool name="config_enable_wifi_to_lte_transition_based_on_score">false</bool>
<bool name="config_enable_14digit_imei">false</bool>
<bool name="config_wifi_disable_autoconnect_for_bad_eapsim_networks">false</bool>
<bool name="config_gsm_enable_hd_icon">false</bool>
<bool name="config_suppress_usb_msc_notifications">true</bool>
<bool name="somc_center_alert_dialog_buttons">false</bool>
<bool name="somc_split_seekbar_bg">true</bool>
Click to expand...
Click to collapse
open colors.xml and do the same(important)
Code:
<color name="somc_color_dark_primary_dark">#ff158597</color>
<color name="somc_color_primary_dark">#ff009faf</color>
<color name="somc_color_accent_dark">#ffd15b40</color>
<color name="somc_color_dark_primary_light">#ff2699a5</color>
<color name="somc_color_primary_light">#ff2ab9d2</color>
<color name="somc_color_accent_light">#ffed6642</color>
<color name="somc_color_background_light">#fffafafa</color>
<color name="somc_color_component_ripple_dark">@color/ripple_material_dark</color>
<color name="somc_color_component_ripple_light">@color/ripple_material_light</color>
<color name="somc_color_btn_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_btn_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_btn_borderless_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_btn_borderless_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_btn_toggle_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_btn_toggle_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_compound_btn_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_compound_btn_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_radiobutton_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_radiobutton_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_checkbox_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_checkbox_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_switch_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_switch_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_star_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_star_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_seekbar_thumb_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_seekbar_thumb_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_item_bg_borderless_ripple_dark">@color/ripple_material_dark</color>
<color name="somc_color_item_bg_borderless_ripple_light">@color/ripple_material_light</color>
<color name="somc_color_item_bg_ripple_dark">@color/somc_color_component_ripple_dark</color>
<color name="somc_color_item_bg_ripple_light">@color/somc_color_component_ripple_light</color>
<color name="somc_color_dropdown_panel_dark">@color/background_material_dark</color>
<color name="somc_color_dropdown_panel_light">@color/background_material_light</color>
<color name="somc_color_dialog_full_dark">@color/background_floating_material_dark</color>
<color name="somc_color_dialog_full_light">@color/background_floating_material_light</color>
<color name="somc_color_btn_dark">@color/button_material_dark</color>
<color name="somc_color_btn_light">@color/button_material_light</color>
<color name="somc_color_btn_toggle_dark">@color/somc_color_btn_dark</color>
<color name="somc_color_btn_toggle_light">@color/somc_color_btn_light</color>
<color name="somc_color_btn_star_off_dark">@color/secondary_text_default_material_dark</color>
<color name="somc_color_btn_star_off_light">@color/secondary_text_default_material_light</color>
<color name="somc_color_dropdown_unselected_dark">@color/secondary_text_default_material_dark</color>
<color name="somc_color_dropdown_unselected_light">@color/secondary_text_default_material_light</color>
<color name="somc_color_textselection_handle_dark">@color/accent_material_dark</color>
<color name="somc_color_textselection_handle_light">@color/accent_material_light</color>
<color name="somc_color_textcursor_dark">@color/somc_color_textselection_handle_dark</color>
<color name="somc_color_textcursor_light">@color/somc_color_textselection_handle_light</color>
<color name="somc_text_color_edittext_dark">@color/primary_text_default_material_dark</color>
<color name="somc_text_color_edittext_light">@color/primary_text_default_material_light</color>
<color name="somc_text_color_hint_dark">@color/hint_foreground_material_light</color>
<color name="somc_text_color_hint_light">@color/hint_foreground_material_dark</color>
<color name="somc_text_color_button_dark">@color/primary_text_default_material_dark</color>
<color name="somc_text_color_button_light">@color/primary_text_default_material_light</color>
<color name="somc_text_color_switch_disabled_dark">#4d000000</color>
<color name="somc_text_color_switch_unchecked_dark">#de000000</color>
<color name="somc_text_color_switch_checked_dark">#ffffffff</color>
<color name="somc_text_color_switch_disabled_light">#4d000000</color>
<color name="somc_text_color_switch_unchecked_light">#de000000</color>
<color name="somc_text_color_switch_checked_light">#ffffffff</color>
<color name="somc_color_edittext_ripple_dark">@color/somc_color_accent_dark</color>
<color name="somc_color_edittext_ripple_light">@color/somc_color_accent_light</color>
<color name="somc_color_btn_star_on_dark">@color/somc_color_accent_dark</color>
<color name="somc_color_btn_star_on_light">@color/somc_color_accent_light</color>
<color name="somc_color_tab_unselected_dark">@color/transparent</color>
<color name="somc_color_tab_selected_dark">@color/somc_color_accent_dark</color>
<color name="somc_color_tab_unselected_light">@color/transparent</color>
<color name="somc_color_tab_selected_light">@color/somc_color_accent_light</color>
Click to expand...
Click to collapse
open dimens and do the same (important)
Code:
<dimen name="selection_base_handle_offset_x">7.0dip</dimen>
<dimen name="selection_extent_handle_offset_x">15.0dip</dimen>
<dimen name="selection_handle_offset_y">42.0dip</dimen>
<dimen name="roundMagnificationRadius">55.0dip</dimen>
<dimen name="rectangularMagnificationWidth">179.0dip</dimen>
<dimen name="rectangularMagnificationHeight">74.0dip</dimen>
<dimen name="magnifier_selection_handle_offset_y">44.0dip</dimen>
<dimen name="somc_dimension_btn_base_elevation">1.0dip</dimen>
<dimen name="somc_dimension_btn_press_elevation">2.0dip</dimen>
<dimen name="somc_actionbar_contentInsetStart">72.0dip</dimen>
<dimen name="somc_preference_fragment_padding_side">0.0dip</dimen>
Click to expand...
Click to collapse
open drawables.xml and do the same (its important)
Code:
<item type="drawable" name="somc_btn_normal_dark">@drawable/somc_btn_dark</item>
<item type="drawable" name="somc_btn_pressed_dark">@drawable/somc_btn_normal_dark</item>
<item type="drawable" name="somc_btn_focused_dark">@drawable/somc_btn_normal_dark</item>
<item type="drawable" name="somc_btn_disabled_dark">@drawable/somc_btn_normal_dark</item>
<item type="drawable" name="somc_btn_disabled_focused_dark">@drawable/somc_btn_disabled_dark</item>
<item type="drawable" name="somc_btn_normal_light">@drawable/somc_btn_light</item>
<item type="drawable" name="somc_btn_pressed_light">@drawable/somc_btn_normal_light</item>
<item type="drawable" name="somc_btn_focused_light">@drawable/somc_btn_normal_light</item>
<item type="drawable" name="somc_btn_disabled_light">@drawable/somc_btn_normal_light</item>
<item type="drawable" name="somc_btn_disabled_focused_light">@drawable/somc_btn_disabled_light</item>
<item type="drawable" name="somc_btn_toggle_on_normal_dark">@drawable/somc_btn_toggle_dark</item>
<item type="drawable" name="somc_btn_toggle_on_pressed_dark">@drawable/somc_btn_toggle_on_normal_dark</item>
<item type="drawable" name="somc_btn_toggle_on_focused_dark">@drawable/somc_btn_toggle_on_normal_dark</item>
<item type="drawable" name="somc_btn_toggle_on_disabled_dark">@drawable/somc_btn_toggle_on_normal_dark</item>
<item type="drawable" name="somc_btn_toggle_on_disabled_focused_dark">@drawable/somc_btn_toggle_on_disabled_dark</item>
<item type="drawable" name="somc_btn_toggle_off_normal_dark">@drawable/somc_btn_toggle_dark</item>
<item type="drawable" name="somc_btn_toggle_off_pressed_dark">@drawable/somc_btn_toggle_off_normal_dark</item>
<item type="drawable" name="somc_btn_toggle_off_focused_dark">@drawable/somc_btn_toggle_off_normal_dark</item>
<item type="drawable" name="somc_btn_toggle_off_disabled_dark">@drawable/somc_btn_toggle_off_normal_dark</item>
<item type="drawable" name="somc_btn_toggle_off_disabled_focused_dark">@drawable/somc_btn_toggle_off_disabled_dark</item>
<item type="drawable" name="somc_btn_toggle_on_normal_light">@drawable/somc_btn_toggle_light</item>
<item type="drawable" name="somc_btn_toggle_on_pressed_light">@drawable/somc_btn_toggle_on_normal_light</item>
<item type="drawable" name="somc_btn_toggle_on_focused_light">@drawable/somc_btn_toggle_on_normal_light</item>
<item type="drawable" name="somc_btn_toggle_on_disabled_light">@drawable/somc_btn_toggle_on_normal_light</item>
<item type="drawable" name="somc_btn_toggle_on_disabled_focused_light">@drawable/somc_btn_toggle_on_disabled_light</item>
<item type="drawable" name="somc_btn_toggle_off_normal_light">@drawable/somc_btn_toggle_light</item>
<item type="drawable" name="somc_btn_toggle_off_pressed_light">@drawable/somc_btn_toggle_off_normal_light</item>
<item type="drawable" name="somc_btn_toggle_off_focused_light">@drawable/somc_btn_toggle_off_normal_light</item>
<item type="drawable" name="somc_btn_toggle_off_disabled_light">@drawable/somc_btn_toggle_off_normal_light</item>
<item type="drawable" name="somc_btn_toggle_off_disabled_focused_light">@drawable/somc_btn_toggle_off_disabled_light</item>
<item type="drawable" name="somc_edittext_focused_dark">@drawable/somc_edittext_normal_dark</item>
<item type="drawable" name="somc_edittext_disabled_focused_dark">@drawable/somc_edittext_disabled_dark</item>
<item type="drawable" name="somc_edittext_focused_light">@drawable/somc_edittext_normal_light</item>
<item type="drawable" name="somc_edittext_disabled_focused_light">@drawable/somc_edittext_disabled_light</item>
<item type="drawable" name="somc_edittext_ripple_mask_dark">@drawable/textfield_activated_mtrl_alpha</item>
<item type="drawable" name="somc_edittext_ripple_mask_light">@drawable/textfield_activated_mtrl_alpha</item>
<item type="drawable" name="somc_btn_star_on_pressed_dark">@drawable/somc_btn_star_on_normal_dark</item>
<item type="drawable" name="somc_btn_star_on_focused_dark">@drawable/somc_btn_star_on_normal_dark</item>
<item type="drawable" name="somc_btn_star_on_disabled_focused_dark">@drawable/somc_btn_star_on_disabled_dark</item>
<item type="drawable" name="somc_btn_star_off_pressed_dark">@drawable/somc_btn_star_on_pressed_dark</item>
<item type="drawable" name="somc_btn_star_off_focused_dark">@drawable/somc_btn_star_off_normal_dark</item>
<item type="drawable" name="somc_btn_star_off_disabled_focused_dark">@drawable/somc_btn_star_off_disabled_dark</item>
<item type="drawable" name="somc_btn_star_on_pressed_light">@drawable/somc_btn_star_on_normal_light</item>
<item type="drawable" name="somc_btn_star_on_focused_light">@drawable/somc_btn_star_on_normal_light</item>
<item type="drawable" name="somc_btn_star_on_disabled_focused_light">@drawable/somc_btn_star_on_disabled_light</item>
<item type="drawable" name="somc_btn_star_off_pressed_light">@drawable/somc_btn_star_on_pressed_light</item>
<item type="drawable" name="somc_btn_star_off_focused_light">@drawable/somc_btn_star_off_normal_light</item>
<item type="drawable" name="somc_btn_star_off_disabled_focused_light">@drawable/somc_btn_star_off_disabled_light</item>
<item type="drawable" name="somc_tab_unselected_pressed_dark">@drawable/somc_tab_unselected_dark</item>
<item type="drawable" name="somc_tab_unselected_focused_dark">@drawable/somc_tab_unselected_dark</item>
<item type="drawable" name="somc_tab_selected_pressed_dark">@drawable/somc_tab_selected_dark</item>
<item type="drawable" name="somc_tab_selected_focused_dark">@drawable/somc_tab_selected_dark</item>
<item type="drawable" name="somc_tab_unselected_pressed_light">@drawable/somc_tab_unselected_light</item>
<item type="drawable" name="somc_tab_unselected_focused_light">@drawable/somc_tab_unselected_light</item>
<item type="drawable" name="somc_tab_selected_pressed_light">@drawable/somc_tab_selected_light</item>
<item type="drawable" name="somc_tab_selected_focused_light">@drawable/somc_tab_selected_light</item>
<item type="drawable" name="somc_item_bg_pressed_dark">@color/transparent</item>
<item type="drawable" name="somc_item_bg_focused_dark">@color/transparent</item>
<item type="drawable" name="somc_item_bg_disabled_dark">@color/transparent</item>
<item type="drawable" name="somc_item_bg_pressed_light">@color/transparent</item>
<item type="drawable" name="somc_item_bg_focused_light">@color/transparent</item>
<item type="drawable" name="somc_item_bg_disabled_light">@color/transparent</item>
<item type="drawable" name="somc_item_bg_borderless_dark">@drawable/somc_item_bg_borderless_ripple_dark</item>
<item type="drawable" name="somc_item_bg_borderless_light">@drawable/somc_item_bg_borderless_ripple_light</item>
Click to expand...
Click to collapse
add to ids.xml like the others (important)
Code:
<item type="id" name="theme_accent">false</item>
<item type="id" name="global_actions_double_item_group1">false</item>
<item type="id" name="global_actions_double_item_icon1">false</item>
<item type="id" name="global_actions_double_item_message1">false</item>
<item type="id" name="global_actions_double_item_group2">false</item>
<item type="id" name="global_actions_double_item_icon2">false</item>
<item type="id" name="global_actions_double_item_message2">false</item>
<item type="id" name="certificate_name">false</item>
<item type="id" name="package_content">false</item>
<item type="id" name="emergency_master_reset_title">false</item>
<item type="id" name="emergency_master_reset_btn">false</item>
<item type="id" name="emergency_master_reset_exit_btn">false</item>
<item type="id" name="parent_view">false</item>
<item type="id" name="picture">false</item>
Click to expand...
Click to collapse
add to integers.xml (not important)
Code:
<integer name="flingboost_timeout_param">0</integer>
<integer name="flingboost_schedboost_param">0</integer>
<integer name="flingboost_cpuboost_param">0</integer>
<integer name="flingboost_pcdisbl_param">0</integer>
<integer name="flingboost_ksmboost_param">0</integer>
<integer name="scrollboost_timeout_param">0</integer>
<integer name="scrollboost_schedboost_param">0</integer>
<integer name="scrollboost_cpuboost_param">0</integer>
<integer name="scrollboost_pcdisbl_param">0</integer>
<integer name="scrollboost_ksmboost_param">0</integer>
<integer name="launchboost_timeout_param">1000</integer>
<integer name="launchboost_schedboost_param">0</integer>
<integer name="launchboost_cpuboost_param">0</integer>
<integer name="launchboost_cpu_6_7_offline_param">0</integer>
<integer name="launchboost_pcdisbl_param">0</integer>
<integer name="launchboost_ksmboost_param">0</integer>
<integer name="config_proximityScreenWakeupDelay">250</integer>
<integer name="config_softap_default_channel">1</integer>
<integer name="config_in_call_notification_relative_volume">100</integer>
Click to expand...
Click to collapse
for strings (Important)
Code:
[too much so download the strings.txt and add the lines to the end of your strings.xml] :p
Click to expand...
Click to collapse
now for the styles.xml
Code:
download it from the attatchments and replace it
(If you have cm12.1 take styles_cm.rar if you have bliss take styles_blisspop.rar)
Click to expand...
Click to collapse
now we should be done i hope you did it if you need any help just quote me
Note: u need SuperUserMode from here : http://forum.xda-developers.com/cro...t-xperia-z5-systemui-particle-effect-t3206206
Credits:- @STRYDER~007 i used his framework to learn @blackwings66 Me
Some Screens
if you want to get some themes for it visit this link @ post 3 :
http://forum.xda-developers.com/xpe...-stryflex2013266073-lp-official-sony-t3178049
maybe i will need it
Good job! I was gonna share it but you did before me! Keep learning and keep sharing!
i'm try to do that but not complete and this is my log
i hope any one help me to do that
elkhshap said:
i'm try to do that but not complete and this is my log
i hope any one help me to do that
Click to expand...
Click to collapse
I think you didn't add the lines in drawbles.XML but if you have then send me your framework
STRYDER~007 said:
Good job! I was gonna share it but you did before me! Keep learning and keep sharing!
Click to expand...
Click to collapse
Sure yes
Thanks a lot!!
Enviado desde mi Moto G mediante Tapatalk
blackwings66 said:
Sure yes
Click to expand...
Click to collapse
Hi thank you so much for the guide,
There are few errors in the guide pls corect it , below are the errors I found which is causing the errors: Blank spaces between words
1. Dimes.xml
Code:
<dimen name="somc_preference_fragment_padding_side">0.0di p</dimen>
2.Colors.xml
Code:
<color name="somc_color_btn_borderless_ripple_dark" [user=667883]@colo[/user] r/somc_color_component_ripple_dark</color>
<color name="somc_color_seekbar_thumb_ripple_light" [user=667883]@colo[/user] r/somc_color_component_ripple_light</color>
<color name="somc_color_textselection_handle_light" [user=667883]@colo[/user] r/accent_material_light</color>
<color name="somc_color_btn_borderless_ripple_light" [user=323692]@Col[/user] or/somc_color_component_ripple_light</color>
<color name="somc_color_item_bg_borderless_ripple_dark">@ color/ripple_material_dark</color>
<color name="somc_text_color_switch_disabled_dark">#4d000 000</color>
<color name="somc_text_color_switch_unchecked_dark">#de00 0000</color>
<color name="somc_text_color_switch_checked_dark">#ffffff ff</color>
<color name="somc_text_color_switch_disabled_light">#4d00 0000</color>
<color name="somc_text_color_switch_unchecked_light">#de0 00000</color>
<color name="somc_text_color_switch_checked_light">#fffff fff</color>
3. Drawables:
Code:
<item type="drawable" name="somc_btn_toggle_on_disabled_focused_dark">@d rawable/somc_btn_toggle_on_disabled_dark</item>
<item type="drawable" name="somc_btn_star_off_disabled_focused_light">@d rawable/somc_btn_star_off_disabled_light</item>
<item type="drawable" name="somc_btn_toggle_off_disabled_focused_dark">@ drawable/somc_btn_toggle_off_disabled_dark</item>
<item type="drawable" name="somc_btn_toggle_on_disabled_focused_light">@ drawable/somc_btn_toggle_on_disabled_light</item>
<item type="drawable" name="somc_btn_toggle_off_disabled_light">@drawabl e/somc_btn_toggle_off_normal_light</item>
<item type="drawable" name="somc_edittext_disabled_focused_dark">@drawab le/somc_edittext_disabled_dark</item>
<item type="drawable" name="somc_btn_star_on_disabled_focused_dark">@dra wable/somc_btn_star_on_disabled_dark</item>
<item type="drawable" name="somc_btn_star_off_disabled_focused_dark">@dr awable/somc_btn_star_off_disabled_dark</item>
<item type="drawable" name="somc_btn_star_on_disabled_focused_light">@dr awable/somc_btn_star_on_disabled_light</item>
4. Bools
Code:
<bool name="config_enableCpuBoostForOverScrollerFling">f alse</bool>
<bool name="config_clean_up_connections_before_lte">fals e</bool>
<bool name="config_update_existing_applications_only">tr ue</bool>
<bool name="config_hardware_auto_brightness_available">t rue</bool>
5. Also the @Color/somc_color_seekbar_thumb_ripple_light" defined in res/drawables/somc_seekbar_thumb_bg_light is not added in Colors.xml files
So add
<color name="somc_color_seekbar_thumb_ripple_light" @Color/somc_color_component_ripple_light</color> in colors,xml
I hope this helps everyone
Edit:
Recompiled successfuly and got the black status bar
blackwings66 said:
I think you didn't add the lines in drawbles.XML but if you have then send me your framework
Click to expand...
Click to collapse
this is my framework
http://www.mediafire.com/download/po3hxgw3vq3vsw5/framework-res.apk
Got error while recompiling, already made @Apexpredator fixes:
EDIT: My bad, extracted the framework files in the wrong place.
@Apexpredator
try flashing the z5 systemui
and ok i will update it
edit: i don't think that the black statusbar is from the framework i think it's from systemui
go to colors and change <color name="system_bar_background_semi_transparent">#66000000</color>\
to <color name="system_bar_background_semi_transparent">#00000000</color> and try
New Updated Guide with Screenshots and i have fixed some bugs that makes recompiling errors
and with new files (more files and less size )
Don't forget to press thanks
blackwings66 said:
New Updated Guide with Screenshots and i have fixed some bugs that makes recompiling errors
and with new files (more files and less size )
Don't forget to press thanks
Click to expand...
Click to collapse
thanks bro it's work for me
now can i use xperia dialer and contacts or not
@blackwings66
I manage to follow your guide and the framework work excellent ..
but it seems that this mod cause my cm engine ( themechooser.apk ) force
closed.
Something on your guide is not compatible with cm 12.1 theme engine .. please help . .Thank you
inpamcoxie said:
@blackwings66
I manage to follow your guide and the framework work excellent ..
but it seems that this mod cause my cm engine ( themechooser.apk ) force
closed.
Something on your guide is not compatible with cm 12.1 theme engine .. please help . .Thank you
Click to expand...
Click to collapse
Try xperia themes in the z5 roms port
This guide make it working with Port z5 system ui in general section but when im open lockscreen it's force close..
Anyone know how to port manualy z5 system ui in cm 12.1.. Bcoz i have dual sim, maybe that is problem..

[MOD][LP][5.1.1][C6903] SystemUI Dynamic Color For No Small Apps

​Xperia Z1 C6903 Lollipop 5.1.1​(From Stock 14.6.A.0.368 FR) For No Deodexed Firmware: , Keep Your SystemUI.odex inside your arm folfer ! Do Not Remove it !
and For Deodexed Firmware ... just replace your SystemUI.apk with the downloaded Deodexed SystemUI.apk !​
SystemUI Dynamic Color For No Small apps Close All Button Position fix​
Installation :​​​Go to "\System\priv-app\SystemUI" Rename SystemUI.apk to SystemUI.apk.bak and Put the Downloaded SystemUI.apk
Go to "\System\app\SmallAppsLauncher" rename SmallAppsLauncher.apk to SmallAppsLauncher.apk.bak for not Showing Smalls Apps Launcher in Recents Apps Screen !
REBOOT !
Quick Tutorial : For C6903 Lollipop 5.1.1
res\values\styles.xlm
Edit: line 23:
<item name="android:navigationBarColor">@android:color/transparent</item>
to
<item name="android:navigationBarColor">@android:color/somc_color_dark_primary_dark</item>
res\values\drawables.xml
Edit: lines 6,18,19,20,21,22:
<item type="drawable" name="navigation_bar_gradient_background_non_skinnable">@drawable/nav_background</item>
<item type="drawable" name="somc_navbar_background_dark">@color/system_bar_background_opaque</item>
<item type="drawable" name="somc_navbar_background_dark_land">@color/system_bar_background_opaque</item>
<item type="drawable" name="somc_navbar_background_light">@drawable/somc_navbar_background_dark</item>
<item type="drawable" name="somc_navbar_background_light_land">@drawable/somc_navbar_background_dark_land</item>
<item type="drawable" name="somc_navbar_background_translucent">@drawable/nav_background</item>
to
<item type="drawable" name="navigation_bar_gradient_background_non_skinnable">@drawable/status_background</item>
<item type="drawable" name="somc_navbar_background_dark">@android:color/somc_color_dark_primary_dark</item>
<item type="drawable" name="somc_navbar_background_dark_land">@android:color/somc_color_dark_primary_dark</item>
<item type="drawable" name="somc_navbar_background_light">@android:color/somc_color_dark_primary_light</item>
<item type="drawable" name="somc_navbar_background_light_land">@android:color/somc_color_dark_primary_light</item>
<item type="drawable" name="somc_navbar_background_translucent">@drawable/status_background</item>
Close all Button position:
Portrait mode:
res\values\dimens.xml
Edit: line 250
<dimen name="close_all_button_layout_margin_bottom">134.0dip</dimen>
to
<dimen name="close_all_button_layout_margin_bottom">64.0dip</dimen>
Landscape mode: make a copy of res\layout\layout\recents.xml to res\layout\layout-land\recents.xml
res\layout\layout-land\recents.xml
Edit line 9
<Button android:theme="@android:style/Theme.DeviceDefault" android:gravity="center" android:layout_gravity="end|bottom|center" android:id="@id/close_all_button" android:background="@drawable/somc_close_all_background" android:visibility="gone" android:layout_width="@dimen/close_all_button_size" android:layout_height="@dimen/close_all_button_size" android:layout_marginBottom="@dimen/close_all_button_layout_margin_bottom" android:layout_marginEnd="@dimen/close_all_button_layout_margin_end" android:elevation="8.0dip" />
to
<Button android:theme="@android:style/Theme.DeviceDefault" android:gravity="center" android:layout_gravity="end|bottom|center" android:id="@id/close_all_button" android:background="@drawable/somc_close_all_background" android:visibility="gone" android:layout_width="@dimen/close_all_button_size" android:layout_height="@dimen/close_all_button_size" android:layout_marginBottom="16.0dip" android:layout_marginEnd="64.0dip" android:elevation="8.0dip" />
Simple, delete small app
lavenbut said:
Simple, delete small app
Click to expand...
Click to collapse
Never Delete before testing !
It is better to rename apps to *.bak for who want to revert .... It mean a backup !
If you don't see the difference of Dynamic and the close all button in recents apps screen ...
Here it is !
mastacut said:
Never Delete before testing !
It is better to rename apps to *.bak for who want to revert .... It mean a backup !
If you don't see the difference of Dynamic and the close all button in recents apps screen ...
Here it is !
Click to expand...
Click to collapse
Hi OP can this be use in latest firmware 216?
If u have xposed and module xperia xposed, it will simple more. Like this
lavenbut said:
If u have xposed and module xperia xposed, it will simple more. Like this
Click to expand...
Click to collapse
Yes it is better for a Simple User like you if this can help you and I really appreciate.
This information is dedicated to programmers and developers, it is important to share code to the community, it is the principle of free software, but it also can help some novices.
This will manufacture custom roms and delete any applications that are unnecessary or rarely used.
:good:
anakdayak said:
Hi OP can this be use in latest firmware 216?
Click to expand...
Click to collapse
I think you can, but some lines can be differents, you must find where is the line of code, but generaly it is the same code.
:good:
Send me your 216 SystemUI.apk and I tell you if the line of ( styles.xlm, drawables.xml, recents.xml, colors.xml .... ) is the same.
Works Great
And it's very nicee thanks A lot
And also thanks for sharing how to do it
Is It working with .236 stock?

Categories

Resources