[Desire Android Development] andycted:
Hi again, I've wiped and flashed yesterday nightly build of cyanogenmod (12/08), applied a2sd RC2 and restored everything. Everything went ok.

Today I tried again repeating the update to the latest nightly, without wiping, then applied the RC2 script right after it, without rebooting. Ended again in a bootloop.

I have a nandroid backup before the update and have restored it. Do you want me to test something to get to the root of it ?

I must also notice that (probably erroneously) I also reflashed google apps right after your script.

[EDIT] I've retried without flashing google apps and the result is the same

EDIT AGAIN: this is part of the logcat from adb, right before the bootloop restarts:

Lots of these "write failed in inflate: No space left on device" (with different applications)

W/installd( 189): DexInv: --- END '/data/app-private/jp.ne.gate.calpadpro-1.apk' --- status=0xff00, process failed

E/installd( 189): dexopt failed on '/data/dalvik-cache/data@app-private@jp.ne.gate.calpadpro-1.apk@classes.dex' res = 65280

I/PackageParser( 219): com.speedsoftware.sqleditor: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE

D/installd( 189): CheckZipAlign: --- END '/data/app-private/com.speedsoftware.sqleditor-1.apk' (not needed) ---

D/installd( 189): DexInv: --- BEGIN '/data/app-private/com.speedsoftware.sqleditor-1.apk' ---

W/dalvikvm( 605): write failed in inflate: No space left on device

Then

W/PackageManager( 219): Unable to write package manager settings, current changes will be lost at reboot

W/PackageManager( 219): java.io.IOException: No space left on device

W/PackageManager( 219): at org.apache.harmony.luni.platform.OSFileSystem.writeImpl(Native Method)

W/PackageManager( 219): at org.apache.harmony.luni.platform.OSFileSystem.write(OSFileSystem.java:129)

W/PackageManager( 219): at java.io.FileOutputStream.write(FileOutputStream.java:297)

W/PackageManager( 219): at com.android.internal.util.FastXmlSerializer.flushBytes(FastXmlSerializer.java:212)

W/PackageManager( 219): at com.android.internal.util.FastXmlSerializer.flush(FastXmlSerializer.java:233)

W/PackageManager( 219): at com.android.internal.util.FastXmlSerializer.append(FastXmlSerializer.java:86)

W/PackageManager( 219): at com.android.internal.util.FastXmlSerializer.escapeAndAppendString(FastXmlSerializer.java:131)

W/PackageManager( 219): at com.android.internal.util.FastXmlSerializer.attribute(FastXmlSerializer.java:162)

W/PackageManager( 219): at com.android.server.PackageManagerService$Settings.writePermission(PackageManagerService.java:8680)

W/PackageManager( 219): at com.android.server.PackageManagerService$Settings.writeLP(PackageManagerService.java:8421)

W/PackageManager( 219): at com.android.server.PackageManagerService.<init>(PackageManagerService.java:994)

W/PackageManager( 219): at com.android.server.PackageManagerService.main(PackageManagerService.java:681)

W/PackageManager( 219): at com.android.server.ServerThread.run(SystemServer.java:124)

D/dalvikvm( 219): GC_EXPLICIT freed 334 objects / 59056 bytes in 79ms

And finally:

E/SystemServer( 219): Failure starting Account Manager

E/SystemServer( 219): android.database.sqlite.SQLiteDiskIOException: error code 10: disk I/O error

E/SystemServer( 219): at android.database.sqlite.SQLiteStatement.native_execute(Native Method)

E/SystemServer( 219): at android.database.sqlite.SQLiteStatement.execute(SQLiteStatement.java:55)

E/SystemServer( 219): at android.database.sqlite.SQLiteDatabase.delete(SQLiteDatabase.java:1598)

E/SystemServer( 219): at android.accounts.AccountManagerService.validateAccounts(AccountManagerService.java:248)

E/SystemServer( 219): at android.accounts.AccountManagerService.<init>(AccountManagerService.java:230)

E/SystemServer( 219): at com.android.server.ServerThread.run(SystemServer.java:134)

I/SystemServer( 219): Content Manager

E/System ( 219): Failure starting core service

E/System ( 219): java.lang.NullPointerException

E/System ( 219): at android.accounts.AccountManager.getAccounts(AccountManager.java:348)

E/System ( 219): at android.content.SyncManager.<init>(SyncManager.java:383)

E/System ( 219): at android.content.ContentService.getSyncManager(ContentService.java:52)

E/System ( 219): at android.content.ContentService.<init>(ContentService.java:97)

E/System ( 219): at android.content.ContentService.main(ContentService.java:460)

E/System ( 219): at com.android.server.ServerThread.run(SystemServer.java:141)

I/SystemServer( 219): Device Policy

I/SystemServer( 219): Status Bar

D/ActivityThread( 219): Loading provider settings: com.android.providers.settings.SettingsProvider

E/SystemServer( 219): Failure starting StatusBarService

E/SystemServer( 219): java.lang.RuntimeException: Unable to get provider com.android.providers.settings.SettingsProvider: java.lang.NullPointerException

E/SystemServer( 219): at android.app.ActivityThread.installProvider(ActivityThread.java:4509)

E/SystemServer( 219): at android.app.ActivityThread.getProvider(ActivityThread.java:4324)

E/SystemServer( 219): at android.app.ActivityThread.acquireProvider(ActivityThread.java:4340)

E/SystemServer( 219): at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:1621)

E/SystemServer( 219): at android.content.ContentResolver.acquireProvider(ContentResolver.java:744)

E/SystemServer( 219): at android.provider.Settings$NameValueCache.getString(Settings.java:608)

E/SystemServer( 219): at android.provider.Settings$System.getString(Settings.java:726)

E/SystemServer( 219): at android.provider.Settings$System.getInt(Settings.java:775)

E/SystemServer( 219): at com.android.server.status.StatusBarService.<init>(StatusBarService.java:266)

E/SystemServer( 219): at com.android.server.ServerThread.run(SystemServer.java:233)

E/SystemServer( 219): Caused by: java.lang.NullPointerException

E/SystemServer( 219): at android.content.ContentResolver.registerContentObserver(ContentResolver.java:804)

E/SystemServer( 219): at android.database.AbstractCursor.setNotificationUri(AbstractCursor.java:520)

E/SystemServer( 219): at com.android.providers.settings.SettingsProvider.query(SettingsProvider.java:321)

E/SystemServer( 219): at com.android.providers.settings.SettingsProvider.ensureAndroidIdIsSet(SettingsProvider.java:217)

E/SystemServer( 219): at com.android.providers.settings.SettingsProvider.onCreate(SettingsProvider.java:209)

E/SystemServer( 219): at android.content.ContentProvider.attachInfo(ContentProvider.java:790)

E/SystemServer( 219): at android.app.ActivityThread.installProvider(ActivityThread.java:4506)

E/SystemServer( 219): ... 9 more

I/SystemServer( 219): Clipboard Service

I/SystemServer( 219): Input Method Service

D/ActivityThread( 219): Loading provider settings: com.android.providers.settings.SettingsProvider

E/SystemServer( 219): Failure starting Input Manager Service

E/SystemServer( 219): java.lang.RuntimeException: Unable to get provider com.android.providers.settings.SettingsProvider: java.lang.NullPointerException

E/SystemServer( 219): at android.app.ActivityThread.installProvider(ActivityThread.java:4509)

E/SystemServer( 219): at android.app.ActivityThread.getProvider(ActivityThread.java:4324)

E/SystemServer( 219): at android.app.ActivityThread.acquireProvider(ActivityThread.java:4340)

E/SystemServer( 219): at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:1621)

E/SystemServer( 219): at android.content.ContentResolver.acquireProvider(ContentResolver.java:744)

E/SystemServer( 219): at android.provider.Settings$NameValueCache.getString(Settings.java:608)

E/SystemServer( 219): at android.provider.Settings$Secure.getString(Settings.java:2516)

E/SystemServer( 219): at com.android.server.InputMethodManagerService.buildInputMethodListLocked(InputMethodManagerService.java:1425)

E/SystemServer( 219): at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:469)

E/SystemServer( 219): at com.android.server.ServerThread.run(SystemServer.java:249)

E/SystemServer( 219): Caused by: java.lang.NullPointerException

E/SystemServer( 219): at android.content.ContentResolver.registerContentObserver(ContentResolver.java:804)

E/SystemServer( 219): at android.database.AbstractCursor.setNotificationUri(AbstractCursor.java:520)

E/SystemServer( 219): at com.android.providers.settings.SettingsProvider.query(SettingsProvider.java:321)

E/SystemServer( 219): at com.android.providers.settings.SettingsProvider.ensureAndroidIdIsSet(SettingsProvider.java:217)

E/SystemServer( 219): at com.android.providers.settings.SettingsProvider.onCreate(SettingsProvider.java:209)

E/SystemServer( 219): at android.content.ContentProvider.attachInfo(ContentProvider.java:790)

E/SystemServer( 219): at android.app.ActivityThread.installProvider(ActivityThread.java:4506)

E/SystemServer( 219): ... 9 more

I/SystemServer( 219): NetStat Service

I/SystemServer( 219): NetworkManagement Service

I/SystemServer( 219): Connectivity Service

V/ConnectivityService( 219): ConnectivityService starting up

D/ActivityThread( 219): Loading provider settings: com.android.providers.settings.SettingsProvider

W/dalvikvm( 219): threadid=16: thread exiting with uncaught exception (group=0x4001d7e8)

E/AndroidRuntime( 219): *** FATAL EXCEPTION IN SYSTEM PROCESS: ConnectivityThread

E/AndroidRuntime( 219): java.lang.RuntimeException: Unable to get provider com.android.providers.settings.SettingsProvider: java.lang.NullPointerException

E/AndroidRuntime( 219): at android.app.ActivityThread.installProvider(ActivityThread.java:4509)

E/AndroidRuntime( 219): at android.app.ActivityThread.getProvider(ActivityThread.java:4324)

E/AndroidRuntime( 219): at android.app.ActivityThread.acquireProvider(ActivityThread.java:4340)

E/AndroidRuntime( 219): at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:1621)

E/AndroidRuntime( 219): at android.content.ContentResolver.acquireProvider(ContentResolver.java:744)

E/AndroidRuntime( 219): at android.provider.Settings$NameValueCache.getString(Settings.java:608)

E/AndroidRuntime( 219): at android.provider.Settings$Secure.getString(Settings.java:2516)

E/AndroidRuntime( 219): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:189)

E/AndroidRuntime( 219): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:56)

E/AndroidRuntime( 219): at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.java:154)

E/AndroidRuntime( 219): Caused by: java.lang.NullPointerException

E/AndroidRuntime( 219): at android.content.ContentResolver.registerContentObserver(ContentResolver.java:804)

E/AndroidRuntime( 219): at android.database.AbstractCursor.setNotificationUri(AbstractCursor.java:520)

E/AndroidRuntime( 219): at com.android.providers.settings.SettingsProvider.query(SettingsProvider.java:321)

E/AndroidRuntime( 219): at com.android.providers.settings.SettingsProvider.ensureAndroidIdIsSet(SettingsProvider.java:217)

E/AndroidRuntime( 219): at com.android.providers.settings.SettingsProvider.onCreate(SettingsProvider.java:209)

E/AndroidRuntime( 219): at android.content.ContentProvider.attachInfo(ContentProvider.java:790)

E/AndroidRuntime( 219): at android.app.ActivityThread.installProvider(ActivityThread.java:4506)

E/AndroidRuntime( 219): ... 9 more

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

E/AndroidRuntime( 219): Error reporting crash

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

E/AndroidRuntime( 219): at android.os.DropBoxManager.isTagEnabled(DropBoxManager.java:287)

E/AndroidRuntime( 219): at com.android.server.am.ActivityManagerService.addErrorToDropBox(ActivityManagerService.java:9214)

E/AndroidRuntime( 219): at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:9125)

E/AndroidRuntime( 219): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)

E/AndroidRuntime( 219): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)

E/AndroidRuntime( 219): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)

D/BootAnimation( 232): SurfaceFlinger died, exiting...

I/ServiceManager( 181): service 'SurfaceFlinger' died

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

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

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

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

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

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

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

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

I/ServiceManager( 181): service 'clipboard' died

I/ServiceManager( 181): service 'network_management' died

I/ServiceManager( 181): service 'netstat' died

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

I/ServiceManager( 181): service 'device_policy' died

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

E/installd( 189): eof

E/installd( 189): failed to read size

I/installd( 189): closing connection

I/Zygote ( 186): Exit zygote because system server (219) has terminated

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

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

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

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

D/AndroidRuntime( 613):