Samsung Galaxy S5

Last night I played around a bit...
The idea was to get the Nexus navigation bar interface on the S5. That means the getting rid of the functionality of the capacitive keys and preventing them from turning on. I failed a bit but after I restored their functionality, I realised the order in which I tried this was not correct. The mod worked, but the capacitive keys lit up without being functional.
Important notes:
-- If you are going to try this, you do so AT YOUR OWN RISK.
-- I take no responsibility for any damage to your phone.
-- I have not tested this properly, so I don't know what stability issues you might encounter if you do this. GravityBox does not support TW 100%
-- It is easy to revert these steps if you don't like the outcome
-- This is only for the brave - if you aren't then skip this and continue on to the next post

Requirements:
1. Phone must be rooted
2. Xposed framework
3. GravityBox (I am not sure how stable GB will be, but it is the only app I could find that can enable soft keys)
4. Any root explorer and editor - I use ES file explorer

Steps to follow:
Make a nandroid backup - Just for in case ... you know ...

(A) In System settings
1. Under "Display" - select "Touch key light duration" and select "Always off". Otherwise they will light up when you press the soft key equivalent. This is the step I didn't do last night and the keys lit up every time I pressed the soft keys. After you have edited the 2 files in (C) below, this option disappears from the system menu. So do it first.

(B) In GravityBox
1. Select "Navigation bar tweaks". Toggle the "Master switch" and reboot (not sure if soft reboot will work - I always hard reboot). NOTE: This is very important to set since you will have no way to use the regular menu/recents/back once you have edited the 2 files in (C).
2. Go back into GB and "Navigation bar tweaks".
3. Select "Enable Navigation bar"
4. The rest of the navigation bar tweaks are up to you what and how you want to use them.
5. Exit "Navigation bar tweaks" and ...
6. ... select "Navigation key actions".
7. Configure all the navigation keys the way you want it to behave.

(C) In ES File explorer
1. In Menu, switch Root Explorer on.
2. Tap on root explorer and "Mount R/W" - select "RW" for "/" and "/system" (this will enable editing of files in the system) and press ok
3. Navigate to the root of the phone. Scroll down to "system" and select it. Scroll to "usr" and select it. Scroll to "keylayout" and select it.
Now we have to edit 2 files - If you are paranoid, MAKE A BACKUP OF THESE 2 FILES BEFORE PROCEEDING and save them in a safe place (preferably on sdcard (0)). I didn't because it is just an edit, but it is ADVISED TO BACK THEM UP!
4. Click on "gpio-keys.kl" (first file). Select "text" and choose "ES Note Editor". Press "menu" and and select "edit". Scroll down and insert "# " (hash space) in front of the following keys
# key 139 MENU
# key 158 BACK
# key 252 ACTIVE
# key 254 APP_SWITCH
5. Click on "Generic.kl" (second file). Select "text" and choose "ES Note Editor". Press "menu" and and select "edit". Scroll down and insert "# " (hash space) in front of the following keys
# key 139 MENU
# key 158 BACK
# key 254 APP_SWITCH
6. Reboot
All the capacitive keys should now be non-functional and your soft keys ala Nexus Style should be active.

EDIT: See a couple of posts later. The navigation bar interferes with some apps like the camera app. GB allows for pie controls (as a work around), but I don't like it... So back to stock for me.
 
Last edited:
Last night I played around a bit...
The idea was to get the Nexus navigation bar interface on the S5. That means the getting rid of the functionality of the capacitive keys and preventing them from turning on. I failed a bit but after I restored their functionality, I realised the order in which I tried this was not correct. The mod worked, but the capacitive keys lit up without being functional.
Important notes:
-- If you are going to try this, you do so AT YOUR OWN RISK.
-- I take no responsibility for any damage to your phone.
-- I have not tested this properly, so I don't know what stability issues you might encounter if you do this. GravityBox does not support TW 100%
-- It is easy to revert these steps if you don't like the outcome
-- This is only for the brave - if you aren't then skip this and continue on to the next post

Requirements:
1. Phone must be rooted
2. Xposed framework
3. GravityBox (I am not sure how stable GB will be, but it is the only app I could find that can enable soft keys)
4. Any root explorer and editor - I use ES file explorer

Steps to follow:
Make a nandroid backup - Just for in case ... you know ...

(A) In System settings
1. Under "Display" - select "Touch key light duration" and select "Always off". Otherwise they will light up when you press the soft key equivalent. This is the step I didn't do last night and the keys lit up every time I pressed the soft keys. After you have edited the 2 files in (C) below, this option disappears from the system menu. So do it first.

