[Galaxy S I9000 Android Development] loonieryan:
S3 LCD cracked, so I'm temporarily back to using my old i9000. Flashed M5 and the latest nightly and both give me a "Unfortunately, Settings has stopped." error when I try to set APN. Logcat shows the following:

E/DatabaseUtils( 2425): Writing exception to parcel
E/DatabaseUtils( 2425): android.database.sqlite.SQLiteException: Failed to change locale for db '/data/data/com.android.providers.telephony/databases/telephony.db' to 'en_CA'.
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration(SQLiteConnection.java:393)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:218)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteConnectionPool.reconfigure(SQLiteConnectionPool.java:306)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteDatabase.reopenReadWrite(SQLiteDatabase.java:778)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:213)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
E/DatabaseUtils( 2425): at com.android.providers.telephony.TelephonyProvider.update(TelephonyProvider.java:876)
E/DatabaseUtils( 2425): at android.content.ContentProvider$Transport.update(ContentProvider.java:287)
E/DatabaseUtils( 2425): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:222)
E/DatabaseUtils( 2425): at android.os.Binder.execTransact(Binder.java:404)
E/DatabaseUtils( 2425): at dalvik.system.NativeStart.run(Native Method)
E/DatabaseUtils( 2425): Caused by: android.database.sqlite.SQLiteDatabaseCorruptException: database disk image is malformed (code 11)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteConnection.nativeExecuteForString(Native Method)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:641)
E/DatabaseUtils( 2425): at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration(SQLiteConnection.java:374)
E/DatabaseUtils( 2425): ... 12 more
D/AndroidRuntime( 2915): Shutting down VM
W/dalvikvm( 2915): threadid=1: thread exiting with uncaught exception (group=0x4188fce0)
E/AndroidRuntime( 2915): FATAL EXCEPTION: main
E/AndroidRuntime( 2915): Process: com.android.settings, PID: 2915
E/AndroidRuntime( 2915): android.database.sqlite.SQLiteException: Failed to change locale for db '/data/data/com.android.providers.telephony/databases/telephony.db' to 'en_CA'.
E/AndroidRuntime( 2915): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:181)
E/AndroidRuntime( 2915): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
E/AndroidRuntime( 2915): at android.content.ContentProviderProxy.update(ContentProviderNative.java:567)
E/AndroidRuntime( 2915): at android.content.ContentResolver.update(ContentResolver.java:1316)
E/AndroidRuntime( 2915): at com.android.settings.ApnSettings.setSelectedApnKey(ApnSettings.java:294)
E/AndroidRuntime( 2915): at com.android.settings.ApnSettings.onPreferenceChange(ApnSettings.java:282)
E/AndroidRuntime( 2915): at android.preference.Preference.callChangeListener(Preference.java:897)
E/AndroidRuntime( 2915): at com.android.settings.ApnPreference.onCheckedChanged(ApnPreference.java:97)
E/AndroidRuntime( 2915): at android.widget.CompoundButton.setChecked(CompoundButton.java:127)
E/AndroidRuntime( 2915): at android.widget.CompoundButton.toggle(CompoundButton.java:87)
E/AndroidRuntime( 2915): at android.widget.RadioButton.toggle(RadioButton.java:76)
E/AndroidRuntime( 2915): at android.widget.CompoundButton.performClick(CompoundButton.java:99)
E/AndroidRuntime( 2915): at android.view.View$PerformClick.run(View.java:18446)
E/AndroidRuntime( 2915): at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 2915): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 2915): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2915): at android.app.ActivityThread.main(ActivityThread.java:5081)
E/AndroidRuntime( 2915): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2915): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2915): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 2915): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/AndroidRuntime( 2915): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 493): Force finishing activity com.android.settings/.Settings$ApnSettingsActivity

Any ideas how to fix that?