yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 4] moah909:
I'm not sure, neither of my phones(OG Droid, Droid 4) have had that functionality so I'm not sure what makes that work. If you want you can send me your keylayout and keychars folders from your old phone(Droid 2/3?)that had that, through a PM and I'll try to figure out how to add that.
[Motorola Droid 4] me_droid:
kb remap

moah99 thank you thank you thank you. The one key I totally miss from my D1 is the @ key and thanks to you I have remapped the useless caps lock key to @. Caps lock would be useful except I use swiftkey that renders it inoperative on the D4.

After finding the correct key (222) with keynrtracker, I completed the rest using rootexplorer - backed up that file, mounted the containing folder as r/w, opened file in text editor, edited the correct line to show AT instead of CAPS, rebooted phone and it worked perfectly.
[Motorola Droid 4] H0H3N5T3RN:
Tried this but....

I tried changing the key 222 (Caps lock) to power the phone off and on (when i text people and I'm watching tv i typically just leave the keyboard open and lock the phone, but the power button isn't exactly easy to find) so i wouldn't need to use the power button on top. It didn't work, is there anyway i can get it to work?

Thanks,

Jacob
[Motorola Droid 4] kasouti:
Looks like it does support it. For some reason it was just buggy at first and didn't seem to respond to alt then left. As for the delete, I was coming from an epic and my friend with a droid 2 had told me the alt then delete would wipe the line, apparently alt has to be held when it's hit and within texting you either need 2 blank spaces before pressing it or to have just finished deleting a word. Or some odd rules like that. Thanks for the help.
[Motorola Droid 4] highlandsun:
Hmmm. I'm running into some oddness here, the shifted number keys look right in the kcm.bin file, but they don't work in Connectbot. It looks like they're being treated like ANSI function keys instead. Anyone else know what's up here? I've never owned a Droid-anything before, my previous two phones (G1 and TP2) keyboards work fine in Connectbot.
[Motorola Droid 4] GambitDash:
See (http ://code.google.com/p/connectbot/issues/detail?id=558) Issue 558 on ConnectBots site.
[Motorola Droid 4] greekchampion04:
here is an untouched system/usr/keylayout incase anybody needs it:

http://www.mediafire.com/?mtsl53uus6qkwfz
[Motorola Droid 4] H0H3N5T3RN:
Help me please

So you definitely seem to understand how this works. Well i tried making my caps lock key a power key because my power key sticks really bad, and all that did was screw up my dpad (like when i would press the left arrow it would go down, etc) and so i asked for a /system/usr/keylayout file which i got and tried pasting it into the usr file to fix all the things i may have screwed up and now nothing works. The capacitive buttons, all of the keyboard and the volume and power doesn't work. What do i have to do?
[Motorola Droid 4] me_droid:
remap slash key to just question mark

What is the proper designation in Omap-kypad.kl for the question mark? I wanted to convert the slash / key to just the question mark. The D1 has one - I looked at the Omap-kypad.kl on my D1 but couldn't find anything that looked like "quest" or "question", etc. On the other hand I don't see that slash in the symbol set when the SYM key is pressed so maybe I shouldn't change it. Would be nice to know if its possible though.
[Motorola Droid 4] moah909:
You should check the permissions of the files using adb shell/terminal emulator.

su
cd /system/usr/keylayout
ls -l *

It should look like (with your date of course)

-rw-r--r-- root root 3383 2012-02-24 23:20 omap-keypad.kl
-rw-r--r-- root root 245 2011-12-28 15:23 AVRCP.kl
-rw-r--r-- root root 75 2011-12-28 15:23 cpcap-key.kl
-rw-r--r-- root root 1834 2011-12-28 15:23 evfwd.kl
-rw-r--r-- root root 3609 2011-12-28 15:23 usb_keyboard_102_en_us.kl
-rw-r--r-- root root 4132 2011-12-28 15:23 qwerty.kl

If it doesn't say -rw-r--r-- that means the correct permissions aren't set, so run:

chmod 0644 *

and all your buttons should work!

Your original issue was probably the same thing the permissions on the file probably weren't set right which makes it default on a generic keylayout. I did the same thing when I first was remapping my buttons and I couldn't figure out what was wrong for a couple weeks :P
[Motorola Droid 4] New Daddy:
Although this looks like a very powerful tool for remapping keys, I'm a little overwhelmed. For my previous WM phone, HTC Touch Pro 2, there used to be a very intuitive, easy-to-use remapping tool.

Is there any chance that somebody will develop another key-remapping tool targeted for the technically challenged if I wait this one out?
[Motorola Droid 4] New Daddy:
Can somebody tell me how I can assign "!" to shift+1?

I know. "!" is assigned to shift+1 by default. But with Smart Keyboard Pro, all symbols are messed up so I have to reassign them all individually.
[Motorola Droid 4] drsingh:
I am a total noob when it comes to coding and I just remapped my search key and made it a second power key! Two minutes, root explorer did the trick.This is my first post on these forums and this is a fantastic thread for noons and pros alike!

P.S. I tried the app first but the layout file is named as QWERTY.kl in CM 7.2 RC 1 so I had to do it manually.I used your helper app to find out what I needed to change!

Cheers to the contributors of knowledge to this thread!!!!!! :beer:
[Motorola Droid 4] azrael293:
Any way to PM me this file? It is no longer available at that link. Thanks in advance
[Motorola Droid 4] david007co:
Remmap a key to no function

Hi, I was wondering how to remmap a HArd Key to do nothing. I can eighter modify the .kl file or use ButtonRemapper, but what should I write in order to dissable this key.

The reason is because the volume down button is broken and keeps pressing itself when the phone heats up.

Thank you!
[Motorola Droid 4] svgt99:
Change the keyboard layout

Hello,

I use a smartbook HP Compaq Airlife 100 with Android 1.6. This device has a physical keyboard with Spanish layout. I want to change it into a German layout. In /system/usr/keychars I find a German quertz_hawthorne_german.kcm.bin. In /system/usr/keylayout I find a quertz_hawthorne_german.kl.

At which place is the trigger for switching the used keyboard language? In the normal Android menu I can only choose English-uk, English-us and Spanish.

The only thing I have found is in /system/build.prop: ro.product.locale.language=es and ro.product.locale.region=ES

Regards Svgt99
[Motorola Droid 4] FelixAurelius:
So I'm trying to debug my Droid4's HW keyboard. Is there any way to reclaim the original functionality of the SYM key? It currently does nothing. Also, shift acts like a PC keyboard shift (has to be held, but only sometimes. For some reason.) The "." Key is also hosed, as its shift character is supposed to be a colon but it produces a ">". Where can I find the character codes I need to fool with this?
[Motorola Droid 4] Rick#2:
/system/usr/keychars/omap4-keypad.kcm and /system/usr/keylayout/omap4-keypad.kl
[Motorola Droid 4] FSN:
For me, the thing with holding the shift-key only appears in google chrome...
[Motorola Droid 4] FelixAurelius:
Thanks, I got it working! The next step is to somehow implement the original firmware's symbol selection menu call. Copying the entry for the SYM key just causes it to open the input method selection menu. Is there any way to drop the old menu in somehow?
[Motorola Droid 4] bogachev11:
This is damn good! Thank you!
[Motorola Droid 4] bluri:
Can someone help me?

I've been trying to modify the keymap to contain Scandinavian characters Ö and Ä. They are pretty important for me, and would like to have the on the place of , and .

Is this modding method still valid with ICS? I found another topic saying that you just need to mod those files with text editor, not with hex editor.

I Have tried everything, but my mods allways just 'breaks' the keyboard (Arrows go wrong way, sym doesn't work etc).

EDIT: I managed to change places of letters Q and W for test, but what I need is Ö and Ä. Now I'm testing to modify the kl.bin base where Z would become Ä and X would become Ö..

EDIT2: WORKING!

, and . changed to Ö and Ä. , is on the left side of space, . is on the right side. /?-button mapped to OK button and =/+ button to shift+certain number.

The Ä and Ö should be written to the .kcm.bin as unicode character codes, not straight from PC keyboard..
[Motorola Droid 4] andyoooooobun:
I done every step fine, successfully change the file omap4-keypad.kl

but just don't work

the sys key does not work any more,,,,but just not work as alt:eek:
[Motorola Droid 4] q335r49:
Some further tips...

Awesome post moah! I just did a load of tweaks, including map all the soft buttons to hard buttons, so I can MENU+C to copy / paste in certain applications, and SEARCH+LETTER to do quicklaunch actions, and "back" as escape (in some terminal emulators).

But there were some other issues I ran into which you might want to include in your guide.

1) After the Jellybean OTA perhaps? On my droid 4, the omap-keypad.kl and the omap-keypad.kcm.bin becomes omap4-keypad.kl and omap4-keypad.kcm. There is an additional "4" and --- the kcm file is no longer binary! That makes things a lot easier.

2) When editing the kcm file by hand, I referred to this documentation, which seems to describe some pretty elaborate behaviors, including "fallback" keys, spaces, tabs, and unicode characters:

