[Hero, G2 Touch Android Development] citydog5:
MCR3.0 to 3.1

I upgraded from 3.0 to 3.1 and without a single issue so far... It's noticeably faster and more responsive in all aspects... great job!

I came from a G1 since I lost it and I'm glad to have found a cyanogen equivalent for the G2 quality and performance wise. I can't wait for a 2.1 based release.

The only issue is with HTC_CIME.apk install. I used to be able to just install it to my G1 by doing:

adb install HTC_CIME.apk

When I install the apk from 2.8 chinese package, the return from adb was a success but logcat is showing the following:

/installd( 119): DexInv: --- BEGIN '/data/app/vmdl17759.tmp' ---
D/dalvikvm( 192): GC freed 5838 objects / 230560 bytes in 1143ms
D/dalvikvm( 1946): DexOpt: load 1852ms, verify 2597ms, opt 58ms
D/installd( 119): DexInv: --- END '/data/app/vmdl17759.tmp' (success) ---
I/installd( 119): move /data/dalvik-cache/data@app@vmdl17759.tmp@classes.dex -> /data/dalvik-cache/data@app@com.htc.android.cime.apk@classes.dex
D/PackageManager( 136): New package installed in /data/app/com.htc.android.cime.apk
W/PackageManager( 136): Not granting permission android.permission.STATUS_BAR to package com.htc.android.cime (protectionLevel=3 flags=0x44)
D/AndroidRuntime( 1937): Shutting down VM
D/dalvikvm( 1937): DestroyJavaVM waiting for non-daemon threads to exit
D/dalvikvm( 1937): DestroyJavaVM shutting VM down
D/dalvikvm( 1937): HeapWorker thread shutting down
D/dalvikvm( 1937): HeapWorker thread has shut down
D/jdwp ( 1937): JDWP shutting down net...
D/dalvikvm( 1937): VM cleaning up
D/dalvikvm( 1937): LinearAlloc 0x0 used 652636 of 4194304 (15%)
D/dalvikvm( 136): GC freed 29502 objects / 1093440 bytes in 360ms
D/PackageInstallationReceiver( 363): Removing.../data/local/tmp/com.htc.android.cime.apk
E/PackageInstallationReceiver( 363): Remove /data/local/tmp/com.htc.android.cime.apk Fail!
W/System.err( 363): java.io.IOException: Error running exec(). Commands: [/system/xbin/su, 0, /system/bin/rm, /data/local/tmp/com.htc.android.cime.apk] Working Directory: null Environment: null
W/System.err( 363): at java.lang.ProcessManager.exec(ProcessManager.java:196)
W/System.err( 363): at java.lang.Runtime.exec(Runtime.java:225)
W/System.err( 363): at java.lang.Runtime.exec(Runtime.java:313)
W/System.err( 363): at java.lang.Runtime.exec(Runtime.java:246)
W/System.err( 363): at com.htc.android.psclient.PackageInstallationReceiver.removeTempPackageFile(PackageInstallationReceiver.java:30)
W/System.err( 363): at com.htc.android.psclient.PackageInstallationReceiver.onReceive(PackageInstallationReceiver.java:22)
W/System.err( 363): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2408)
W/System.err( 363): at android.app.ActivityThread.access$2700(ActivityThread.java:112)
W/System.err( 363): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1741)
W/System.err( 363): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 363): at android.os.Looper.loop(Looper.java:123)
W/System.err( 363): at android.app.ActivityThread.main(ActivityThread.java:3948)
W/System.err( 363): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 363): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err( 363): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
W/System.err( 363): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
W/System.err( 363): at dalvik.system.NativeStart.main(Native Method)
W/System.err( 363): Caused by: java.io.IOException: No such file or directory
W/System.err( 363): at java.lang.ProcessManager.exec(Native Method)
W/System.err( 363): at java.lang.ProcessManager.exec(ProcessManager.java:194)
W/System.err( 363): ... 16 more
I/ActivityManager( 136): Stopping service: com.android.vending/.PackageMonitorReceiver$UpdateCheckinDatabaseService

When I try to go into "Touch Input Chinese" settings, app will FC with the following output from logcat:

E/AndroidRuntime( 1957): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1957): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.htc.android.cime/com.htc.android.cime.HTCIMESettings}: java.lang.NullPointerException
E/AndroidRuntime( 1957): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
E/AndroidRuntime( 1957): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284)
E/AndroidRuntime( 1957): at android.app.ActivityThread.access$1800(ActivityThread.java:112)
E/AndroidRuntime( 1957): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
E/AndroidRuntime( 1957): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1957): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1957): at android.app.ActivityThread.main(ActivityThread.java:3948)
E/AndroidRuntime( 1957): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1957): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1957): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 1957): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 1957): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1957): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1957): at com.htc.android.cime.util.ConfigData.loadCustomizeData(ConfigData.java:983)
E/AndroidRuntime( 1957): at com.htc.android.cime.settings.KeyboardSettings.cusomizationLoader(KeyboardSettings.java:103)
E/AndroidRuntime( 1957): at com.htc.android.cime.settings.KeyboardSettings.onCreate(KeyboardSettings.java:131)
E/AndroidRuntime( 1957): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1132)
E/AndroidRuntime( 1957): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231)
E/AndroidRuntime( 1957): ... 11 more
I/Process ( 136): Sending signal. PID: 1957 SIG: 3
I/dalvikvm( 1957): threadid=7: reacting to signal 3
D/dalvikvm( 136): GC freed 43932 objects / 2549528 bytes in 388ms
I/AlertDialog( 136): [onCreate] auto launch SIP.
D/OpenSSLSessionImpl( 136): Freeing OpenSSL session
W/ActivityManager( 136): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 136): Activity idle timeout for HistoryRecord{43b9e838 {com.htc.android.cime/com.htc.android.cime.HTCIMESettings}}

Did anyone have luck adding chinese input to MCR3.1?