Home Button Screen Wake Function - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Hey guys.. might be a newb question but I just came from the HTC world after several years of modding and this is my very first Samsung.
I have tried two ROMs and really like one of them. The only thing stopping from me completely abandoning my stock ROM is I really like how pushing the home button brings my phone to the lock screen. I have a brand new trident case and the power button is a little stiff so its easier to have that function available. I am on the AT&T MF3 firmware using Graviton ROM.
Can anyone tell me how to make this work??
Sent from my SAMSUNG-SGH-I337 using xda app-developers app

acw928 said:
Hey guys.. might be a newb question but I just came from the HTC world after several years of modding and this is my very first Samsung.
I have tried two ROMs and really like one of them. The only thing stopping from me completely abandoning my stock ROM is I really like how pushing the home button brings my phone to the lock screen. I have a brand new trident case and the power button is a little stiff so its easier to have that function available. I am on the AT&T MF3 firmware using Graviton ROM.
Can anyone tell me how to make this work??
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
I tried this ROM before and if I remember correctly there should be an option in Settings -> My Device -> Display. It sounded like enabling the option turned off the home wake, and it was already disabled which was confusing. But enabling the option and then disabling it seemed to work.

I have NOT tried gravitron rom so I don't know how it is configured. But I found this guide here http://forum.xda-developers.com/showthread.php?t=2263253 that talks about How To turn OFF the hone button wake. So it should be easy to CHECK your keylayout and see IF it is set up like below. If it is I would venture to say you will just edit the keylayout file FROM "172 Home" back to "172 Home Wake". Just follow the directions from below BUT reverse what it says.
How To DISABLE Home Wake
1) Open Root Explorer
2) Navigate to: /system/usr/keylayout/
3) Press 'Mount R/W'
4) Long hold 'gpio-keys.kl' and choose "Open in Text Editor"
5) Remove "WAKE" from the line "172 HOME WAKE"
6) Back out, Save, Reboot
How to Re-enable Home Wake
1) Open root explorer
2) Navigate to /system/use/keylayout/
3) Press Mount RW
4) Long hold "gpio-keys.kl" and choose "Open in text editor"
5) ADD "WAKE" to line "172 HOME" (SO IT READS 172 HOME WAKE)
6) Back out, save, reboot phone
Sent From My Spiderman Themed I337

Related

Disabled n button from waking up device?

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.

[Q] home -> back to ADW?

I just got an NST today and rooted it with the clockwork mod method. So far things are working pretty well, with one major setback: I am having trouble getting back to the ADW. I selected ADW as the default home, but the nook button -> home still takes me to the original home screen, and the menu bar at the top only shows menu & back buttons. So once I open an app, I have no way to launch anything else (besides rebooting, which will bring me back to ADW).
Any help would be greatly appreciated, and I apologise if this has been answered elsewhere, but I couldn't track it down...
Thanks!
Oh, also, I lose the navigation buttons when I go into of the nook interface/reader/settings etc.
Sent from my SGH-I997 using xda app-developers app
B&N modified Eclair co-opts the Home key.
You need to either install Button Saviour (which gives you a constant selection of micro buttons on the edge)
or install one of the mods here that will hack the "n" button.
I use a modified /system/framework/android.policy.jar but I'm trying to clean up the mod.
Thanks, button savior did the job. Actually, I had already installed it with the CWM flashes, but I just hadn't figured out how to activate it; I'd noticed the little icon on the side of the screen, but hadn't actually managed to click it!
An alternative to Button Savior is to launch NookTouch Tools and use it to customize the B&N QuickLaunch menu via the B&N Buttons option to open your launcher of choice instead of one of the standard B&N apps. I find the side buttons for BS, Virtual Button Bar or similar programs always seem to be too small to press when I want them, yet get in the way when I don't. The QuickLaunch menu also won't get closed accidentally.
I've over-ridden all of the standard app selections and don't actually see the B&N apps anymore unless I deliberately launch one.
Hmm, that sounds ideal, but I can't seem to find an apk anywhere, can you link me? The root process installed nookcolor tools, which doesn't seem to have that option.
Thanks!
Sent from my SGH-I997 using xda app-developers app
Nook Touch Tools is by XorZone.
Be sure to check the Show extra action buttons in recent dialog option to get the Home, Menu, Back, Search and Orientation options when you long-press the 'n' button, and you can completely eliminate the need for Button Savior.
Just got it up and running, that makes for a much more comfortable configuration. Thanks again!
Sent from my NOOK using xda app-developers app

Menu Remap Mod?

On my Evo LTE running CM10 the recent apps button on short press opens settings and long press opens recent apps. I like this function vs having to have a shortcut on the desktop or getting to it from notifications. On most newer phones/tablets running ICS/JB there are mods that remap this function but I've not seen this anywhere for the Nexus. I"m running stock but rooted and would prefer to stay that way if i can. Does anyone either know how to do it or if there's a mod floating around that i was unable to find using "search"?
I would also love to customize what app is opened when sliding up from the soft keys, if that's related.
Pezo said:
I would also love to customize what app is opened when sliding up from the soft keys, if that's related.
Click to expand...
Click to collapse
No that's not exactly what i'm talking about but i would like to do that as well. If i understand correctly if you hold any of the software key/button (IE back, home, or recent apps) and slide your finger up there is a dotted circle with google search button at the top. If i could place the settings app there that would get me by. As for now when i hit the recent apps button i would prefer that to be the settings button or being able to long press the button to open settings. I think what i want is a limitation of the launcher but who knows. Anyone who does have any idea how to do this please let me know. I did attempt to edit the keys file in system/usr/keylayout by trying to add an extra key for settings but it didn't work.

