Join Today
+ Reply to Thread
Results 1 to 4 of 4
Like Tree2Likes
  • 2 Post By GjayjayG

Thread: [HOW TO ] REMAP Keys to your likings (ex.:Replace Search Button by Dialer)

  1. #1

    Default [HOW TO ] REMAP Keys to your likings (ex.:Replace Search Button by Dialer)

    Hi,

    I almost never used the search capacitive or keyboard button, and was feeling it would be more useful to me to have this button to something else like a Phone button (dialler).

    So I had a look around and found:
    [MOD] Remap Any Key on Your G1 (v3, Now can play/pause/skip Music with Camera Key) - xda-developers
    http://forum.xda-developers.com/show...1&postcount=34

    There will be (hopfully growing) list of backup latter in the 1st post.

    PLEASE POST/SHARE ANY MISSING ONE (or mod or such)

    1. You have to be root.

    2. backup all your files from /system/usr/keylayout/ by runing the following commands in ADB:

    Code:
    adb shell 
    mkdir /sdcard/KB_BK
    mkdir /sdcard/KB_MODDED
    cp -f  /system/usr/keylayout/* /sdcard/KB_BK
    3. Mount your sdcard as Memory card and COPY the folder /sdcard/KB_BK

    4. Edit with notepad++ or such the keyboard files and change the second element of the key to your likings, CHANGE
    Code:
    key 127   SEARCH          WAKE_DROPPED
    key 217   SEARCH          WAKE_DROPPED
    TO for ex.

    Code:
    key 127   CALL              WAKE_DROPPED
    key 217   CALL              WAKE_DROPPED
    5. save your modification.

    6. upload the modified files in /sdcard/KB_MODDED

    7. Replace your files from /system/usr/keylayout/ with your modified files from /sdcard/KB_MODDED

    Code:
    adb shell 
    su
    mount -o remount,rw /dev/mtd/mtdblock6 /system
    cp -f  /sdcard/KB_MODDED/* /system/usr/keylayout/
    chmod 644 /system/usr/keychars/*
    chmod 644 /system/usr/keylayout/*
    mount -o remount,ro /dev/mtd/mtdblock6 /system
    ATTENTION WATCH OUT FOR THE FILES PERMISSIONS AND BE SURE THEY ARE THE SAME AS THE ORIGINAL

    8. Reboot

    9. Enjoy

    Jay

    With the search button replace by Dialer if a pressed the Search button twice it dial the last dial number (like regular phone when you press twice the call button)

    If you messed up or anything else you could always put your backup from /sdcard/KB_BK back to /system/usr/keylayout/ and have it back to it default behaviour


    Here come a list of BACKUP and there corresponding files:

    # QWERTZ with all SEARCH replace by Dialler from Jay:
    keylayout_QWERTZ_SEARCH_REP_DIALLER.zip
    (COMING)


    PS: You could change also any other button to do what you wanted them to do.

    For music change trout-keypad-v3.kl file with Camera (full down) as play/pause, and focus (half down) as next song.
    Code:

    Remove the lines:
    Code:
    key 211 FOCUS
    key 212 CAMERA
    And then add:
    Code:
    key 211 MEDIA_NEXT WAKE
    key 212 MEDA_PLAY_PAUSE WAKE
    [PS] If someone is able to pinpoint/improve the files and/or the howto all comments are welcome
    [EDIT] If the post should be in the support and not the dev section, modo feel free to move it.
    ajit and DAGr8 like this.

  2. #2
    Join Date
    Jan 2007
    Location
    Montreal
    Posts
    770

    Default

    Nice Tutorial thanks a lot for your contribution ,
    Sticky it is .
    Been a Moto Fan Since the First Vader ....Yup I taught I was real cool Back in '98 with the James Bond Phone and the Mi2 sunglasses .... Only 'dumb' question is the one you do not ask ...
    ABSOLUTELY NO SUPPORT WILL BE GIVEN VIA PRIVATE MESSAGING PLEASE POST YOUR QUESTIONS IN FORUM THX !


  3. #3
    Join Date
    Jan 2007
    Location
    Montreal
    Posts
    770

    Default

    From :


    Keyboard layout changer for OpenRecovery 1.14 / GOT 1.02 | android.doshaska.net





    Keyboard layout changer for OpenRecovery 1.14 / GOT 1.02

    22 June, 2010 - 16:54 — nadlabak A simple modification for the OpenRecovery 1.14 and GOT OpenRecovery 1.02 that allows to change the HW keyboard layout (QWERTY/QWERTZ/AZERTY) using a menu in the OpenRecovery GUI.

    AttachmentSize Attachment
    Last edited by DAGr8; 06-23-2010 at 01:31 PM.
    Been a Moto Fan Since the First Vader ....Yup I taught I was real cool Back in '98 with the James Bond Phone and the Mi2 sunglasses .... Only 'dumb' question is the one you do not ask ...
    ABSOLUTELY NO SUPPORT WILL BE GIVEN VIA PRIVATE MESSAGING PLEASE POST YOUR QUESTIONS IN FORUM THX !


  4. #4
    Join Date
    Jun 2009
    Location
    Uttar Pradesh
    Posts
    147

    Default

    u can also use button remapper application
    C115->c168->F3->E6->MILESTONE


 
+ Reply to Thread

Similar Threads

  1. Replies: 5
    Last Post: 09-05-2008, 01:52 PM
  2. Remap keys in JAVA games
    By Pinnhead in forum Moto Gamers
    Replies: 2
    Last Post: 08-16-2007, 05:04 AM
  3. Replies: 2
    Last Post: 07-25-2007, 07:30 AM
  4. Search attachment by the function: Search
    By Dragon Ming in forum Comments/Suggestions
    Replies: 0
    Last Post: 04-23-2007, 08:06 AM
  5. In the dialer setup, what does "reminder" do?
    By etawful in forum A1200 General Chat
    Replies: 1
    Last Post: 02-17-2007, 06:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1