1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

Arrow keysGeneral

Last Updated:

  1. Ratushebarl

    Ratushebarl New Member

    I need arrow keys. Is there ANY way to fix the four keys on the right that should be arrow keys, but instead have idiotic redundant social networking functions?

    I would love an app, but I will edit hex if I have to. This cannot stand.

    PS Thanks so much for advice here everyone! I'm new to smartphones, and have now rooted this phone, gotten rid of bloatware and got rid of the annoying boot and shutdown sounds. Progress.

  2. cjablonski

    cjablonski Active Member

    If someone figured out how to do this, they would be my forever maximum overlord.

    It can't be THAT hard, right? There's got to be a place where the hardware tells the software what those buttons do, and that's got to be fairly easy to overwrite.
  3. Arhtard

    Arhtard Well-Known Member

    try going to /system/usr/keylayout/ directory and modifying the gt2_keypad0.kl file specifically the following keys:

    key 215
    key 217
    key 150
    key 218
    kachman, srjvargas and cjablonski like this.
  4. cjablonski

    cjablonski Active Member

    You're the man, Arhtard! Worked like a champ.
    Arhtard likes this.
  5. srjvargas

    srjvargas Active Member


    First of all sorry for bring back to life this thread but i was wondering about how to edit that 'gt2_keypad0.kl' file, and what to change on these keys (key 215, key 217, key 150, key 218  ). I mean change what to what?

    Guys, I recently bought this cell and i love it. These days i was reading all about these ph and today im going to install the Arhtard's ROM. Dude you're obviously the man, u did everything with this phone, sorry u already changed it to a other one (an Optimus if i m not wrong). I actually read a couple forums were u participated and im learning a lot of them, just THANKS.

    *claps* for u
  6. cjablonski

    cjablonski Active Member

    It does require some knowledge of adb commands for pulling system files from the phone and pushing them back.

    The short version is:

    adb pull /system/usr/keylayout/gt2_keypad0.kl
    edit the file with the text editor of your choice
    adb push gt2_keypad0.kl /sdcard/gt2_keypad0.kl
    adb shell
    mount -o rw,remount /dev/block/mtdblock3 /system
    cp /sdcard/gt2_keypad0.kl /system/usr/keylayout/gt2_keypad0.kl

    and then reboot the phone. If you need help with any of those steps, I'm probably not your guy. :)
  7. cjablonski

    cjablonski Active Member

    Oh. I just got what you were actually asking.

    Once you get the gt2_keypad0.kl file into a text editor, it's pretty self-explanatory. "key 150 BROWSER" becomes "key 150 DPAD_UP", "key 218 FACEBOOK" becomes "key 218D PAD_RIGHT", and so on.

    "SEARCH" is down and "ENVELOPE" is left.

    Hope that helps.

    EDIT: I can even be a super nice guy and attach my own gt2_keypad0.kl for your convenience with the changes made.

    Attached Files:

    siemprelisto, srjvargas and Arhtard like this.
  8. srjvargas

    srjvargas Active Member

    :O I'm very much grateful with ur help, xD yep i didnt get anything on the adb post but thanks for the 'gt2_keypad0.kl' file :) should I just copy and paste rigth to the /system/usr/keylayout/ directory?
  9. slvbeard

    slvbeard New Member

    Thanks for this! I need the arrow keys, don't need the social networking keys.
  10. slvbeard

    slvbeard New Member

  11. ilydemo

    ilydemo New Member

    Is there any way you could please please please, help me get the networking keys?? My keys aren't working at all T-T and I use those keys a lot...
    Thank You!!

Share This Page