Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,702 Members 54,054 Now Online
XDA Developers Android and Mobile Development Forum

[Guide][CM9][CM7][CM11] Enable Navigation Bar / Soft Keys on CM9 / CM7 / CM11

Tip us?
 
gkasunkodagoda
Old
(Last edited by gkasunkodagoda; 18th June 2014 at 06:59 PM.)
#1  
Member - OP
Thanks Meter 44
Posts: 61
Join Date: Nov 2013
Tutorial [Guide][CM9][CM7][CM11] Enable Navigation Bar / Soft Keys on CM9 / CM7 / CM11

Hi, This is how we can enable Navigation Bar / Softbuttons on CM9 / CM7.

1st Post - CM 9 Guide
2nd Post - CM 7 Guide
3rd Post - CM 11 Guide

Make a backup before doing this. Do it at you own risk



CM 9

Screenshots -





Steps -
1 - You have to decompile Framework-res.apk.

2 - Open res/values/bools.xml

3 - Find this
<bool name="config_showNavigationBar">false</bool>

4 - Change it to
<bool name="config_showNavigationBar">true</bool>

5 - Then Open res/values/dimens.xml

6 - Find
<dimen name="navigation_bar_height">28.0dip</dimen>
<dimen name="navigation_bar_width">28.0dip</dimen>

7- Change it to
<dimen name="navigation_bar_height">29.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>

8 - You can change 28.0dip as You Want. (I like 28.0dip)

9 - Then recompile framework-res and Put it to Framework folder in you phone.

10 - Reboot
Attached Thumbnails
Click image for larger version

Name:	Navigation Bar (Home).png
Views:	2827
Size:	94.7 KB
ID:	2702068   Click image for larger version

Name:	Navigation Bar (Lockscreen).png
Views:	2729
Size:	85.3 KB
ID:	2702069  
The Following 5 Users Say Thank You to gkasunkodagoda For This Useful Post: [ Click to Expand ]
 
gkasunkodagoda
Old
(Last edited by gkasunkodagoda; 25th April 2014 at 06:04 PM.)
#2  
Member - OP
Thanks Meter 44
Posts: 61
Join Date: Nov 2013
Tutorial CM7 Guide

CM 7

Screenshots -





Steps -
1 - You have to decompile Framework-res.apk.

2 - Open res/values/bools.xml

3 - Find this
<bool name="cm_default_has_soft_buttons">false</bool>

4 - Change it to
<bool name="cm_default_has_soft_buttons">true</bool>

5 - Then recompile framework-res and Put it to Framework folder in you phone.

6 - Reboot
Attached Thumbnails
Click image for larger version

Name:	Soft Buttons CM7.png
Views:	2328
Size:	51.1 KB
ID:	2708311  
The Following User Says Thank You to gkasunkodagoda For This Useful Post: [ Click to Expand ]
 
gkasunkodagoda
Old
(Last edited by gkasunkodagoda; 18th June 2014 at 07:03 PM.)
#3  
Member - OP
Thanks Meter 44
Posts: 61
Join Date: Nov 2013
Default CM11 Guide

CM 11

Screenshots -





Steps -
1 - You have to decompile Framework-res.apk.

2 - Open res/values/bools.xml

3 - Find this
<bool name="config_showNavigationBar">false</bool>

4 - Change it to
<bool name="config_showNavigationBar">true</bool>

5 - Then Open res/values/dimens.xml

6 - Find
<dimen name="navigation_bar_height">28.0dip</dimen>
<dimen name="navigation_bar_width">28.0dip</dimen>

7- Change it to
<dimen name="navigation_bar_height">26.0dip</dimen>
<dimen name="navigation_bar_width">26.0dip</dimen>

8 - You can change 28.0dip as You Want. (I like 26.0dip)

9 - Then recompile framework-res and Put it to Framework folder in you phone.

10 - Reboot
Attached Thumbnails
Click image for larger version

Name:	CM 11 Home.png
Views:	1878
Size:	68.8 KB
ID:	2805744   Click image for larger version

Name:	CM 11 Lockscreen.png
Views:	1862
Size:	65.4 KB
ID:	2805745  
The Following User Says Thank You to gkasunkodagoda For This Useful Post: [ Click to Expand ]
 
gkasunkodagoda
Old
#4  
Member - OP
Thanks Meter 44
Posts: 61
Join Date: Nov 2013
Default Reserved

..
 
-CALIBAN666-
Old
#5  
-CALIBAN666-'s Avatar
Recognized Contributor
Thanks Meter 3,369
Posts: 5,612
Join Date: Feb 2012
Location: Leverkusen
On cm 11 there is no need for this complicated method.
Just type following line in end of build.prop.
qemu.hw.mainkeys=0

After this its look like


GREEETZ FROM TEAM-OPTIMA!!!
 
imElectronica
Old
#6  
imElectronica's Avatar
Senior Member
Thanks Meter 110
Posts: 582
Join Date: Mar 2013
Location: Rourkela/Odisha/
Quote:
Originally Posted by -CALIBAN666- View Post
On cm 11 there is no need for this complicated method.
Just type following line in end of build.prop.
qemu.hw.mainkeys=0

After this its look like


GREEETZ FROM TEAM-OPTIMA!!!
Sire, which cm rom u r using now ?plz give me the link nd is their any bugs in that ?
Press If you like my post.


 
-CALIBAN666-
Old
#7  
-CALIBAN666-'s Avatar
Recognized Contributor
Thanks Meter 3,369
Posts: 5,612
Join Date: Feb 2012
Location: Leverkusen
Last jenkins,i dont share links anymore,sorry.to much peeps cant understand why its not for public.

GREEETZ FROM TEAM-OPTIMA!!!
 
gkasunkodagoda
Old
(Last edited by gkasunkodagoda; 19th June 2014 at 11:24 AM.)
#8  
Member - OP
Thanks Meter 44
Posts: 61
Join Date: Nov 2013
Thumbs up CM11

Quote:
Originally Posted by imElectronica View Post
Sire, which cm rom u r using now ?plz give me the link nd is their any bugs in that ?

LINK REMOVED

Try at your own risk.
 
-CALIBAN666-
Old
#9  
-CALIBAN666-'s Avatar
Recognized Contributor
Thanks Meter 3,369
Posts: 5,612
Join Date: Feb 2012
Location: Leverkusen
Its not good to share links,its not for public,better u remove the link.its only a suggestion,but its your choice.

GREEETZ FROM TEAM-OPTIMA!!!
 
imElectronica
Old
#10  
imElectronica's Avatar
Senior Member
Thanks Meter 110
Posts: 582
Join Date: Mar 2013
Location: Rourkela/Odisha/
Quote:
Originally Posted by -CALIBAN666- View Post
Its not good to share links,its not for public,better u remove the link.its only a suggestion,but its your choice.

GREEETZ FROM TEAM-OPTIMA!!!
why sire its not public ??
Press If you like my post.



Tags
guide, ics, navigation bar, soft buttons, tutorial
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes