[G1 Android Development] mr_sarge:
I've tried to make like the demo and decompiled / recompiled HTC_IME.apk (tried 3 different version, including HTC_IME low res mod.

Each time, the apps compile with error:

>apktool b HTC_IME\
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'kb_tutorial_fuzzy_body' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_fuzzy_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_longpress_body' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_longpress_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_main_desc' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_main_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'keyboard_ime_settings_fqwerty_space_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'main_menu_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'vibration_feedback' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
I: Copying libs...
I: Building apk file...

C:\Users\SaRgE\Desktop\apktool1.3.2>

I sign the APK and install it to the emulator. It install but crash on keyboard launch. How did you made it work !

Here's the log. I didn't touch anything. Just decompile-recompile and sign:

I/ActivityManager( 67): Start proc jonasl.ime for service jonasl.ime/.HTCIMEService: pid=613 uid=10028 gids={1015}
W/InputManagerService( 67): Window already focused, ignoring focus gain of: android.view.inputmethod.InputMethodManager$1@43c131f0
D/dalvikvm( 613): Trying to load lib /data/data/jonasl.ime/lib/libt99.so 0x43d0c108
D/dalvikvm( 613): Added shared lib /data/data/jonasl.ime/lib/libt99.so 0x43d0c108
I/XT9_C ( 613): File "/data/data/jonasl.ime/udb" does not exist.
I/XT9_C ( 613): [loadDefaultRUDB] RUDB size = 20480 (loaded)
I/XT9_C ( 613): [RegisterXT9MDB] MDB size=64 (loaded)
I/XT9_C ( 613): Load mdbType=0 time=0.001671(sec)
I/XT9_JNI ( 613): [Java_T9_nativeLoad] Native side initialization done.
W/WindowManager( 67): Attempted to add window with non-application token WindowToken{43d320f8 token=null}. Aborting.
I/HTC_IME ( 613): onCreateInputView
D/ ( 613): unable to unlink '/data/data/jonasl.ime/shared_prefs/jonasl.i
me_preferences.xml.bak': No such file or directory (errno=2)
I/XT9_JNI ( 613): [Java_T9_nativeLoad] Native side is already initiated.
I/XT9_JNI ( 613): [Java_T9_nativeLoad] Native side is already initiated.
W/ResourceType( 613): No package identifier when getting name for resource number 0x00000000
E/Keyboard( 613): Parse error:android.content.res.Resources$NotFoundException:String resource ID #0x0
D/AndroidRuntime( 613): Shutting down VM
W/dalvikvm( 613): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
E/AndroidRuntime( 613): Uncaught handler: thread main exiting due to uncaught exception
D/dalvikvm( 613): GC freed 3558 objects / 280264 bytes in 138ms
E/AndroidRuntime( 613): java.lang.NullPointerException
E/AndroidRuntime( 613): at com.htc.android.htcime.ezsip.EZSIPView.setKeyboard(EZSIPView.java:114)
E/AndroidRuntime( 613): at com.htc.android.htcime.ezsip.PortQwertySIPView.setKeyboardbyLang(PortQwertySIPView.java:129)
E/AndroidRuntime( 613): at com.htc.android.htcime.ezsip.PortQwertySIPView.init(PortQwertySIPView.java:78)
E/AndroidRuntime( 613): at com.htc.android.htcime.util.CodeIMEFinder.loadAllIME(CodeIMEFinder.java:117)
E/AndroidRuntime( 613): at com.htc.android.htcime.HTCIMEService.execOnceAtBoot(HTCIMEService.java:1771)
E/AndroidRuntime( 613): at com.htc.android.htcime.HTCIMEService.onCreateInputView(HTCIMEService.java:176)
E/AndroidRuntime( 613): at android.inputmethodservice.InputMethodService.updateInputViewShown(InputMethodService.java:950)
E/AndroidRuntime( 613): at android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1303)
E/AndroidRuntime( 613): at android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1278)
E/AndroidRuntime( 613): at android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:388)
E/AndroidRuntime( 613): at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:148)
E/AndroidRuntime( 613): at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:45)
E/AndroidRuntime( 613): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 613): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 613): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 613): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 613): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 613): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 613): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 613): at dalvik.system.NativeStart.main(Native Method)

I/Process ( 67): Sending signal. PID: 613 SIG: 3
I/dalvikvm( 613): threadid=7: reacting to signal 3
E/dalvikvm( 613): Unable to open stack trace file '/data/anr/traces.txt': Permission denied
I/Process ( 706): Sending signal. PID: 706 SIG: 9
I/ActivityManager( 67): Process jonasl.ime (pid 706) has died.
W/ActivityManager( 67): Service crashed 2 times, stopping: ServiceRecord{43cb4aa8 jonasl.ime/.HTCIMEService}

And here's the log when the apps is working (before I try to decompile/reompile it):

I/ActivityManager( 67): Start proc jonasl.ime for service jonasl.ime/.HTCIMEService: pid=957 uid=10028 gids={1015}
D/dalvikvm( 957): Trying to load lib /data/data/jonasl.ime/lib/libt99.so 0x43d0c108
D/dalvikvm( 957): Added shared lib /data/data/jonasl.ime/lib/libt99.so 0x43d0c108
I/XT9_C ( 957): File "/data/data/jonasl.ime/udb" does not exist.
I/XT9_C ( 957): [loadDefaultRUDB] RUDB size = 20480 (loaded)
I/XT9_C ( 957): [RegisterXT9MDB] MDB size=64 (loaded)
I/XT9_C ( 957): Load mdbType=0 time=0.001726(sec)
I/XT9_JNI ( 957): [Java_T9_nativeLoad] Native side initialization done.
W/WindowManager( 67): Attempted to add window with non-application token WindowToken{43d320f8 token=null}. Aborting.
I/HTC_IME ( 957): onCreateInputView
D/ ( 957): unable to unlink '/data/data/jonasl.ime/shared_prefs/jonasl.ime_preferences.xml.bak': No such file or directory (errno=2)
I/XT9_JNI ( 957): [Java_T9_nativeLoad] Native side is already initiated.
I/XT9_JNI ( 957): [Java_T9_nativeLoad] Native side is already initiated.
D/dalvikvm( 957): GC freed 3655 objects / 280792 bytes in 147ms
I/HTC_IME_jonasl( 957): Current language not set, defaulting to 0 English
E/ActivityThread( 957): Failed to find provider info for customization_settings
E/ActivityThread( 957): Failed to find provider info for customization_settings
E/ActivityThread( 957): Failed to find provider info for customization_settings
E/ActivityThread( 957): Failed to find provider info for customization_settings
D/dalvikvm( 957): Trying to load lib /system/lib/libsoundpool.so 0x0
D/dalvikvm( 957): Added shared lib /system/lib/libsoundpool.so 0x0
W/Resources( 957): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f090195}
W/Resources( 957): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f090196}
D/dalvikvm( 957): GC freed 4366 objects / 388072 bytes in 41ms
I/XT9_C ( 957): [RegisterXT9MDB] MDB size=22112 (loaded)
I/XT9_C ( 957): Load mdbType=1 time=0.002322(sec)
D/dalvikvm( 957): GC freed 5519 objects / 327536 bytes in 72ms