[GUIDE][MOD] Enable navigation bar 4.2.2

Search This thread

gharrington

Senior Member
Apr 30, 2012
3,013
12,761
Brisbane
This is a quick dev guide to enable navigation bar for S4. Tested on I9505 but should work here also.

Decompile SystemUI.apk go to res/values/drawables and add:


Code:
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>


Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.

Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.

Now use any buil.prop editor and add line:

Code:
qemu.hw.mainkeys=0


You can also enable it now through framework-res method.

Reboot and your done.

Please hit thanks and give credits.
 

Attachments

  • Screenshot_2013-05-19-19-25-42.jpg
    Screenshot_2013-05-19-19-25-42.jpg
    25.5 KB · Views: 10,977
  • Screenshot_2013-05-19-19-44-27.jpg
    Screenshot_2013-05-19-19-44-27.jpg
    24.7 KB · Views: 9,248

adichandra

Senior Member
May 3, 2012
739
155
Just opened the apk. I dont have any idea how to decompile that. Any guide?

Can you just serve the zip that i can easily flash in cwm?

Sent from my GT-I9500 using Tapatalk 2
 

kamirza

Senior Member
Jul 10, 2008
930
131
systemUI

I have found this but when I click it the installation window opens. So should I proceed there? Please if you could add a few more steps to explain then noobs like us will be able to follow.
Thanks

ok now i know we have to use apktool etc. Most people couldnt get it working so what would be the best tool?
 
Last edited:

jokies

Senior Member
Aug 13, 2008
206
5
This is a quick dev guide to enable navigation bar for S4. Tested on I9505 but should work here also.

Decompile SystemUI.apk go to res/values/drawables and add:


Code:
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>


Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.

Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.

Now use any buil.prop editor and add line:

Code:
qemu.hw.mainkeys=0


You can also enable it now through framework-res method.

Reboot and your done.

Please hit thanks and give credits.

Wonder how to do it if my rom is odexed ?
 
  • Like
Reactions: razer1224

kamirza

Senior Member
Jul 10, 2008
930
131
Add this to the end of the build.prop file in system/

qemu.hw.mainkeys=0

You have to use an alternate launcher though, but it works.

This used to work very well with S3 but did not work on i9500 S4. I'll try again.
I dont know how I changed permission but on S4 its showing read only and does not take changes . Can you please guide as to how you changed to read-write for build prop
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    This is a quick dev guide to enable navigation bar for S4. Tested on I9505 but should work here also.

    Decompile SystemUI.apk go to res/values/drawables and add:


    Code:
    <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>


    Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.

    Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.

    Now use any buil.prop editor and add line:

    Code:
    qemu.hw.mainkeys=0


    You can also enable it now through framework-res method.

    Reboot and your done.

    Please hit thanks and give credits.
    2
    Please can you give details step by step for apks to use to compile and decompile etc for us simple people who want the navigation keys.
    Thanks
    1
    There is no values folder in res.

    Sent from my GT-I9500 using Tapatalk 2

    Have you decompiled systemui.apk ? Or you have just opened the apk file?

    Sent from my Octa Core S4
    1
    This is a quick dev guide to enable navigation bar for S4. Tested on I9505 but should work here also.

    Decompile SystemUI.apk go to res/values/drawables and add:


    Code:
    <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>


    Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.

    Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.

    Now use any buil.prop editor and add line:

    Code:
    qemu.hw.mainkeys=0


    You can also enable it now through framework-res method.

    Reboot and your done.

    Please hit thanks and give credits.

    Wonder how to do it if my rom is odexed ?
    1
    Use this tutorial http://forum.xda-developers.com/showthread.php?t=2195680
    For odexed rom don't care about odex file as you won't need to change smali files.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone