Remap on stock? - Verizon Samsung Galaxy S 4

is anyone know if you can remap the hard buttons on stock rom. I like to be able to press the home button and bring up the Google now menu

You can press and hold and it will bring up 3 options one of them being google.
Sent from my SCH-I545 using Tapatalk 2

hexitnow said:
You can press and hold and it will bring up 3 options one of them being google.
Sent from my SCH-I545 using Tapatalk 2
Click to expand...
Click to collapse
HA! never saw those 3 options in the months of using that button to bring up the task manager
thanks.

No problem :thumbup:
Sent from my SCH-I545 using Tapatalk 2

You can also get "home2 shortcut" which will allow you to use double tap to open any app. I use it to make google now my voice search
Sent from my SCH-I545 using xda app-developers app
you can also edit what the buttons do if you are rooted just edit /system/urs/keylayout/generic.kl AND /system/usr/keylayout/gpiokeys.kl to have the buttons be whatever you like the main buttons are 139 menu 158 back and 172 home. Make sure you dont erase the wake or wake_dropped if you want them to work like before. You can erase it if you want the home button to not wake up the phone.
You can also bring up the on screen keys like a tablet with one line to build.prop if you want. Just add "qemu.hw.mainkeys=0" to the end of build.prop and the on screen keys will appear on reboot
Sent from my SCH-I545 using xda app-developers app

Related

Change android menu button

Is there a way with android that I can switch the behavior of my menu button on my home screen? right now when I short press it the menu will come up, when I long press it will go to search. It'd like it to go to search when I short press, is this possible?
Sent from my GT-I9100 using xda app-developers app
I dont think so.
But its possible the other way around.
But then again, why would you want to replace the menu button function?
Its like the home button on an iOS Device
Sent from my R800i using xda app-developers app
You can Edit system/usr/keylayout/sec_key.kl to change the key behaviour.
Sent from my Sensational phone

[Q] Remapping button keys

Hey, is there any rom/mod allowing remapping of GSIII button keys?
I'd love to get Recent Apps open by using the left Menu Button instead of double clickin' on the Home Button (a sort of Nexus style, whose Recent App button was the soft key on the right). To be honest, I'd like to swap them (double click Home Button for menu, tap left button for Recent Apps).
Thanks!
I remember cm10 has this feature.
Sent from my GT-I9300 using xda app-developers app
I'd like the power buttonto be a shutter button when in camera mode
Sent from my GT-I9300 using Tapatalk 2

[Q] Remap Menu Key to Recents

Anyone have a good way to do this? I found the files in the /system/usr/ folder but I'm not exactly sure what to edit...
Sent from my LG-E970 using Tapatalk 2
Sorry to bump my own post, but I figured out how to remap APP_SWITCH to MENU, but I can't seem to get the 3 dot overflow menu button to show up in apps (like chrome), or map google now/search to long press home or long press menu. If anyone has any insight on this I'd greatly appreciate it.
While this isn't exactly what you want, I think you should be able to enable the navigation bar to give you the virtual home/recent/back buttons and trigger the virtual menu button. I don't have this phone, but it should work to just open up the build.prop and add the line "qemu.hw.mainkeys=0" (requires root obviously) and reboot. I've only done this on a galaxy s cm so it may go badly with a stock rooted... try at your own risk. If you do try, please respond (and post a screenshot ) as I'm curious and considering this phone.
I tried adding that line (again) but no luck...
Sent from my LG-E970 using Tapatalk 2
C2fifield said:
I tried adding that line (again) but no luck...
Sent from my LG-E970 using Tapatalk 2
Click to expand...
Click to collapse
It looks like (from the screenshot) that you have it =1, not 0. You want it to =0 because it's like saying false, there are no hard keys so android should add the navigation bar. Try changing it to =0, and maybe use a text editor like the one in root browser (free) and reboot. Let me know what happens
Wow you're right... stupid mistake on my part haha, I'll get right back to you after I try it again.
EDIT: Yup that did the trick. Not quite what I was looking for but cool anyways. Thanks!
Now is there anyway to remove the 3 dot overflow bar since my menu key still works lol
C2fifield said:
Wow you're right... stupid mistake on my part haha, I'll get right back to you after I try it again.
EDIT: Yup that did the trick. Not quite what I was looking for but cool anyways. Thanks!
Now is there anyway to remove the 3 dot overflow bar since my menu key still works lol
Click to expand...
Click to collapse
Can you post a screenshot? I'm not sure which you mean (3 dot menu or nav bar). Enabling the nav bar is just an easy way to get both a multitask button and the virtual menu button in an app's action bar. I'm not sure about just getting the action bar menu button, but if you don't figure it out it is a setting in cm10/10.1
Its not a big deal since I think it only applies in the settings menu, but yeah I would love to have cm 10 haha
Edit: Sorry about the ridiculous image size...
Sent from my LG-E970 using Tapatalk 2
Any way to program long press of back button to kill app?
Sent from my LG-E971 using Tapatalk 2
Correct me if I'm wrong, but I think you have to mess with the systemui.apk to edit any of the long presses
Sent from my LG-E970 using Tapatalk 2
C2fifield said:
Correct me if I'm wrong, but I think you have to mess with the systemui.apk to edit any of the long presses
Sent from my LG-E970 using Tapatalk 2
Click to expand...
Click to collapse
I see. Too bad.
Sent from my LG-E971 using Tapatalk 2
Don't worry we'll see it as soon as cm 10 comes around.
Sorry to double post again, but does anyone know if we're able to theme the softkeys on this phone using similar methods as the galaxy nexus?
Sent from my LG-E970 using Tapatalk 2

Change function of home button?

Any easy way to change functions of things like home/menu buttons, if for example I want to quickly pull up task manager without having to long press home. I find that to be tedious.
Sent from my SCH-I605 using xda app-developers app
Here is an app that can launch apps by pressing home button twice.
https://play.google.com/store/apps/details?id=com.eikatou0.appspot.home2shortcut
Sent from my SCH-I605 using Tapatalk 2
r1_2fast4u said:
Here is an app that can launch apps by pressing home button twice.
https://play.google.com/store/apps/details?id=com.eikatou0.appspot.home2shortcut
Sent from my SCH-I605 using Tapatalk 2
Click to expand...
Click to collapse
Meh, I'd rather a single press for task manager, or better yet.. menu key and then hold for menu. I don't need hold menu for search.
Nova launcher lets you do what you please with menu and home buttons, for long and short press
Sent from my SCH-I605 using xda app-developers app
Thanks for that recommendation, I'm using that nova as my default launcher. But it still doesn't really do what I'm looking for. It only works while on desktop and doesn't have a tap menu feature. I need something global. Hope I'm not being too picky lol
Sent from my SCH-I605 using xda app-developers app
If you're rooted, you can edit the function of the home button pretty easily.
http://forum.xda-developers.com/showthread.php?t=2032123
If you use that tutorial above, you'll see the properties of the keys. I enabled the on screen keys, disabled the capacitive keys, and remapped the home button to launch the camera instead of being a home button.

[Q] since I use the nav bar

I know how to shut off the lights but can I actually disable the hardware keys?
Sent from my SCH-I605 using Tapatalk 4 Beta
JustusIV said:
I know how to shut off the lights but can I actually disable the hardware keys?
Sent from my SCH-I605 using Tapatalk 4 Beta
Click to expand...
Click to collapse
as far as i know it's not possible.
Sent from my SCH-I605 using xda premium
Buy a nexus lol
Sent from my SCH-I605 using xda app-developers app
depends on what rom you are on.
I cannot speak for other rom's, but you can do this on Carbon, but I would assume most CM10 based rom's would have a similar setting. There is an option to change their mapping, and that can be set to none. For Carbon, it is under system > carbon > interface near the bottom under hardware keys.
You can also disable the home key from waking the phone by going to /system/usr/keylayout/ and editing gpio-keys.kl. On the line that says key 172 home wake, simply change it to # key 172 home wake and that will stop the home key from turning on the screen.
rjyoung00 said:
I cannot speak for other rom's, but you can do this on Carbon, but I would assume most CM10 based rom's would have a similar setting. There is an option to change their mapping, and that can be set to none. For Carbon, it is under system > carbon > interface near the bottom under hardware keys.
You can also disable the home key from waking the phone by going to /system/usr/keylayout/ and editing gpio-keys.kl. On the line that says key 172 home wake, simply change it to # key 172 home wake and that will stop the home key from turning on the screen.
Click to expand...
Click to collapse
I want to say there is an option in VRB to do it as well, I just can't seem to find it at the moment.
Sent from my SCH-I605 using XDA Premium HD app
shangrila500 said:
I want to say there is an option in VRB to do it as well, I just can't seem to find it at the moment.
Sent from my SCH-I605 using XDA Premium HD app
Click to expand...
Click to collapse
Yes. It's the same. Settings-->root box settings... At the bottom under hardware keys.
Sent from my SCH-I605 using xda app-developers app
This is the method I used:
1. go to /system/usr/keylayout
2. open sec_touchkey.kl with text editor
3. Put a # before both lines for key 158 and key 139 so it looks like
# key 158 BACK VIRTUAL
# key 139 MENU VIRTUAL
4. Save and reboot
This usually works for me without issue, but sometimes the file doesn't save properly so the commented lines don't stay commented. There is also another file in that folder generic.kl that has the lines for keys 158 and 139 that you can comment out as well, but I'm not sure if it actually does anything. The sec_touchkey file is always the one that worked for me on a few different roms.
Hope that helps
hong90 said:
This is the method I used:
1. go to /system/usr/keylayout
2. open sec_touchkey.kl with text editor
3. Put a # before both lines for key 158 and key 139 so it looks like
# key 158 BACK VIRTUAL
# key 139 MENU VIRTUAL
4. Save and reboot
This usually works for me without issue, but sometimes the file doesn't save properly so the commented lines don't stay commented. There is also another file in that folder generic.kl that has the lines for keys 158 and 139 that you can comment out as well, but I'm not sure if it actually does anything. The sec_touchkey file is always the one that worked for me on a few different roms.
Hope that helps
Click to expand...
Click to collapse
Theoretically can these two lines be swapped? Like use the menu button as a back button and the back button as menu? Tempted to try this on tw
Sent from my SCH-I605 using Tapatalk 2
---------- Post added at 07:30 PM ---------- Previous post was at 07:10 PM ----------
Didn't work at first but when I tried reverting to the original file it stuck with them reversed! Yay my back key is menu and my menu is back. This is awesome
Sent from my SCH-I605 using Tapatalk 2
Silly me knew about that setting just didn't know I could set it to no action. Under device setting I changed no backlight and no vibration. They are gone! lol
Sent from my SCH-I605 using Tapatalk 4 Beta

Categories

Resources