About a month ago, I rooted my HTC Droid Incredible with unrevoked and installed CyanogenMod 7 (CM7). With that running successfully on my phone with a finally updated version of Android Gingerbread, I was a bit unhappy with the keyboard that came with CM7, but found a work-around.
Click here if you would just like to get the apk to remove the smiley key.
Reason because I was unhappy with the keyboard, is that there was no enter key, and got a bit frustrated. That didn’t mean I hated CM7 though, because it’s a really great ROM and has promising features in the future for the latest Android Ice Cream Sandwich (ICS) OS. So what I did was find a keyboard apk to install, and through XDA-Developers, I found a keyboard that looked exactly like the HTC sense keyboard. It’s a mod by jonasl who created the HTC_IME mod which luckily, worked well with the CM7 ROM and the specs of the Incredible. After being satisfied with the new familiar keyboard, and having a return key, I discover there’s a lot you can do with the system keyboard and a way to replace it and theme it. Which is what I set my journey for.
It took a lot of Google searching and forum searching over at XDA-Developers to find exactly what I wanted. I searched a while for “keyboard themes”, “custom keyboard”, “remove smiley key” and etc and came up with lots of different results. In the end, I had to piece it all together and connect different threads and methods with eachother to make it all work. In the end, it was the system app Mms.apk that had the option to disable the smiley key and be able to use the enter key. Using a tool called APK Tool, released by Google under the Apache 2.0 License, I was able to decompile the Mms.apk file, go into the res/layout/compose_message_activity.xml file and remove the keyword that said “textShortMessage” within the file to enable the enter key. I then recompiled the apk, and then pushed it to my Incredible via adb and stopped and started the adb shell. This was done with a batch script by Daneshm90 called APK Manager. It took a lot of searching, but that did the trick.
If you are like me and don’t like the smiley key there, you can download the apk here. To install it, rename “Mms.apk.zip” to “Mms.apk”, connect your phone to the computer, open cmd and then push it through adb using the following code.
Then you will have to go into the adb shell, and stop then start.
Your phone should reboot at the boot animation for your ROM. I have the HTC Incredible, and am not sure if it will work on other ROMs/phones. Also, this is the Mms.apk that comes with CM7, so if you don’t have CM7 installed with the Mms.apk that it comes with, you’ll be completely replacing the current style of your Mms.apk app. It is recommended that you backup the original Mms.apk before pushing this one, and your phone must be rooted to get rid of the smiley key. If you prefer to do this yourself, this is the line of code you will need to look for in compose_message_activity.xml located in the /res/layout/ folder of the apk.
Where you see “textShortMessage” in bold, is the input type you want to remove. Be sure when you remove that, you remove the “|” character before it as well. There should also be a compose_message_activity_black.xml file as well with almost the same code. If you do have this file, or any other version of the composer_message_activity file, then you may need to perform modifications on that as well. Once you do perform the modifications, you will need to recompile and build the apk. The best way to do this is with Daneshm90′s APK Manager.
If you’re wondering about the image shown above, the keyboard installed is a modified version of the LatinIME.apk file that comes with CM7 using the BlueBlackout theme posted by brainmaster at XDA-Developers. You can get the PSD of the Incredible here. Screenshot was taken with CM7.