Disclaimer: This is not my original idea. I searched a lot to find ways to do this without xposed and found one. Unfortunately I cant find the xda post now to give credit.
Edit: Added flashable zip for lollipop stock GPe
This mod will remap the menu button on the S4 to recent apps button like the S5, and force all apps to show a 3-dot (action overflow) menu.
The point is that I don't like Xposed and that this works with ART.
Tested on google edition ROMs. May work on others.
Remap:
Open /system/usr/keylayout/Generic.kl and change
to
Force 3-dot menu in all apps:
1. Decompile framework-res.apk
2. Open /res/values/bools.xml and change
to
3 Open /res/values/dimens.xml and change
to
This works in google edition ROMs and may work in others.
I have attached a flashable mods I made for KANGAKAT 7.0, 8.0, Jamal's 4.4.4 ROM, Danvdh pure nexus and custom ROM, and Stock 4.4.4.
Download (Only the stock zip is tested but they should all work fine. The zip names are "[ROM Name] - MenuBeGone.zip"
http://www.androidfilehost.com/?w=files&flid=16975
Edit: Added flashable zip for lollipop stock GPe
This mod will remap the menu button on the S4 to recent apps button like the S5, and force all apps to show a 3-dot (action overflow) menu.
The point is that I don't like Xposed and that this works with ART.
Tested on google edition ROMs. May work on others.
Remap:
Open /system/usr/keylayout/Generic.kl and change
Code:
key 139[COLOR="Red"] MENU[/COLOR]
to
Code:
key 139 [COLOR="Green"]APP_SWITCH[/COLOR]
Force 3-dot menu in all apps:
1. Decompile framework-res.apk
2. Open /res/values/bools.xml and change
Code:
<bool name="config_showNavigationBar">[COLOR="red"]false[/COLOR]</bool>
Code:
<bool name="config_showNavigationBar">[COLOR="Green"]true[/COLOR]</bool>
3 Open /res/values/dimens.xml and change
Code:
<dimen name="navigation_bar_height">[COLOR="Red"]48.0[/COLOR]dip</dimen>
<dimen name="navigation_bar_height_landscape">[COLOR="red"]48.0[/COLOR]dip</dimen>
<dimen name="navigation_bar_width">[COLOR="red"]24.0[/COLOR]dip</dimen>
Code:
<dimen name="navigation_bar_height">[COLOR="Green"]0.0[/COLOR]dip</dimen>
<dimen name="navigation_bar_height_landscape">[COLOR="green"]0.0[/COLOR]dip</dimen>
<dimen name="navigation_bar_width">[COLOR="green"]0.0[/COLOR]dip</dimen>
This works in google edition ROMs and may work in others.
I have attached a flashable mods I made for KANGAKAT 7.0, 8.0, Jamal's 4.4.4 ROM, Danvdh pure nexus and custom ROM, and Stock 4.4.4.
Download (Only the stock zip is tested but they should all work fine. The zip names are "[ROM Name] - MenuBeGone.zip"
http://www.androidfilehost.com/?w=files&flid=16975
Last edited: