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?
Related
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
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??
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).
Earlier I've posted about losing my keychar and keylayout folders but however downloading some files and folders from the internet and from other (non-samsung phones) my keys started working...However my home key, back key, the power keys doesn't work! Please help.
I probably think that some files are missing from my system folder (keychar and keylayout folder)
I do not want to re-install my android once again so kindly help me out please (I do not have backups either)
Image: http[]s16.postimg.org[slash]n1zh7pilx[slash]Samsung_Galaxy_Chat.jpg
(the marked buttons arenot working.)
Please help with the files or anything which will help to get the phone back to work normally.
Samsung Galaxy Chat GT-B5330
Android Jelly Bean 4.1.2
Portland ICS ROM
Rooted
QWERTY
Why don't you just take the folders from the original rom?
Or why don't you simply reflash the rom?
Hi,
I did something but I don't remember what, while playing with the Swift keyboard.
I can COPY but then when I press long I am presented only with the option AUTOFILL. There is no PASTE option. How can I get my PASTE option back?
S9+ rooted, stock ROM.
Thanks