Hi,
Is it possible to disable wakeup with home button? I am on rooted stock V20H.
maludroid said:
Hi,
Is it possible to disable wakeup with home button? I am on rooted stock V20H.
Click to expand...
Click to collapse
Change key 172 HOME WAKE
To:
key 172 HOME
In /system/usr/keylayout/Generic.kl,
Reboot and enjoy
Sent from my LG-P760 using xda app-developers app
N00BY0815 said:
Change key 172 HOME WAKE
To:
key 172 HOME
In /system/usr/keylayout/Generic.kl,
Reboot and enjoy
Sent from my LG-P760 using xda app-developers app
Click to expand...
Click to collapse
Thanks, but it doesn't work. key 172 HOME is exactly how it looks on stock rooted V20H.
I tried to combine:
key 172 HOME WAKE_DROPPED
but it resulted in home button not working.
Regards.
Related
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.
Hi all
Just wondering if there is a return key which will take you to the previous menu on this phone? I can see there is a physical button but I am guessing this is the 'home' Button..
Thanks
Sent from my XT890 using xda app-developers app
topcat07 said:
Hi all
Just wondering if there is a return key which will take you to the previous menu on this phone? I can see there is a physical button but I am guessing this is the 'home' Button..
Thanks
Sent from my XT890 using xda app-developers app
Click to expand...
Click to collapse
Yes, to the right of the Physical button you see is a haptic button that lights up when you touch it and that is the Back/Return key and on the left is a Menu/Options key :laugh:
I know this has been mentioned before and there is some kind of Tutorial for it, but I cannot find it.. Can any kind souls tell me how to Disable the Use of Home Button to wake up from Sleep, instead just allow the Power Button. Thanks!
Sent from my MT11i using xda app-developers app
Boyho said:
I know this has been mentioned before and there is some kind of Tutorial for it, but I cannot find it.. Can any kind souls tell me how to Disable the Use of Home Button to wake up from Sleep, instead just allow the Power Button. Thanks!
Sent from my MT11i using xda app-developers app
Click to expand...
Click to collapse
1. Open /system/usr/keylayout/gpio-keys.kl.
2. Scroll to the line that says:
"key 172 HOME WAKE"
3. Now delete the HOME so it says:
"key 172"
4. Save it and reboot.
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
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