*** I AM NOT TAKING ANY CREDIT FOR THIS, I JUST HAPPENED TO GOOGLE IT AND FOUND IT USEFUL AND WANT TO SHARE***
I found it on another forum posted by a guy name ERIC.
**Update (8/19)** THIS MOD SHOULD WORK FOR ALL ROMS! I did it both on AOKP and stock. Gonna look into what else can be edited and post results
If you're having trouble with your phone waking due to the home button, this is the mod for you.
I work in a restaurant and i keep finding that my phone gets quite warm in my pocket because
the screen comes on (it also likes taking screen shots, and sometimes even opens the camera).
Hope this is helpful for you guys.
HERE WE GO!
ONLY MODIFY THE FILE SPECIFIED!
OR PLAY AROUND AT YOUR OWN RISK AS NOTHING OTHER THAN MENTIONED FILE IS TESTED....
open root explorer
navigate to : system/usr/keylayout
now press the mount r/w button near the top of screen to enable read and write permissions
scroll down to: sec_keys.kl
press and hold until menu pops up, select: Open in Text Editor
locate line: key 172 HOME WAKE
tap behind the word WAKE and delete it so you see: key 172 HOME
press menu and select: Save and Exit
now press the button at the top of the screen to disable read and write permissions: Mount R/O
(once pressed should now read : Mount R/W again.
Exit root explorer
Reboot your phone
WALA, no more warm pocket and random screenshots
How about to add screen off in addition to screen wake while in the lockscreen? Thank you.
Sent from my SGH-T999 using Tapatalk 2
Thx! Its worked I've never liked that option...
Sent from my SGH-T999 using xda premium
thanx given, always bugged me.
Thx man. Appreciate the share.
Sent from my SGH-T999 using Tapatalk 2
Thanks for this. By the way does anyone know how to volume button wake?
Edit.
Search the file and found 115 114 for volume wake in there but it.does.not work
Sent from my SGH-T999 using xda app-developers app
The mod worked great, but I miss using the home button to unlock. My Otterbox Defender case prevents the pocket push so I un did it lol. Thx for the find!
Sent from my SGH-T999 using Tapatalk 2
I don't found it,,
I am using Jelly Bean rom right now and I missed the home button just turns on screen. I think in JB whenever I Push home button it directly goes to home. I mean if you gave a break when reading something when You push home button the app you working on is not active anymore but it goes to home instead. Do you guys have a fix for that?
thiagomme said:
How about to add screen off in addition to screen wake while in the lockscreen? Thank you.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
I'd like to have that too. I had it on my previous phone and liked it.
Edit: Interesting, this is the contents of my whole file, and yet only the home and power buttons do wake up the phone.
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 172 HOME WAKE
key 116 POWER WAKE
Hi, on my galaxy note 2, I don't have the seckeys.kl file. What's up with that?
Its a galaxy note 2, this mod is for the s3
This works great! Thank you for finding this mod.
I'm using on-screen navbar buttons. The home button is the ugly thing Samsung has to put it there.
S-Beamed from my GS3 via xda premium
as_usual150 said:
I am using Jelly Bean rom right now and I missed the home button just turns on screen. I think in JB whenever I Push home button it directly goes to home. I mean if you gave a break when reading something when You push home button the app you working on is not active anymore but it goes to home instead. Do you guys have a fix for that?
Click to expand...
Click to collapse
I am also looking for a fix to this problem!
stu5797 said:
I am also looking for a fix to this problem!
Click to expand...
Click to collapse
WAKE: When this key is pressed while the device is asleep, the device will wake up and the key event gets sent to the app.
WAKE_DROPPED: When this key is pressed while the device is asleep, the device will wake up and the key event does not get sent to the app.
Interesting. ..can you give more detail or where to change?
arctic84 said:
*** I AM NOT TAKING ANY CREDIT FOR THIS, I JUST HAPPENED TO GOOGLE IT AND FOUND IT USEFUL AND WANT TO SHARE***
I found it on another forum posted by a guy name ERIC.
**Update (8/19)** THIS MOD SHOULD WORK FOR ALL ROMS! I did it both on AOKP and stock. Gonna look into what else can be edited and post results
If you're having trouble with your phone waking due to the home button, this is the mod for you.
I work in a restaurant and i keep finding that my phone gets quite warm in my pocket because
the screen comes on (it also likes taking screen shots, and sometimes even opens the camera).
Hope this is helpful for you guys.
HERE WE GO!
ONLY MODIFY THE FILE SPECIFIED!
OR PLAY AROUND AT YOUR OWN RISK AS NOTHING OTHER THAN MENTIONED FILE IS TESTED....
open root explorer
navigate to : system/usr/keylayout
now press the mount r/w button near the top of screen to enable read and write permissions
scroll down to: sec_keys.kl
press and hold until menu pops up, select: Open in Text Editor
locate line: key 172 HOME WAKE
tap behind the word WAKE and delete it so you see: key 172 HOME
press menu and select: Save and Exit
now press the button at the top of the screen to disable read and write permissions: Mount R/O
(once pressed should now read : Mount R/W again.
Exit root explorer
Reboot your phone
WALA, no more warm pocket and random screenshots
Click to expand...
Click to collapse
When I first did this I used ES File Explorer to make the edits. It didn't work so I went back to change it back and even though I went back to the default settings the Home button does not turn on the device. So, I downloaded Root Explorer thinking that would help. The strange thing is when I go into the sec_keys.kl file to edit, it is completely blank. So, I added each line manually and then hit save and exit. But, when I go back into it, it is blank again. I assume that all of this has something to do with the home button not turning on the phone. So, what am I doing wrong and how do I fix it?
jconway1968 said:
When I first did this I used ES File Explorer to make the edits. It didn't work so I went back to change it back and even though I went back to the default settings the Home button does not turn on the device. So, I downloaded Root Explorer thinking that would help. The strange thing is when I go into the sec_keys.kl file to edit, it is completely blank. So, I added each line manually and then hit save and exit. But, when I go back into it, it is blank again. I assume that all of this has something to do with the home button not turning on the phone. So, what am I doing wrong and how do I fix it?
Click to expand...
Click to collapse
same problem, it fails to turn on the phone.
Once I do this mod it works but now everytime I push the home button, the phone vibrates and makes the touch screen sounds. Anyone know a solution so this one home button does not vibrate or make a sound when pressed besides turning off vibrations and sounds for the whole phone?
klau1 said:
same problem, it fails to turn on the phone.
Click to expand...
Click to collapse
jconway1968 said:
When I first did this I used ES File Explorer to make the edits. It didn't work so I went back to change it back and even though I went back to the default settings the Home button does not turn on the device. So, I downloaded Root Explorer thinking that would help. The strange thing is when I go into the sec_keys.kl file to edit, it is completely blank. So, I added each line manually and then hit save and exit. But, when I go back into it, it is blank again. I assume that all of this has something to do with the home button not turning on the phone. So, what am I doing wrong and how do I fix it?
Click to expand...
Click to collapse
Restart the phone.
Sent from my GT-I9300 using xda premium
When my screen turns off and I press the home button to wake the screen, any applications or notification popups I had disappears as the home button is being too "aggressive" and immediately takes me to the home screen.
Did I miss a setting somewhere to prevent this?
Thanks.
It seems the only way to prevent this is by enabling Swipe Lock. I guess this is why it's enabled by default?
I'm having the same problem no matter what I do when the screen times out and I press home it takeme back to my home screen. ..Have you found a solution yet?
Sent from my SGH-T889 using xda app-developers app
pezlomd said:
I'm having the same problem no matter what I do when the screen times out and I press home it takeme back to my home screen. ..Have you found a solution yet?
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
No solution yet. And doesn't seem like there is one.
ThaiM said:
No solution yet. And doesn't seem like there is one.
Click to expand...
Click to collapse
In S-Voice app, bring up settings, make sure option to "Open via the home key" is checked. This will allow the home button to only wake the device when the screen is off. Unfortunately, this also introduces some lag when pressing the home button, as the software is waiting to see if you register a double click.
VTEChump said:
In S-Voice app, bring up settings, make sure option to "Open via the home key" is checked. This will allow the home button to only wake the device when the screen is off. Unfortunately, this also introduces some lag when pressing the home button, as the software is waiting to see if you register a double click.
Click to expand...
Click to collapse
I hate that lag, that's why I unchecked it and ran into this Home Button problem.
The lag is pretty bad, like 2-3 seconds. Not practical.
I don't use any lock screen and I always use the home button to wake my phone up.
Since official JB, the home button not only wakes the phone up but it closes the app I'm in. Example : I'm browsing something on chrome, the screen turns off bc of timeout, I wake the phone using the home button and I see chrome back but immediatly it closes down like if I had pressed the home button again (but I didn't). The same behavior does not happen when a lock screen is enabled.
I tried searching for an answer and tried the solution of editing the .kl files in system/usr/keylayout by adding WAKE_DROPPED or replacing WAKE with WAKE_DROPPED for every occurence of the home key (key 172) without luck. I tried fixing the permissions in CWM and I made sure the permissions are rw-r-r.
Running stock rooted with CWM.
Any other ideas? Thx!
I'm also curious about this. My temporary fix was to unfreeze S Voice in Titanium and then enable the double press of the home button to start S Voice.
I'd rather keep S Voice frozen and still keep the same behaviour of the home button in ICS.
pappcam said:
I'm also curious about this. My temporary fix was to unfreeze S Voice in Titanium and then enable the double press of the home button to start S Voice.
I'd rather keep S Voice frozen and still keep the same behaviour of the home button in ICS.
Click to expand...
Click to collapse
Yes that does work indeed. However, it brings back the lag when pressing the home button. I'm also using home2 shortcut for some shortcuts and it completely breaks them!
The same problem arises also when you long press the home button to get to recent apps, if you have an app open in the background at that moment and you press the home button to get out of the recent app screen, it closes the app!
I searched but could not find any solution.
when I press the home button I have 2 seconds delay. the same if I press the other key on the right side.
after the delay if I press again it response quickly like it should but after sleep it happen again.
is there a fix?
Which launcher are you using? Home button lag is often associated with launcher redraws.
If what you mean is a delay when leaving an app to get back to the homescreen....turn off 'open via home key' in s voice settings. The delay when walking the phone is related to the processor and is unavoidable.
Sent from my SAMSUNG-SGH-I317 using xda premium
nosaj13 said:
If what you mean is a delay when leaving an app to get back to the homescreen....turn off 'open via home key' in s voice settings. The delay when walking the phone is related to the processor and is unavoidable.
Sent from my SAMSUNG-SGH-I317 using xda premium
Click to expand...
Click to collapse
did that and still no go.
When i leave an app it works fine.
I mean when i did not touch the phone for some time and the screen is off. then i press the home key the i have the 2 seconds delay.
this is normal for the Galaxy note 2?
by the way I am using the CLEANROM SE 1.5.
I just found out about Buzz Launcher. Its great. I want to use it as a lockscreen or sth. I have turned of lockscreen from android settngs. I want when I press the lock key of gnex the phone to sleep and after pressing the key for a second time to go to home.
My rom is Android Revolution 10.1 4.2.2
Sent from my Galaxy Nexus using xda premium
i am very confused.......so you said you like the buzz launcher......and you want to use it as lockscreen? I assume you really reall love the buzz launcher lock screen and want to rip it out so you can use it with other roms? Is that it?
No. I want to push the lock key. And after pressing it for a second time I want to see the home screen. I think that there was such an option in the spare parts app.
Sent from my Galaxy Nexus using xda premium
so what you mean is you wanna skip the entire lock screen? just press power key and go straight to wherever you were left off, and press home key to return to default home screen?
hhwong said:
so what you mean is you wanna skip the entire lock screen? just press power key and go straight to wherever you were left off, and press home key to return to default home screen?
Click to expand...
Click to collapse
No. I want to press the power key and go to the home screen.
Sent from my Galaxy Nexus using xda premium
I am looking to do the same....
what he and I want to do is for example we are in an app like chrome and we press the power button to turn off the screen then the next time we press the power button to turn the screen on it will then be back on the home screen and NOT on the last app we were in.
SO the goal would be NOT to use a lock screen at all, however when we press the power button then we will see whatever widgets/info displayed on the "home screen"
Not sure if I am explaining it proper but either way I want to know as well if this is possible.
Using Galaxy Nexus - Linaro AOKP rom if that matters.
Any info would be amazing.
Thank you.
intrloper said:
I am looking to do the same....
what he and I want to do is for example we are in an app like chrome and we press the power button to turn off the screen then the next time we press the power button to turn the screen on it will then be back on the home screen and NOT on the last app we were in.
SO the goal would be NOT to use a lock screen at all, however when we press the power button then we will see whatever widgets/info displayed on the "home screen"
Not sure if I am explaining it proper but either way I want to know as well if this is possible.
Using Galaxy Nexus - Linaro AOKP rom if that matters.
Any info would be amazing.
Thank you.
Click to expand...
Click to collapse
Tasker can achieve this. Just create a profile for the event screen off or power button.
Beamed from my CM10.1 Galaxy Nexus