[Nexus One Android Development] tony710:
I'm having an issue upgrading to 0.11.12.

Note: I always do a complete wipe before upgrading ROMs (use Clockwork Recovery)

So I tried first to just download the deodexed rom and the English Pack but Launcher2 was doing an infinite FC (even after reboot).

I then tried to use the prepackaged english rom and got the exact same error.

I've tried the following ways to flash this rom (always doing a complete wipe between)

rom, english pack, gapps - launcher FC

rom, english pack - launcher FC

prepackaged english rom, gapps - launcher FC

prepacked english rom - launcher FC

This is the logcat from the last combination, any help with this would be much appreciated.

Edit- I flashed just the deodexed Chinese rom and no launcher FC so far (before I couldn't even get it to open).

I'm going to try to flash the english pack again and see what happens.

D/Launcher( 1217): onCreate
W/ResourceType( 1217): Bad XML block: header size 15551 or total size 1819113535 is larger than data size 4297
D/AndroidRuntime( 1217): Shutting down VM
W/dalvikvm( 1217): threadid=1: thread exiting with uncaught exception (group=0x4001d7d0)
E/AndroidRuntime( 1217): FATAL EXCEPTION: main
E/AndroidRuntime( 1217): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.launcher/com.android.launcher2.Launcher}: android.view.InflateException: Binary XML file line #35: Error inflating class com.android.launcher2.Workspace
E/AndroidRuntime( 1217): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
E/AndroidRuntime( 1217): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 1217): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 1217): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 1217): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1217): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1217): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 1217): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1217): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1217): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 1217): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 1217): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 1217): Caused by: android.view.InflateException: Binary XML file line #35: Error inflating class com.android.launcher2.Workspace
E/AndroidRuntime( 1217): at android.view.LayoutInflater.createView(LayoutInflater.java:513)
E/AndroidRuntime( 1217): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
E/AndroidRuntime( 1217): at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
E/AndroidRuntime( 1217): at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
E/AndroidRuntime( 1217): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime( 1217): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime( 1217): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:199)
E/AndroidRuntime( 1217): at android.app.Activity.setContentView(Activity.java:1647)
E/AndroidRuntime( 1217): at com.android.launcher2.Launcher.onCreate(Launcher.java:236)
E/AndroidRuntime( 1217): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 1217): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 1217): ... 11 more
E/AndroidRuntime( 1217): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 1217): at com.android.launcher2.Workspace.<init>(Workspace.java:115)
E/AndroidRuntime( 1217): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 1217): at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
E/AndroidRuntime( 1217): at android.view.LayoutInflater.createView(LayoutInflater.java:500)
E/AndroidRuntime( 1217): ... 21 more
E/AndroidRuntime( 1217): Caused by: android.content.res.Resources$NotFoundException: File res/xml/default_workspace.xml from xml type xml resource ID #0x7f050000
E/AndroidRuntime( 1217): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1941)
E/AndroidRuntime( 1217): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1896)
E/AndroidRuntime( 1217): at android.content.res.Resources.getXml(Resources.java:787)
E/AndroidRuntime( 1217): at com.android.launcher2.LauncherProvider$DatabaseHelper.loadFavorites(LauncherProvider.java:434)
E/AndroidRuntime( 1217): at com.android.launcher2.LauncherProvider$DatabaseHelper.onCreate(LauncherProvider.java:286)
E/AndroidRuntime( 1217): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:120)
E/AndroidRuntime( 1217): at com.android.launcher2.LauncherProvider.query(LauncherProvider.java:110)
E/AndroidRuntime( 1217): at android.content.ContentProvider$Transport.query(ContentProvider.java:186)
E/AndroidRuntime( 1217): at android.content.ContentResolver.query(ContentResolver.java:245)
E/AndroidRuntime( 1217): at com.android.launcher2.Workspace.loadScreens(Workspace.java:918)
E/AndroidRuntime( 1217): at com.android.launcher2.Workspace.<init>(Workspace.java:143)
E/AndroidRuntime( 1217): ... 25 more
E/AndroidRuntime( 1217): Caused by: java.io.FileNotFoundException: Corrupt XML binary file
E/AndroidRuntime( 1217): at android.content.res.AssetManager.openXmlAssetNative(Native Method)
E/AndroidRuntime( 1217): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:485)
E/AndroidRuntime( 1217): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1923)
E/AndroidRuntime( 1217): ... 35 more
W/ActivityManager( 844): Force finishing activity com.android.launcher/com.android.launcher2.Launcher
W/ActivityManager( 844): Activity pause timeout for HistoryRecord{462d6a18 com.android.launcher/com.android.launcher2.Launcher}
I/ActivityManager( 844): Starting activity: Intent { act=android.intent.action.MAINcat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher/com.android.launcher2.Launcher }
D/dalvikvm( 844): GC_FOR_MALLOC freed 15647 objects / 951888 bytes in 62ms
W/ActivityManager( 844): Activity idle timeout for HistoryRecord{462d6a18 com.android.launcher/com.android.launcher2.Launcher}
W/ActivityManager( 844): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 844): Activity idle timeout for HistoryRecord{463e1448 com.android.launcher/com.android.launcher2.Launcher}
E/Tethering( 844): active iface (usb0) reported as added, ignoring
W/ActivityManager( 844): Activity destroy timeout for HistoryRecord{462d6a18 com.android.launcher/com.android.launcher2.Launcher}
I/power ( 844): *** set_screen_state 0
D/SurfaceFlinger( 844): About to give-up screen, flinger = 0x12a258
D/AK8973 ( 77): Compass CLOSE
W/ActivityManager( 844): Activity pause timeout for HistoryRecord{463e1448 com.android.launcher/com.android.launcher2.Launcher}
D/StatusBar( 844): DISABLE_EXPAND: yes
D/dalvikvm( 962): GC_EXPLICIT freed 120 objects / 6088 bytes in 51ms
D/dalvikvm( 1006): GC_EXPLICIT freed 88 objects / 2952 bytes in 136ms
E/Tethering( 844): active iface (usb0) reported as added, ignoring
D/SntpClient( 844): request time failed: java.net.SocketTimeoutException: Connection timed out