Want to swap your Menu and Back Softkeys?

A number of users have been wanting to swap their menu and back softkeys... I believe it's handy for left-handed people who have smaller hands and can't reach the opposite button. So here's how you do it
1) Root phone
2) Using a root file explorer, navigate to /system/usr/keylayout.
3) Open the file Generic.kl
4) Make the following change:
LOCATE line
Code:
# key 139 MENU WAKE_DROPPED"
REPLACE with
Code:
# key 158 MENU WAKE_DROPPED"
LOCATE line
Code:
# key 158 BACK WAKE_DROPPED"
REPLACE with
Code:
# key 139 BACK WAKE_DROPPED"
Save the file Generic.kl, and reboot the phone. Your buttons are now swapped.
I have not provided an "update.zip" to do this, because lately far too many people are relying on one-click methods, and don't know how to make changes themselves, and "devs" don't document these methods for future. So please don't go making a flashable zip and posting it...
Thank You!!!
WOW
Been looking for this for along time, especially coming from Gnex the back soft key was on the laft side. There is also the size of the Note2, make it easier to work with the left hand only.
Thanks, W
pulser_g2 said:
A number of users have been wanting to swap their menu and back softkeys... I believe it's handy for left-handed people who have smaller hands and can't reach the opposite button. So here's how you do it
1) Root phone
2) Using a root file explorer, navigate to /system/usr/keylayout.
3) Open the file Generic.kl
4) Make the following change:
LOCATE line
Code:
# key 139 MENU WAKE_DROPPED"
REPLACE with
Code:
# key 158 MENU WAKE_DROPPED"
LOCATE line
Code:
# key 158 BACK WAKE_DROPPED"
REPLACE with
Code:
# key 139 BACK WAKE_DROPPED"
Save the file Generic.kl, and reboot the phone. Your buttons are now swapped.
I have not provided an "update.zip" to do this, because lately far too many people are relying on one-click methods, and don't know how to make changes themselves, and "devs" don't document these methods for future. So please don't go making a flashable zip and posting it...
Click to expand...
Click to collapse
Thank you! I was wondering if there was also a way to swap it for the on screen nav menu?
Sent from my Note 2
BigE-evo said:
Thank you! I was wondering if there was also a way to swap it for the on screen nav menu?
Sent from my Note 2
Click to expand...
Click to collapse
You mean you want on-screen navigation buttons, nexus style?
pulser_g2 said:
You mean you want on-screen navigation buttons, nexus style?
Click to expand...
Click to collapse
I am looking for a way to make the menu button persistent and also add a search button... can anyone help with that?
Thanks
Sent from my Galaxy Note II on Rogers Wireless
is this right? 3 menus and one back? i don't need a second back anywhere?
Sent from my SPH-L900 using xda app-developers app
wlpywd said:
is this right? 3 menus and one back? i don't need a second back anywhere?
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
Well spotted, I've fixed that. You are basically swapping the numbers of menu and back, but I had a typo in it. The version in the thread is now correct.
I honestly think it's the right handed people who mostly hold their phones in their left hand. Thank you so much for this fix. I've been using button savior but this will be even better.
@Scott, if you want a customized buttons with more buttons, use button savior. You can customize size, location, number of buttons etc, here a pic. I have it setup where if i hit the trigger, the buttons will pop out and go away in 1 second. very convenient. But since I only need back button, this thread is a better way for me it seems.
@OP, Now that i have this setup, is there another line i can change to turn off the lights behind these button permanantly?
edit: nvm there was an option under display to turn those off
boodies said:
I honestly think it's the right handed people who mostly hold their phones in their left hand. Thank you so much for this fix. I've been using button savior but this will be even better.
@Scott, if you want a customized buttons with more buttons, use button savior. You can customize size, location, number of buttons etc, here a pic. I have it setup where if i hit the trigger, the buttons will pop out and go away in 1 second. very convenient. But since I only need back button, this thread is a better way for me it seems.
@OP, Now that i have this setup, is there another line i can change to turn off the lights behind these button permanantly?
edit: nvm there was an option under display to turn those off
Click to expand...
Click to collapse
Hmm interesting, I am right handed, and hold my phone in my right hand. I do admittedly have no problem reaching the far side of the screen with my thumb for typing etc...
If I'm not typing then I still hold it in my right hand, but from the centre, giving me a full reach across the whole phone...
But whether you're left or right handed doesn't matter... Fix is the same For anyone else looking for it, the lights on the buttons can be disabled in display settings.
is there a generic.kl tutorial thread somewhere? to learn how to customize everything? I'd like to modify some long press and double press functionality. Play around a bit.
the only, only, only thing i miss from the evo-lte coming to this phone is the dedicated hardware camera/search button on the side. i feel this note is just one physical button short. oh well.
Sent from my SPH-L900 using xda app-developers app
wlpywd said:
is there a generic.kl tutorial thread somewhere? to learn how to customize everything? I'd like to modify some long press and double press functionality. Play around a bit.
the only, only, only thing i miss from the evo-lte coming to this phone is the dedicated hardware camera/search button on the side. i feel this note is just one physical button short. oh well.
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
Why not just use "Swipe Pad" app & its just one finger action to camera button from any screen.
I'll look at swipe pad, but,i mainly used the button for search and long press for voice search. i rarely,rarely use the camera at all. the buttons at the bottom, physical buttons, could really have been 4 again on a phone this size. personal preference like the extra side button, that's all.
Sent from my SPH-L900 using xda app-developers app
Its the first app i install on a device, i use only the free version as its actually better kept simple & i only activate the 4 corners.
wlpywd said:
is there a generic.kl tutorial thread somewhere? to learn how to customize everything? I'd like to modify some long press and double press functionality. Play around a bit.
the only, only, only thing i miss from the evo-lte coming to this phone is the dedicated hardware camera/search button on the side. i feel this note is just one physical button short. oh well.
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
Double press - I don't think you can do this from generic.kl - you'd need to modify the framework where the buttons are received.
Possibly same for long presses, I'm not sure...
wlpywd said:
is there a generic.kl tutorial thread somewhere? to learn how to customize everything? I'd like to modify some long press and double press functionality. Play around a bit.
the only, only, only thing i miss from the evo-lte coming to this phone is the dedicated hardware camera/search button on the side. i feel this note is just one physical button short. oh well.
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
http://source.android.com/tech/input/key-layout-files.html
http://www.thriveforums.org/forum/t...layout-any-usb-bluetooth-keyboard-rooted.html
boodies said:
http://source.android.com/tech/input/key-layout-files.html
http://www.thriveforums.org/forum/t...layout-any-usb-bluetooth-keyboard-rooted.html
Click to expand...
Click to collapse
you rock!!
Sent from my SPH-L900 using xda app-developers app
pulser_g2 said:
You mean you want on-screen navigation buttons, nexus style?
Click to expand...
Click to collapse
I would love to! On-screen touch buttons for Back at the left, home in the middle and multi-tasking windows list button at the right.
If you don't mind can you please share or point me to a link where I can get this?
srikat said:
I would love to! On-screen touch buttons for Back at the left, home in the middle and multi-tasking windows list button at the right.
If you don't mind can you please share or point me to a link where I can get this?
Click to expand...
Click to collapse
Try adding this to build.prop in /system :
qemu.hw.mainkeys=0
wlpywd said:
is there a generic.kl tutorial thread somewhere? to learn how to customize everything? I'd like to modify some long press and double press functionality. Play around a bit.
the only, only, only thing i miss from the evo-lte coming to this phone is the dedicated hardware camera/search button on the side. i feel this note is just one physical button short. oh well.
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
Did you try long pressing the menu button?

