[Nexus S Android Development] cpaixao:
Bad news about Speedy-3:

I was hearing music on PowerAMP and reading news on Browser when i got another reboot. So, when it booted again, every process FC. One by one. So i tried to reboot it again.

Bootloops. And bootloop, and bootloops....

So i wiped cache, davilk-cache and tried to reflash speedy-3. Bootloop. Speedy-2: Bootloop. Non-speedy: Bootloop.

So i tried to erase boot partition and flashed it again: bootloop.

So i tried to advanced restore boot on CWM recovery: bootloop.

So i thought was time to give a better look into those bootloops. Logcat time.

Logcat said:

W/SystemServer( 1437): ***********************************************

F/SystemServer( 1437): BOOT FAILURE starting Input Manager Service

F/SystemServer( 1437): java.lang.RuntimeException: Unable to get provider com.an

droid.providers.settings.SettingsProvider: android.database.sqlite.SQLiteCantOpe

nDatabaseException: unable to open database file

F/SystemServer( 1437): at android.app.ActivityThread.installProvider(ActivityTh

read.java:4240)

F/SystemServer( 1437): at android.app.ActivityThread.acquireProvider(ActivityTh

read.java:4035)

F/SystemServer( 1437): at android.app.ContextImpl$ApplicationContentResolver.ac

quireProvider(ContextImpl.java:1612)

F/SystemServer( 1437): at android.content.ContentResolver.acquireProvider(Conte

ntResolver.java:949)

F/SystemServer( 1437): at android.provider.Settings$NameValueCache.getString(Se

ttings.java:701)

F/SystemServer( 1437): at android.provider.Settings$Secure.getString(Settings.j

ava:2211)

F/SystemServer( 1437): at com.android.server.InputMethodManagerService.buildInp

utMethodListLocked(InputMethodManagerService.java:2002)

F/SystemServer( 1437): at com.android.server.InputMethodManagerService.<init>(I

nputMethodManagerService.java:569)

F/SystemServer( 1437): at com.android.server.ServerThread.run(SystemServer.java

:267)

F/SystemServer( 1437): Caused by: android.database.sqlite.SQLiteCantOpenDatabase

Exception: unable to open database file

F/SystemServer( 1437): at android.database.sqlite.SQLiteDatabase.native_setLoca

le(Native Method)

F/SystemServer( 1437): at android.database.sqlite.SQLiteDatabase.setLocale(SQLi

teDatabase.java:2074)

F/SystemServer( 1437): at android.database.sqlite.SQLiteDatabase.openDatabase(S

QLiteDatabase.java:1014)

F/SystemServer( 1437): at android.database.sqlite.SQLiteDatabase.openDatabase(S

QLiteDatabase.java:986)

F/SystemServer( 1437): at android.database.sqlite.SQLiteOpenHelper.getReadableD

atabase(SQLiteOpenHelper.java:241)

F/SystemServer( 1437): at com.android.providers.settings.SettingsProvider.query

(SettingsProvider.java:398)

F/SystemServer( 1437): at com.android.providers.settings.SettingsProvider.ensur

eAndroidIdIsSet(SettingsProvider.java:317)

F/SystemServer( 1437): at com.android.providers.settings.SettingsProvider.onCre

ate(SettingsProvider.java:256)

F/SystemServer( 1437): at android.content.ContentProvider.attachInfo(ContentPro

vider.java:944)

F/SystemServer( 1437): at android.app.ActivityThread.installProvider(ActivityTh

read.java:4237)

F/SystemServer( 1437): ... 8 more

I/SystemServer( 1437): Accessibility Manager

F/SystemServer( 1437): BOOT FAILURE making display ready

F/SystemServer( 1437): java.lang.NullPointerException

F/SystemServer( 1437): at com.android.server.ServerThread.run(SystemServer.java

:283)

W/SystemServer( 1437): ***********************************************

F/SystemServer( 1437): BOOT FAILURE performing boot dexopt

F/SystemServer( 1437): java.lang.NullPointerException

F/SystemServer( 1437): at com.android.server.am.ActivityManagerService.showBoot

Message(ActivityManagerService.java:3977)

F/SystemServer( 1437): at com.android.server.pm.PackageManagerService.performBo

otDexOpt(PackageManagerService.java:3013)

F/SystemServer( 1437): at com.android.server.ServerThread.run(SystemServer.java

:289)

W/SystemServer( 1437): ***********************************************

W/dalvikvm( 1437): threadid=12: thread exiting with uncaught exception (group=0x

40a3f1f8)

I/Process ( 1437): Sending signal. PID: 1437 SIG: 9

E/AndroidRuntime( 1437): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.S

erverThread

E/AndroidRuntime( 1437): java.lang.NullPointerException