I can't post external inkes, but check out key-character-map-files at android.comt

3) But the big thing to watch out for, as explained there, are the escape characters: If you want to map ' " /, you must use /', /". and //.

Thanks again for making my droid 4 a productivity machine!!!
[Motorola Droid 4] StevePritchard:
It seems to do it in Chrome, Browser, Dolphin Beta, and Dolphin (that I've tried) so I wonder whether it's something to do with the class/type of input box that browsers tend to use. Presumably there's a way of labelling input boxes because sometimes you only get numbers supplied by the keyboard, so perhaps the hardware keyboard is being thrown by a particular setting on the input boxes in browsers?
[Motorola Droid 4] Cyboy:
thank you

can you provide it to wake my xperia go by volume rockers?

or remapping mouse right button to trigger {more} menu on android devices?:good:
[Motorola Droid 4] Julie95220:
Hi,

Would it be possible to replace the list of characters displayed by the SYM key ?

There are a few characters displayed, but ideally, I would like to add combinations of characters in this list (to have access to a quick list of smileys).

Is there a way to do this ?

Thank you !
[Motorola Droid 4] daimyorl:
I'm also trying to find a way to do this. I have modified the character map but this change would be real useful
[Motorola Droid 4] daimyorl:
There is a way to do this with Baksmali / Smali Manager

http://xdaforums.com/showthread.php?t=2311766

Get framework.jar from /system/framework and set the project to that file and baksmali it

Open the file Baksmali-Manager\project\framework.jar_classout\android\text\method\QwertyKeyListener.smali

Locate the lines similar to this:

const v1, 0xef01

const-string/jumbo v2, "\u0027\u2026\u2022\u00ae\u00a9\u00b1[]{}\\|"

Just change the constant and add or remove the values you need

After that Smali it, push framework.jar to the device and set permissions correctly.

Hope this was of help
[Motorola Droid 4] KrellaKrentoshi:
Hi my touchscreen doesn't work anymore. I found this post and I want to change my caps lock button to a Home key. How do I do that? Also, the OP mentioned redoing the guide, has that happened yet?
[Motorola Droid 4] swo0sh:
high there!

according to this thread, some others and a little how-to i tried to remap 2 buttons and its chars:

[GUIDE - Simple way to change physical keyboard keymappings!]

http://xdaforums.com/showthread.php?t=2179306

if i mount my system partition to read/write i am able to write those keymappings in /system/usr/keychars/. when i try then to tab those buttons, everything is like before. if i reboot my phone, nothing gets changed but my changes in those keychar-files (*.kcm) are still present.

where else could these keymaps be safed? what could be wrong?

for eg:

key COMMA {
label, number: ','
base: ','
shift: ';'
ctrl, alt, meta: none
}

if i press shift-comma, still the symbol "<" gets wrote as text..... i already changed this in ALL of the present keycharfiles in this folder without any improvement.... :eek:

i welcome any hints, cheers

swo0sh

---------- Post added at 05:24 AM ---------- Previous post was at 04:32 AM ----------

im also intrested in this, but i can only find the line

const v1, 0xef01

nothing else :/ nothing like " const-string/jumbo" witch could make sense, nor "\u0027".... the whole file got a bit more than 2500 lines.
[Motorola Droid 4] daimyorl:
Hi swo0sh

My message was a way to change the characters that appear when you press the SYM key.

I don't know what could be the problem you are having. Did you try changing the files at /system/usr/keychars/ and /system/usr/keylayout/?

Perhaps changing the mapping of the buttons directly you will be able to make it work. Good luck!
[Motorola Droid 4] swo0sh:
yea. i want to change the chars of the sym key too, but i cant find the area you did mentioned in .../QwertyKeyListener.smali.

also i am trying to change to symbol written when you press shift-comma-button. i get "<" instead of ";". the entry in .../keychars are persistent. i changed them correctly without improvement....
[Motorola Droid 4] Sensonic:
I noticed the same thing. The only thing that I found to fix the situation is to wipe the ROM off and then reflash it. The other alternative is OS update. I've tried to experiment with those keychars but each'n'every time I flash a brand new CM nightly update, the keychars will be resetted.
[Motorola Droid 4] daimyorl:
It depends a lot on your rom, so I cannot tell where it's located in yours. The file is supposed to have around 2500 so that's OK.

In case it helps, I can find that text in line 339.

I don't know if changing the android keyboard would help, but you could try that
[AT&T Samsung Galaxy Note I717] abduleo77:
Im running TPC v2 over D_Gs overclocked kernal, and my att note is so slow while its charging.

Anyone else having the same issue?
[Eee Pad Transformer Q&A, Help & Troubleshooting] Sm0L:
Hi,

I installed ICS yesterday but my wife does not like it and i am trying to restore a backup of roach prime 2.0.1, the restore works ok but when it boots it gets freezed in the Asus Logo

What should i do? i really need to restore my backup!!
[Eee Pad Transformer Q&A, Help & Troubleshooting] baseballfanz:
Do your nandroid restore (don't do any wipe) after that is done immediately flash Roach's Prime ROM that you are using (in this case Prime 2.0.1).

Reboot.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Rob S.:
Flash the kernel you were using on roach prime 2.0.1 after you restore your backup.

It will boot up.
[Galaxy S I9000 General] pacc:
Since we have a lot of ICS development and support from our XDA community, I'm suggesting this small poll.

Oscars for:

BEST ICS ROM

Dark Knight

ICSSGS

MIUIV4

Teamhacksung's

Slim ICS

...

BEST ICS KERNEL

Semaphore

Glitch

Devil

...

I may be carried away by the movie event, but this could be a nice time waster.

(You may suggest other rom/kernel contenders.)

And the Oscar goes to...
[Galaxy S I9000 General] saphirrot:
Galaxian Kernel
[Galaxy S I9000 General] Jaggle:
Dark Knight and Semaphore
[Galaxy S I9000 General] dark_knight35:
That's not an ics kernel.
[Galaxy S I9000 General] ZioGTS:
ICSSGS + Semaphore! :cool:
[Galaxy S I9000 General] mnazrin91:
Slim ICS + Semaphore it my choice.
[Galaxy S I9000 General] hassaan123:
Aokp by Bhuvan + semaphore
[Galaxy S I9000 General] saphirrot:
i know , but still the best kernel...
[Galaxy S I9000 General] siky_dude:
go home and sleep this stupidity off..

edit: this thread is pointless and stupid... but still, all stock CM9 ;)
[Galaxy S I9000 General] pacc:
Come on, this thread is just for fun (time waster)! No one is taking this seriously.

My vote goes for Dark Knight (4.0.4 v2.1)

(just a note for ICSSGS, happier with v3.1 than with v4.2).

and

Semaphore.
[Galaxy S I9000 General] w98seeng:
I am.

Ian
[Galaxy S I9000 General] pacc:
Well so what's your suggestion(s) then?

Unfortunately we don't have a golden Oscar to offer to the winner (although developers would deserve it!).

- Developers worked ICS to SI (dumped by Samsung).

- Achieved this in shorter time than SII (official ICS from Samsung).

- With more ICS options/versions than SII (slim/mid/fat/obese).

- SI got 4.0.4 (ported) first than SII (Thanks to Dark Knight).

Developers really kept SI alive (despite Samsung death sentence).

I'm still flash-a-holic with SI all the scripts,tweaks,gimmicks,modding,overclocking,undervolting, etc... (so many things to play).

SII is quite boring, does everything at ease.
[Galaxy S I9000 General] saphirrot:
Nvm ......
[Galaxy S I9000 General] bhu1:
Really....Oscars.....Oscars....really???? What's next.......Grammy!?!?!?!?!?!?!?!
[Defy Themes and Apps] santiemanuel:
This is the launcher featured on A3S now available for any stock GB based ROM, untested on CM7/9 MIUI. It has some bugs fixed to work fine.

Preinstallation: Make sure you don't have installed any previous blurhome apk(reboot after delete to clean data, and use any other launcher to avoid problems)

Installation: Copy to sdcard, apply update from CWM

Video(lags because Screencast 15fps):

[YOUTUBE]8TayyeoqAxg[/YOUTUBE]​

LINK: http://bit.ly/Blur3D

UPDATES:

V3

V2 with Fixed Store Play Shortcut

V2

Lite version with just 1 wallpaper, decompiled/recompiled to fix ids, just 2.58MB. Installable too and usable on system.

V1

Installable APK. After install start Home Switcher press Launch, after you check it works fine, go back to the app and set Default

Same warning: Make sure you don't have BlurHome.apk or any official Motorola Launcher on system, delete it and reboot before installing this apk

----

MotoWidgets:

News Weather and Toggles

It's a normal zip, decompress and push the apks to system/app

LINK: MotoWidgets.zip

------

LINK TO APKs:

v1

http://bit.ly/A1DiUG

v2

http://bit.ly/AqGInx

v3

http://bit.ly/yrCGLq

Need more language support? Traslate this files: http://santiemanuel.grupoandroid.com/a2s/TraslationBlur3D.zip

INFO ABOUT STORE PLAY FIX

This fix works for all BlurHome builds, olders too(this is not the right thread), if you want to fix it yourself follow the steps:

1.-Decompile BlurHome.apk

2.-Browse to /smali/com/motorola/blur/apps and open AppsView.smali on Notepad++

3.-Search for "com.android.vending.AssetBrowserActivity" it appears twice. Replace it with "com.google.android.finsky.activities.PlayLauncherActivity" (NO SPACES)

4.-Save, recompile, sign or just update the classes.dex, push to /system/app and REBOOT.
[Defy Themes and Apps] espaciosalter20:
voy a probarlo en cm7... Ahora te cuento...

Enviado desde mi MB525 usando Tapatalk
[Defy Themes and Apps] espaciosalter20:
Tested on cm7... Didn't work

Enviado desde mi MB525 usando Tapatalk
[Defy Themes and Apps] walter79:
Works for me CM7 latest Defy+ build from quarxs 24 or 23.02.2012 build.
[Defy Themes and Apps] traffic22:
for me works fine in CM7 :)
[Defy Themes and Apps] espaciosalter20:
Ok... Maybe it's because I'm using a custom cm7 Rom

