[Q] since I use the nav bar - Verizon Samsung Galaxy Note II

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

Related

[FIX]Home Button Haptic Fix - Universal, Actually Much Easier Than I Thought...

Hi everyone. We were all doing the framework tweak for i9100 ROMs on i777 in order to get haptic feedback working on Home button. However that was specific to ROMs and totally a mess when dealing with ROMs incorporate JKay themes.
I accidentally found this method that is so simple and universal to all i9100 Hellraised ROMs...
Already tried myself and works with everything, including Sensation, XXKI3, XXKI4....
Here is the way to fix the haptic feedback:
Find /system/usr/keylayout/sec_touchkey.kl
Change the content of if to:
Code:
key 139 MENU VIRTUAL
key 28 HOME VIRTUAL
key 158 BACK VIRTUAL
key 107 SEARCH VIRTUAL
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 232 DPAD_CENTER WAKE_DROPPED
key 212 CAMERA WAKE_DROPPED
key 231 SEND WAKE_DROPPED
The original file in Entropy512's Hellraiser pack is:
Code:
key 158 BACK WAKE
key 139 MENU WAKE
key 107 SEARCH WAKE
key 28 HOME WAKE
Known bug:
Not really a problem but vibration on home is a little bit shorter than menu and back
Let me know how this works with your ROM
The CWM package is fixed.
now what exactly do you mean by universal? universal to just i9100 roms?
Just tried with checkrom revolutionhd 3.1.1 and it did not work with the download link
Sent from my GT-I9100 using XDA App
afrojoc said:
now what exactly do you mean by universal? universal to just i9100 roms?
Click to expand...
Click to collapse
It should be universal to i9100 ROMs
Don't know why you said just, only i9100 ROMs need this fix.
moustro said:
Just tried with checkrom revolutionhd 3.1.1 and it did not work with the download link
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Make sure /system is writeable. You could just manually dump the file or edit it yourself as well.
moustro said:
Just tried with checkrom revolutionhd 3.1.1 and it did not work with the download link
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
I'll try checkROM
Worked fine on checkrom for me
Sent from my GT-I9100 using xda premium
works on sensation 1.9 if you manually add the file. seems like vibration is shorter than back button and menu button though
amtrakcn said:
It should be universal to i9100 ROMs
Don't know why you said just, only i9100 ROMs need this fix.
Click to expand...
Click to collapse
Incase I was going to try to port another rom from a different phone. That's why I said that.......
Can this file be flashed using CWM?
Sent from my SAMSUNG-SGH-I777 using XDA Premium App
wrenchmonkey26 said:
Can this file be flashed using CWM?
Sent from my SAMSUNG-SGH-I777 using XDA Premium App
Click to expand...
Click to collapse
I'm still working on a working CWM package
Thanks for the quick reply. After I flash a 9100 ROM on my i777, where does this file go?
Sent from my SAMSUNG-SGH-I777 using XDA Premium App
wrenchmonkey26 said:
Thanks for the quick reply. After I flash a 9100 ROM on my i777, where does this file go?
Sent from my SAMSUNG-SGH-I777 using XDA Premium App
Click to expand...
Click to collapse
/system/usr/keylayout/sec_touchkey.kl
It's path of the file.
The working CWM package is up
Wow! That was fast! Thanks for your contribution! w00t
Sent from my SAMSUNG-SGH-I777 using XDA Premium App
akira02rex said:
Make sure /system is writeable. You could just manually dump the file or edit it yourself as well.
Click to expand...
Click to collapse
How do I make my system writeable? When I go through root explorer to manually make the changes they don't stick.
Edit: fixed, works thank you
Sent from my GT-I9100 using XDA App
just tested on omega 5.1 and it worked perfectly
Sorry for being a noob but what exactly is the home button haptic fix? Is it where your phone vibrates when you push the home button? Mine does that already or is there something I'm missing here?
haru3173 said:
Sorry for being a noob but what exactly is the home button haptic fix? Is it where your phone vibrates when you push the home button? Mine does that already or is there something I'm missing here?
Click to expand...
Click to collapse
If you flash an i9100 ROM, your Home button will not lead to vibration when pressed, that's why it needs a fix.
amtrakcn said:
Hi everyone. We were all doing the framework tweak for i9100 ROMs on i777 in order to get haptic feedback working on Home button. However that was specific to ROMs and totally a mess when dealing with ROMs incorporate JKay themes.
I accidentally found this method that is so simple and universal to all i9100 Hellraised ROMs...
Already tried myself and works with everything, including Sensation, XXKI3, XXKI4....
Here is the way to fix the haptic feedback:
Find /system/usr/keylayout/sec_touchkey.kl
Change the content of if to:
Code:
key 139 MENU VIRTUAL
key 28 HOME VIRTUAL
key 158 BACK VIRTUAL
key 107 SEARCH VIRTUAL
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 232 DPAD_CENTER WAKE_DROPPED
key 212 CAMERA WAKE_DROPPED
key 231 SEND WAKE_DROPPED
The original file in Entropy512's Hellraiser pack is:
Code:
key 158 BACK WAKE
key 139 MENU WAKE
key 107 SEARCH WAKE
key 28 HOME WAKE
Known bug:
Not really a problem but vibration on home is a little bit shorter than menu and back
Let me know how this works with your ROM
The CWM package is fixed.
Click to expand...
Click to collapse
Nice job... How the hell did you stumble on that?
Probably found it in LinuxBozo's git repo... I never thought to try that for I777 Hellraiser. Been too busy.
https://github.com/LinuxBozo/hellraiser/commit/4cce2f4738cb9adaf8e0f635177c635ac9fae29c
If it works without negative consequences I'll integrate it into Hellraiser later this week along with a few other things.

