Howto: Remove Three-Dot Menu And Remap Multitask Button - AT&T, Rogers HTC One X, Telstra One XL

First, you need to root your device.
Step 1: Edit the file:
/system/usr/keylayout/synaptics-rmi-touchscreen.kl
To look like this:
key 102 HOME
key 139 APP_SWITCH
key 158 BACK
key 217 SEARCH
key 249 MENU
Step 2: Edit the file:
/system/build.prop
Add: qemu.hw.mainkeys=1 to the bottom of the file
Step 3: Reboot & enjoy!
Note: I'm still trying to figure out how to make the home button long-press do the multitasking function.
UPDATE: I don't think you can map/remap a long-press using a tweak like this.

dberube said:
First, you need to root your device.
Step 1: Edit the file:
/system/usr/keylayout/synaptics-rmi-touchscreen.kl
To look like this:
key 102 HOME
key 139 APP_SWITCH
key 158 BACK
key 217 SEARCH
key 249 MENU
Step 2: Edit the file:
/system/build.prop
Add: qemu.hw.mainkeys=1 to the bottom of the file
Step 3: Reboot & enjoy!
Note: I'm still trying to figure out how to make the home button long-press do the multitasking function.
Click to expand...
Click to collapse
Once you figure that out I'll definitely be using this tweak.

Probably best if you can separate the tweaks or state how to avoid the remapping of the multitask button?
I prefer to just remove the 3 dot in general for now

truciet said:
Probably best if you can separate the tweaks or state how to avoid the remapping of the multitask button?
I prefer to just remove the 3 dot in general for now
Click to expand...
Click to collapse
What will you use for a secondary menu button in apps that require it?

Doh. True huh? I guess I'm used to apps having it in the top right corner haha. Nevermind.

The 3-dot menu button will appear if there is not either a hardware button for menu or if the app has not coded in a menu button.
So, the 3-dot button is showing because the app itself has not coded in the menu button, and the device does not have a menu button.
So the only way to remove it for apps without it coded is to remap a current button.

Thanks for figuring this out.

Looks great!
Any way you can find out how the HTC X Teg3 device's hack works? There's a coder who's implemented a long-press function for the App-Switch key - it lets you bring up the Menu by long pressing or something to that effect.

This is going to be baked into every future ROM I should be a mod so I can move this to development section.
Red.
Sent from my HTC One X using xda premium

truciet said:
Probably best if you can separate the tweaks or state how to avoid the remapping of the multitask button?
I prefer to just remove the 3 dot in general for now
Click to expand...
Click to collapse
To just remove the 3 dot menu Skip step one and just edit the build prop and reboot
Sent from my HTC One X using xda premium

Nice. This is one of my biggest annoyances. Although, I'd prefer to have long-press of multitask be menu instead. Menu is definitely the least used function, and I'd prefer to keep my multitask button.

zonk7ate9 said:
Nice. This is one of my biggest annoyances. Although, I'd prefer to have long-press of multitask be menu instead. Menu is definitely the least used function, and I'd prefer to keep my multitask button.
Click to expand...
Click to collapse
If I could long-press home for multitasking, I'd do this in an instant.

Thanks man, this just took care of a major annoyance for me.

Thank god for root, that soft menu key was annoying as hell.
It took me a minute to figure out how to edit inside the system folder since I'm an Android noob but after I got that sorted it was a piece of cake. Thanks again

This works on the home screen but when I open the browser it does not work. Is it because there is the '3 dots' button at the top of the browser? I hate having to reach up to the top of screen to access the menu in browser.
How can I make it so the button always opens the menu?

drfernandombbs said:
This works on the home screen but when I open the browser it does not work. Is it because there is the '3 dots' button at the top of the browser? I hate having to reach up to the top of screen to access the menu in browser.
How can I make it so the button always opens the menu?
Click to expand...
Click to collapse
Works for me with the browser.
Sent from my HTC One X using XDA

E.Cadro said:
To just remove the 3 dot menu Skip step one and just edit the build prop and reboot
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
but if you do this..what would be used for the menu button?

zonk7ate9 said:
Nice. This is one of my biggest annoyances. Although, I'd prefer to have long-press of multitask be menu instead. Menu is definitely the least used function, and I'd prefer to keep my multitask button.
Click to expand...
Click to collapse
This right here would be the best

Thank you!!!
Now this phone totally rocks.

Grateful for this thanks
Sent from my HTC One X using Tapatalk 2

Related

[Q] App to switch between running apps?