Enviado desde mi MB525 usando Tapatalk
[Defy Themes and Apps] your_login:
anyone tested it on wiui?
[Defy Themes and Apps] uriel_zo:
2.3.6 andoid works?

for example ms2ginger3.0
[Defy Themes and Apps] walter79:
Works. But read the install instruction and install a second launcher first.
[Defy Themes and Apps] sakitobaki:
Great!

Tested and works on this build.

Use "moto home fix" app from market for changing from blur to other launchers :)

Defy red lense German Vodafone Froyo based

CM7.2 nightly 02252012
[Defy Themes and Apps] madphone:
Interesting, it is working on galaxy s with Android 4.04 too. only problem: it force closes when adding widgets to homescreens.

I like the launcher, it's smoother than on Motorola RAZR.

Gesendet von meinem GT-I9000 mit Tapatalk
[Defy Themes and Apps] walter79:
post logcat please
[Defy Themes and Apps] santiemanuel:
SGS2 Log, same issue

02-25 20:19:19.465 E/AndroidRuntime(29295): FATAL EXCEPTION: main

02-25 20:19:19.465 E/AndroidRuntime(29295): java.lang.SecurityException:
bindGagetId appWidgetId=49
provider=ComponentInfo{com.android.vending/com.android.vending.MarketWidgetProvider}:
User 10201 does not have android.permission.BIND_APPWIDGET.

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.os.Parcel.readException(Parcel.java:1322)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.os.Parcel.readException(Parcel.java:1276)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.bindAppWidgetId(IAppWidgetService.java:470)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.appwidget.AppWidgetManager.bindAppWidgetId(AppWidgetManager.java:337)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
com.motorola.blur.home.AppWidgetPickActivity.onClick(AppWidgetPickActivity.java:154)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:935)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.widget.AdapterView.performItemClick(AdapterView.java:284)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.widget.ListView.performItemClick(ListView.java:3731)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.widget.AbsListView$PerformClick.run(AbsListView.java:1959)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.os.Handler.handleCallback(Handler.java:587)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.os.Handler.dispatchMessage(Handler.java:92)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.os.Looper.loop(Looper.java:130)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
android.app.ActivityThread.main(ActivityThread.java:3691)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
java.lang.reflect.Method.invokeNative(Native Method)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
java.lang.reflect.Method.invoke(Method.java:507)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)