[Q] AHHHHH I want my old galaxy button layout!!

Hi All
I've just got a S5 today. Overall I like it a lot however the bloody button res-assignments is soooooooo annoying!
Is there any to re-map the button layout back to the older galaxy versions? I.E.
Press the left button and the menu will activate (I know if I hold it down it will work but I keep forgetting and it brings up the tasker)
Hold the home button to bring up the tasker.
Frustrating yours
Paul
jokerni said:
Hi All
I've just got a S5 today. Overall I like it a lot however the bloody button res-assignments is soooooooo annoying!
Is there any to re-map the button layout back to the older galaxy versions? I.E.
Press the left button and the menu will activate (I know if I hold it down it will work but I keep forgetting and it brings up the tasker)
Hold the home button to bring up the tasker.
Frustrating yours
Paul
Click to expand...
Click to collapse
Root it -> Install Xposed -> Install GravityBox
Thanks, I had thought about it but its a new fone and you know what Samsung are like... I'm leaving towards re-mapping the key.
/system/usr/keylayout/Generic.kl
Anyone know the key number for the left button (Is it 138), what would I need to change to make the default option a menu. I suppose thinking out loud I want to swap the commands over. I.e. I press the key once I get the menu, press and hold I get the tasker.
Thanks
P.
Just long press the left button and the options come up
Sent from my SM-G900F using XDA Premium 4 mobile app
jokerni said:
Thanks, I had thought about it but its a new fone and you know what Samsung are like... I'm leaving towards re-mapping the key.
/system/usr/keylayout/Generic.kl
Anyone know the key number for the left button (Is it 138), what would I need to change to make the default option a menu. I suppose thinking out loud I want to swap the commands over. I.e. I press the key once I get the menu, press and hold I get the tasker.
Thanks
P.
Click to expand...
Click to collapse
Your best bet is to use gravity box, as suggested above. You can only change the recents function to menu via the file you mentioned. I believe the rest of the options you want are smali edits.

Categories

Resources