change the function of the right soft key - HTC One S

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.

Related

[Q] Bottom menu icon replacement

Does anybody know how to change the apps in the bottom menu? I dont use that standard email app and prefer to use the gmail app but cant figure out how to make changes. Any help would be appreciated. Thanks.
Go to applications -> menu button (first one from left of four lightup on bottom of your phone)-> edit. Now you can move icons from bottom menu
psymont said:
Does anybody know how to change the apps in the bottom menu? I dont use that standard email app and prefer to use the gmail app but cant figure out how to make changes. Any help would be appreciated. Thanks.
Click to expand...
Click to collapse
Hit the Application button, then Menu. Hit View Type and select Customizable Grid. Then hit Menu again and select Edit. You can now change the dock icons to whatever you want.
Sent from my cm_tenderloin using Tapatalk
Ah great thanks so much. Worked perfectly.
Wow nice. Found this topic on accident but I am really glad I did.
I didn't know you could move your bottom apps around.
Sent from my Skyrocket

Howto: Remove Three-Dot Menu And Remap Multitask Button

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

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.

With the update, can I remap the Home Key to recent apps?

With the update, can I remap the Home Key to recent apps, the Recent apps button to only menu?
The OTA update only affects the "recents" button (the rightmost one). From the screenshots I've seen, you can set it to the default behavior (tap for recents), long press for menu and tap for recents, or long press for recents and tap for menu.
emxiaks said:
With the update, can I remap the Home Key to recent apps, the Recent apps button to only menu?
Click to expand...
Click to collapse
Yep!
Sent from my HTC One XL using xda premium
TheNightHawk223 said:
Yep!
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Are you running the OTA 2.20?
Look at the screenshot in the link below
http://www.androidcentral.com/htcs-fix-menu-button-issue-welcome-not-very-elegant
stnguyen09 said:
Are you running the OTA 2.20?
Look at the screenshot in the link below
http://www.androidcentral.com/htcs-fix-menu-button-issue-welcome-not-very-elegant
Click to expand...
Click to collapse
No, I'm running Cleanrom which is based on 2.23 which is the Asian base for 4.0.4
Sent from my HTC One XL using xda premium
I think we should all be more specific in our posts. I assumed the OP was talking about the AT&T OTA update that just came out and my answer is relevant to that. If you are running a custom rom then there could be some other mods built in that would not apply to an OTA.
Sent from my One X using xda premium
stnguyen09 said:
The OTA update only affects the "recents" button (the rightmost one). From the screenshots I've seen, you can set it to the default behavior (tap for recents), long press for menu and tap for recents, or long press for recents and tap for menu.
Click to expand...
Click to collapse
This is correct.
TheNightHawk223 said:
No, I'm running Cleanrom which is based on 2.23 which is the Asian base for 4.0.4
Click to expand...
Click to collapse
The Recents buttom mapping option is identical between firmware 2.20 and 2.23.
redpoint73 said:
The Recents buttom mapping option is identical between firmware 2.20 and 2.23.
Click to expand...
Click to collapse
Yes, I and not to repeat myself bit it leaves a lot to be desired. I would rather have the old remap, need to look at an old version of CT and see if I can get it working again
GroovyGeek said:
Yes, I and not to repeat myself bit it leaves a lot to be desired. I would rather have the old remap, need to look at an old version of CT and see if I can get it working again
Click to expand...
Click to collapse
What don't you like about it? I think its great that the incorporated this as a feature into an "official" ROM, so those on stock aren't stuck with the stupid 3-dot menu.
The only difference between HTC's implementation and sk806's mod, that I can see, is that long press (for menu or recents, depending on what option) is mapped to recents button, instead of home. Didn't take me long at all to adjust to.

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