[Desire Q&A, Help & Troubleshooting] chatainsim:
Hello all,

I need some help with my HTC Desire.

I use MIUI V2.4.6. with a2sd.

Baseband : 32.56.00.32U_5.17.05.08

I've got an 1GO EXT4 partition on my SD card Samsung 8 Go SDHC Class 6, made with CW recovery.

I've installed MIUI with the third option for a2sd.

Some times, I have a lot's of FC on almost every apps.

I've to reboot my phone, then it's working until next crash.

In the logcat, I've got this :

I/ActivityManager( 1193): Start proc com.android.providers.calendar for restart com.android.providers.calendar: pid=2056 uid=10007 gids={3003}
W/InputManagerService( 1193): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40a0dc08
I/ActivityThread( 2056): Pub com.android.calendar: com.android.providers.calendar.CalendarProvider2
I/Database( 2056): sqlite returned: error code = 14, msg = cannot open file at line 26054 of [42537b6056]
I/Database( 2056): sqlite returned: error code = 14, msg = unable to open database file
E/Database( 2056): sqlite3_exec - Failed to set WAL mode for [/data/data/com.android.providers.calendar/databases/calendar.db]
I/Database( 2056): sqlite returned: error code = 14, msg = cannot open file at line 26054 of [42537b6056]
I/Database( 2056): sqlite returned: error code = 14, msg = unable to open database file
E/Database( 2056): sqlite3_exec - Failed to set DELETE mode for [/data/data/com.android.providers.calendar/databases/calendar.db]
D/AndroidRuntime( 2056): Shutting down VM
W/dalvikvm( 2056): threadid=1: thread exiting with uncaught exception (group=0x4016e568)
E/AndroidRuntime( 2056): FATAL EXCEPTION: main
E/AndroidRuntime( 2056): java.lang.RuntimeException: Unable to get provider com.android.providers.calendar.CalendarProvider2: android.database.sqlite.SQLiteException: unable to open database file
E/AndroidRuntime( 2056):	at android.app.ActivityThread.installProvider(ActivityThread.java:3577)
E/AndroidRuntime( 2056):	at android.app.ActivityThread.installContentProviders(ActivityThread.java:3329)
E/AndroidRuntime( 2056):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3285)
E/AndroidRuntime( 2056):	at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/AndroidRuntime( 2056):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/AndroidRuntime( 2056):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2056):	at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 2056):	at android.app.ActivityThread.main(ActivityThread.java:3703)
E/AndroidRuntime( 2056):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2056):	at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2056):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 2056):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 2056):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2056): Caused by: android.database.sqlite.SQLiteException: unable to open database file
E/AndroidRuntime( 2056):	at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
E/AndroidRuntime( 2056):	at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1849)
E/AndroidRuntime( 2056):	at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:820)
E/AndroidRuntime( 2056):	at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:854)
E/AndroidRuntime( 2056):	at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:847)
E/AndroidRuntime( 2056):	at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:558)
E/AndroidRuntime( 2056):	at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
E/AndroidRuntime( 2056):	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)
E/AndroidRuntime( 2056):	at com.android.providers.calendar.CalendarDatabaseHelper.getWritableDatabase(CalendarDatabaseHelper.java:1143)
E/AndroidRuntime( 2056):	at com.android.providers.calendar.CalendarProvider2.onAccountsUpdated(CalendarProvider2.java:3807)
E/AndroidRuntime( 2056):	at com.android.providers.calendar.CalendarProvider2.verifyAccounts(CalendarProvider2.java:393)
E/AndroidRuntime( 2056):	at com.android.providers.calendar.CalendarProvider2.onCreate(CalendarProvider2.java:407)
E/AndroidRuntime( 2056):	at android.content.ContentProvider.attachInfo(ContentProvider.java:806)
E/AndroidRuntime( 2056):	at android.app.ActivityThread.installProvider(ActivityThread.java:3574)
E/AndroidRuntime( 2056):	... 12 more
I/Process ( 1193): Sending signal. PID: 2036 SIG: 9
I/Process ( 1193): Sending signal. PID: 2056 SIG: 9
W/ActivityManager( 1193): Process com.android.providers.calendar has crashed too many times: killing!
I/ActivityManager( 1193): Kill com.android.calendar (pid 2036): provider com.android.providers.calendar.CalendarProvider2 in dying process com.android.providers.calendar
W/ActivityManager( 1193): Unable to launch app com.android.providers.calendar/10007 for provider com.android.calendar: launching app became null
W/ActivityManager( 1193): Unable to launch app com.android.providers.calendar/10007 for provider com.android.calendar: launching app became null
I/ActivityManager( 1193): Process com.android.calendar (pid 2036) has died.
I/WindowManager( 1193): WIN DEATH: Window{40808e60 com.android.calendar/com.android.calendar.MonthActivity paused=false}
W/InputManagerService( 1193): Got RemoteException sending setActive(false) notification to pid 2036 uid 10006

How can I solve this issue ?

Thank you !

Regards,

Simon