I am new to android and I have started my journey with a Galaxy Tab. I need something which will bind to a key (like long press search) and will allow switching between running apps. Any suggestions?
Long press HOME button
teodorp said:
Long press HOME button
Click to expand...
Click to collapse
Thanks for the solution. Feeling even more a like a noob now
teodorp said:
Long press HOME button
Click to expand...
Click to collapse
This is useful indeed, but QuickDesk provides a longer list of recently-used apps. I use both all the time.
Sent from my GT-P1000 using XDA App

AOKP Milestone 6.2 - Can I remap the App Switcher back to its button?

I'm really enjoying AOKP over HTC's flavor of ICS, but there's one thing that really bothers me, and that's the app switching behavior. I know a lot of people prefer having a dedicated menu key, but I honestly don't care for it. I'd much rather use the on-screen menu buttons and have a dedicated key for app switching. Is there any way to change this behavior to mimic stock ICS, or is this something integral to AOKP and cannot be changed by a menu setting?
In a root explorer go to
system/usr/keylayout
and edit
/system/usr/keylayout/synaptics-rmi-touchscreen.kl
Then change the
249 to APP_SWITCH
Then there is line from Build.Prop that needs to be removed
qemu.hw.mainkeys=1
Sent from my HTC One X using xda premium
Or you could just hold down the home button which brings up the app switcher and then u have the best of both worlds
Sent from my One X using xda app-developers app
kleeman7 said:
In a root explorer go to
system/usr/keylayout
and edit
/system/usr/keylayout/synaptics-rmi-touchscreen.kl
Then change the
249 to APP_SWITCH
Then there is line from Build.Prop that needs to be removed
qemu.hw.mainkeys=1
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Editing synaptics-rmi-touchscreen.kl went fine, but I cannot find qemu.hw.mainkeys=1 in /system/build.prop. Am I looking in the wrong place?
Protogon said:
Editing synaptics-rmi-touchscreen.kl went fine, but I cannot find qemu.hw.mainkeys=1 in /system/build.prop. Am I looking in the wrong place?
Click to expand...
Click to collapse
Did you reboot? And does the key work properly? Maybe in aosp roms don't need to have that line, it may auto detect and give you a menu key.
Sent from my HTC One X using xda premium
kleeman7 said:
Did you reboot? And does the key work properly? Maybe in aosp roms don't need to have that line, it may auto detect and give you a menu key.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
After I rebooted, the app switch key now brings up an icon-based Recent list, not the ICS task switcher. Also, apps still don't have any in-app menu keys. Going to revert so I can use apps properly again.
Protogon said:
After I rebooted, the app switch key now brings up an icon-based Recent list, not the ICS task switcher. Also, apps still don't have any in-app menu keys. Going to revert so I can use apps properly again.
Click to expand...
Click to collapse
Try asking in the rom thread. I thought this might work, sorry it didn't.
Sent from my HTC One X using xda premium
kleeman7 said:
Try asking in the rom thread. I thought this might work, sorry it didn't.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Unfortunately, it seems that until I've reached a whopping 10 posts, I'm unfit to ask a relevant question in the appropriate development thread. I guess I'll just have to wait till I do hit 10 posts, or just hope that one of the devs sees the thread. Thanks anyhow.
I'm running Aokp milestone on my HTC One X. Is there a way to temporary disable the HTC home menu keys and just use the Galaxy nexus style menu keys?
Cognac_Sipper said:
I'm running Aokp milestone on my HTC One X. Is there a way to temporary disable the HTC home menu keys and just use the Galaxy nexus style menu keys?
Click to expand...
Click to collapse
I don't know if there's an option to disable the capacitive keys in Settings, but it's feasible to remap the buttons to nothing in /system/usr/keylayout/synaptics-rmi-touchscreen.kl.

change the function of the right soft key

