[MOD] OP3 Button Mods - Adds menu button behavior!

Mr.Yawnie

Senior Member
Jun 27, 2013
2,305
3,056
0
OP3 Button Mods

OP3 Button Mods currently adds the missing "Open/close menu" to button actions. I am planning on adding an option to replace the single-press behavior of either Recents or Back button with Menu button as well, though that won't be in the first release. There are two options to install this mod: Xposed module OR modded Settings.apk.

Current mods:
  • Add "Open/close menu button action"
  • Link to SuperSU in Settings (only modded apk for now!)
  • Link to Layers Manager in Settings (only modded apk for now!)

TODO:
  • Change Recents/Back button behavior to Menu button
  • Suggestions??

Requirements:
  • Root access
  • Optional: Xposed Framework (Only with module)

Installation:
Option 1: Xposed module (Xposed Framework required!)
  1. Download Xposed module
  2. Install module, activate it & reboot device
  3. Done
Option 2: Modded apk (root required!)
  1. Backup current Settings.apk from system/priv-app/Settings
  2. Download modded Settings.apk from attachments
  3. Replace original apk with the modded apk (system/priv-app/Settings)
  4. Change permissions to rw-r-r & reboot device
  5. Done

Screenshot

 

Attachments

Last edited:

J0kker

Senior Member
Mar 15, 2012
396
189
73
I would have love that for my oneplus x but since then, I edited the keylayout file and used gravity box, not the easiest way but it works lol.
Thanks for your share, I'm sure it will help many op3 users (this phone looks really nice).
 

Mr.Yawnie

Senior Member
Jun 27, 2013
2,305
3,056
0
I would have love that for my oneplus x but since then, I edited the keylayout file and used gravity box, not the easiest way but it works lol.
Thanks for your share, I'm sure it will help many op3 users (this phone looks really nice).
You could try the Xposed module on your OPX too. I'm quite sure it would work. :)
 

dr.wtf

Senior Member
Dec 25, 2011
970
198
0
actually, now that i see it, this is not exactly how i'm used to use my hardware buttons, coming from a samsung.

left:
short tap: menu
long tap: nothing i think, but i had configured it to change to the last opened app using gravitybox.

home button works the way i am used to it
short: desktop
long: recents

right:
short: back
long: kill app in foreground

bummer that you can't remap buttons using gravitybox
 

Mr.Yawnie

Senior Member
Jun 27, 2013
2,305
3,056
0
actually, now that i see it, this is not exactly how i'm used to use my hardware buttons, coming from a samsung.

left:
short tap: menu
long tap: nothing i think, but i had configured it to change to the last opened app using gravitybox.

home button works the way i am used to it
short: desktop
long: recents

right:
short: back
long: kill app in foreground

bummer that you can't remap buttons using gravitybox
It says in the OP that I'm looking to implement the Recents button to work as Menu button, but right now I have only added the action (long press or double tap).

Sent from my ONEPLUS A3003 using Tapatalk
 
Last edited:
  • Like
Reactions: dr.wtf

madbird

Senior Member
Nov 14, 2005
229
17
0
Hamburg, what else? :)
Hi great work i really like it. While using it i noticed that it dont work on all apps. On some apps pressing the button simply do nothing.
working apps: totalCommander, maps, chrome, contacts, boxer email, locus map, qr droid, smartools, titanium backup, waze, windfinder.
not working apps: mortplayer, mindwallet*, officesuite pro, blueterm*, quickpic, telephone, zatoo tv.
Is anyone else having problems with these apps?. What i found out is that also other remapping apps like button remapper wont work with this apps.

*EDIT: the update to OOS 3.2.0 changed nothing.
 
Last edited:
  • Like
Reactions: Mr.Yawnie

Mr.Yawnie

Senior Member
Jun 27, 2013
2,305
3,056
0
Hi great work i really like it. While using it i noticed that it dont work on all apps. On some apps pressing the button simply do nothing.
working apps: totalCommander, maps, chrome, contacts, boxer email, locus map, qr droid, smartools, titanium backup, waze, windfinder.
not working apps: mortplayer, mindwallet*, officesuite pro, blueterm*, quickpic, zatoo tv.
Is anyone else having problems with these apps?. What i found out is that also other remapping apps like button remapper wont work with this apps.
Thanks for the thorough testing! :) the way how I implemented this mod was to only add it as an option in the drop down menu. The Java code was always there waiting to get called.

Why OnePlus didn't enable it? - that idk, but just maybe they noticed the same as you, it not working with all apps. Just maybe ?

What comes to button remapper, I don't know why it refuses to work as I haven't checked the source for it. If you use my modded apk way instead of xposed module, they should work together.

Sent from my ONEPLUS A3003 using Tapatalk
 
  • Like
Reactions: luiggi2806

xanker

Member
Nov 25, 2013
5
1
0
I use 'Xposed Additions' for this. It allows to remap each button. You can define an action for a single/double/triple/long press. Works fine on my OP3.
My layout:
- single back: open menu
- double home: open recents
- single recents: back
- long recents: FC current app
- long vol down: prev track
- long vol up: next track
- single vol up and vol down: toggle play/pause
 
Last edited:
  • Like
Reactions: luiggi2806