Little Froyo File-System Mods - Defy General

Froyo (2.2):
Disable the dam annoying shutter sound:
Just rename the file "/system/media/audio/uicamera_click.ogg". (Root is required)
Change language of the SpellChecker:
Default language installed is en_US.aff and en_US.dic. Just get your desired language pack from web, rename and replace the original files in "/system/etc/spellchecker/"
Here is german: http://forum.xda-developers.com/attachment.php?attachmentid=491986&stc=1&d=1295272104
Bluetooth HID Keyboard Layout:
By default you can only use a querty keyboard. But there are mods for other languages on the web. See this thread: http://forum.xda-developers.com/showthread.php?t=799079&highlight=bluetooth+keyboard
You can also change it by yourself. (http://forum.xda-developers.com/showthread.php?t=504710)
I will expand this post as i find more little modifications.
cheers

Related

Howto add extra language to Phonepad B&B 4.1

I was searching for a way to add the Dutch language to the B&B 4.1 ROM of Tom.
I saw in the thread a lot of people where searching for this so i made a little howto
First of all i need to thank the guys from who i have gotten this here in xda (search & find):
- ctibor
- hiblopp
Well here we go:
Code:
1. Copy T9DutchLdb.dll to \Windows folder of Artemis.
4. Edit the Artemis Registry in HKEY_LOCAL_MACHINE\SOFTWARE\HTC\IntelliPad
a. Incerease by one the value of the "LibraryCount" dword (in my case from 10 to 11)
b. Created a "Library10" dword with the value of 8. (This is for the Dutch language).
Soft reset and you can use the dutch language in Phonepad!
If you want to use another language not provided you must copy the appropriate T9<language>Ldb.dll to the \Windows folder.
AND
change the Library10 value to the value for your language.
These are the languages i found in another thread:
7=Danish
8=Dutch
9=Finnish
10=Hungarian
11=Norwegian
12=Polish
13=Romanian
14=Slovak
15=Swedish
I have added the dutch language file for people who want to make the change!
Hi RikP just did your settings and it seems to work fine thanks!
Do you know also a way to get the keyboard to recognize dutch words?
(or do I have to wait till i typed them all )
Thanks for the guide!
vanderaatje said:
Hi RikP just did your settings and it seems to work fine thanks!
Do you know also a way to get the keyboard to recognize dutch words?
(or do I have to wait till i typed them all )
Click to expand...
Click to collapse
Did a quick search and found this:
http://forum.xda-developers.com/showthread.php?t=299036
Does it fix your problem?
T9
A better method would be the easy one . First you have to copy your t9 file directly in windows folder. Than select phonepad as input method (click on the little arrow beside the keyboard on the bar) and select Options... Input Method: Phone Pad. Select Options... Languages tab... Database... and select your language.
For t9 DLL's i downloaded t9languages.zip from http://forum.xda-developers.com/showthread.php?t=290007.
I added Romanian in my phone and works great.
PS: Sorry my english, hope is allright.

[Q] let's change dictionary.0409.dat

with all the new native keyboards out there, there must be a way to switch the dictionary as well and crate the full native keyboard experience.
i found out from registry that the dictionary files are kept in the windows folder under the name dictionary.XXXX.dat, and was able to download the Spanish dictionary file dictionary.0C0A.dat, yet i have no idea out to decrypt it...
may thought was that we can run over this file with a file that will be made out of all the open source android dictionaries out there... any takers?
I attached the Spanish dictionary file.

[Update]QWERTZ for Xoom external Keyboard

Here is my version of a QWERTZ Keyboard Layout for german (flashable by recovery).
Use it for your BT or USB Keyboard.
I have a 3G Xoom with hc 3.2 modded for european running but it should work on every xoom afaik.
If you have root and you know what you do and you want a german keyboard layout for your german bluetooth or your usb keyboard you will have to take the following steps:
- download zip to your device
- move it to external sdcard (or internal in case you have the modded recovery for this)
- boot into recovery
- use "install zip from sdcard" to install
How it works:
- it replaces (/system/usr/... keychars/Generic.kcm and keylayout/Generic.kl) in your system directory to give android the right mapping for a QWERTZ Keyboard.
WARNING:
- if you toast your cat with this - I am not responsible for that!
- if you brick your device - look at the cat - I am not responsible for that!
For german speaking audience...
Q&A:
Kozdoba said:
Please could you provide some manual how to add another language.
Click to expand...
Click to collapse
Have a look into the ZIP-File. There a two files. One tells the system which scancode of your keyboard maps to which keycode. The other tells the system which chars maps to which keycodes.
For the lookup of the keyboard scancodes use KeyTest.apk from Chris Boyle.
To edit you have to use a program that is able to handle Unix carrige returns and the file has to stay at UTF8 - I myself use PSPad for this task (there is a russian version available and its totally free!).
Your primary target is Generic.kcm (changes to Generic.kl are very difficult because you are not free to choose the keycode name - they depend on some internal android header on compile time!) - some of the mapping are obvious some other not. For russian I think you will have to put them like in a special notation like " '\u00e7' " (it just an example how to notate hex chars - my best guess is to have a look here).
Kozdoba said:
I would like to use Russian and QWERTY layout for Bluetooth keyboard.
Click to expand...
Click to collapse
I do not think this can be done without a very special app for the keyboard. Maybe you can mix up things by setting the soft keyboard to the one language and the hard keyboard to the other.
Will it work with the original Motorola Xoom Keyboard?
I do not know - but if you tell me it does not I will my best to make it work. The original Xoom Keyboard has a vendor code that may or may not be known to the us version of 3.2 now - if you want me to fix it contact me please.
Will it work with my XYZ brand keyboard?
That depends. In most cases - for example you can connect that keyboard to your pc successfully - it will work. Contact me if it does not.
Is it possible to remap the windows key to home?
Yes it is. Find the 'special version' (QWERTZ_Xoom_DE_Windowskey_as_Home.zip) below.
Btw: it's spelled QWERTZ and not QUERTZ.
Just telling you this because I've seen that you made the same mistake in another forum as well...
ooops ... you are right.
Silly mistake, sorry.
Riffer said:
Here is my version of a QWERTZ Keyboard Layout for german flashable by recovery.
I have a 3G Xoom with hc 3.2 modded for european running but it should work on every xoom afaik.
If you have root and you know what you do and you want a german keyboard layout for your german bluetooth or your usb keyboard you will have to take the following steps:
- download zip to your device
- move it to external sdcard (or internal in case you have the modded recovery for this)
- boot into recovery
- use "install zip from sdcard" to install
WARNING:
- if you toast your cat with this - I am not responsible for that!
- if you brick your device - look at the cat - I am not responsible for that!
For german speaking audience...
Click to expand...
Click to collapse
Does it give possibility to use both layout QWERTY and QWERTZ? Please could you provide some manual how to add another language. I would like to use Russian and QWERTY layout for Bluetooth keyboard.
Thanks.
it's also possible to install perfect keyboard free. after activating this keyboard you can also choose the german layout for the stock keyboard.
burgi400 said:
the german layout for the stock keyboard.
Click to expand...
Click to collapse
For an external hardware (usb or Bluetooth) keyboard?
Kozdoba said:
Does it give possibility to use both layout QWERTY and QWERTZ?
Click to expand...
Click to collapse
No. Its just a change to QWERTZ by replacing the mapping files.
Kozdoba said:
Please could you provide some manual how to add another language. I would like to use Russian and QWERTY layout for Bluetooth keyboard.
Click to expand...
Click to collapse
I will add some sentences to the start post for this.
also worth noting that some hardware keyboards will have their own .kl files, like the BT moto keyboard will load its own .kl file by default e.g Vendor_22b8_Product_093d.kl so modding generic .kl may not work for all external keyboards
Riffer said:
No. Its just a change to QWERTZ by replacing the mapping files.
I will add some sentences to the start post for this.
Click to expand...
Click to collapse
Thanks any way, but it's not decision that I need. I would like to have both languages on keyboard, because I use them 50/50.
Kozdoba said:
Thanks any way, but it's not decision that I need. I would like to have both languages on keyboard, because I use them 50/50.
Click to expand...
Click to collapse
Just to understand:
you want to use the same keyboard for qwerty and russian?
Riffer said:
Just to understand:
you want to use the same keyboard for qwerty and russian?
Click to expand...
Click to collapse
Yes, I need both layout on one keyboard. So I could use external keyboard for typing in Russian and English, like on virtual one. It's weird that Google or Moto forgot to add support for several languages for the virtual keyboard((
Is it possible to match the "windows"-key to the home button? Keycode is 117.
Yes it is.
Find the 'special version' in the starting post.
I have the same issue as Kozdoba.
Have an Apple wireless keyboard that I want to use with Swedish layout when writing email and messages, but in standard US layout mode otherwise.
It should be possible to switch between layouts when needed.
I guess this would require someone to make some custom changes to the Honeycomb input code, and for that Google need to release it into AOSP.
i flashed the zip, but not only the z/y buttons are switched, also many other buttons. but i would like to undo it. is there a flashable zip to, or do i have to restore my backup?
i would like to just change the z/y buttons
btw i am using the brand new ensington keyfolio for unversal 10" tabs

Greek Text Prediction for Gingerbread Keyboard

Hello all,
I recently became a ZTE Blade owner and I decided to flash it with the latest CM 7.1.0 RC1 ROM, only to find out that the stock Android keyboard does not yet support text prediction in Greek. Since I didn't want to install a third-party Greek IME from the market, I decided to inject a Greek dictionary found in a previous CM release (6.1.2) inside the already existing LatinIME.apk.
Other than the addition of the Greek dictionary, this LatinIME.apk is just like the stock one found in CM 7.1.0 RC1. It was decompiled/recompiled/signed with APK Manager. I don't know if it's going to work on other devices/ROMs, but you can try and share your results.
UPDATE: Apparently there was a minor problem with the keyboard, causing the "&" symbol to display as "&amp". I corrected it a couple of days after posting the APK here, but I forgot to update this post. I have now uploaded the correct APK and updated the link below, let me know if it works.
How to install:
1. Navigate to /system/app using Root Explorer and copy your existing LatinIME.apk to a backup folder in your SD card (just to be sure, should things go wrong).
2. Use Root Explorer to mount /system/app as R/W and then paste the new LatinIME.apk inside this folder. Change the file's permissions to rw-r--r-- after pasting.
3. Reboot your device and go to Settings > Language & Keyboard > Android Keyboard > Input Languages. Under Greek, it should now say "Dictionary available".
Download Link:
https://rapidshare.com/files/1386317323/LatinIME.apk
Works perfectly with Cyanogen 7.03 and wildfire.
Thanks!
Works Great on HTC Hero running Elelinux-7.1-Hero-Custom-v2 (Cyanogenmod 7.1 based)
A.I.type Keyboard will support Greek text prediction soon
We are releasing Spanish and Hebrew today. German and French next week. Then Arabic, Italian, Portuguese and Greek (in no particular order). So we hope to support Greek within a month and a half.
They keyboard itself already supports Greek, but doesn't provide text prediction, corrections and completions in this language.
FYI.
Noam Rotem
A.I.type
Fantastic work
Works really well with my Acer Liquid Metal
Thanks

[Q] Samsung Keyboard Hack

Hi all,
I was wondering if someone in here knew the location of the languages downloaded for the Samsung Keyboard ?
I looked around but i didn't find the location of these files yet.
The French Canadian keyboard should be QWERTY (it's our standard) but unfortunately, they set that particular one
to AZERTY, which is very frustrating considering I want predictive text writing in french without the non-standard layout.
My intent would be to edit the file to display a qwerty layout (if even possible, I have to find the file first to determine that.)
Thank you for your insights !
I would like to bump up that topic, cause it is interesting for me too. Is it possible to rearrange the letters of the stock keyboard somehow?
I found two things.
First, for my matter, it doesn't really matters since I can use french predictive text while being on the english
input language and therefore staying with my standard layout.
But, I pursued my research and found these informations
(they might come handy at a later time)
APK Path : /System/app/SamsungIME.apk
Data Path: /Data/data/com.sec.android.inputmethod
In the subdirectory SwiftKeys, there is a file called languages.json reavealing the download source of the samsung languages.
English (US) : touchtype-fluency#com/samsung/downloads/en_US.zip
French (CA) : touchtype-fluency#com/samsung/downloads/fr_CA.zip
(You'll have to replace the # for a dot... I'm not yet allowed to post external links.)
in the zip, you find I think all the things related to the layout, dictionary, etc...
- .Config
- charactermap.json
- extraData.json
- fr_CA_fbg_C.lm1
- fr_CA_fbg_C.lm3
- fr_CA_fg_C.lm3
- punctuation.json
I didn't found (yet) where is the location of these file on the phone itself but it might be possible to add or change
characters after a long press by editing the charactermap.json file and of course, overriding the one in the phone
(that I still have to find).
Sage Pourpre said:
I found two things.
First, for my matter, it doesn't really matters since I can use french predictive text while being on the english
input language and therefore staying with my standard layout.
But, I pursued my research and found these informations
(they might come handy at a later time)
APK Path : /System/app/SamsungIME.apk
Data Path: /Data/data/com.sec.android.inputmethod
In the subdirectory SwiftKeys, there is a file called languages.json reavealing the download source of the samsung languages.
English (US) : touchtype-fluency#com/samsung/downloads/en_US.zip
French (CA) : touchtype-fluency#com/samsung/downloads/fr_CA.zip
(You'll have to replace the # for a dot... I'm not yet allowed to post external links.)
in the zip, you find I think all the things related to the layout, dictionary, etc...
- .Config
- charactermap.json
- extraData.json
- fr_CA_fbg_C.lm1
- fr_CA_fbg_C.lm3
- fr_CA_fg_C.lm3
- punctuation.json
I didn't found (yet) where is the location of these file on the phone itself but it might be possible to add or change
characters after a long press by editing the charactermap.json file and of course, overriding the one in the phone
(that I still have to find).
Click to expand...
Click to collapse
If you're unable to find the one in the phone, would it not be possible to download the .zip, change the required files in it, then upload that somewhere privately and edit the keyboard to download your edited .zip?

Categories

Resources