[Q] Disable hardware buttons - Galaxy Tab 3 Q&A, Help & Troubleshooting

Hi,
I would like to disable the hardware buttons from my Galaxy Tab 3 7.0 since I already made the softkeys visible by changing the /system/build.prop file.
I found HowTo's for other Samsung devices. All of them proposed a modification of the /system/usr/keylayout/Generic.kl file by deactivating the mappings for the keys 139, 158 and 172 (see this thread). Unfortunately, this isn't working for my Tab 3.
Can someone give my advice in this topic?
Thanks in advance,
Greeny

Im curious what edit you made to enable the soft keys
Sent from my SM-T217S using XDA Premium 4 mobile app

I added qemu.hw.mainkeys=0 to the end of /system/build.prop. If you are interested in the source I could post a link, even if I'm not sure whether external links are accepted.

I've got mine disabled and all you do is put # in front of the key mappings.
What I want to know is how to switch the back key (which defaults to the right) and the menu key (which defaults to the left). It's a pain to have the back key on the right.
Anyone know how to swap them, I've tried different steps for galaxy devices and nothing's working.

Thanks for your answer, but this isn't working for me. I prepended the 3 lines with a # and rebooted the device. But the three hardware buttons are still working

linkboy said:
I've got mine disabled and all you do is put # in front of the key mappings.
Click to expand...
Click to collapse
Do you talk about the mappings in the Generic.kl file? I just opened the other *.kl files and noticed keymappings for the same keys in many other files, like vnc-kbd.kl

DerGreeny said:
Do you talk about the mappings in the Generic.kl file? I just opened the other *.kl files and noticed keymappings for the same keys in many other files, like vnc-kbd.kl
Click to expand...
Click to collapse
Open up sec_touchscreen.kl and place a # in front of key 139 MENU and key 158 BACK.
This will disable the Samsung buttons.

linkboy said:
Open up sec_touchscreen.kl and place a # in front of key 139 MENU and key 158 BACK.
This will disable the Samsung buttons.
Click to expand...
Click to collapse
Thank you! The back button is disabled but the center Home button is still working. Any advice for this?

DerGreeny said:
Thank you! The back button is disabled but the center Home button is still working. Any advice for this?
Click to expand...
Click to collapse
Comment out HOME button in gpio-keys.kl

ketut.kumajaya said:
Comment out HOME button in gpio-keys.kl
Click to expand...
Click to collapse
Thank you! That solved it!

When you added the soft keys did it make the launcher bar at the bottom move up and overlap the page dots for the home pages? I turned them on in gravity box and thats what happened.
Thanks
Sent from my SM-T217S using Tapatalk

graffix31 said:
When you added the soft keys did it make the launcher bar at the bottom move up and overlap the page dots for the home pages? I turned them on in gravity box and thats what happened.
Thanks
Sent from my SM-T217S using Tapatalk
Click to expand...
Click to collapse
The soft keys do not overlap the page dots, but they are now really close (see attached screenshot).

DerGreeny said:
The soft keys do not overlap the page dots, but they are now really close (see attached screenshot).
Click to expand...
Click to collapse
Are you on stock ROM?

new-noob said:
Are you on stock ROM?
Click to expand...
Click to collapse
Yes, I am.

DerGreeny said:
Yes, I am.
Click to expand...
Click to collapse
Hi,
Does the bottons move when you turn ur tab horizontaly? Do they move to right edge of the screen?

new-noob said:
Hi,
Does the bottons move when you turn ur tab horizontaly? Do they move to right edge of the screen?
Click to expand...
Click to collapse
Unfortunately they stay at the bottom and overlay the lowest row of icons.

DerGreeny said:
Unfortunately they stay at the bottom and overlay the lowest row of icons.
Click to expand...
Click to collapse
ok good to know, thanks.
I am having some issues with overclocking here on stock ROM so need to consider switching to custom, since as rooted I won't get official update anyway
the major thing with custom is that there is no multi-window available which I heavily use .

Related

Remap keys, how?

