[Samsung Galaxy Grand Quattro] pauldominik:
Lolipop Styled navigation bar for samsung galaxy quattro / win

for those who loves the lollipop styled naviation bar and keys for samsung quattro

Remember as always “I WILL NOT BE RESPOSIBLE FOR YOUR DEVICE..DO IT ON YOUR OWN RISK”

Tools required

1.A computer ofcourse

2.Apktool or AdvancedApkTool

I prefer AdvancedApkTool by BDFreak for its ease of use.

Before using the above mentioned tools You should be having a good knowledge about the procedure and how to decompile , recompile and signing apk files

U can check it from here if u never heard about the apktools

http://xdaforums.com/show....php?t=1755243

For Step to step procedure

http://xdaforums.com/show....php?t=1989533

For Advanced ApkTool http://xdaforums.com/show....php?t=2639400

2.SystemUI.apk

You can can pull it out from your phone using any root enabled file mangers like root explorer or ES file manager

3.An XML editing tool

Preferably Notepad++

You can Install it on your PC from https://notepad-plus-plus.org/download/v6.7.9.2.html

BEFORE DOING THIS ALWAYS TAKE A BACKUP OF YOUR ROM USING NANDROID OR TWRP I WLL NOT BE RESPONSIBLE FOR BRICKED PHONE

STEP 1 --- ACTIVATING THE NAVIGATION BAR

1. using root explorer or ES file manager open build.prop as editable text or use any buil.prop editor

2. go to the bottom and add this line

qemu.hw.mainkeys=0

3. Save the file and reboot

now you will ab able to see the jelly bean themed navigation bar

STEP 2.------ Lollipop soft keys

download the attached file , unzip it and push the files inside lollipopkeys folder to SystemUI.apk\res\drawable-hdpi using 7zip or you can add it after decompiling the SystemUI.apk and recompille and sign it back

STEP 3.------ Now push back your SystemUI.apk to your Phone

ie. Root\System\app\

Paste it and set persimmons as rw-r-r (assuming you know the drill )

ReBoot

IF YOU WANT TO DISABLE THE PHONE RECENT AND BACK BUTTON

OPEN Root Explorer, navigate to System > usr > keylayout, and open Generic.kl in Text Editor

navigate to key 139 MENU and key 158 BACK, and put a "#" sign in front of each line. Save the file.

For disabling backlight on your capacitive keys go to phone Settings > Device > Display > Touch key light duration, and switch the setting to Always off

TO REARRANGE THE BACK AND RECENT TAB BUTTON

if you want the back button on the left and recent on the other side

follow the steps

. Decompile the SystemUI.apk file using the apktool or advancedapktool

2. Open the folder and go to \res\layout

3. Find the file “ tw_navi_bar.xml”

4.Open it using Notepad++ or any xml editing tool

find

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_navigationbar_recent" android:layout_weight="1.0" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/tw_sysbar_highlight" />

and

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_navigationbar_back" android:layout_weight="1.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/tw_sysbar_highlight" />

Now replace the first with the second one and second with the first one

its just shifting each code position on the top and bottom side of the home button

save it

. Recompile the apk..and don’t forget to sign or else u will end up in Bootloop

Now push back your New SystemUI.apk to your Phone

ie. Root\System\app\

Paste it and set persimmons as rw-r-r

ReBoot

IF YOU WANT TO CHANGE THE HEIGHT AND WIDTH OF NAVIGATION BAR

for this you need to decompile framework-res.apk

If u knw how to decompile and recompile framework apk then only you proceed or else u wll end up in bootloop

decompile framework-res.apk

Go to /res/values

open dimens.xml

find "navigation_bar_height" , "navigation_bar_height_landscape" and "navigation_bar_width"

change the dpi values ....better not to change it below 22 dpi

save it

recompile the apk and push it back to framework folder

reboot