[Desire Android Development] dark$hadow:
Crash log when entering USB storage settings:

I/ActivityManager( 2629): Timeline: Activity_launch_request id:com.android.settings time:605023
I/ActivityManager( 917): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 2629
D/SubSettings( 2629): Launching fragment com.android.settings.deviceinfo.UsbSettings
E/UsbSettings( 2629): UsbAccessoryMode false
E/UsbSettings( 2629): USB Normal Mode
I/ActivityManager( 917): Displayed com.android.settings/.SubSettings: +540ms
I/ActivityManager( 917): Timeline: Activity_windows_visible id: ActivityRecord{41e5cf40 u0 com.android.settings/.SubSettings t8} time:605836
I/ActivityManager( 2629): Timeline: Activity_idle id: android.os.BinderProxy@41a941a0 time:605883
D/AndroidRuntime( 2629): Shutting down VM
W/dalvikvm( 2629): threadid=1: thread exiting with uncaught exception (group=0x4170dce0)
E/AndroidRuntime( 2629): FATAL EXCEPTION: main
E/AndroidRuntime( 2629): Process: com.android.settings, PID: 2629
E/AndroidRuntime( 2629): java.lang.NullPointerException
E/AndroidRuntime( 2629):	at android.os.Parcel.readException(Parcel.java:1471)
E/AndroidRuntime( 2629):	at android.os.Parcel.readException(Parcel.java:1419)
E/AndroidRuntime( 2629):	at android.hardware.usb.IUsbManager$Stub$Proxy.setCurrentFunction(IUsbManager.java:703)
E/AndroidRuntime( 2629):	at android.hardware.usb.UsbManager.setCurrentFunction(UsbManager.java:453)
E/AndroidRuntime( 2629):	at com.android.settings.deviceinfo.UsbSettings.onPreferenceTreeClick(UsbSettings.java:168)
E/AndroidRuntime( 2629):	at android.preference.Preference.performClick(Preference.java:962)
E/AndroidRuntime( 2629):	at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:215)
E/AndroidRuntime( 2629):	at android.widget.AdapterView.performItemClick(AdapterView.java:298)
E/AndroidRuntime( 2629):	at android.widget.AbsListView.performItemClick(AbsListView.java:1113)
E/AndroidRuntime( 2629):	at android.widget.AbsListView$PerformClick.run(AbsListView.java:2904)
E/AndroidRuntime( 2629):	at android.widget.AbsListView$3.run(AbsListView.java:3638)
E/AndroidRuntime( 2629):	at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 2629):	at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 2629):	at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2629):	at android.app.ActivityThread.main(ActivityThread.java:5081)
E/AndroidRuntime( 2629):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2629):	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2629):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 2629):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/AndroidRuntime( 2629):	at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 917): Force finishing activity com.android.settings/.SubSettings
W/ActivityManager( 917): Activity pause timeout for ActivityRecord{41e5cf40 u0 com.android.settings/.SubSettings t8 f}
I/Process ( 2629): Sending signal. PID: 2629 SIG: 9
I/ActivityManager( 917): Process com.android.settings (pid 2629) has died.
I/WindowState( 917): WIN DEATH: Window{41daa2f8 u0 com.android.settings/com.android.settings.Settings}
I/WindowState( 917): WIN DEATH: Window{41e69bc0 u0 com.android.settings/com.android.settings.SubSettings}
I/WindowState( 917): WIN DEATH: Window{41c1ca68 u0 com.android.settings/com.android.settings.SubSettings}
V/Zygote ( 3105): Switching descriptor 33 to /dev/null
V/Zygote ( 3105): Switching descriptor 10 to /dev/null
I/ActivityManager( 917): Start proc com.android.settings for activity com.android.settings/.SubSettings: pid=3105 uid=1000 gids={41000, 1028, 1015, 3002, 3001, 3003}

---------- Post added at 10:56 AM ---------- Previous post was at 10:53 AM ----------

Crash log when clicking on the clock weather widget:

E/AndroidRuntime( 1367):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1367):	at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 1367):	at android.app.ActivityThread.main(ActivityThread.java:5081)
E/AndroidRuntime( 1367):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1367):	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1367):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 1367):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/AndroidRuntime( 1367):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1367): Caused by: android.content.res.Resources$NotFoundException: File res/drawable-xhdpi/weather_color_29.png from drawable resource ID #0x7f020053
E/AndroidRuntime( 1367):	at android.content.res.Resources.loadDrawable(Resources.java:2143)
E/AndroidRuntime( 1367):	at android.content.res.Resources.getDrawableForDensity(Resources.java:755)
E/AndroidRuntime( 1367):	at com.cyanogenmod.lockclock.misc.IconUtils.getBitmapFromResource(IconUtils.java:118)
E/AndroidRuntime( 1367):	at com.cyanogenmod.lockclock.misc.IconUtils.getOverlaidBitmap(IconUtils.java:95)
E/AndroidRuntime( 1367):	at com.cyanogenmod.lockclock.misc.IconUtils.getWeatherIconBitmap(IconUtils.java:87)
E/AndroidRuntime( 1367):	at com.cyanogenmod.lockclock.weather.WeatherInfo.getConditionBitmap(WeatherInfo.java:113)
E/AndroidRuntime( 1367):	at com.cyanogenmod.lockclock.weather.ForecastBuilder.buildFullPanel(ForecastBuilder.java:72)
E/AndroidRuntime( 1367):	at com.cyanogenmod.lockclock.weather.ForecastActivity.updateForecastPanel(ForecastActivity.java:116)
E/AndroidRuntime( 1367):	at com.cyanogenmod.lockclock.weather.ForecastActivity.onCreate(ForecastActivity.java:92)
E/AndroidRuntime( 1367):	at android.app.Activity.performCreate(Activity.java:5231)
E/AndroidRuntime( 1367):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime( 1367):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
E/AndroidRuntime( 1367):	... 11 more
E/AndroidRuntime( 1367): Caused by: java.io.FileNotFoundException: res/drawable-xhdpi/weather_color_29.png
E/AndroidRuntime( 1367):	at android.content.res.AssetManager.openNonAssetNative(Native Method)
E/AndroidRuntime( 1367):	at android.content.res.AssetManager.openNonAsset(AssetManager.java:430)
E/AndroidRuntime( 1367):	at android.content.res.Resources.loadDrawable(Resources.java:2134)
E/AndroidRuntime( 1367):	... 22 more
W/ActivityManager( 476): Force finishing activity com.cyanogenmod.lockclock/.weather.ForecastActivity
W/InputMethodManagerService( 476): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41c233a8 attribute=null, token = android.os.BinderProxy@42028190
W/ActivityManager( 476): Activity pause timeout for ActivityRecord{42131d68 u0 com.cyanogenmod.lockclock/.weather.ForecastActivity t9 f}
W/InputMethodManagerService( 476): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@421d5fa8 attribute=null, token = android.os.BinderProxy@42028190

