Enable HTC_IME keyboard with Chinese or other languages inputs


lswai

Members
Oct 10, 2012
1
13
The miuiandroid rom comes with HTC keyboard "HTC_IME", and only english language is enabled by default. It would be handy to be able to switch between english and chinese inputs rather than using another input like xiaomi sogou keyboard. I like xiaomi sogou keyboard too but the only problem is the english input does not contains predictive text.

After doing some research and messing around with my phone, it turns out that it's rather easy to switch on the Chinese input on HTC_IME. You will need to modify this file to the following (please make a backup before you do any changes just in case),
/data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_preferences.xml

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="hwkb_switch_langs" value="1" />
<int name="hwkb_switch_sips" value="1" />
<int name="hwkb_switch_langs_def" value="1" />
<int name="MODIFIED" value="2" />
<boolean name="keyboard_ime_settings_hw_fqwerty_prediction" value="false" />
<boolean name="trace_keyboard_settings_trace_prediction" value="false" />
<string name="customization_loaded">3.5</string>
<string name="keyboard_chinese_pinyin_default_language">0</string>
<int name="hwkb_switch_cangjie" value="0" />
<string name="keyboard_types">2</string>
<boolean name="Feature_Fake_MultiTouch_Enable" value="false" />
<int name="hwkb_switch_sips_def" value="1" />
<string name="trace_keyboard_settings_stroke_color">7</string>
<boolean name="UseExternalHWKB" value="false" />
<int name="keyboard_ss_eime_langs" value="147455" />
<string name="keyboard_chinese_siplist">17,10,8,12,14</string>
<boolean name="keyboard_ime_settings_1220_prediction" value="true" />
<string name="keyboard_chinese_default_language">0</string>
<int name="hwkb_intial_switch_sips" value="1" />
<int name="keyboard_ss_eime_langs_def" value="1" />
<string name="keyboard_chinese_stroke_default_language">0</string>
<boolean name="keyboard_ime_settings_fqwerty_prediction" value="true" />
<int name="handwriting_settings_writing_stroke_speed" value="5" />
<boolean name="customized_cime_config" value="true" />
<boolean name="keyboard_ime_settings_pcqwerty_wc" value="true" />
<boolean name="trace_keyboard_settings_active_on_all_field" value="false" />
<int name="keyboard_ss_sips_def" value="1" />
<int name="keyboard_types_map" value="17" />
<int name="keyboard_ss_sips" value="63" />
</map>

After that just switch to another keyboard and then switch back to HTC_IME, you should be able to select Chinese inputs or other languages as well. By the way, I have tested this on version 2.9.21.
 

Attachments

  • Screenshot_2012-10-24-10-48-47.png
    Screenshot_2012-10-24-10-48-47.png
    50.3 KB · Views: 355
  • Like
Reactions: type-R