Disable power button for wake?? - Galaxy S III Q&A, (US Carriers)

Has anyone figured out how to disable the power button for screen wake, so that the menu button and menu button only wakes the phone??
I can't imagine this to be too difficult, maybe just some build.prop edit, key mapping thing??
Anyone??
-Ryan

Ok, I tried doing this myself in Root Explorer, but...
Launched RootExplorer
system > usr > keylayout
Found sec_key.kl
Made a backup of the sec_key.kl file.
Long-pressed sec_key.kl and opened Text Editor
Went down to KEY 116 POWER WAKE
edited it to become-
KEY 116 POWER
Saved the change
Rebooted the device
No dice....power button still wakes the phone.
Thoughts?
EDIT: Got it working. Also had to edit sec_powerkey.kl in same folder.
-Ryan

sticky this maybe??

Related

[Q] Disable wakeup using home button? [SOLVED]

Anybody know if there is a way to disable wakeup using home button?
__________________________________________________________
SOLUTION
You will need Root and Root Explorer (app)
Start Root Explorer and tap on "Mount r/w" then go in /system/usr/keylayout
and edit the file "es209ra_keypad.kl"
Find string:
Code:
key 102 HOME WAKE_DROPPED
and delete WAKE_DROPPED from it, save->exit->reboot = DONE.
Didn't know it did that! Cheers ma dears.
Sent from my X10i using XDA App
This might be helpful but I haven't got time to try them out.
http://forum.xda-developers.com/showthread.php?t=683902
Thx, it works!
Please help me disable wakeup using home button
amisk said:
Please help me disable wakeup using home button
Click to expand...
Click to collapse
Please read the link.
amisk,
You will need Root and Root Explorer (app)
Start Root Explorer and tap on "Mount r/w" then go in /system/usr/keylayout
and edit the file "es209ra_keypad.kl"
Find string:
Code:
key 102 HOME WAKE_DROPPED
and delete WAKE_DROPPED from it, save->exit->reboot = DONE.
Dear prewed!
You are the best! Thank`s
prewed said:
amisk,
You will need Root and Root Explorer (app)
Start Root Explorer and tap on "Mount r/w" then go in /system/usr/keylayout
and edit the file "es209ra_keypad.kl"
Find string:
Code:
key 102 HOME WAKE_DROPPED
and delete WAKE_DROPPED from it, save and exit, DONE.
Click to expand...
Click to collapse
Thanks =D
For what is "key 399 grave"?
Sent from my rooted 026 x10i using XDA App
Wonderful, thanks!
So I'm wondering then.. Is it possible to disable the (power button) from hanging up everytime I'm on the phone?
Every time I'm on the phone and want to wake up the phone sometimes I forget that pressing the "power button" would hang up the call. is it possible to disable that?
Thank You!
prewed said:
amisk,
You will need Root and Root Explorer (app)
Start Root Explorer and tap on "Mount r/w" then go in /system/usr/keylayout
and edit the file "es209ra_keypad.kl"
Find string:
Code:
key 102 HOME WAKE_DROPPED
and delete WAKE_DROPPED from it, save and exit, DONE.
Click to expand...
Click to collapse
Just want to say THANK YOU!!!
My phone was driving me crazy, unlocked in my pocket and lived its own life.
Now it will sleep lika a little baby
+1 Thanks!!!
Sent from my one-click-rooted X10i using XDA App
Thanx for the link for fixing the Home button wakeup thingy
Sighx said:
So I'm wondering then.. Is it possible to disable the (power button) from hanging up everytime I'm on the phone?
Every time I'm on the phone and want to wake up the phone sometimes I forget that pressing the "power button" would hang up the call. is it possible to disable that?
Click to expand...
Click to collapse
+1 on that... it's SO annoying
- Martin
Does this enable to lock the screen whilst in a call?
Sent from my X10i using XDA App
crap, need some help, could someone post me their the section showing the x10 2.1 key layout...did this change to disable my home key and somehow disabled the power key as well...not sure if I might have deleted another key so just need a listing of the key number section.
Nevermind, just realized it makes an automatic backup...saw that the original file had the word HOME in caps but I had written it as Home...odd that it would be so case sensitive.
Anybody know if this method could be used to turn one of the hardware buttons into a PLAY/PAUSE button?
I take it this method still works on 2.1?
All I want to do is disable the wake for the Home button to stop my X10 waking in my pocket but I'm an ADB noob and I tried to read the thread linked (Desire) but it talks about recovery-windows.bat and windows root tools and I have no idea where this is?
I have Android SDK installed correctly I think?
Could somebody point me in the right direction please?
Thanks, Jason.
EDIT- Also confused that a post above says this can be done with root explorer but the linked thread says it cannot, I tried with Root Explorer but I cannot open the es209ra_keypad.kl file?
works the same way, but from version 2.1 only after reboot
What do you meant only after reboot?
And did you do this with Root Explorer? Did you copy the file and edit it else where?
Sorry and thanks!

[Q] lost my external keyboard use after using the generic.kl modified file

I diabled the 4 buttons with the generic.kl file and lost the external keyboard use. What are the 4 button edits in the file? does anyone know the edit values?
hmm, maybe that is what happened to mine too. Guess I will revert back and try the old kl.
yep, that was it.
reverted back to the og kl and the usb keyboard works.
values are:
217 SEARCH
102 HOME
139 MENU
158 BACK
hope this helps

[Q] Any file in app drawer?

Hey
Does anybody know how to (if possible) to place any file (in my case a script file) in the app drawer so i can place it on the today screen and also on my lockscreen?
Yes
If you use Astro file manager you can long press on the home screen and press Shortcut->Astro File Manager->Then you pick the file you want to be added to the Home Screen,
-----------------------------------------------------
If someone has helped you press on the Thanks Button
-----------------------------------------------------
jamesweech said:
If you use Astro file manager you can long press on the home screen and press Shortcut->Astro File Manager->Then you pick the file you want to be added to the Home Screen,
-----------------------------------------------------
If someone has helped you press on the Thanks Button
-----------------------------------------------------
Click to expand...
Click to collapse
Thanks, but it didnt work. I put the script on the homescreen but it wouldnt do anything when i clicked it.

[Q] HELP! Messed my LWW keys..

http://forum.xda-developers.com/showthread.php?t=1535915
I tried this today, but instead of making walkman button as search button I tried to make it open POWERAMP.
But after that, I noticed that my home button stopped working
So I tried to replace the original file back, but it didn't worked
Then I tried to edit Generic.kl file, but after that now my keys doesn't work at all (including volume buttons, camera button, home button...)
I replaced all files back, made cache wipe, dalvik cache wipe, made settings reset but still nothing works.. :/
Can someone help me? (I don't want to wipe all data in my phone)
outoflock377 said:
http://forum.xda-developers.com/showthread.php?t=1535915
I tried this today, but instead of making walkman button as search button I tried to make it open POWERAMP.
But after that, I noticed that my home button stopped working
So I tried to replace the original file back, but it didn't worked
Then I tried to edit Generic.kl file, but after that now my keys doesn't work at all (including volume buttons, camera button, home button...)
I replaced all files back, made cache wipe, dalvik cache wipe, made settings reset but still nothing works.. :/
Can someone help me? (I don't want to wipe all data in my phone)
Click to expand...
Click to collapse
What ROM are you on? I doubt that simply putting Poweramp would do the trick for the Walkman button.
NOTE: On the WT19i, the only file you need to modify is pm8058-keypad.kl
1) Restore those files you modified : If you used Root Explorer to change those files, you can restore the originals simply from the .BAK files that RootExplorer creates by default. If not, simply copy those .KL files from your ROM's ZIP. (You may use some root explorer to copy the files that you modified. Make sure that permissions are properly set: rw-r--r--)
2) Goto: /system/usr/keylayout/ The only file you need to modify is pm8058-keypad.kl. Do not modify any other file. In front of key 200,(walkman key) write SEARCH. Save and exit. If you're on Cyanogenmod 7, from Cyanogenmod Settings, you can change the Search key behavior to launch a custom app(just look around the menus)
3)On CM9, this feature is not available(however you can still use predefined actions such as SEARCH or MUSIC(which will launch Apollo).

[help] button remap needed?

Hello guys!
Can someone help me solve my problem?
I ported a ROM to my device. But there are stock button actions from port device.
I tried to replace whole Keylayout folder to fix it, but it's still the same..
How can I remap my buttons? I tried to edit Generic.kl, but the keys are still from port device.
my back button action is to go back.
my middle hardware button action is to go back (I want it to go home) and on long click is recentapp (I want search)
my recentapp button (on the right side) action is to go to the menu (apps menu) but I want it to see recent apps.
It strange that I replaced whole Keylayout folder from my stock ROM with all files inside and it's still the same..
Is there any other LIB or file that should I replace?

Categories

Resources