Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP gkasunkodagoda

22nd April 2014, 06:32 PM   |  #1  
OP Member
Flag ගම්පහ
Thanks Meter: 46
 
66 posts
Join Date:Joined: Nov 2013
Donate to Me
More
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 your phone.

10 - Reboot
Attached Thumbnails
Click image for larger version

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

Name:	Navigation Bar (Lockscreen).png
Views:	4819
Size:	85.3 KB
ID:	2702069  
Last edited by gkasunkodagoda; 27th September 2014 at 06:35 PM.
The Following 5 Users Say Thank You to gkasunkodagoda For This Useful Post: [ View ]
25th April 2014, 06:49 PM   |  #2  
OP Member
Flag ගම්පහ
Thanks Meter: 46
 
66 posts
Join Date:Joined: Nov 2013
Donate to Me
More
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:	4334
Size:	51.1 KB
ID:	2708311  
Last edited by gkasunkodagoda; 25th April 2014 at 07:04 PM.
The Following User Says Thank You to gkasunkodagoda For This Useful Post: [ View ]
18th June 2014, 07:46 PM   |  #3  
OP Member
Flag ගම්පහ
Thanks Meter: 46
 
66 posts
Join Date:Joined: Nov 2013
Donate to Me
More
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:	3888
Size:	68.8 KB
ID:	2805744   Click image for larger version

Name:	CM 11 Lockscreen.png
Views:	3876
Size:	65.4 KB
ID:	2805745  
Last edited by gkasunkodagoda; 18th June 2014 at 08:03 PM.
The Following User Says Thank You to gkasunkodagoda For This Useful Post: [ View ]
18th June 2014, 07:57 PM   |  #4  
OP Member
Flag ගම්පහ
Thanks Meter: 46
 
66 posts
Join Date:Joined: Nov 2013
Donate to Me
More
Reserved
..
19th June 2014, 04:05 AM   |  #5  
-CALIBAN666-'s Avatar
Recognized Contributor
Flag Leverkusen
Thanks Meter: 3,682
 
5,862 posts
Join Date:Joined: Feb 2012
Donate to Me
More
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!!!
19th June 2014, 09:33 AM   |  #6  
imElectronica's Avatar
Senior Member
Flag Rourkela/Odisha/
Thanks Meter: 118
 
606 posts
Join Date:Joined: Mar 2013
More
Quote:
Originally Posted by -CALIBAN666-

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 ?
19th June 2014, 09:40 AM   |  #7  
-CALIBAN666-'s Avatar
Recognized Contributor
Flag Leverkusen
Thanks Meter: 3,682
 
5,862 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Last jenkins,i dont share links anymore,sorry.to much peeps cant understand why its not for public.

GREEETZ FROM TEAM-OPTIMA!!!
19th June 2014, 10:58 AM   |  #8  
OP Member
Flag ගම්පහ
Thanks Meter: 46
 
66 posts
Join Date:Joined: Nov 2013
Donate to Me
More
Thumbs up CM11
Quote:
Originally Posted by imElectronica

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.
Last edited by gkasunkodagoda; 19th June 2014 at 12:24 PM.
19th June 2014, 11:13 AM   |  #9  
-CALIBAN666-'s Avatar
Recognized Contributor
Flag Leverkusen
Thanks Meter: 3,682
 
5,862 posts
Join Date:Joined: Feb 2012
Donate to Me
More
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!!!
19th June 2014, 12:33 PM   |  #10  
imElectronica's Avatar
Senior Member
Flag Rourkela/Odisha/
Thanks Meter: 118
 
606 posts
Join Date:Joined: Mar 2013
More
Quote:
Originally Posted by -CALIBAN666-

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 ??

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes