I was previously able to disable the Home Key for the Wake Activation by editing gpio-keys.kl
After i have upgraded to Kitkat, i can now see in place of WAKE, there is WAKE_DROPPED already in that file, and even if i remove it , i cannot stop the home button wake activation to stop.
The reason i wanted to do this was i use the jelly home button and it with flip cover or slim Armour view, this will keep my phone screen awake if i do not disable the wake function
any one has any idea how this is done in Kitkat.
I am on NB4
swagatsourav said:
I was previously able to disable the Home Key for the Wake Activation by editing gpio-keys.kl
After i have upgraded to Kitkat, i can now see in place of WAKE, there is WAKE_DROPPED already in that file, and even if i remove it , i cannot stop the home button wake activation to stop.
The reason i wanted to do this was i use the jelly home button and it with flip cover or slim Armour view, this will keep my phone screen awake if i do not disable the wake function
any one has any idea how this is done in Kitkat.
I am on NB4
Click to expand...
Click to collapse
are you rooted? if yes, install xposed framework then install wanam xposed..there are option to disable home button wake up in wanam.
jimzmaycry said:
are you rooted? if yes, install xposed framework then install wanam xposed..there are option to disable home button wake up in wanam.
Click to expand...
Click to collapse
thanks for that
Related
Ok, I searched and can't find anything on this. Any thoughts?
FYI...Im using CM7
Thanks.
Sent from my NookColor using XDA Premium App
ramiss said:
Ok, I searched and can't find anything on this. Any thoughts?
FYI...Im using CM7
Thanks.
Sent from my NookColor using XDA Premium App
Click to expand...
Click to collapse
I don't know that you can stop one of the 4 inputs from waking up the hardware, but...
You can define the 'n' button to do something that doesn't offend you and set your screen to sleep after a very brief moment (15 seconds).
Why do you want to change the hardward button behavior?
byronczimmer said:
Why do you want to change the hardward button behavior?
Click to expand...
Click to collapse
Hi, thanks for answering. The reason for this request is because the screen keeps waking up as it moves around in my bag. Just lightly pushing on the case/cover I use will activate the button and leave the screen on until the timeout. I am surprised this isn't an issue for more people (or perhaps people aren't noticing their nook turning on.)
Lowering the timeout is not going to work since I do a lot of reading and having to tap the screen every 15 seconds would be a pain. Unless anyone has figured out how to get screebl to work??
You can completely disable the "N" button by editing the keyboard layout file. Using Root Explorer (paid app - but WELL worth it!) or equivalent, navigate to SYSTEM>USR>KEYLAYOUT then click the button at the top to "Mount R/W", now long-press the file "qwerty.kl" and choose "Open in Text Editor". Then find the following line:
Code:
key 102 HOME WAKE
and simply add a # to the beginning of that line so that it looks like this:
Code:
#key 102 HOME WAKE
Now press your MENU button and choose "Save & Exit". You'll need to reboot the Nook for the change to take effect.
Now your N button should be completely disabled. Just make sure you have the soft keys set up with a home button so you'll have a way to use that functionality when needed.
If you want to maintain the functionality of the "N" button but just prevent it from waking the Nook, simply remove the word WAKE from that line and don't insert the # character. I haven't tried this implementation, but it should work fine.
If you did what jason suggest, make sure you not hide the status bar.
You can change the "unhide" button to something else in Tablet Tweaks or you can use the long-press Power menu option which is also in Tablet Tweaks.
911jason - thanks for that.
Running CM7.0.3 from sdcard, used Root Explorer to find and edit the keyboard layout file.
Simply removed WAKE from the home button as suggested.
Works beautifully. Doesn't wake the device, yet does all the other stuff it's supposed to.
Score one victory for increased battery life for shared knowledge.
I have a soft case and it gets turned on in my pocket.
I went ahead and also removed WAKE from the volume up and down buttons.
Now the only way to wake the screen is the power button. The way my case is, that's the one button that won't get pressed in daily travel.
(don't know if reboot is necessary, but i'd assume so, and did after each change before testing)
Thanks!
TCAndroid said:
911jason - thanks for that.
Running CM7.0.3 from sdcard, used Root Explorer to find and edit the keyboard layout file.
[ ... ]
I went ahead and also removed WAKE from the volume up and down buttons.
Click to expand...
Click to collapse
I also took WAKE off the volume keys, because I tend to reach into my bag and adjust the volume while walking or waiting for the train. My buttons don't tend to get pressed, since my bag is for a netbook and my uncased NC doesn't rattle around. However, after adjusting the volume, the screen was live and the bag and its contents sometimes made random touches all over the screen...
The volume buttons now work exactly the way I want! Thanks for the very clueful answer to this question!
Of course, now I have another thing to do every time I update my ROM. I should learn how to make update scripts!
I am curious why HOME has WAKE and not WAKE_DROPPED, when it appears to behave like WAKE_DROPPED.
From what I understand, WAKE_DROPPED causes the device to wake from sleep but does not send the command normally associated with the button that was pressed. WAKE will wake from sleep and also send the command after doing so.
911jason said:
From what I understand, WAKE_DROPPED causes the device to wake from sleep but does not send the command normally associated with the button that was pressed. WAKE will wake from sleep and also send the command after doing so.
Click to expand...
Click to collapse
Exactly so. HOME acts like WAKE_DROPPED, doesn't it? But it's marked WAKE.
Actually, yes, you're right... just realized that. Not sure why it's behaving that way.
Hi I coming from the nexus 5 and I love the on screen buttons. I love everything about the s5 but I not a fan of the buttons. I wanted to know if can turn them off or remap then so that they do nothing. Also maybe get home button to turn on and off the phone so that I don't have to use the power button on the side. Let me know if you have a way to do it. I prefer not to have to go and edit some XML file. If there is an app or setting I can use to do that for me that would be great.
Sent from my SM-G900T
Android6190 said:
Hi I coming from the nexus 5 and I love the on screen buttons. I love everything about the s5 but I not a fan of the buttons. I wanted to know if can turn them off or remap then so that they do nothing. Also maybe get home button to turn on and off the phone so that I don't have to use the power button on the side. Let me know if you have a way to do it. I prefer not to have to go and edit some XML file. If there is an app or setting I can use to do that for me that would be great.
Sent from my SM-G900T
Click to expand...
Click to collapse
Turn the backlights off in the display menu, install Gravity Box and set up the NavBar options etc, regarding re-mapping the home button, it's available on Custom ROMS but not sure if an Xposed module can/would work.
radicalisto said:
Turn the backlights off in the display menu, install Gravity Box and set up the NavBar options etc, regarding re-mapping the home button, it's available on Custom ROMS but not sure if an Xposed module can/would work.
Click to expand...
Click to collapse
Thanks. Now I need to see if I can remap the buttons. I currently have infinity ROM which doesn't give the option for it.
Wanam Xpose should all need that options.
Hi everyone,
I wanted to disable screen waking up by home button - which causes many random wake ups while I keep phone in my pocket.
key bindings are stored in /system/usr/keylayout directory, but I've found HOME button being mapped in multiple different files:
Generic.kl:key 102 MOVE_HOME
Generic.kl:#key 172 HOME WAKE
Generic.kl:key 249 DUMMY_HOME1
Generic.kl:key 250 DUMMY_HOME2
Generic.kl:key 252 DUMMY_HOME
Vendor_045e_Product_028e.kl:key 316 HOME
....
Vendor_2943_Product_0020.kl:key 172 HOME
atmel_mxt_ts.kl:key 102 HOME
gpio-keys.kl:key 172 HOME WAKE_DROPPED
qwerty.kl:key 102 HOME WAKE
synaptics_rmi4_i2c.kl:key 102 HOME
I already have tried removing WAKE mapping for HOME and WAKE_DROPPED from Generic.kl and gpio-keys.kl, but it didnt help.
Does anyone have any idea how to disable HOME wake up for galaxy S5?
If your on alliance ROM I'm pretty sure you can just simply change a setting in alliance settings.
Sent from my SM-G900F using XDA Free mobile app
Wanam Xposed has an option to do that but not sure if it works. It's in System, scroll all the way down to Buttons. You'll need root for that.
Wanam Xposed Works
iBimmer said:
Wanam Xposed has an option to do that but not sure if it works. It's in System, scroll all the way down to Buttons. You'll need root for that.
Click to expand...
Click to collapse
Excellent suggestion. I can confirm that this works on the S5! What a relief!
Deleted
I use exposed editions, it's brilliant because I can now have my home button to activate power after two quick presses, there are many options for button configuration with it, definitely worth a look
I had this disabled with Wanam, but I'm not up to using xposed under Lollipop now. Anyone found a non-xposed way under Lollipop to disable the home button from unlocking the screen?
proximity sensor hacks like Gravity screen don't *quite* do the trick.
An alternative lock screen might, but I've tried several in the past and not found one I really liked.
Is there a way to completely disable the home button & menu button long press and double click delay? i have wanam installed, disabled the home button long press, but i also have Gravitybox installed which overrrided those settings. sadly i don't know how to disable it in gravitybox. and yes, i have also disabled the S voice shortcut.
[email protected]
Everytime i pull out the note 4 from pocket, the screen is on.
how can i disable the button to wake up the phone?
im rooted, but changes in system/user/keylayout/gpio.keys.kl not working for me.
if i delete the hole line, home button is complete disabled not only for wake up.
wake_dropped wont work for me.
thx in advanced for help
Xposed Additions - xposed module
https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb
I've just tested it and works well
thx for your reply
how to use this module to block home button wake up
buttons - add new key - home - screen off - select both options - click and long press
thx for your help!!! it works
shootermc77 said:
[email protected]
Everytime i pull out the note 4 from pocket, the screen is on.
how can i disable the button to wake up the phone?
im rooted, but changes in system/user/keylayout/gpio.keys.kl not working for me.
if i delete the hole line, home button is complete disabled not only for wake up.
wake_dropped wont work for me.
thx in advanced for help
Click to expand...
Click to collapse
You can install xposed framework then install wanam , and go system > buttons > Enable wake HOME button .
reboot to take effect.
Enjoy =)
Thank you so much I tried everything Wanam and all that stuff nothing works... I'm rebooting now to see if it works well it did and I'm very very very very very very very happy