[Q] Disable wakeup using home button? [SOLVED] - XPERIA X10 Q&A, Help & Troubleshooting

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!

Related

[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] Tried every possible solution, home screen button and lock screen still broken

Hi guys, please help me
Home button, lock screen not working , and pressing the power button does not pops the menu . I know this is something to do with the keystr
but my keystr is there in imei folder.
I read the threads and found some solutions
1) I tried using the terminal emulator method. Doesn't work
2) Tried using the root explorer method (deleted the keystr, added new file and making sure the file is ON )
Help
3) I read in some forum about using Hex editor can anyone tell me how do I do this?
Please help. Thanks
P.s. I actually fixed the problem but it came back again after a few days.
extremeken said:
Hi guys, please help me
Home button, lock screen not working , and pressing the power button does not pops the menu . I know this is something to do with the keystr
but my keystr is there in imei folder.
I read the threads and found some solutions
1) I tried using the terminal emulator method. Doesn't work
2) Tried using the root explorer method (deleted the keystr, added new file and making sure the file is ON )
Help
3) I read in some forum about using Hex editor can anyone tell me how do I do this?
Please help. Thanks
P.s. I actually fixed the problem but it came back again after a few days.
Click to expand...
Click to collapse
If the file already exists and contains ON, also make sure the permissions on the file are at least 644, or rw-,r--,r--.
ctomgee said:
If the file already exists and contains ON, also make sure the permissions on the file are at least 644, or rw-,r--,r--.
Click to expand...
Click to collapse
how do i check this? thanks
extremeken said:
how do i check this? thanks
Click to expand...
Click to collapse
Root explorer, long click the file, permissions.

Disable power button for wake??

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??

[Q] enabling capacitive buttons

ive read on other threads that you can disable the capacitive buttons on the GT-i9300 by going inputting '#' in front of lines 'key 132 back' and 'key 158 menu'. however when i remove the '#'s my capacitive buttons still stay disabled. how to i re enable them?
remove the #, check the permissions and reboot
ive removed the '#'s but i dont know what you mean by the permissions. is that superSu? if it is ive rebooted the phone and still they wont work.
check the file permissions with a file manager and make sure they're so the same as the other files in the folder
Glebun said:
check the file permissions with a file manager and make sure they're so the same as the other files in the folder
Click to expand...
Click to collapse
Thank you sooo much!! it worked

[GUIDE] Customize Bixby button in custom ROMs