Hi! I've been trying to remap my keys (for fun of course). I've been editing system/usr/keylayout/sec_key.kl. but when i remapped and rebooted it still uses the keys as if nothing was changed. Are there more files i need to change?
Sent from my good ol’ Gio
Mid them with notepad ++
Sent from my i9070 using xda premium
Successfully made a flashable zip (On my gio!!) To change the back and menu keys, it worked! Wanna attach but cant on phone.
Sent from my good old gio
Here it is, this was 100% built on my gio lol. Made it when I was bored on the vacation.
what did you changed
warface123 said:
what did you changed
Click to expand...
Click to collapse
What do you mean?
i mean keys to a program or what
warface123 said:
i mean keys to a program or what
Click to expand...
Click to collapse
Clearer?
you no if you hold the menu touched you will get google search is that changed
warface123 said:
you no if you hold the menu touched you will get google search is that changed
Click to expand...
Click to collapse
I think iok just replaced menu button and back button. Not big deal
wojtek267 said:
I think iok just replaced menu button and back button. Not big deal
Click to expand...
Click to collapse
Thats what i did. Now you have to hold back to get to search.
Sent from my good ol' gio
wojtek267 said:
I think iok just replaced menu button and back button. Not big deal
Click to expand...
Click to collapse
oh, so its change postion back to right n menu button to left?
angkrang said:
oh, so its change postion back to right n menu button to left?
Click to expand...
Click to collapse
When you press menu it will go back, and when you press back it will act like menu button, confusing at start but i am used to it now. Using it as i forgot to make a nandroid lol. Will maybe make an aroma script so you can pick reverse the buttons or uninstall (reverse to default).
Sent from my Sensational phone

[Q] How to disable Menu, Back, and redirect Home to launch camera

Alright, im on Stock Deodexed Rooted LJ7. I know that adding
qemu.hw.mainkeys=0
to the build.prop forces the navigation bar to show up, but can someone help me figure put which files to edit(presumably in /system/usr/keylayout) to disable the Menu and Back keys, and have the Home button launch the camera on a long press, and take a picture on short press? I know it's possible, I just don't know what to edit specifically.
Edit: went ahead and tried this. Instructions were for CM10, but I tried them anyways.
Changing the physical button is a matter of editing .kl files in usr/keylayout. For those, edit sec_touchkey.kl, sec_keys.kl and Generic.kl.
In sec_touchkey just change MENU and BACK to either VIRTUAL or (undefined)
In sec_keys and Generic change Button 172 from HOME to CAMERA.
Click to expand...
Click to collapse
Doing so does disable the menu and back keys but does not seem to change the home to camera, but instead the home button does nothing. Doesn't wake the screen, go home, take pictures, anything. Any advice? Gonna try again, fresh.
Edit 2:
Same result. Any suggestions?
Posted by Mr. Z's Galaxy S3.
I'm looking too but I did find this that might help with just disabling back and menu
http://forum.xda-developers.com/showthread.php?t=1982000
or try this
http://www.ehow.com/how_12031565_change-key-mappings-android.html
FrameCityJackal said:
I'm looking too but I did find this that might help with just disabling back and menu
http://forum.xda-developers.com/showthread.php?t=1982000
or try this
http://www.ehow.com/how_12031565_change-key-mappings-android.html
Click to expand...
Click to collapse
As for the first link, I've stumbled across that already and made his modifications. Worked great. Now I just need to get the home button to act as a camera button
Posted by Mr. Z's Galaxy S3.
I'm still looking I'll notify you when I find out. I swore someone wrote a tutorial on how to do it.
FrameCityJackal said:
I'm still looking I'll notify you when I find out. I swore someone wrote a tutorial on how to do it.
Click to expand...
Click to collapse
I know they did for CM10, but that didn't work on Touchwiz.
I tried replacing any and every reference to "HOME" I could find to "CAMERA" in the .kl files, but nothing seemed to work. Then again at the end of that day I had managed to bork my .kl files and none of my hardware buttons worked lol(power button for 8seconds still rebooted it, so I got to recovery and fixed it )
Posted by Mr. Z's Galaxy S3.
Try this out then go thank them lol
Kailee said:
Yes, in the gpio-keys.kl file, use CAMERA for key 172, like this:
Code:
key 172 CAMERA
Do note that you will have to hold the home button for a few seconds for the camera to start.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=34271673#post34271673
FrameCityJackal said:
Try this out then go thank them lol
http://forum.xda-developers.com/showthread.php?p=34271673#post34271673
Click to expand...
Click to collapse
We don't have that line in that file. Home is listed as 102, and I tried editing it, but that didn't work.
Posted by Mr. Z's Galaxy S3.

[Q] N3 Left button function change