some more:

I/ActivityManager( 476): START u0 {act=android.intent.action.MAIN cmp=com.cyanogenmod.lockclock/.preference.Preferences (has extras)} from pid 2534
I/ActivityManager( 476): START u0 {flg=0x10000000 cmp=com.cyanogenmod.lockclock/.weather.ForecastActivity} from pid 2534
E/AndroidRuntime( 2534): FATAL EXCEPTION: main
E/AndroidRuntime( 2534): Process: com.cyanogenmod.lockclock, PID: 2534
E/AndroidRuntime( 2534): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cyanogenmod.lockclock/com.cyanogenmod.lockclock.weather.ForecastActivity}: android.content.res.Resources$NotFoundException: File res/drawable-xhdpi/weather_color_30.png from drawable resource ID #0x7f020055
E/AndroidRuntime( 2534):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2215)
E/AndroidRuntime( 2534):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265)
E/AndroidRuntime( 2534):	at android.app.ActivityThread.access$800(ActivityThread.java:145)
E/AndroidRuntime( 2534):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
E/AndroidRuntime( 2534):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2534):	at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2534):	at android.app.ActivityThread.main(ActivityThread.java:5081)
E/AndroidRuntime( 2534):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2534):	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2534):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 2534):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/AndroidRuntime( 2534):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2534): Caused by: android.content.res.Resources$NotFoundException: File res/drawable-xhdpi/weather_color_30.png from drawable resource ID #0x7f020055
E/AndroidRuntime( 2534):	at android.content.res.Resources.loadDrawable(Resources.java:2143)
E/AndroidRuntime( 2534):	at android.content.res.Resources.getDrawableForDensity(Resources.java:755)
E/AndroidRuntime( 2534):	at com.cyanogenmod.lockclock.misc.IconUtils.getBitmapFromResource(IconUtils.java:118)
E/AndroidRuntime( 2534):	at com.cyanogenmod.lockclock.misc.IconUtils.getOverlaidBitmap(IconUtils.java:95)
E/AndroidRuntime( 2534):	at com.cyanogenmod.lockclock.misc.IconUtils.getWeatherIconBitmap(IconUtils.java:87)
E/AndroidRuntime( 2534):	at com.cyanogenmod.lockclock.weather.WeatherInfo.getConditionBitmap(WeatherInfo.java:113)
E/AndroidRuntime( 2534):	at com.cyanogenmod.lockclock.weather.ForecastBuilder.buildFullPanel(ForecastBuilder.java:72)
E/AndroidRuntime( 2534):	at com.cyanogenmod.lockclock.weather.ForecastActivity.updateForecastPanel(ForecastActivity.java:116)
E/AndroidRuntime( 2534):	at com.cyanogenmod.lockclock.weather.ForecastActivity.onCreate(ForecastActivity.java:92)
E/AndroidRuntime( 2534):	at android.app.Activity.performCreate(Activity.java:5231)
E/AndroidRuntime( 2534):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime( 2534):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
E/AndroidRuntime( 2534):	... 11 more
E/AndroidRuntime( 2534): Caused by: java.io.FileNotFoundException: res/drawable-xhdpi/weather_color_30.png
E/AndroidRuntime( 2534):	at android.content.res.AssetManager.openNonAssetNative(Native Method)
E/AndroidRuntime( 2534):	at android.content.res.AssetManager.openNonAsset(AssetManager.java:430)
E/AndroidRuntime( 2534):	at android.content.res.Resources.loadDrawable(Resources.java:2134)
E/AndroidRuntime( 2534):	... 22 more
W/ActivityManager( 476): Force finishing activity com.cyanogenmod.lockclock/.weather.ForecastActivity

BTW: Does anyone know how to access the clock widget settings without adding a new instance?

---------- Post added at 11:09 AM ---------- Previous post was at 10:56 AM ----------

There are still issues with USB storage, and I believe some of my other issues originate from those.

When unmounting/deactivating, the android usb storage seems to hang. As a result of this, vfat is dirty and corrupt. Next, the ext4 partition which is used by a2sd is exposed as a mass storage device, which - if I understand correctly - means it is unmounted too.

---------- Post added at 11:20 AM ---------- Previous post was at 11:09 AM ----------

LC_ALL=C fdisk -l /dev/sdd

Disk /dev/sdd: 14.9 GiB, 15961423872 bytes, 31174656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000dd65d

Device Boot Start End Blocks Id System
/dev/sdd1 2048 29116415 14557184 b W95 FAT32
/dev/sdd2 29116416 31174655 1029120 83 Linux