The web browser stopped working (would force close when launched). A reboot resulted in my phone getting stuck on the G1 boot screen.
Hooking up ddms to get some log information, I could see there was a problem
06-23 20:44:09.637: DEBUG/dalvikvm(211): GC freed 500 objects / 34592 bytes in 52ms 06-23 20:44:09.697: ERROR/Zygote(211): Class not found for preloading: org.bouncycastle.asn1.x509.RSAPublicKeyStructure 06-23 20:44:09.697: ERROR/Zygote(211): Class not found for preloading: org.bouncycastle.asn1.x509.TBSCertificateStructure 06-23 20:44:09.697: ERROR/Zygote(211): Class not found for preloading: org.bouncycastle.asn1.x509.Time 06-23 20:44:09.707: ERROR/Zygote(211): Class not found for preloading: org.bouncycastle.asn1.x509.X509CertificateStructure 06-23 20:44:09.707: ERROR/Zygote(211): Class not found for preloading: org.bouncycastle.asn1.x509.X509DefaultEntryConverter 06-23 20:44:09.707: ERROR/Zygote(211): Class not found for preloading: org.bouncycastle.asn1.x509.X509Extensions 06-23 20:44:09.717: ERROR/Zygote(211): Class not found for preloading: org.bouncycastle.asn1.x509.X509Name 06-23 20:44:09.767: DEBUG/dalvikvm(211): GC freed 884 objects / 64736 bytes in 53ms 06-23 20:44:09.777: WARN/dalvikvm(211): Exception Ljava/lang/NoClassDefFoundError; thrown during Lorg/bouncycastle/jce/provider/CertPathValidatorUtilities;.<clinit> 06-23 20:44:09.787: ERROR/Zygote(211): Error preloading org.bouncycastle.jce.provider.CertPathValidatorUtilities. 06-23 20:44:09.787: ERROR/Zygote(211): java.lang.ExceptionInInitializerError 06-23 20:44:09.787: ERROR/Zygote(211): at java.lang.Class.classForName(Native Method) 06-23 20:44:09.787: ERROR/Zygote(211): at java.lang.Class.forName(Class.java:237) 06-23 20:44:09.787: ERROR/Zygote(211): at java.lang.Class.forName(Class.java:183) 06-23 20:44:09.787: ERROR/Zygote(211): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:295) 06-23 20:44:09.787: ERROR/Zygote(211): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:582) 06-23 20:44:09.787: ERROR/Zygote(211): at dalvik.system.NativeStart.main(Native Method) 06-23 20:44:09.787: ERROR/Zygote(211): Caused by: java.lang.NoClassDefFoundError 06-23 20:44:09.787: ERROR/Zygote(211): ... 1 more 06-23 20:44:09.787: DEBUG/AndroidRuntime(211): Shutting down VM 06-23 20:44:09.787: WARN/dalvikvm(211): threadid=3: thread exiting with uncaught exception (group=0x4001e178) 06-23 20:44:09.787: DEBUG/dalvikvm(211): DestroyJavaVM waiting for non-daemon threads to exit 06-23 20:44:09.787: DEBUG/dalvikvm(211): DestroyJavaVM shutting VM down 06-23 20:44:09.787: DEBUG/dalvikvm(211): VM cleaning up
This was repeated several times in the log. Somehow some part of my system has become corrupted. In hindsight, I suspect my dalvik cache was messed up.
Attempts to fix this by reflashing CM 5.0.8 + the Google apps from recovery did not resolve the problem.
The actual fix
I then booted into recovery (I use CM 1.4 + JF) and used the wipe+factory reset. Then flashing the CM 5.0.8 + google apps as per: http://wiki.cyanogen...x.php/DangerSPL (step 7)
Quote
Flash CM 5.0.x THEN gapps-ds-ERE36B (& Ebi1 port if required); then reboot (Boot may take longer than normal) DO NOT reboot between flashing ROMs!
This did result in a working phone - albeit one that needed to be reconfigured. Thankfully I'm using Apps2SD for all of my apps, so nothing lost there. Really wish I had backed up my ADWLauncher settings
Roo















