dexopt-wrapper /system/framework/framework-test.jar /data/framework-test.odex "$BOOTCLASSPATH"
The above command ran successfully, but when I rebooted my phone, it failed to boot and reported following errors from logcat repeatedly:
I/dalvikvm(14681): DexOpt: not all deps represented
E/dalvikvm(14681): /system/framework/org.simalliance.openmobileapi.jar odex has stale dependencies
E/dalvikvm(14681): odex source not available -- failing
W/dalvikvm(14681): threadid=12: thread exiting with uncaught exception (group=0x4122d2a0)
E/android.os.Debug(14681): !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_sys_error
E/AndroidRuntime(14681): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime(14681): dalvik.system.StaleDexCacheError: /system/framework/org.simalliance.openmobileapi.jar
E/AndroidRuntime(14681): at dalvik.system.DexFile.isDexOptNeeded(Native Method)
E/AndroidRuntime(14681): at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1383)
E/AndroidRuntime(14681): at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1203)
E/AndroidRuntime(14681): at com.android.server.ServerThread.run(SystemServer.java:429)