FORUMS
Remove All Ads from XDA

[MOD]Enable NAVIGATION-BAR(4.0+)

1,352 posts
Thanks Meter: 782
 
Post Reply Email Thread
Anyone ever wanted to have those sexy on screen buttons that devices like Nexus have?

No need to wait anymore!

Here it is for our Device:beer:




Its pretty easy !:beer:

Here are the steps

Instructions for CustomRoms
1)Hit Up Root Explorer
2)Go to System¬>Build.prop
3) add this line at the end of the build.prop then save and exit.And restart.
Code:
 qemu.hw.mainkeys=0
This Code for turning off Navigation Bar
Code:
 qemu.hw.mainkeys=1

Well that was pretty basic one.


So now in case of our stock ICS ROMs

Instructions for stock ics
1)Decompile Framework-res.apk
(better to use apktool1.5.2 or later)
2)now go to res¬>values¬>bools.xml
3)open bools.xml with notepad++
4) edit this
Code:
 <bool name="config_showNavigationBar">false</bool>
TO

Code:
 <bool name="config_showNavigationBar'>true</bool>
5)save and recompile apk
6)add The line
Code:
 qemu.hw.mainkeys=0
To build.prop then restart



Now if you want to change the size of the navigation Bar

instructions for all roms to change size
1) decompile framework-res.apk
2)Go to res¬>values¬dimens.xml
3)open dimens.xml using notepad++
4) at line number 14,15,16,17
Edit the Dpi values to your choice
Code:
 
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_height_landscape">48.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>
<dimen name="navigation_bar_height">28.0dip</dimen>
5)save and recompile apk


Thats so easy :screwy:


Well for ShenduOs4.1.2 here is the dimens.xml---LINK


Enjoy your "Nexus Bar Experience":thumbup:


If you think this post is helpfull press :thumbup: button
If you wanna buy me a:beer: donate me
-Rik[Rittik]
The Following 2 Users Say Thank You to Rittik For This Useful Post: [ View ] Gift Rittik Ad-Free
26th February 2013, 01:07 PM |#2  
TUPAC_RIP's Avatar
Senior Member
Flag Athens
Thanks Meter: 69
 
More
Re: [MOD]Enable NAVIGATION-BAR(4.0+)
What's the point if you end up with shorter display?
Also CM10 has this feature in build.
26th February 2013, 01:16 PM |#3  
Rittik's Avatar
OP Senior Member
Flag Kolkata
Thanks Meter: 782
 
Donate to Me
More
Re: [MOD]Enable NAVIGATION-BAR(4.0+)
People who want can follow this.Its just a matter of choice.

CM10 forzenpika build doesnt succesfully open nav bar. For it i had to write on build.prop

-Rik[Rittik]
26th February 2013, 02:03 PM |#4  
Somcom3X's Avatar
Recognized Developer
Flag Metro Detroit
Thanks Meter: 3,223
 
Donate to Me
More
Re: [MOD]Enable NAVIGATION-BAR(4.0+)
How about Aurora?

Sent from my U8800-51
26th February 2013, 02:16 PM |#5  
macros95's Avatar
Member
Flag Chelyabinsk
Thanks Meter: 33
 
More
Yes,this is work!!!
26th February 2013, 02:47 PM |#6  
Rittik's Avatar
OP Senior Member
Flag Kolkata
Thanks Meter: 782
 
Donate to Me
More
Re: [MOD]Enable NAVIGATION-BAR(4.0+)
It will work aurora is a custom rom..make sure navbar is enabled in framework-res.apk then apply the build.prop lines

-Rik[Rittik]
The Following 2 Users Say Thank You to Rittik For This Useful Post: [ View ] Gift Rittik Ad-Free
26th February 2013, 10:16 PM |#7  
Somcom3X's Avatar
Recognized Developer
Flag Metro Detroit
Thanks Meter: 3,223
 
Donate to Me
More
Re: [MOD]Enable NAVIGATION-BAR(4.0+)
What kind of messaging is that?

Sent from my U8800-51
27th February 2013, 01:50 AM |#8  
Rittik's Avatar
OP Senior Member
Flag Kolkata
Thanks Meter: 782
 
Donate to Me
More
Re: [MOD]Enable NAVIGATION-BAR(4.0+)
Umm what?
Just add the line at build.propand reboot

-Rik[Rittik]
27th February 2013, 02:32 AM |#9  
Somcom3X's Avatar
Recognized Developer
Flag Metro Detroit
Thanks Meter: 3,223
 
Donate to Me
More
Re: [MOD]Enable NAVIGATION-BAR(4.0+)
Quote:
Originally Posted by Rittik

Umm what?
Just add the line at build.propand reboot

-Rik[Rittik]

The xda thing with parkh

Sent from my U8800-51
27th February 2013, 03:30 PM |#10  
Rittik's Avatar
OP Senior Member
Flag Kolkata
Thanks Meter: 782
 
Donate to Me
More
Re: [MOD]Enable NAVIGATION-BAR(4.0+)
Still didnt get you lol..pm maybe?

-Rik[Rittik]
28th February 2013, 09:11 AM |#11  
yash.pranjale86's Avatar
Senior Member
Flag Amravati
Thanks Meter: 123
 
More
Re: [MOD]Enable NAVIGATION-BAR(4.0+)
Are you a thread addict ritik
U have opened a 2nd thread for the same topic
Its against forum rules.
I think someone is going to be banned.

Go check forum rules

forum.xda-developers.com/announcement.php?a=81

THREAD REPORTED.....
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes