RK3288启动卡在Android字样

SoC:RK3288
Platform:Android 5.1


问题:系统启动卡在Android动画


通过串口助手获取logcat日志:

--------- beginning of crash

06-05 09:17:26.406 E/AndroidRuntime( 4564): *** FATAL EXCEPTION IN SYSTEM PROCESS: main

06-05 09:17:26.406 E/AndroidRuntime( 4564): java.lang.RuntimeException: Failed to boot service com.android.server.devicepolicy.DevicePolicyManagerService$Lifecycle: onBootPhase threw an exception during phase 480

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:137)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.SystemServer.startOtherServices(SystemServer.java:1107)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.SystemServer.run(SystemServer.java:279)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.SystemServer.main(SystemServer.java:171)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at java.lang.reflect.Method.invoke(Native Method)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:772)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:662)

06-05 09:17:26.406 E/AndroidRuntime( 4564): Caused by: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 4874)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at android.database.sqlite.SQLiteConnection.nativeExecuteForLong(Native Method)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at android.database.sqlite.SQLiteConnection.executeForLong(SQLiteConnection.java:596)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at android.database.sqlite.SQLiteSession.executeForLong(SQLiteSession.java:652)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at android.database.sqlite.SQLiteStatement.simpleQueryForLong(SQLiteStatement.java:107)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at android.database.DatabaseUtils.longForQuery(DatabaseUtils.java:845)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at android.database.DatabaseUtils.longForQuery(DatabaseUtils.java:833)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at android.database.sqlite.SQLiteDatabase.getVersion(SQLiteDatabase.java:864)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:241)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.LockSettingsStorage.readKeyValue(LockSettingsStorage.java:138)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.LockSettingsService.getStringUnchecked(LockSettingsService.java:353)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.LockSettingsService.getLong(LockSettingsService.java:332)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.internal.widget.LockPatternUtils.getLong(LockPatternUtils.java:1112)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.internal.widget.LockPatternUtils.getKeyguardStoredPasswordQuality(LockPatternUtils.java:830)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.internal.widget.LockPatternUtils.getActivePasswordQuality(LockPatternUtils.java:427)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.devicepolicy.DevicePolicyManagerService.loadSettingsLocked(DevicePolicyManagerService.java:1673)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.devicepolicy.DevicePolicyManagerService.getUserData(DevicePolicyManagerService.java:1091)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.devicepolicy.DevicePolicyManagerService.systemReady(DevicePolicyManagerService.java:1785)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.devicepolicy.DevicePolicyManagerService$Lifecycle.onBootPhase(DevicePolicyManagerService.java:308)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:135)

06-05 09:17:26.406 E/AndroidRuntime( 4564):     ... 6 more

一直反复报这样的错误,从log看是操作data分区时出现I/O error,此时怀疑data分区出现了问题,df命令查看data分区,发现data分区已经被填满。

解决:清除data分区垃圾文件,去掉系统后台的logcat日志脚本,该脚本在系统运行过程中一直保存logcat日志到data分区

你可能感兴趣的:(RK3288)