I have a note 3 and running a S5ish rom and i noticed the left function button with the two lines in it whenever I tap it it brings up the window with what apps are running. I would like to restore it back to bring up the system menu ect, I did a google search and found a thread called button remapper. I think i chosen the right button but still does the same thing. Anyone have any suggestions or fixes to get that function back?
nofroyo said:
I have a note 3 and running a S5ish rom and i noticed the left function button with the two lines in it whenever I tap it it brings up the window with what apps are running. I would like to restore it back to bring up the system menu ect, I did a google search and found a thread called button remapper. I think i chosen the right button but still does the same thing. Anyone have any suggestions or fixes to get that function back?
Click to expand...
Click to collapse
Change it in the system files instead of an app. On the S5, the menu key is replaced with a recents key.
Can't remember the file exactly, but it's under /System/usr/keylayout/ I'm pretty sure.
Sent from my SM-N900T using XDA Free mobile app
Yea I tried to copy a file from another rom to that location and it didn't work. But ill give this a try.
Shawn said:
Change it in the system files instead of an app. On the S5, the menu key is replaced with a recents key.
Can't remember the file exactly, but it's under /System/usr/keylayout/ I'm pretty sure.
Sent from my SM-N900T using XDA Free mobile app
Click to expand...
Click to collapse
which file do I edit?

[Q] LG Keyboard changing keys

I want to try and change the bottom row keys on the LG keyboard. Has anyone been able to change say the "." key into the microphone key? I've looked on the device help screen, but just can't seem to make it work. Anyone else have luck?
govhogg said:
I want to try and change the bottom row keys on the LG keyboard. Has anyone been able to change say the "." key into the microphone key? I've looked on the device help screen, but just can't seem to make it work. Anyone else have luck?
Click to expand...
Click to collapse
yes settings and bottom row you have to change the one on the left
clarify
jaythenut said:
yes settings and bottom row you have to change the one on the left
Click to expand...
Click to collapse
Ok I'm not following your instructions. To the left of my space key i have the cog button. To the right of space bar i have period key. How exactly do i change the one on the left? From within settings or where? Which settings? I'm sure it's something really easy but i just can't make it work.
Disregard i did figure it out. I just didn't realize you had to push the symbol key in the instructions page of settings. Once i did that i was able to change up the bottom row! Thanks!

Remap button

Is there a way to replace the home key whit the left touch key button?
Otherwise, do you know any Rom for s4 mini that do that?
I found it much confortable to close open apps/windows
EDIT: Im on CM13 right now.
.
k44mos said:
Is there a way to replace the home key whit the left touch key button?
Otherwise, do you know any Rom for s4 mini that do that?
I found it much confortable to close open apps/windows
EDIT: Im on CM13 right now.
.
Click to expand...
Click to collapse
Soft keys of hardware buttons
rookie12 said:
Soft keys of hardware buttons
Click to expand...
Click to collapse
What do you mean?
k44mos said:
What do you mean?
Click to expand...
Click to collapse
Which button the one on the phone itself or the one inside the phone like nexus devices has
rookie12 said:
Which button the one on the phone itself or the one inside the phone like nexus devices has
Click to expand...
Click to collapse
I mean the left touch button located on the s4 mini phone.
I would like to click it instead of the center button to show open apps and close them. Like new android phones do.
k44mos said:
I mean the left touch button located on the s4 mini phone.
I would like to click it instead of the center button to show open apps and close them. Like new android phones do.
Click to expand...
Click to collapse
You are on cm13 go setting button and change the menu key action
rookie12 said:
You are on cm13 go setting button and change the menu key action
Click to expand...
Click to collapse
Are you sure is possible? i can't found it..
k44mos said:
Are you sure is possible? i can't found it..
Click to expand...
Click to collapse
Yes it should be there send me some screen shots
rookie12 said:
Yes it should be there send me some screen shots
Click to expand...
Click to collapse
Apparentely it's possible to put the virtual buttons inside the phone screen..but not to change the actual touch buttons.
It's a valid alternative, but not what i'm looking for btw thanks for the support @rookie12 !
k44mos said:
Apparentely it's possible to put the virtual buttons inside the phone screen..but not to change the actual touch buttons.
It's a valid alternative, but not what i'm looking for btw thanks for the support @rookie12 !
Click to expand...
Click to collapse
Upgrade tot N that has the features and I'm pretty sure MM has them too

Categories

Resources