[Sony Cross-Device General] Ambor:
Hi, There

IMPORTANT - This topic is for experienced users ONLY

Themes As you all know already Theme Engine in Lollipop did not give so much to do things on 4.4 KK.

Sony has blocked us the opportunity to Lollipop.

But it's already past!!!

Today I discovered a way to add the ability to unlock the Xperia Theme Engine.

Unfortunately it work in all of the app you need to edit them separately.

I will show you an example of Sony Lollipop SystemUI.apk. But the scheme is similar in other Sony apps

​

Before we start a little bit of knowledge:

Each application Sony Xperia contains somc_skin_permissions.xml file.

It is always in the folder res / xml / somc_skin_permissions.xml

This is the file that gives permission for Themes. All values that are out there give you the ability to change them using themes. If it is not missing there possibilities to change it using the Sony themes​

What we need:

-To ApkTool supported Lollipop

-Notepad

-Brain

Lets Start

First Decompile Your Sony app and find file somc_skin_permissions.xml . I will show you an example of the systemUI.

How add permission to changes colors:

Add red lines between (<overlay-resources>) And next group filters ( <filter-group group="status-bar">)

<?xml version="1.0" encoding="utf-8"?>
<overlay-resources>
[COLOR="Red"] <filter-group group="color">
<filter type="type" value="color" />
</filter-group>[/COLOR]
<filter-group group="status-bar">
<filter type="type" value="color,bitmap,nine-patch,vector" />
<filter type="lightness" value="0.425" tolerance="0.425">
<filter type="type" value="color" />
</filter>
.............

To the End Add color values from SystemUI ( Colors.xml ) I add only this values , but you can add all from colors.xml

.....
<overlay id="@bool/somc_enableKeyButtonGlow" />
[COLOR="red"] <overlay id="@color/system_bar_background_opaque" filters="color" />
<overlay id="@color/system_bar_background_semi_transparent" filters="color" />
<overlay id="@color/system_bar_background_transparent" filters="color" />
<overlay id="@color/system_primary_color" filters="color" />
<overlay id="@color/system_secondary_color" filters="color" />
<overlay id="@color/system_accent_color" filters="color" />	[/COLOR]
</overlay-resources>

Save it

From now , your systemUI have permission to change the colors with Themes:D:D:D

Of course, they must be placed in the file

How add permission to changes navigation buttons:

Add this lines .( Ic_sysbar is png files navigation buttons )

<overlay id="@drawable/somc_navbar_ime_switcher_btn_immersive_land" filters="sysbar-key-land" />
<overlay id="@drawable/somc_navbar_ime_switcher_btn_no_background_land" filters="sysbar-key-land" />
[COLOR="red"] <overlay id="@drawable/ic_sysbar_back" filters="sysbar-key-port" />
<overlay id="@drawable/ic_sysbar_back_land" filters="sysbar-key-land" />
<overlay id="@drawable/ic_sysbar_home" filters="sysbar-key-port" />
<overlay id="@drawable/ic_sysbar_home_land" filters="sysbar-key-land" />
<overlay id="@drawable/ic_sysbar_recent" filters="sysbar-key-port" />
<overlay id="@drawable/ic_sysbar_recent_land" filters="sysbar-key-land" />
<overlay id="@drawable/ic_sysbar_menu" filters="sysbar-key-port" />
<overlay id="@drawable/ic_sysbar_menu_land" filters="sysbar-key-land" />
<overlay id="@drawable/ic_sysbar_back_ime" filters="sysbar-key-port" />
<overlay id="@drawable/ic_sysbar_back_ime_land" filters="sysbar-key-land" />[/COLOR]
<overlay id="@bool/somc_enableKeyButtonGlow" />
.......

Save and compile your app:)

From now , your systemUI have permission to change the ic_sysbar buttons with Themes:D:D:D

Soon I will add more examples. But a lot can be downloaded from 4.4 KK apps

You have to keep in mind that the Group filters Varying in different applications.

But you can see how they look applications KK and what is missing :)

Attached files:

SystemUI of values in unlocked by [MENTION=3989065]serajr[/MENTION]

Theme which changes colors and buttons.

Mod and not mod files somc_skin_permissions.xml

Creadits:

RXS MoonBreakers Team