(B) In GravityBox
1. Select "Navigation bar tweaks". Toggle the "Master switch" and reboot (not sure if soft reboot will work - I always hard reboot). NOTE: This is very important to set since you will have no way to use the regular menu/recents/back once you have edited the 2 files in (C).
2. Go back into GB and "Navigation bar tweaks".
3. Select "Enable Navigation bar"
4. The rest of the navigation bar tweaks are up to you what and how you want to use them.
5. Exit "Navigation bar tweaks" and ...
6. ... select "Navigation key actions".
7. Configure all the navigation keys the way you want it to behave.

(C) In ES File explorer
1. In Menu, switch Root Explorer on.
2. Tap on root explorer and "Mount R/W" - select "RW" for "/" and "/system" (this will enable editing of files in the system) and press ok
3. Navigate to the root of the phone. Scroll down to "system" and select it. Scroll to "usr" and select it. Scroll to "keylayout" and select it.
Now we have to edit 2 files - If you are paranoid, MAKE A BACKUP OF THESE 2 FILES BEFORE PROCEEDING and save them in a safe place (preferably on sdcard (0)). I didn't because it is just an edit, but it is ADVISED TO BACK THEM UP!
4. Click on "gpio-keys.kl" (first file). Select "text" and choose "ES Note Editor". Press "menu" and and select "edit". Scroll down and insert "# " (hash space) in front of the following keys

5. Click on "Generic.kl" (second file). Select "text" and choose "ES Note Editor". Press "menu" and and select "edit". Scroll down and insert "# " (hash space) in front of the following keys

6. Reboot
All the capacitive keys should now be non-functional and your soft keys ala Nexus Style should be active.

Why do you want that?
 
Ok, on the same page now. But what did you mean by "allows more functionality"?

On my Nexus, I have 5 navigation keys which does the following:
1. App Launcher
Single press - Launches up to 12 app shorcuts
Long press - Takes screen shot
Double press - nothing
2. Back key
Single press - goes back
Long press - kills foreground app
Double press - nothing
3. Home key
Single press - goes to home screen
Long press - device goes to sleep
Double press - not activated
4. Recents key
Single press - shows recent apps
Long press - shows power menu
Double press - notning
5. Menu key
Single press - shows menu of any app that has a menu
Long press - nothing
Double press - nothing

There are a plethora of shortcuts you can assign with GB to these keys

Currently on my S5:
1. Recents key
Single press - shows menu of any app that has a menu
Long press - Launches up to 12 app shorcuts
2. Home key
Single press - goes to home screen
Long press - shows recent apps
3. Back key
Single press - goes back
Long press - kills foreground app
 
On my Nexus, I have 5 navigation keys which does the following:
1. App Launcher
Single press - Launches up to 12 app shorcuts
Long press - Takes screen shot
Double press - nothing
2. Back key
Single press - goes back
Long press - kills foreground app
Double press - nothing
3. Home key
Single press - goes to home screen
Long press - device goes to sleep
Double press - not activated
4. Recents key
Single press - shows recent apps
Long press - shows power menu
Double press - notning
5. Menu key
Single press - shows menu of any app that has a menu
Long press - nothing
Double press - nothing

There are a plethora of shortcuts you can assign with GB to these keys

Currently on my S5:
1. Recents key
Single press - shows menu of any app that has a menu
Long press - Launches up to 12 app shorcuts
2. Home key
Single press - goes to home screen
Long press - shows recent apps
3. Back key
Single press - goes back
Long press - kills foreground app

But I thought that you just disabled your navigation keys?
 
But I thought that you just disabled your navigation keys?

From my post
I failed a bit but after I restored their functionality, I realised the order in which I tried this was not correct. The mod worked, but the capacitive keys lit up without being functional.
I have not tested this properly, so I don't know what stability issues you might encounter if you do this. GravityBox does not support TW 100%

I have not had time to redo all these changes in the correct order. I will when I get a chance and when wifey allows me to :D
 
You can use GB for that without doing any mods. Just need root and Xposed

Or 20 presses of you are in Chrome...

Sorry, kill all apps is 2 presses, kill a single app is 3.

To kill chrome is 3 presses.
I freaking hate that chrome will not simply just die when you exit it.
 
Isn't gb unstable?

GB is stable on Nexus. Some features are stable on TW. E.g. the assignment of the ones I posted earlier. I have been using this setup for a while now without issues. The reason I mention stability issues is because the dev does not support TW officially. With GB and Nova, I also have double tap to sleep on my phone.
 
Top
Sign up to the MyBroadband newsletter
X