[Sony Xperia ZR] LaudaDev:
I've experienced the first restart tonight. Until tonight, everything was working fine.

07-20 23:05:41.825 625-825/system_process E/AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: ResourceProcessingThread
java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
at com.android.server.pm.PackageManagerService.processThemeResources(PackageManagerService.java:17814)
at android.app.ApplicationPackageManager.processThemeResources(ApplicationPackageManager.java:2329)
at org.cyanogenmod.platform.internal.ThemeManagerService$ResourceProcessingHandler.handleMessage(ThemeManagerService.java:197)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)

I'm using custom theme "deep darkness".

I have also detected some other errors, while booting

07-20 23:06:54.253 5926-5941/system_process E/Sensors: HAL:write 200 to fd 159 returned 'Device or resource busy' (16)
07-20 23:06:54.253 5926-5941/system_process E/Sensors: HAL:GYRO update delay error
07-20 23:06:54.253 5926-5941/system_process E/Sensors: HAL:write 200 to fd 159 returned 'Device or resource busy' (16)
07-20 23:06:54.253 5926-5941/system_process E/Sensors: HAL:ACCEL update delay error
07-20 23:06:54.642 5926-6969/system_process D/WifiApConfigStore: 2G band allowed channels are:1,6,11
07-20 23:06:54.744 5926-6965/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.745 5926-6965/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:54.787 5926-6991/system_process I/ServiceManager: Waiting for service media.audio_policy...
07-20 23:06:54.852 5926-5929/system_process W/art: Suspending all threads took: 30.914ms
07-20 23:06:54.928 5926-5942/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.928 5926-5942/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:54.930 5926-6965/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.930 5926-6965/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:54.933 5926-6963/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.934 5926-6963/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:54.936 5926-5941/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.937 5926-5941/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:54.943 5926-5942/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.944 5926-5942/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:54.945 5926-6965/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.946 5926-6965/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:54.948 5926-6963/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.948 5926-6963/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:54.950 5926-5941/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.951 5926-5941/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:54.969 5926-5942/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:54.969 5926-5942/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)
07-20 23:06:55.003 5926-5935/system_process I/art: Background sticky concurrent mark sweep GC freed 58770(5MB) AllocSpace objects, 31(644KB) LOS objects, 22% free, 18MB/24MB, paused 6.744ms total 68.939ms
07-20 23:06:55.333 5926-6963/system_process E/Sensors: HAL:write 200 to fd 109 returned 'Device or resource busy' (16)
07-20 23:06:55.333 5926-6963/system_process E/Sensors: HAL:ACCEL update delay error
07-20 23:06:55.565 5926-6965/system_process E/ActivityManager: Attempt to launch receivers of broadcast intent Intent { act=com.sonymobile.camera.intent.action.NOTIFY_STATUS (has extras) } before boot completion
07-20 23:06:55.565 5926-6965/system_process E/ActivityManager: Activity Manager Crash
java.lang.IllegalStateException: Cannot broadcast before boot completed
at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:17392)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:17411)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:467)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2678)
at android.os.Binder.execTransact(Binder.java:453)