For whoever is using a custom ROM and the bixby button is either disabled or cannot customize with the usual Bixby remap app, I have found a solution: (Root needed for #1, #2 works without root)
>Solution #1 (First try this, if it doesn't work - it didn't work for me for some reason - try solution #2):
With tips from the community, I have found these possible locations to edit the bixby key. Use root file explorer:
- /root/system/usr/keylayout/gpio_keys.kl
- /system/usr/keylayout/Generic.kl
- /vendor/usr/keylayout/gpio_keys.kl (?)
Search for key 703 in each of these files. If it does not exist, try to add it manually. Effects take place after a reboot.
Use this guide here for more details: https://forum.xda-developers.com/t/...on-with-simple-double-and-long-press.3839544/
>Solution #2 - Button Mapper: Remap your keys (Not my app)
First, try to see if you can remap the bixby key with this app. For me, it did not work again, but I found a nice workaround:
In the app, instead of changing "Bixby Button", go to "Add Buttons". Now, press the bixby key. The app should detect the key, and finally you can set it to whatever you want.
(But keep in mind, for this option, it is necessary to purchase the pro version).
FoxTheLegend said:
For whoever is using a custom ROM and the bixby button is either disabled or cannot customize with the usual Bixby remap app, I have found a solution: (Root needed for #1, #2 works without root)
>Solution #1 (First try this, if it doesn't work - it didn't work for me for some reason - try solution #2):
With tips from the community, I have found these possible locations to edit the bixby key. Use root file explorer:
- /root/system/usr/keylayout/gpio_keys.kl
- /system/usr/keylayout/Generic.kl
- /vendor/usr/keylayout/gpio_keys.kl (?)
Search for key 703 in each of these files. If it does not exist, try to add it manually. Effects take place after a reboot.
Use this guide here for more details: https://forum.xda-developers.com/t/...on-with-simple-double-and-long-press.3839544/
>Solution #2 - Button Mapper: Remap your keys (Not my app)
First, try to see if you can remap the bixby key with this app. For me, it did not work again, but I found a nice workaround:
In the app, instead of changing "Bixby Button", go to "Add Buttons". Now, press the bixby key. The app should detect the key, and finally you can set it to whatever you want.
(But keep in mind, for this option, it is necessary to purchase the pro version).
Click to expand...
Click to collapse
I installed Magisk and Root Explorer. I don't have 703. Since I don't know English well, the instructions on the link are complicated for me. Can you briefly explain to me how to get Bixby to launch the desired application with one click? Thank you in advance.
ZmisiS said:
I installed Magisk and Root Explorer. I don't have 703. Since I don't know English well, the instructions on the link are complicated for me. Can you briefly explain to me how to get Bixby to launch the desired application with one click? Thank you in advance.
Click to expand...
Click to collapse
Same problem as me, I didn't find 703 anywhere.. you can try manually adding it though, maybe it will work. Like:
key 703 CAMERA
save, reboot device, check if works.
Remember to save file with .kl extension, not .txt, or buttons wont work
FoxTheLegend said:
Same problem as me, I didn't find 703 anywhere.. you can try manually adding it though, maybe it will work. Like:
key 703 CAMERA
save, reboot device, check if works.
Remember to save file with .kl extension, not .txt, or buttons wont work
Click to expand...
Click to collapse
I don't know how can try manually adding it though? What do I need to write to start Bixby button to save?
ZmisiS said:
I don't know how can try manually adding it though? What do I need to write to start Bixby button to save?
Click to expand...
Click to collapse
if as you said you cant find anywhere "703" in the file, write at the end just like the others, (you can open and edit the file straight away from the root explorer)
key 703 [desired command]
for example
key 703 CAMERA
then save file and reboot phone. If it works, after pressing the bixby key the default camera app should open.
Some people say it works, for me it didn't work though.
FoxTheLegend said:
if as you said you cant find anywhere "703" in the file, write at the end just like the others, (you can open and edit the file straight away from the root explorer)
key 703 [desired command]
for example
key 703 CAMERA
then save file and reboot phone. If it works, after pressing the bixby key the default camera app should open.
Some people say it works, for me it didn't work though.
Click to expand...
Click to collapse
It didn't work for me either. I worked like that, but I also typed something like this, but without success.
# input_fw Intelligent Key for Dream
key 703 CAMERA
When I change everything, I save it, after that I change the txt name to kl. It needs Check Permissions after that, and I don't see it in Root Explorer. Maybe you need to go to Settings, select the app and check the permissions? I do not know.
ZmisiS said:
It didn't work for me either. I worked like that, but I also typed something like this, but without success.
# input_fw Intelligent Key for Dream
key 703 CAMERA
When I change everything, I save it, after that I change the txt name to kl. It needs Check Permissions after that, and I don't see it in Root Explorer. Maybe you need to go to Settings, select the app and check the permissions? I do not know.
Click to expand...
Click to collapse
Weird - first check in Magisk that root explorer has root permissions. Second try to edit the file at once without first chaning to .txt - most editors support it, no need to change. If that still doesnt work, try a different root file explorer app. For me worked "root browser".
FoxTheLegend said:
Weird - first check in Magisk that root explorer has root permissions. Second try to edit the file at once without first chaning to .txt - most editors support it, no need to change. If that still doesnt work, try a different root file explorer app. For me worked "root browser".
Click to expand...
Click to collapse
Root Explorer works for me. The system is rooted, and I confirmed it when I opened Root Explorer. You say it didn't work for you. Neither did I. I did everything according to the instructions.
FoxTheLegend said:
- /vendor/usr/keylayout/gpio_keys.kl
Click to expand...
Click to collapse
FoxTheLegend said:
It Worked for me. Big Thank You!
Click to expand...
Click to collapse

Categories

Resources