[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.

[MOD] Force Navigation bar and disable HW keys like Nexus 4

This is a mod how to enable navigation bar(on screen buttons) , its very simple and easy...
Add the following line at the end of buid.prop file
qemu.hw.mainkeys=0
now on reboot we will have nav-bar like on nexus 4
To disable hardware keys, I used root explorer go to system/usr/keylayout click and hold on kaypad.nl and choose from menu open in text editor and 139,158,172 edit the home to hom and do the same on all 3 lines and hit save and reboot,
Plus I went and deleted all the 139, 158, 172 lines from external_kbd.kl, Generic.kl, MHLRCP.kl, osp3-input.kl and qwerty.kl. I dont know if that helps because I deleted them first then edited the lines in kaypad.nl.
Thanx to accentuer he made a zip that works also and might be easier for some people
Here is the link
http://forum.xda-developers.com/showthread.php?p=36420028
Sent from my LG-E970 using xda premium
Do the keys on the phone still light up
Sent from my LG-E970 using xda premium
Dsmforlife92 said:
Do the keys on the phone still light up
Sent from my LG-E970 using xda premium
Click to expand...
Click to collapse
Yes. Working on Nocturnal Limited Edition v 1.1.
Nice mod.
Dsmforlife92 said:
Do the keys on the phone still light up
Sent from my LG-E970 using xda premium
Click to expand...
Click to collapse
If you would prefer they didn't you could always turn them off in settings>display>front key light.
As having both seems redundant.
Does this mod disable the hardware keys, I'll do it but no point in having on screen keys and hardware keys.
Sent from my Optimus G
Pony Express said:
Yes. Working on Nocturnal Limited Edition v 1.1.
Nice mod.
Click to expand...
Click to collapse
Thanks. If possible could you provide a screen shot? Also, what are your thoughts/benefits of this mod?
Sent from my LG-E970
did the mod worked great thanks:good:
TangoXray said:
Thanks. If possible could you provide a screen shot? Also, what are your thoughts/benefits of this mod?
Sent from my LG-E970
Click to expand...
Click to collapse
Sent from my LG-E970 using xda premium
TangoXray said:
Thanks. If possible could you provide a screen shot? Also, what are your thoughts/benefits of this mod?
Sent from my LG-E970
Click to expand...
Click to collapse
samomamo said:
Sent from my LG-E970 using xda premium
Click to expand...
Click to collapse
Screenshot above ^^^
Many like this from what I have read. It can come in very handy should hardkeys stop functioning.
With all due respect, for me it takes up screen space I would prefer not to give up. It is a matter of personal preference and options are always a good thing.
Edit: Inverted screenshot= nice.
Pony Express said:
Screenshot above ^^^
Many like this from what I have read. It can come in very handy should hardkeys stop functioning.
With all due respect, for me it takes up screen space I would prefer not to give up. It is a matter of personal preference and options are always a good thing.
Click to expand...
Click to collapse
I would have to agree. It doesn't make too much sense to do this on our device, but I for sure appreciate the know how and option to do it.
Pony Express said:
Screenshot above ^^^
Many like this from what I have read. It can come in very handy should hardkeys stop functioning.
With all due respect, for me it takes up screen space I would prefer not to give up. It is a matter of personal preference and options are always a good thing.
Edit: Inverted screenshot= nice.
Click to expand...
Click to collapse
Appreciate the feedback.
Sent from my LG-E970
I assume all your apps will automatically reconfigure to account for the different screen dimentions?
Hmm, tough choice: give up some screen real estate to gain a dedicated task switcher button and context menu button.
Nastybutler said:
I assume all your apps will automatically reconfigure to account for the different screen dimentions?
Hmm, tough choice: give up some screen real estate to gain a dedicated task switcher button and context menu button.
Click to expand...
Click to collapse
Yes, you are correct.
I can get the virtual keys, but unable to disable the hardware keys
Well till I can get the hardware keys disabled I removed the virtual keys
Sent from my Optimus G
REDFOCZ said:
I can get the virtual keys, but unable to disable the hardware keys
Well till I can get the hardware keys disabled I removed the virtual keys
Sent from my Optimus G
Click to expand...
Click to collapse
If you don't mind trying something, you could open /system/usr/keylayout/keypad_8064.kl in a text editor and put a "#" (without the quotes) at the beginning of the last 3 lines.
Change:
Code:
key 158 BACK VIRTUAL
key 172 HOME VIRTUAL
key 139 MENU VIRTUAL
To
Code:
#key 158 BACK VIRTUAL
#key 172 HOME VIRTUAL
#key 139 MENU VIRTUAL
I have not tried this as I don't have any plans to use this mod... may want to do a quick backup first in case it renders your phone unnavigable.
You may also still have to turn off the backlights in settings>display>front key light.
Nice to know we can do this if our hw keys end up not working in the future
Updated read if anyone having trouble disabling the hw key's
Sent from my SGH-T999 using xda premium
samomamo said:
Updated read if anyone having trouble disabling the hw key's
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Ok, so something like that would work for disabling the hw keys.
Good to know.
Did you by any chance try it the way I suggested? It may be a little cleaner, though I don't think it makes a difference.
bleached45 said:
Ok, so something like that would work for disabling the hw keys.
Good to know.
Did you by any chance try it the way I suggested? It may be a little cleaner, though I don't think it makes a difference.
Click to expand...
Click to collapse
No I didnt try because its already disabled and im lazy to do the whole thing again.
Sent from my SGH-T999 using xda premium
samomamo said:
No I didnt try because its already disabled and im lazy to do the whole thing again.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
HAHA!
np, I hear you and completely understand.

Remap on stock?

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

Categories

Resources