[Samsung Galaxy S II Plus] TimurAlaskara_TR:
!!!Thread is still under construction!!!

Hi,

Today I have installed an AOSP 6.0 rom to my old lovely Galaxy S2 Plus thx to [MENTION=5999439]GHsR[/MENTION] :)

Unfortunatly AOSP hasnt that much customization options and there is no build in theme engine so I decided to theme my device by my own.

I started by modifieng the SystemUI and now I will show you how I modded my SystemUI.

So, the cool thing is that the MM and LP xml's are nearly similar and this makes theming easy if you already have themed smth in LP :)

What modifications am I going to show you?

I don't know how they are all called but I hope you know what I mean

Changing statusbar expanded header color

Changing toggle area background color

Hiding the annoying "No notifications" text

Changing brightness slider background color (writing now)

Changing Notification background color (writing soon)

Making recents rounder (writing soon)

More to come soon (hopefully :P)

What do you need?

Apktool Programm; Best of all is this one but you need to insert this to the "Files" directory to make it work with 6.0 BIG thx to [MENTION=4642185]Flextrick[/MENTION] and [MENTION=3924617]iBotPeaches[/MENTION]

Knowledge how to use apktools

An xml editor. The best one is this

A Root-Browser. The best one is "Root explorer" (paid app)

WinRar (maybe)

Java and all that stuff

Patience if you get fc or recompiling goes bad

How will it look like (e.g)

This pic shows only a low modded SystemUI. The notification drawer header and the toggle area background colors are changed. The "No Notification" text is also hidden and the Recet app item's corners are rounded.

Getting Started

Changing Notification Dropdown Header Background colors

1) Copy your

SystemUI.apk

(System/priv-app/SystemUI) and your

framework-res.apk

(system/framework) to your SDCard using your Root browser

2) Make a backup of them if you want to restore your original themed SystemUI.apk

3) Copy the files to your PC and use your decompiling knowledges :p and decompile

"SystemUI.apk"

4) After successful decompiling go to

"SystemUI/res/values"

directory and open

"colors.xml"

with Notepad++

5) Go to line

14

called

"<color name="system_secondary_color">#ffff5A00</color>"

change the

#ffff5A00

as you want. Here you can get colorcodes (the "ff" 'is alpha/transparency this 'should' stay as it is). The made changes will change the color of your

Notification Dropdown Header

AND

long pressed Notifications menu.

Save the XML

5.1) If you want to modificate more than skip the next steps here

6) After the modifications are done recompile the SystemUI folder and merge the "AndroidManifest.xml" and the "META.INF" folder from the original SystemUI to the modified one using WinRar or smth.

7) Push the modified SystemUI.apk to your phone

(System/priv-app/SystemUI)

and set the premissions to

rw-r--r--

8) You may need a reboot maybe not.

9) You are done :)

Changing Notification Dropdown Toggle Background colors

1) Copy your

SystemUI.apk

(System/priv-app/SystemUI) and your

framework-res.apk

(system/framework) to your SDCard using your Root browser if not done

2) Than make a backup of them if you want to restore your original themed SystemUI.apk if not done

3) Copy the files to your PC and decompile

"SystemUI.apk"

if not done

4) After successful decompiling go to

"SystemUI/res/values"

directory and open

"colors.xml"

with Notepad++

5) Go to line

13

called

"<color name="system_primary_color">#ff006458</color>"

change the

#ff006458

as you want. Here you can get colorcodes (the "ff" is alpha/transparency this 'should' stay as it is). The made changes will change the color of your Toggle area background AND the Volume-Panel. Save the XML

5.1) If you want to modificate more than skip the next steps here

6) After the modifications are done recompile the SystemUI folder and merge the "AndroidManifest.xml" and the "META.INF" folder from the original SystemUI to the modified one using WinRar or smth.

7) Push the modified SystemUI.apk to your phone

(System/priv-app/SystemUI)

and set the premissions to

rw-r--r--

8) You may need a reboot maybe not.

9) You are done :)

Hiding the bad a*s "No notifications" text

1) Copy your

SystemUI.apk

(System/priv-app/SystemUI) and your

framework-res.apk

(system/framework) to your SDCard using your Root browser if not done

2) Than make a backup of them if you want to restore your original themed SystemUI.apk if not done

3) Copy the files to your PC and decompile "SystemUI.apk" if not done

4) Go to

"SystemUI/res"

5) Now look for the

values-xx

folders (xx standt for the language. example -> if your phone language is set to English open "values-en"... if your phone's language is set to Turkish than open "values-tr"... if your language is set to German than open "values-de"... and so on) open it with Notepad++ of course

6) Press ctrl+f and search for "No notifications" if your

phone's language

is set to English... search for "Bildirim yok" if your phone's language is set to Turkish... search for "Keine Benachrichtigungen" if your phone's language is set to German and so on....

6.1) there will be 2 results on the serach; you have to concentrate on the second one; delete ONLY the "No notifications" text and dont write anything else into the string. Save the XML

7) If you want to modificate more than skip the next steps here

8) After the modifications are done recompile the SystemUI folder and merge the

"AndroidManifest.xml"

and the

"META.INF"

folder from the original SystemUI to the modified one using WinRar or smth.

9) Push the modified SystemUI.apk to your phone

(System/priv-app/SystemUI)

and set the premissions to

rw-r--r--

10) You may need a reboot maybe not.

11) You are done :)

Changing brightness slider background color (writing now)

Changing Notification background color (writing soon)

Making recents rounder (writing soon)