E/AndroidRuntime( 1437): at com.android.server.am.ActivityManagerService.

showBootMessage(ActivityManagerService.java:3977)

E/AndroidRuntime( 1437): at com.android.server.ServerThread.run(SystemSer

ver.java:295)

I/ServiceManager( 73): service 'cpuinfo' died

I/ServiceManager( 73): service 'meminfo' died

I/ServiceManager( 73): service 'package' died

I/ServiceManager( 73): service 'sensorservice' died

I/ServiceManager( 73): service 'gfxinfo' died

I/ServiceManager( 73): service 'entropy' died

I/ServiceManager( 73): service 'telephony.registry' died

I/ServiceManager( 73): service 'activity' died

I/ServiceManager( 73): service 'batteryinfo' died

I/ServiceManager( 73): service 'usagestats' died

I/ServiceManager( 73): service 'power' died

I/ServiceManager( 73): service 'permission' died

I/ServiceManager( 73): service 'accessibility' died

I/ServiceManager( 73): service 'content' died

I/ServiceManager( 73): service 'account' died

E/installd( 85): eof

E/installd( 85): failed to read size

I/installd( 85): closing connection

I/Zygote ( 1412): Exit zygote because system server (1437) has terminated

I/ServiceManager( 73): service 'media.audio_flinger' died

I/ServiceManager( 73): service 'media.player' died

I/ServiceManager( 73): service 'media.camera' died

I/ServiceManager( 73): service 'media.audio_policy' died

I/Netd ( 1462): Netd 1.0 starting

D/AndroidRuntime( 1463):

D/AndroidRuntime( 1463): >>>>>> AndroidRuntime START com.android.internal.os.Zyg

oteInit <<<<<<

D/AndroidRuntime( 1463): CheckJNI is OFF

I/ ( 1461): ServiceManager: 0x1529958

I/AudioFlinger( 1461): Loaded primary audio interface from LEGACY Audio HW HAL (

audio)

I/AudioFlinger( 1461): Using 'LEGACY Audio HW HAL' (audio.primary) as the primar

y audio interface

I/AudioFlinger( 1461): Loaded a2dp audio interface from A2DP Audio HW HAL (audio

)

D/AudioHardwareInterface( 1461): setMode(NORMAL)

I/CameraService( 1461): CameraService started (pid=1461)

I/AudioFlinger( 1461): AudioFlinger's thread 0x152a960 ready to run

W/AudioFlinger( 1461): Thread AudioOut_1 cannot connect to the power manager ser

vice

D/AudioHardware( 1461): AudioStreamOutALSA::setParameters() routing=2

D/AudioHardware( 1461): ### setVoiceVolume_l

I/AudioPolicyService( 1461): Loaded audio policy from LEGACY Audio Policy HAL (a

udio_policy)

I/SamplingProfilerIntegration( 1463): Profiling disabled.

I/Zygote ( 1463): Preloading classes...

D/dalvikvm( 1463): GC_EXPLICIT freed 36K, 85% free 408K/2560K, paused 0ms+1ms

D/dalvikvm( 1463): GC_EXPLICIT freed 4K, 82% free 473K/2560K, paused 1ms+0ms

D/dalvikvm( 1463): GC_EXPLICIT freed 20K, 81% free 509K/2560K, paused 0ms+1ms

D/dalvikvm( 1463): GC_EXPLICIT freed 27K, 80% free 536K/2560K, paused 0ms+0ms

D/dalvikvm( 1463): GC_EXPLICIT freed 15K, 78% free 575K/2560K, paused 0ms+1ms

D/dalvikvm( 1463): GC_EXPLICIT freed 27K, 77% free 603K/2560K, paused 0ms+0ms

D/dalvikvm( 1463): GC_EXPLICIT freed 30K, 76% free 635K/2560K, paused 0ms+0ms

D/TextLayoutCache( 1463): Using debug level: 0 - Debug Enabled: 0

W/Zygote ( 1463): Class not found for preloading: android.media.AudioManager$2

I/dalvikvm( 1463): threadid=1: recursive native library load attempt (/system/li

b/libmedia_jni.so)

D/MtpDeviceJNI( 1463): register_android_mtp_MtpDevice

I/dalvikvm( 1463): threadid=1: recursive native library load attempt (/system/li

b/libmedia_jni.so)

I/dalvikvm( 1463): threadid=1: recursive native library load attempt (/system/li

b/libmedia_jni.so)

W/Zygote ( 1463): Class not found for preloading: android.media.IRemoteControlC

lientDispatcher

W/Zygote ( 1463): Class not found for preloading: android.media.IRemoteControlC

lientDispatcher$Stub

Audio hardware failure?