First of all, good day to all.
So, my father got rid of his old cellphone and gave it to me, it's a LG P500, the problem is... It seems it got wet and some keys are mixed up:
* The one that should bring the menu in apps (the one in the far left) it's doing the "back", "volume up" and his original function.
* The "home" button seems to be working fine
* The "back" button is working as "volume -" and "home" (I think is working as home because when I hit it it takes me to the home screen instead of back)
* The "search" button is seems to work fine
* The "volume up" and "volume -" keys seems to be working fine
I already searched around the forum and found a key remap file so I flashed it and now the "search" button is working as the "back" button (which is something good, because now I can go through the menu's without having to reboot the cellphone).
I also found something about changing text on "system/usr/keylayout/qwerty.kl" but I don't know what to change, could anybody help me with this? I need to remap the "menu" button (far left button) and the "power" and "lock" buttons.
I'm using Cyanogenmod 7.2 CR2.
Thanks in advance and sorry about this but I'm new to all this.
zeratos said:
First of all, good day to all.
So, my father got rid of his old cellphone and gave it to me, it's a LG P500, the problem is... It seems it got wet and some keys are mixed up:
* The one that should bring the menu in apps (the one in the far left) it's doing the "back", "volume up" and his original function.
* The "home" button seems to be working fine
* The "back" button is working as "volume -" and "home" (I think is working as home because when I hit it it takes me to the home screen instead of back)
* The "search" button is seems to work fine
* The "volume up" and "volume -" keys seems to be working fine
I already searched around the forum and found a key remap file so I flashed it and now the "search" button is working as the "back" button (which is something good, because now I can go through the menu's without having to reboot the cellphone).
I also found something about changing text on "system/usr/keylayout/qwerty.kl" but I don't know what to change, could anybody help me with this? I need to remap the "menu" button (far left button) and the "power" and "lock" buttons.
I'm using Cyanogenmod 7.2 CR2.
Thanks in advance and sorry about this but I'm new to all this.
Click to expand...
Click to collapse
Look like you have to rewrite the code or rewire the button
Sent from my LG-P500 using xda premium
zeratos said:
First of all, good day to all.
So, my father got rid of his old cellphone and gave it to me, it's a LG P500, the problem is... It seems it got wet and some keys are mixed up:
* The one that should bring the menu in apps (the one in the far left) it's doing the "back", "volume up" and his original function.
* The "home" button seems to be working fine
* The "back" button is working as "volume -" and "home" (I think is working as home because when I hit it it takes me to the home screen instead of back)
* The "search" button is seems to work fine
* The "volume up" and "volume -" keys seems to be working fine
I already searched around the forum and found a key remap file so I flashed it and now the "search" button is working as the "back" button (which is something good, because now I can go through the menu's without having to reboot the cellphone).
I also found something about changing text on "system/usr/keylayout/qwerty.kl" but I don't know what to change, could anybody help me with this? I need to remap the "menu" button (far left button) and the "power" and "lock" buttons.
I'm using Cyanogenmod 7.2 CR2.
Thanks in advance and sorry about this but I'm new to all this.
Click to expand...
Click to collapse
Try some rom with soft keys like GSnap
Sent from my LG-P500
Or some app like button savior
Sent from my LG-P500 using xda premium
myawan said:
Try some rom with soft keys like GSnap
Sent from my LG-P500
Click to expand...
Click to collapse
And how can I do that? As I said, to remap the "back" button on the "search" button I had to flash a file.
FPChaim said:
Or some app like button savior
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
That's something I have been trying to avoid.
allenwalker1998 said:
Look like you have to rewrite the code or rewire the button
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
That's something I have been trying to avoid.
Thanks for the answers, anybody else can help me?
EDIT: Also, I flashed the Xperia Arc launcher and some widgets are stuck on the main screen, they are invisible and I can't delete them, could anybody help me, please? D:
Do the buttons function as expected while in recovery?
-- Sent from my TouchPad using Communities
post-mortem said:
Do the buttons function as expected while in recovery?
-- Sent from my TouchPad using Communities
Click to expand...
Click to collapse
No, they don't work on recovery, it's not a CFW problem, I have installed lots of ROMS with no luck, the only thing that worked was flashing a modified qwerty.kl layout that exchanged the back button with the search button, I know where the file is located and I can modify it but I don't know what to modify, here is it:
key 399 GRAVE
key 2 1
key 3 2
key 4 3
key 5 4
key 6 5
key 7 6
key 8 7
key 9 8
key 10 9
key 11 0
key 158 SEARCH WAKE_DROPPED
key 230 SOFT_RIGHT WAKE
key 60 SOFT_RIGHT WAKE
key 107 ENDCALL WAKE_DROPPED
key 62 ENDCALL WAKE_DROPPED
key 229 MENU WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 59 MENU WAKE_DROPPED
key 127 BACK WAKE_DROPPED
key 217 BACK WAKE_DROPPED
key 228 POUND
key 227 STAR
key 231 CALL WAKE_DROPPED
key 61 CALL WAKE_DROPPED
key 232 DPAD_CENTER WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 102 HOME WAKE
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 116 POWER WAKE
key 212 CAMERA
key 16 Q
key 17 W
key 18 E
key 19 R
key 20 T
key 21 Y
key 22 U
key 23 I
key 24 O
key 25 P
key 26 LEFT_BRACKET
key 27 RIGHT_BRACKET
key 43 BACKSLASH
key 30 A
key 31 S
key 32 D
key 33 F
key 34 G
key 35 H
key 36 J
key 37 K
key 38 L
key 39 SEMICOLON
key 40 APOSTROPHE
key 14 DEL
key 44 Z
key 45 X
key 46 C
key 47 V
key 48 B
key 49 N
key 50 M
key 51 COMMA
key 52 PERIOD
key 53 SLASH
key 28 ENTER
key 56 ALT_LEFT
key 100 ALT_RIGHT
key 42 SHIFT_LEFT
key 54 SHIFT_RIGHT
key 15 TAB
key 57 SPACE
key 150 EXPLORER
key 155 ENVELOPE
key 12 MINUS
key 13 EQUALS
key 215 AT
# On an AT keyboard: ESC, F10
key 1 BACK WAKE_DROPPED
key 68 MENU WAKE_DROPPED
Click to expand...
Click to collapse
I need to change the "menu" button to the "home" button but I don't know what to do here.
zeratos said:
No, they don't work on recovery, it's not a CFW problem, I have installed lots of ROMS with no luck, the only thing that worked was flashing a modified qwerty.kl layout that exchanged the back button with the search button, I know where the file is located and I can modify it but I don't know what to modify, here is it:
I need to change the "menu" button to the "home" button but I don't know what to do here.
Click to expand...
Click to collapse
°:thumbup:Maybe this will help you man >>>
http://forum.xda-developers.com/showthread.php?t=1634368
And Don't forget to press THANKS button .
Sent from my LG-P500 using xda premium
optimusjeet said:
°:thumbup:Maybe this will help you man >>>
http://forum.xda-developers.com/showthread.php?t=1634368
And Don't forget to press THANKS button .
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Yeah, I already have that on my bookmarks, the thing is, the search button is the one I'm using as the back button, I'm looking into turning the home button into the menu button, thanks for the help tho.
Can anyone else help me with this problem? :<
Here download qwerty.kl and replace your qwerty.kl. https://www.box.com/shared/bg57snyh5i8mh4vh61wi
Tell me if it works.
Sent from my LG-P500 using xda premium
---------- Post added at 04:43 PM ---------- Previous post was at 04:40 PM ----------
And reboot btw
Sent from my LG-P500 using xda premium
optimusjeet said:
°:thumbup:Maybe this will help you man >>>
http://forum.xda-developers.com/showthread.php?t=1634368
And Don't forget to press THANKS button .
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
allenwalker1998 said:
Here download qwerty.kl and replace your qwerty.kl. https://www.box.com/shared/bg57snyh5i8mh4vh61wi
Tell me if it works.
Sent from my LG-P500 using xda premium
---------- Post added at 04:43 PM ---------- Previous post was at 04:40 PM ----------
And reboot btw
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
It broke the previous patch, the search button which I had previously mapped as the back button when to search and the other keys stayed the same, the original ".zip" I'm using has the qwerty.kl and 7k_handset.kl, this is 7k_handset.kl:
# Copyright (c) 2009, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of Code Aurora nor
# the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
key 226 HEADSETHOOK WAKE
key 116 POWER WAKE
key 107 POWER WAKE_DROPPED
key 158 SEARCH WAKE_DROPPED
key 127 BACK WAKE_DROPPED
key 217 BACK WAKE_DROPPED
Click to expand...
Click to collapse
Can anyone else help me with this, please?
Remove the 7k replace it with the qwerty.kl. try it
Sent from my LG-P500 using xda premium
allenwalker1998 said:
Remove the 7k replace it with the qwerty.kl. try it
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
nvm, I finally got it fixed by trial and error
key 139 MENU
key 102 HOME
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 217 SEARCH
key 116 POWER
Those are the keys for the hardware buttons, just swap them on the qwerty.kl, I swapped menu to 102 and home to 139 and now it's working fine.
Thanks for the help and this thread can be locked now.
Hey, I'm trying to do something similar in CM10; I want to re-map the Search key as the Back key. I've tried editing Generic.kl (that's the file I had to edit to disable the capacitive buttons on my tablet) and after that didn't work, a Google search brought me here. I've tried editing the keys in qwerty.kl mentioned in the post above mine, but it doesn't seem to take effect.
Any ideas? I've tried the obvious clear cache/dalvik. I must be missing something small...
sunami88 said:
Hey, I'm trying to do something similar in CM10; I want to re-map the Search key as the Back key. I've tried editing Generic.kl (that's the file I had to edit to disable the capacitive buttons on my tablet) and after that didn't work, a Google search brought me here. I've tried editing the keys in qwerty.kl mentioned in the post above mine, but it doesn't seem to take effect.
Any ideas? I've tried the obvious clear cache/dalvik. I must be missing something small...
Click to expand...
Click to collapse
Hrm.. I wouldn't know about CM10, I have done it on CM7 and 9, what files are on the keylayout foldeR?
zeratos said:
Hrm.. I wouldn't know about CM10, I have done it on CM7 and 9, what files are on the keylayout foldeR?
Click to expand...
Click to collapse
7k_handset.kl
AVCRP.kl
Generic.kl
qwerty.kl
thunder_keypad.kl
and then eight "Vendor_*random numbers*_Product_*more random numbers*.kl"
Well, on CM7 you need to edit only the qwerty.kl file, on CM9 you need to edit both qwerty.kl and thunder_keypad.kl files for the changes to work, have you tried editing both?
I would try downloading a Jelly Bean ROM to try but I have been changing between ROMS for a week ( I have flashed the phone like 40 times by now ) and I'm trying to stick to the one I'm using right now ( mainly because I have been playing a RPG game and I don't know how to backup my save data ). ._. !
This list:
key 139 MENU
key 102 HOME
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 217 SEARCH
key 116 POWER
Click to expand...
Click to collapse
Haven't changed between CM7 and CM9 so I guess it would be the same on CM10.
If you manage to get it to work please report back so other people can know what to do.
Good luck.
zeratos said:
Well, on CM7 you need to edit only the qwerty.kl file, on CM9 you need to edit both qwerty.kl and thunder_keypad.kl files for the changes to work, have you tried editing both?
I would try downloading a Jelly Bean ROM to try but I have been changing between ROMS for a week ( I have flashed the phone like 40 times by now ) and I'm trying to stick to the one I'm using right now ( mainly because I have been playing a RPG game and I don't know how to backup my save data ). ._. !
This list:
Haven't changed between CM7 and CM9 so I guess it would be the same on CM10.
If you manage to get it to work please report back so other people can know what to do.
Good luck.
Click to expand...
Click to collapse
It worked. I didn't know to edit thunder_keypad.kl.
Addendum;
FWIW, my Mom has a p500 too, and her back key is almost totally dead. Now I get to "fix" it for her, and as a plus I don't have to worry about constantly abusing my menu key. Many, many, many thanks.
No problem, I'm glad I could help you. (=
Related
hey all,
been looking into the bravo-keypad and if you look at the top of a bravo-keypad for wake up using BACK you have this
key 102 HOME
key 139 MENU
key 158 BACK WAKE_DROPPED
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
key 116 POWER
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
The trackball has the key 272 which i got from keytest using recovery.
IF i had this to the file instead of back, i kill the power button ..
suggestions why? lol
and a solution on how to add it?
This would be interesting if it could ever be achieved
It is allready in the ShadowFrost rom, but it would be nice to make it, so it could be used in other roms as well.
Gtot
Gtot said:
It is allready in the ShadowFrost rom
Gtot
Click to expand...
Click to collapse
That's good news! It means it is doable...
Please search before posting!
http://forum.xda-developers.com/showthread.php?t=703539
======================================
I don't think you can activate trackpad/trackball wake up in bravo-keypad.kl. It's a kernel patch from what I gather.
In my DeFrost 2.0c I have trackpad to wake and unlock, together with the power button. Trackpad is not listed in bravo-keypad.kl.
Daelyn said:
Please search before posting!
http://forum.xda-developers.com/showthread.php?t=703539
======================================
I don't think you can activate trackpad/trackball wake up in bravo-keypad.kl. It's a kernel patch from what I gather.
In my DeFrost 2.0c I have trackpad to wake and unlock, together with the power button. Trackpad is not listed in bravo-keypad.kl.
Click to expand...
Click to collapse
Apparently it is only for 2.1 for now..
hehe i searched for trackball couldnt remember the trackpad so hehe
Hm so it would probobly not be possible to fix with keypad wile?
what a pain in the ass
jastonas said:
Apparently it is only for 2.1 for now..
Click to expand...
Click to collapse
No, as i said... it is working in ShadowFROST and it is Froyo.
The other solution is only 2.1 yes, we just need to find out how it was don in ShadowFROST.
l1nuxfre4k said:
hehe i searched for trackball couldnt remember the trackpad so hehe
Hm so it would probobly not be possible to fix with keypad wile?
what a pain in the ass
Click to expand...
Click to collapse
Well. It works in DeFrost 2.0c, so, I of course it is possible.
How? I don't have a clue.
Afternoon all,
I had a HTC Magic originally and when you pressed menu button twice it would bring the screen back on and then unlock it.
I am trying to achieve the same functionality on my Desire.
The Desire insists you firstly use the power button to bring the screen back to life & then you must swipe down (which i find a nuisance!) before you are back at the home screen.
By modifying 'bravo-keypad.kl' as below this fixes the first part (so the menu button activates the screen), but it still wants me to swipe down.
key 102 HOME
key 139 MENU WAKE_DROPPED
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
key 116 POWER WAKE_DROPPED
Click to expand...
Click to collapse
To conclude: Is there a way to remove the 'swipe to unlock'? (without using ''Lock Screen Switch'' widget from the market.)
Thanks in advance!
Chris
I use "nolock", free from the Market and it works great on my Evo.
(Not sure if this is the widget you were referring to or not. )
-= SomeHuman =-
I rooted my Ziio" yesterday.
Installed Google apps.
Have some problems with SetupWizard.apk.
First time after restart work setupwizard i configured my google acc etc. , but after other restart hang on start screen where i must push the android in middle of screen to start, but after do it nothing happens. And homebutton not work , but after i deletet it with adb my Tablet work. Google MArket, Gmail. maps works.
MY Creative Ziio 10, heve 7 Hardware buttons under Display.
All of them work, only my Home button dnot work.
Normyly if i hold Home Button started Taskmanager, or if i press it i go back to desktop.
i have in /system/usr/keylayout/ 4 Files.
ACRPC.kl, qwerty.kl, Touchscreen,kl, wm8350_buttons.kl
But i dnot know where is for my home button.
Maybe blocking some App this button.
Other guy where rootes his ziio 10" , have same problem like me...
Any Ideeas ? how to fix it
I try to Edit Touchscreen.kl for Test.
I Set Homebutton @ 165
And Menu @ 163.
Menu works on new button but home still dnot work.
I think maybe google setup disabled the home funktion.
here a little cu on my touchscreen.kl
key 108 CALL WAKE_DROPPED
#key 103 CALL WAKE_DROPPED stargate rev0
key 139 MENU WAKE_DROPPED
key 103 ENDCALL WAKE_DROPPED
#key 108 ENDCALL WAKE_DROPPED stargate rev0
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 102 HOME WAKE
key 158 BACK WAKE_DROPPED
key 216 BACK WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
key 164 MEDIA_PLAY_PAUSE WAKE
key 201 MEDIA_PLAY_PAUSE WAKE
key 163 TOUCH_NEXT WAKE
key 165 TOUCH_PREVIOUS WAKE
key 212 CAMERA WAKE
key 116 POWER WAKE
Click to expand...
Click to collapse
Plz any one help me.
How did you obtain permanent root? I've gotten almost as far as you have but I've had to reset my tablet after the first or second reboot after rooting.
Thanks!
I dont know if it would be of help.... I have a Ziio 7
Rooted it - and the menu/homescreen would not work....tried lots of work around nothing happened (deleting the google accounts etc..etc..)
Finally i did a factory reset....
my google applications stayed (market, gmail etc...)
Rooted again.. and now everything works....
I tried to modify system/usr/keylayout/pyramid-keypad.kl and system/usr/keylayout/qwerty.kl, then search key can lock my device and let it sleep, but it can't wake up my device.
i modified that:
system/usr/keylayout/pyramid-keypad.kl
key 217 POWER WAKE_DROPPED
system/usr/keylayout/qwerty.kl
key 217 POWER WAKE_DROPPED
anyone here?
wangyu1221 said:
anyone here?
Click to expand...
Click to collapse
as far as i know you can use the vol up key but not the search key to wake the phone
Ok I might sound like a noob here (which I am ) but I need to know the manufacturer of the screen and obtain drivers for it.
Why I need it?
We are trying to build a custom kernel and actually we got some success. But following are the bugs:
screen doesn't turn off after locking
camera doesn't work.. just a black screen
usb doen't work
touch sensitive buttons don't work except home button which now works as back button!
volume down button has now become volume up button.. and volume up button doesn't work...
What is the device name?
It is Karbonn A18/Neobox tuan 4.3 with MT6575 chipset and MT6620 combo chip.
--------
Can anyone please help? We are just two people working on this and looking for someone who can help us out.
Thanks in advance!
CHANGING HARD KEY FUNCTION (REMAPPING BUTTON)
Quote:
1. open /system/usr/keylayout/[phone model]-keypad.kl with notepad++
(Some phone may have different names, but it will always end with "keypad.kl)
it will look like this --
HERE YOU WILL FIND 3 ROWS...
Quote:
1. As you can see, there are different attributes assigned to each key. like this
Code:
key 102 HOME
key 139 MENU
key 158 BACK
key 115 VOLUME_UP
key 114 VOLUME_DOWN
2. Specific application/action launchers:
Code:
HOME #Launches "Home"
MENU #Launches "Menu"
BACK #Takes you back to the last activity
SEARCH #Launches "Universal Search"
CALL #Launches the "Phone" activity and corresponding .apk or initiates a call
ENDCALL #Ends a call
CAMERA #Launches "Camera" activity and corresponding .apk
FOCUS #Initiates Auto-Focus while using the Camera
VOLUME_UP #Self explanatory
VOLUME_DOWN #Self explanatory
3. And attributes saying if it should wake the phone at button push to complete the action, or if it should just complete the action without waking the screen.
Code:
WAKE #Completes the action without waking the screen
WAKE_DROPPED #Wakes the phone to complete the action
2. NOW WE WILL EDIT SECOND AND/OR THIRD ROW
Erase the center row value for any key to completely disable it. To reassign the key, replace the center row value with another one from the same row. Change the right row value to either "WAKE" or blank to enable the wake function. Do not modify the left row.
NOTE: don't edit left row i.e. first row which contains specific key identity number.
FOR EXAMPLE I DO THESE CHANGES
DEFAULT VALUES ---
Code:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
CHANGED VALUES ---
Code:
key 115 CAMERA WAKE
key 114 FOCUS WAKE
NOW VOLUME UP KEY WILL WORK AS CAMERA KEY AND VOLUME DOWN KEY WILL WORK AS FOCUS KEY....
NOTE: all words should be in BOLD letters i.e. capital letters...
Hello,
My phone model is CCE SM70 in brazil, same as Karboon A18 and NEOBOX TUNA, i would like to know how you compiled the kernel for this device. You compiled the philips w732 from forum.china-iphone.ru with default kernel config for mt6575?
Thanks in advance,
Tiago