[Android Apps and Games] SpiritBreak3r:
[MENTION=3137016]gh0stslayer[/MENTION]

Hey, I had no issues till now but after having installed CM12.1 on my Oneplus X, I get FC on restoration. App and date both restore fine and then the main app FCs. Here's the logcat,

I/Timeline( 1770): Timeline: Activity_launch_request id:com.k2.backup time:384239
I/ActivityManager( 982): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.k2.backup/.MainActivity (has extras)} from uid 10076 on display 0
V/WindowManager( 982): rotationForOrientationLw(orient=-1, last=0); user=0 USER_ROTATION_LOCKED
I/Timeline( 5473): Timeline: Activity_idle id: android.os.BinderProxy@39926382 time:384356
I/Timeline( 982): Timeline: Activity_windows_visible id: ActivityRecord{227ac137 u0 com.k2.backup/.RestoreActivity t116} time:384894
E/RestoreService( 5473): Restore started
D/AndroidRuntime( 5750): >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
D/AndroidRuntime( 5750): CheckJNI is OFF
D/AndroidRuntime( 5750): Calling main entry com.android.commands.pm.Pm
I/ActivityManager( 982): Start proc 5763:com.android.defcontainer/u0a7 for service com.android.defcontainer/.DefaultContainerService
D/Finsky ( 4044): [1] PackageVerificationReceiver.onReceive: Verification requested, id = 0
D/Finsky ( 4044): [1] WorkerTask.onPreExecute: Verification Requested for id = 0, data=file:///storage/sdcard1/Backup/OOS_CM/org.mozilla.firefox_beta/app.apk flags=240 fromVerificationActivity=false
D/LBSSystemMonitorService( 982): handleMessage what - 4
D/Wiper_jni( 982): Send Network Location.
E/LocSvc_api_v02( 982): I/---> locClientSendReq line 2441 QMI_LOC_INJECT_WIFI_POSITION_REQ_V02
E/LocSvc_ApiV02( 982): I/<--- void globalRespCb(locClientHandleType, uint32_t, locClientRespIndUnionType, void*) line 106 QMI_LOC_INJECT_WIFI_POSITION_REQ_V02
I/qtaguid ( 4044): Failed write_ctrl(u 53) res=-1 errno=22
I/qtaguid ( 4044): Untagging socket 53 failed errno=-22
W/NetworkManagementSocketTagger( 4044): untagSocket(53) failed with errno -22
D/Finsky ( 4044): [1] PackageVerificationService$1.onResponse: Verification id=0 response=0
D/Finsky ( 4044): [1] PackageVerificationReceiver.onReceive: Verification requested, id = 0
D/DefContainer( 5763): Copying /storage/sdcard1/Backup/OOS_CM/org.mozilla.firefox_beta/app.apk to base.apk
D/PackageManager( 982): Renaming /data/app/vmdl333205776.tmp to /data/app/org.mozilla.firefox_beta-1
I/PackageManager( 982): New shared user org.mozilla.firefox.sharedID: id=10084
I/PackageManager( 982): Running dexopt on: /data/app/org.mozilla.firefox_beta-1/base.apk pkg=org.mozilla.firefox_beta isa=arm vmSafeMode=false
I/dex2oat ( 5815): /system/bin/dex2oat --zip-fd=6 --zip-location=/data/app/org.mozilla.firefox_beta-1/base.apk --oat-fd=7 --oat-location=/data/dalvik-cache/arm/data@app@org.mozilla.firefox_beta-1@base.apk@classes.dex --instruction-set=arm --instruction-set-features=div --runtime-arg -Xms64m --runtime-arg -Xmx512m --swap-fd=10
I/dex2oat ( 5815): Decided to run without swap.
I/dex2oat ( 5815): dex2oat took 6.537s (threads: 4) arena alloc=261KB java alloc=11MB native alloc=16MB free=7MB
W/PackageManager( 982): Package org.mozilla.firefox_beta has activity org.mozilla.firefox_beta.App with priority > 0, forcing to 0
I/PackageManager( 982): Un-granting permission android.permission.INTERACT_ACROSS_USERS_FULL from package com.qualcomm.qcrilmsgtunnel (protectionLevel=2 flags=0x4088be45)
V/BackupManagerService( 982): restoreAtInstall pkg=org.mozilla.firefox_beta token=1 restoreSet=0
V/BackupManagerService( 982): Finishing install immediately
D/BackupManagerService( 982): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.mozilla.firefox_beta flg=0x4000010 (has extras) }
I/InputReader( 982): Reconfiguring input devices. changes=0x00000020
W/Settings( 982): Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
W/VoiceInteractionManagerService( 982): no available voice recognition services found for user 0
I/ActivityManager( 982): Start proc 5880:org.cyanogenmod.themes.provider/u0a17 for broadcast org.cyanogenmod.themes.provider/.AppReceiver
W/Launcher.Model( 4192): Nobody to tell about the new app. Launcher is probably loading.
I/art ( 982): Explicit concurrent mark sweep GC freed 87594(13MB) AllocSpace objects, 10(3MB) LOS objects, 31% free, 34MB/50MB, paused 1.726ms total 189.393ms
W/BackupManagerService( 982): dataChanged but no participant pkg='com.teslacoilsw.launcher' uid=10076
I/art ( 5750): System.exit called, status: 0
I/AndroidRuntime( 5750): VM exiting with result code 0.
W/ResourcesManager( 1770): Asset path '/system/framework/com.google.android.media.effects.jar' does not exist or contains no resources.
W/Searchables( 982): No global search activity found
D/AndroidRuntime( 5915): >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
D/AndroidRuntime( 5915): CheckJNI is OFF
D/AndroidRuntime( 5915): Calling main entry com.android.commands.am.Am
W/main ( 5915): type=1400 audit(0.0:178): avc: denied { call } for scontext=u:r:zygote:s0 tcontext=u:r:servicemanager:s0 tclass=binder
W/servicemanager( 233): type=1400 audit(0.0:179): avc: denied { search } for name="5915" dev="proc" ino=30886 scontext=u:r:servicemanager:s0 tcontext=u:r:zygote:s0 tclass=dir
W/servicemanager( 233): type=1400 audit(0.0:180): avc: denied { read } for name="current" dev="proc" ino=35382 scontext=u:r:servicemanager:s0 tcontext=u:r:zygote:s0 tclass=file
W/servicemanager( 233): type=1400 audit(0.0:181): avc: denied { open } for name="current" dev="proc" ino=35382 scontext=u:r:servicemanager:s0 tcontext=u:r:zygote:s0 tclass=file
W/servicemanager( 233): type=1400 audit(0.0:182): avc: denied { getattr } for scontext=u:r:servicemanager:s0 tcontext=u:r:zygote:s0 tclass=process
W/main ( 5915): type=1400 audit(0.0:183): avc: denied { call } for scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder
I/ActivityManager( 982): Force stopping org.mozilla.firefox_beta appid=10084 user=0: from pid 5915
D/AndroidRuntime( 5915): Shutting down VM
I/ActivityManager( 982): Start proc 5929:com.google.android.partnersetup/u0a24 for broadcast com.google.android.partnersetup/.RlzPingBroadcastReceiver
I/ActivityManager( 982): Killing 3815:com.cyanogenmod.account/u0a2 (adj 15): empty #17
D/AndroidRuntime( 5928): >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
D/AndroidRuntime( 5928): CheckJNI is OFF
D/AndroidRuntime( 5928): Calling main entry com.android.commands.pm.Pm
I/ActivityManager( 982): Force stopping org.mozilla.firefox_beta appid=10084 user=0: clear data
W/GeofencerStateMachine( 2134): Ignoring removeGeofence because network location is disabled.
D/ThemesProvider( 5880): Deleted 0
D/PackageBroadcastService( 2251): Received broadcast action=android.intent.action.PACKAGE_ADDED and uri=org.mozilla.firefox_beta
D/ChimeraCfgMgr( 2251): Loading module com.google.android.gms.games from APK com.google.android.gms
D/Finsky ( 4044): [1] ExternalReferrer.access$200: Package state data is missing for org.mozilla.firefox_beta
I/PeopleContactsSync( 2251): CP2 sync disabled
D/ChimeraCfgMgr( 2251): Loading module com.google.android.gms.gass from APK com.google.android.gms
D/AsyncTaskServiceImpl( 2251): Submit a task: h
D/ChimeraCfgMgr( 2251): Loading module com.google.android.gms.gass from APK com.google.android.gms
D/ChimeraCfgMgr( 2251): Loading module com.google.android.gms.vision from APK com.google.android.gms
D/h ( 2251): Processing package: org.mozilla.firefox_beta
D/a ( 2251): Look up (org.mozilla.firefox_beta:2015386625) returned no result
D/h ( 2251): Starting Hash for package org.mozilla.firefox_beta:43.0
I/ActivityManager( 982): Start proc 5970:com.svox.pico/u0a55 for broadcast com.svox.pico/.VoiceDataInstallerReceiver
I/ActivityManager( 982): Killing 4700:com.teslacoilsw.notifier/u0a77 (adj 15): empty #17
I/art ( 5928): System.exit called, status: 0
I/AndroidRuntime( 5928): VM exiting with result code 0.
I/ActivityManager( 982): Start proc 5994:com.ceco.lollipop.gravitybox/u0a69 for broadcast com.ceco.lollipop.gravitybox/.UnlockActivity$PkgManagerReceiver
I/ActivityManager( 982): Killing 5255:com.android.cellbroadcastreceiver/u0a5 (adj 15): empty #17
I/art ( 256): Explicit concurrent mark sweep GC freed 703(30KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 15MB/26MB, paused 214us total 17.093ms
I/art ( 256): Explicit concurrent mark sweep GC freed 8(256B) AllocSpace objects, 0(0B) LOS objects, 40% free, 15MB/26MB, paused 236us total 18.823ms
I/art ( 256): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 40% free, 15MB/26MB, paused 2.471ms total 20.883ms
I/ActivityManager( 982): Killing 5336:com.qualcomm.timeservice/1000 (adj 15): empty #17
D/h ( 2251): Package org.mozilla.firefox_beta's hash: c8b0d6c58ebe6a8373d83c90627fc6c62fffb1596bb186e62f4f7a5c86d4c0f4
D/a ( 2251): Look up (org.mozilla.firefox_beta:2015386625) returned no result
D/h ( 2251): Saved the app info in cache for package:org.mozilla.firefox_beta.
I/System.out( 3658): android.intent.action.PACKAGE_ADDED
D/PackageBroadcastService( 2251): Received broadcast action=android.intent.action.PACKAGE_DATA_CLEARED and uri=org.mozilla.firefox_beta
D/AccountUtils( 2251): Clearing selected account for org.mozilla.firefox_beta
I/ActivityManager( 982): Start proc 6017:com.android.documentsui/u0a37 for broadcast com.android.documentsui/.PackageReceiver
I/LocationSettingsChecker( 2251): Removing dialog suppression flag for package org.mozilla.firefox_beta
I/Icing ( 2251): doRemovePackageData org.mozilla.firefox_beta
E/SQLiteLog( 3658): (1555) abort at 27 in [INSERT INTO Packages(boot_lvl,pkgLabel,modified,lvl,updatetime,storepref,system,boot_ads,odex,hidden,billing,stored,boot_manual,boot_custom,pkgName,custom,statusi,ads) VALUES (?,?,?,?,?,?,?,?,?
I/ActivityManager( 982): Killing 5312:com.android.calendar/u0a32 (adj 15): empty #17
I/ActivityManager( 982): Start proc 6043:com.android.externalstorage/u0a10 for content provider com.android.externalstorage/.ExternalStorageProvider
I/ActivityManager( 982): Killing 2709:com.android.providers.calendar/u0a4 (adj 15): empty #17
D/ExternalStorage( 6043): After updating volumes, found 2 active roots
D/Documents( 6017): Update found 7 roots in 256ms
D/Documents( 6017): Update found 7 roots in 76ms
I/PowerManagerService( 982): Going to sleep due to screen timeout (uid 1000)...
I/DisplayManagerService( 982): Display device changed: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:0", 1080 x 1920, 60.0 fps, supportedRefreshRates [60.0], density 480, 442.451 x 439.351 dpi, appVsyncOff 7500000, presDeadline 12666667, touch INTERNAL, rotation 0, type BUILT_IN, state OFF, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
V/ActivityManager( 982): Display changed displayId=0
D/SurfaceFlinger( 235): Set power mode=0, type=0 flinger=0xb6482000
D/qdhwcomposer( 235): hwc_setPowerMode: Setting mode 0 on display: 0
I/qdhwcomposer( 235): handle_blank_event: dpy:0 panel power state: 0
D/qdhwcomposer( 235): hwc_setPowerMode: Done setting mode 0 on display 0
D/SurfaceControl( 982): Excessive delay in setPowerMode(): 285ms
I/QCOM PowerHAL( 982): Got set_interactive hint
I/PowerManagerService( 982): Sleeping (uid 1000)...
I/ClearcutLoggerApiImpl( 2134): disconnect managed GoogleApiClient
D/audio_hw_primary( 246): adev_set_parameters: enter: screen_state=off
E/WifiStateMachine( 982): cancelDelayedScan -> 37
I/PowerManagerService( 982): Waking up from sleep (uid 1000)...
I/DisplayPowerController( 982): Blocking screen on until initial contents have been drawn.
I/QCOM PowerHAL( 982): Got set_interactive hint
V/KeyguardServiceDelegate( 982): onScreenTurnedOn(showListener = com.android.internal.policy.impl.PhoneWindowManager$2@38547d0e)
D/SurfaceFlinger( 235): Set power mode=2, type=0 flinger=0xb6482000
D/qdhwcomposer( 235): hwc_setPowerMode: Setting mode 2 on display: 0
V/ActivityManager( 982): Display changed displayId=0
I/DisplayManagerService( 982): Display device changed: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:0", 1080 x 1920, 60.0 fps, supportedRefreshRates [60.0], density 480, 442.451 x 439.351 dpi, appVsyncOff 7500000, presDeadline 12666667, touch INTERNAL, rotation 0, type BUILT_IN, state ON, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
V/KeyguardServiceDelegate( 982): **** SHOWN CALLED ****
V/ActivityManager( 982): Display changed displayId=0
D/Ulp_jni ( 982): JNI:system_update. Event-0
E/LocSvc_libulp( 982): I/===> int ulp_msg_process_system_update(UlpSystemEvent) line 1577
E/LocSvc_libulp( 982): W/Loc HAL handshake did not happen yet...
D/audio_hw_primary( 246): adev_set_parameters: enter: screen_state=on
E/WifiStateMachine( 982): cancelDelayedScan -> 38
I/Timeline( 982): Timeline: Activity_windows_visible id: ActivityRecord{227ac137 u0 com.k2.backup/.RestoreActivity t116} time:426643
I/DisplayPowerController( 982): Unblocked screen on after 163 ms
I/qdhwcomposer( 235): handle_blank_event: dpy:0 panel power state: 1
D/qdhwcomposer( 235): hwc_setPowerMode: Done setting mode 2 on display 0
D/SurfaceControl( 982): Excessive delay in setPowerMode(): 255ms
D/LBSSystemMonitorService( 982): handleMessage what - 4
D/Wiper_jni( 982): Send Network Location.
E/LocSvc_api_v02( 982): I/---> locClientSendReq line 2441 QMI_LOC_INJECT_WIFI_POSITION_REQ_V02
E/LocSvc_ApiV02( 982): I/<--- void globalRespCb(locClientHandleType, uint32_t, locClientRespIndUnionType, void*) line 106 QMI_LOC_INJECT_WIFI_POSITION_REQ_V02
V/GLSActivity( 2975): AuthDelegateWrapperCreated with selected intent: Intent { cmp=com.google.android.gms/.auth.DefaultAuthDelegateService }
V/GLSActivity( 2975): AuthDelegateWrapperCreated with selected intent: Intent { cmp=com.google.android.gms/.auth.DefaultAuthDelegateService }
V/GLSActivity( 2975): AuthDelegateWrapperCreated with selected intent: Intent { cmp=com.google.android.gms/.auth.DefaultAuthDelegateService }
I/qtaguid ( 4044): Failed write_ctrl(u 46) res=-1 errno=22
I/qtaguid ( 4044): Untagging socket 46 failed errno=-22
W/NetworkManagementSocketTagger( 4044): untagSocket(46) failed with errno -22
I/ElegantRequestDirector( 4044): I/O exception (org.apache.http.NoHttpResponseException) caught when processing request: The target server failed to respond
I/ElegantRequestDirector( 4044): Retrying request
D/Finsky ( 4044): [1] AppStatesReplicator.handleContentSyncResponse: Completed 1 account content syncs with 1 successful.
D/Finsky ( 4044): [1] ContentSyncService$5.onFinished: Installation state replication succeeded.
E/WifiStateMachine( 982): WifiStateMachine L2Connected CMD_START_SCAN source -2 36, 40 -> obsolete
I/System.out( 5473): /storage/sdcard1/Backup/OOS_CM
W/System.err( 5473): java.io.FileNotFoundException: /storage/sdcard1/Backup/OOS_CM/restoreLog.txt: open failed: EACCES (Permission denied)
W/System.err( 5473):	at libcore.io.IoBridge.open(IoBridge.java:456)
W/System.err( 5473):	at java.io.FileOutputStream.<init>(FileOutputStream.java:87)
W/System.err( 5473):	at java.io.FileOutputStream.<init>(FileOutputStream.java:72)
W/System.err( 5473):	at com.k2.backup.intentService.RestoreService.exportLog(RestoreService.java:359)
W/System.err( 5473):	at com.k2.backup.intentService.RestoreService.restoreApps(RestoreService.java:331)
W/System.err( 5473):	at com.k2.backup.intentService.RestoreService.onHandleIntent(RestoreService.java:115)
W/System.err( 5473):	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
W/System.err( 5473):	at android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err( 5473):	at android.os.Looper.loop(Looper.java:135)
W/System.err( 5473):	at android.os.HandlerThread.run(HandlerThread.java:61)
W/System.err( 5473): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
W/System.err( 5473):	at libcore.io.Posix.open(Native Method)
W/System.err( 5473):	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
W/System.err( 5473):	at libcore.io.IoBridge.open(IoBridge.java:442)
W/System.err( 5473):	... 9 more
--------- beginning of crash
E/AndroidRuntime( 5473): FATAL EXCEPTION: IntentService[RestoreService]
E/AndroidRuntime( 5473): Process: com.k2.backup, PID: 5473
E/AndroidRuntime( 5473): java.lang.NullPointerException: lock == null
E/AndroidRuntime( 5473):	at java.io.Writer.<init>(Writer.java:62)
E/AndroidRuntime( 5473):	at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:100)
E/AndroidRuntime( 5473):	at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:55)
E/AndroidRuntime( 5473):	at com.k2.backup.intentService.RestoreService.exportLog(RestoreService.java:363)
E/AndroidRuntime( 5473):	at com.k2.backup.intentService.RestoreService.restoreApps(RestoreService.java:331)
E/AndroidRuntime( 5473):	at com.k2.backup.intentService.RestoreService.onHandleIntent(RestoreService.java:115)
E/AndroidRuntime( 5473):	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
E/AndroidRuntime( 5473):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 5473):	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5473):	at android.os.HandlerThread.run(HandlerThread.java:61)
W/ActivityManager( 982): Force finishing activity 1 com.k2.backup/.RestoreActivity
D/Atlas ( 982): Validating map...
V/ActivityManager( 982): Display changed displayId=0
I/OpenGLRenderer( 982): Initialized EGL, version 1.4
I/Timeline( 5473): Timeline: Activity_idle id: android.os.BinderProxy@2575974f time:458128
I/Timeline( 982): Timeline: Activity_windows_visible id: ActivityRecord{f57ce4f u0 com.k2.backup/.MainActivity t116} time:458366
I/iu.FingerprintManager( 2251): Start processing media store URI: content://media/phoneStorage/images/media
I/iu.FingerprintManager( 2251): Start processing media store URI: content://media/phoneStorage/video/media
I/iu.FingerprintManager( 2251): Finished generating fingerprints; 124.752 seconds
I/iu.FingerprintManager( 2251): numSeen=116 numGenerated=116 numDeleted=0 numFailed=0
I/ActivityManager( 982): Killing 4457:com.cyanogenmod.lockclock/u0a48