Need to change the function of the right soft key and open the following files
edited -> CY8C-touchkey.kl and projector-keypad.kl
You make a backup of the original files.
These are at -> / system / usr / keylayout (root required)
CY8C-touchkey.kl
Write behind key 249 MENU VIRTUAL (delete the word APP_SWITCH write the word MENU ).
The same make in this file ->
projector-keypad.kl
Then a reboot and the right soft key opens the menu and not the last used apps.
If you like it, hit thanks
Worked perfectly. Thanks a lot. I searched for this for a long time now! Is there any way to bind the multitasking to the home button (long press)? And do you know a way to remove the three dot menu?
.TanTien said:
Worked perfectly. Thanks a lot. I searched for this for a long time now! Is there any way to bind the multitasking to the home button (long press)? And do you know a way to remove the three dot menu?
Click to expand...
Click to collapse
Edit the file: /system/build.prop
Add: qemu.hw.mainkeys=1 to the bottom of the build.prop file
Do a reboot and the three dot menu is gone,The three dot menu button will appear if the app has not coded for a menu button.
Why not use the option in display gestures AMD buttons to change 3rd button function
Sent from my HTC One S using xda app-developers app
septamobile said:
Edit the file: /system/build.prop
Add: qemu.hw.mainkeys=1 to the bottom of the build.prop file
Do a reboot and the three dot menu is gone,The three dot menu button will appear if the app has not coded for a menu button.
Click to expand...
Click to collapse
<3 I love you! Only one thing left: Is there a way to map the home button (long press) as multitasking? This would be just awesome if it would work!!!
What explorer to use
Sorry for the NOOB question but what file explorer do you use to make these changes. I have esfile explorer but wont do it. Thanks for the help.
.TanTien said:
<3 I love you! Only one thing left: Is there a way to map the home button (long press) as multitasking? This would be just awesome if it would work!!!
Click to expand...
Click to collapse
Anyone who know how to get this work? home buttom long press as multitasking would be great (as it is in AOKP)! :cyclops:
Atm im using Nova launcher but i hope that there will be such thing for Sense too...
Gesendet von meinem GT-N700 mit Tapatalk 2
maek_it_happen said:
Why not use the option in display gestures AMD buttons to change 3rd button function
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Best answer so far, thanks
maek_it_happen said:
Why not use the option in display gestures AMD buttons to change 3rd button function
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
I don't get it, sorry.
Go to "Settings" -> "Display, Finger(...) and Buttons" -> "Button for last Apps"
Or something like that, i only got the german version and translated my Menu.
There you got the Option to remap the Right Softkey and you can save the effort of this tutorial.
I guess you have 4.0.4 because I can't find that in on my device (I have 4.0.3)
.TanTien said:
I guess you have 4.0.4 because I can't find that in on my device (I have 4.0.3)
Click to expand...
Click to collapse
Yup, only available on 4.0.4 roms.
.TanTien said:
I guess you have 4.0.4 because I can't find that in on my device (I have 4.0.3)
Click to expand...
Click to collapse
You're right, i've got the 4.0.4 it could be a 4.1 sense function.
Mh ... it's a mess they didn't implement it directly in the first release.
And the bad thing is: I can't update I have a S3 device.

Remapping soft keys

I know that button remapper is good for the skyrocket softkey function editing, but I would like to change the search key to open an app, and also rebind a long press function.. any suggestions?
otacon507 said:
I know that button remapper is good for the skyrocket softkey function editing, but I would like to change the search key to open an app, and also rebind a long press function.. any suggestions?
Click to expand...
Click to collapse
Look for button saviour on the play store maybe that could help but if anything majority of Rom let you pick a default app to use I'm guessing slim bean and my remapping is awesome
Sent from my SAMSUNG-SGH-I727 using xda premium
crashpsycho said:
Look for button saviour on the play store maybe that could help but if anything majority of Rom let you pick a default app to use I'm guessing slim bean and my remapping is awesome
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
I am quite content with my GB NexusMod, however I cannot find a place in the settings to remap default apps. Isn't that standard with all roms? I tried button saviour pro and it is a piece of trash. I merely want to press the search key when on my home page and have the DuckDuckGo app pop up, just like the Google Search app did before I uninstalled it. Any suggestions?

Remapping Menu and home button?

I am trying to remap the menu button to pull up the recent app and long press from menu. Then have long press of the home button pull up Google now. I am able to easily do this with CM, but I want to have this feature and run AOKP.
Did some searching on this. I know you can got to the file in system/usr/keylayout/sec_touchkey.kl and edit the remapping of the keys. The closest I could get was changing key 139 to "App_switch" but this brings up the old gingerbread app switcher and not the multi task menu.
If someone could lead me in the right direction that would be great.
Good question. I sign looking for a way to program my back button to long press=kill.
Sent from my SCH-I535 using Tapatalk 2
lakedubvt said:
I am trying to remap the menu button to pull up the recent app and long press from menu. Then have long press of the home button pull up Google now. I am able to easily do this with CM, but I want to have this feature and run AOKP.
Did some searching on this. I know you can got to the file in system/usr/keylayout/sec_touchkey.kl and edit the remapping of the keys. The closest I could get was changing key 139 to "App_switch" but this brings up the old gingerbread app switcher and not the multi task menu.
If someone could lead me in the right direction that would be great.
Click to expand...
Click to collapse
long press stuff would be smali code.
Are there any flashable mods out there?
Sent from my Nexus 4 using Tapatalk 2
lakedubvt said:
Are there any flashable mods out there?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Would you consider changing ROMs? RootzBOX has the options you are seeking. It also has all of the AOKP features as that is its base.

Categories

Resources