02-25 20:19:19.465 E/AndroidRuntime(29295): at
dalvik.system.NativeStart.main(Native Method)

02-25 20:19:19.480 W/ActivityManager(2717): Force finishing activity
com.motorola.blur.home/.AppWidgetPickActivity
[Defy Themes and Apps] NITRO_100:
Ok, deleted blurhome, restarted, installed blur3d and it isn't in home swither.. It is in system/app. Anyone knows why ? I'm on MS2ginger 3.0

Edit: After installing moto home fix it says that this isn't motoblur device.
[Defy Themes and Apps] santiemanuel:
Delete the 3 files, reboot and try the installable apk.
[Defy Themes and Apps] NITRO_100:
Can't install through the installable apk.. :confused:
[Defy Themes and Apps] santiemanuel:
Did you removed the files and then rebooted? after that installed? remember, no blurhome/blurhome2 on system
[Defy Themes and Apps] NITRO_100:
Yes, no blurhome or blurhome2 but still nothing. Don't know where's the problem. Will try after a full wipe to install..
[Defy Themes and Apps] hailmary:
NICE launcher...im tired of my launcher mod,will try this at home later.

BTW santimanuel,

maybe you guys can port totally the BLUR for cm7:D... just maybe a chance...i think cm7 w/ a working unified google & blur is cool:rolleyes:
[Defy Themes and Apps] santiemanuel:
I will try to fix this problem.

EDIT: Possible solution-> Uninstall->Reboot->Use update.zip or push the installable apk to system/app, it uses a system permission to add widgets.
[Defy Themes and Apps] matchung:
if apk was pushed into /system/app, remember to push those two .so files into lib folder too
[Defy Themes and Apps] hailmary:
i tried to install it in cm7 maniac kang - it says "not installed" i used the apk.