[Android Q&A, Help & Troubleshooting] suhaibbashir:
Hi dear devs,

After rooting my j7 prime and deleting some unwanted bloatware my stock camera app stopped working i generated a log file for it ... as i am a newbie to android devlopment i am unable to understang the log file and problem occuring in camera app ... can any one help me with this problem..

Log file generated using Logcat xtreme app

---- 25 Jul 2020 6:08:35 pm ----

07-25 18:06:41.948 3324 11620 I ActivityManager: START u0 {act=android.intent.action.MAIN typ=null flg=0x10200000 cmp=ComponentInfo{com.sec.android.app.camera/com.sec.android.app.camera.Camera}} from uid 10077

07-25 18:06:41.967 3324 3334 I ApplicationPolicy: isApplicationExternalStorageWhitelisted:com.sec.android.app.camera user:0

07-25 18:06:41.967 3324 3334 I ApplicationPolicy: isApplicationExternalStorageBlacklisted:com.sec.android.app.camera user:0

07-25 18:06:41.979 3324 3334 I ActivityManager: Start proc 12233:com.sec.android.app.camera/u0a51 for activity com.sec.android.app.camera/.Camera

07-25 18:06:41.985 2962 2962 I SurfaceFlinger: id=209 createSurf (1080x1920),1 flag=40000404, Splash Screen com.sec.android.app.camera[3324]#0

07-25 18:06:41.988 12233 12233 I SELinux : SELinux: seapp_context_lookup: seinfo=platform, level=s0:c512,c768, pkgname=com.sec.android.app.camera

07-25 18:06:42.016 3324 3334 I ActivityManager: DSS on for com.sec.android.app.camera and scale is 1.0

07-25 18:06:42.235 2982 10729 I CameraService: CameraService::connect call (PID -1 "com.sec.android.app.camera", camera ID 0) for HAL version default and Camera API version 1

07-25 18:06:42.238 2982 10729 I CameraFlashlight: prepareDeviceOpen: prepare for device open(cameraId=0, package=com.sec.android.app.camera)

07-25 18:06:42.241 2982 10729 I CameraService: startCameraOps: Start camera ops, package name = com.sec.android.app.camera, client UID = 10051

07-25 18:06:42.264 3324 3324 I SecExternalDisplayIntents_Java: Intent Recieved .. -com.sec.android.app.camera.ACTION_CAMERA_STARTBroadCast Map value - 2

07-25 18:06:42.351 2962 2962 I SurfaceFlinger: id=210 createSurf (1920x1080),1 flag=40000004, com.sec.android.app.camera/com.sec.android.app.camera.Camera[12233]#0

07-25 18:06:42.360 2962 2962 I SurfaceFlinger: id=211 createSurf (960x720),4 flag=404, SurfaceView - com.sec.android.app.camera/com.sec.android.app.camera.Camera@91ea6dd@0[12233]#0

07-25 18:06:42.360 2962 2962 I SurfaceFlinger: id=212 createSurf (960x720),-1 flag=20404, Background for - SurfaceView - com.sec.android.app.camera/com.sec.android.app.camera.Camera@91ea6dd@0[12233]#0

07-25 18:06:42.364 2962 2962 I SurfaceFlinger: id=213 createSurf (1920x1080),1 flag=4, SurfaceView - com.sec.android.app.camera/com.sec.android.app.camera.Camera@8e3819e@0[12233]#0

07-25 18:06:42.365 2962 2962 I SurfaceFlinger: id=214 createSurf (1920x1080),-1 flag=20004, Background for - SurfaceView - com.sec.android.app.camera/com.sec.android.app.camera.Camera@8e3819e@0[12233]#0

07-25 18:06:42.563 12233 12338 I chatty : uid=10051(com.sec.android.app.camera) BaseMenuLoading identical 3 lines

07-25 18:06:42.569 2962 2962 I SurfaceFlinger: id=215 createSurf (1027x1239),1 flag=4, com.sec.android.app.camera/com.sec.android.app.camera.Camera[12233]#1

07-25 18:06:42.615 12233 12338 I chatty : uid=10051(com.sec.android.app.camera) BaseMenuLoading identical 3 lines

07-25 18:06:42.750 12233 12338 I chatty : uid=10051(com.sec.android.app.camera) BaseMenuLoading identical 3 lines

07-25 18:06:42.803 3324 3352 I ActivityManager: Complete : feature=APPL app_id=com.android.server.ssrm value=820 extra=com.sec.android.app.camera

07-25 18:06:42.803 3324 3352 I ActivityManager: Displayed com.sec.android.app.camera/.Camera: +820ms

07-25 18:06:42.816 12233 12255 E AndroidRuntime: Process: com.sec.android.app.camera, PID: 12233

07-25 18:06:42.816 12233 12255 E AndroidRuntime:	at com.sec.android.app.camera.plugin.PlugInStickerLoader.registerObserver(PlugInStickerLoader.java:655)

07-25 18:06:42.816 12233 12255 E AndroidRuntime:	at com.sec.android.app.camera.Camera.onCameraEnterCompleted(Camera.java:8760)

07-25 18:06:42.816 12233 12255 E AndroidRuntime:	at com.sec.android.app.camera.Camera.onStartingPreviewCompleted(Camera.java:3272)

07-25 18:06:42.816 12233 12255 E AndroidRuntime:	at com.sec.android.app.camera.engine.CommonEngine.startingPreviewCompleted(CommonEngine.java:7793)

07-25 18:06:42.816 12233 12255 E AndroidRuntime:	at com.sec.android.app.camera.engine.CeStateStartingPreview.handleMessage(CeStateStartingPreview.java:50)

07-25 18:06:42.816 12233 12255 E AndroidRuntime:	at com.sec.android.app.camera.engine.CommonEngine$StateMessageHandler.handleMessage(CommonEngine.java:12032)

07-25 18:06:43.333 3324 3393 E WindowManager: win=Window{977dc7b u0 Splash Screen com.sec.android.app.camera EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0, caller=com.android.server.wm.AppWindowToken.destroySurfaces:748 com.android.server.wm.AppWindowToken.destroySurfaces:732 com.android.server.wm.WindowState.onExitAnimationDone:5646 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:553 com.android.server.wm.DisplayContent.lambda$-com_android_server_wm_DisplayContent_21578:476

07-25 18:06:43.334 3324 3393 I WindowManager: Destroying surface #76a683c: Surface(name=Splash Screen com.sec.android.app.camera) called by com.android.server.wm.WindowStateAnimator.destroySurface:2617 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:1026 com.android.server.wm.WindowState.destroyOrSaveSurfaceUnchecked:3921 com.android.server.wm.WindowState.destroySurface:3867 com.android.server.wm.AppWindowToken.destroySurfaces:748 com.android.server.wm.AppWindowToken.destroySurfaces:732 com.android.server.wm.WindowState.onExitAnimationDone:5646 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:553

07-25 18:06:43.334 2962 3275 I SurfaceFlinger: id=209 Removed Splash Screen com.sec.android.app.camera[3324]#0 (1/7)

07-25 18:06:43.344 2962 3275 I SurfaceFlinger: id=209 Removed Splash Screen com.sec.android.app.camera[3324]#0 (-2/7)

07-25 18:06:43.348 2962 2962 I Layer : id=209 onRemoved Splash Screen com.sec.android.app.camera[3324]#0

07-25 18:06:44.252 3324 3393 E WindowManager: win=Window{eb7d76a u0 com.sec.android.app.camera/com.sec.android.app.camera.Camera EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0, caller=com.android.server.wm.AppWindowToken.destroySurfaces:748 com.android.server.wm.AppWindowToken.destroySurfaces:732 com.android.server.wm.WindowState.onExitAnimationDone:5646 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:553 com.android.server.wm.DisplayContent.lambda$-com_android_server_wm_DisplayContent_21578:476

07-25 18:06:44.253 3324 3393 I WindowManager: Destroying surface #793cc28: Surface(name=com.sec.android.app.camera/com.sec.android.app.camera.Camera) called by com.android.server.wm.WindowStateAnimator.destroySurface:2617 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:1026 com.android.server.wm.WindowState.destroyOrSaveSurfaceUnchecked:3921 com.android.server.wm.WindowState.destroySurface:3867 com.android.server.wm.AppWindowToken.destroySurfaces:748 com.android.server.wm.AppWindowToken.destroySurfaces:732 com.android.server.wm.WindowState.onExitAnimationDone:5646 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:553

07-25 18:06:44.254 2962 3062 I SurfaceFlinger: id=215 Removed com.sec.android.app.camera/com.sec.android.app.camera.Camera[12233]#1 (3/6)

07-25 18:06:44.261 2962 3062 I SurfaceFlinger: id=215 Removed com.sec.android.app.camera/com.sec.android.app.camera.Camera[12233]#1 (-2/6)

07-25 18:06:44.267 2962 2962 I Layer : id=215 onRemoved com.sec.android.app.camera/com.sec.android.app.camera.Camera[12233]#1

07-25 18:06:47.828 3324 3334 W ActivityManager: crash : com.sec.android.app.camera,0

07-25 18:06:47.832 3324 3334 W ActivityManager: Force finishing activity com.sec.android.app.camera/.Camera

07-25 18:06:47.877 3324 3342 I ActivityManager: Showing crash dialog for package com.sec.android.app.camera u0

07-25 18:06:47.967 2962 2962 I SurfaceFlinger: id=217 createSurf (13x13),1 flag=4, Application Error: com.sec.android.app.camera[3324]#0

07-25 18:06:48.021 4451 4470 W PkgUtils: p: com.sec.android.app.camera, u:0

07-25 18:06:48.093 3324 3426 I InputDispatcher: Window '75409e0 com.sec.android.app.camera/com.sec.android.app.camera.Camera (server)' spent 3052.2ms processing the last input event(waitqueue size: 1)

07-25 18:06:48.104 3324 4030 I MediaFocusControl: abandonAudioFocus() from uid/pid 10051/12233 clientId=android.media.AudioManager$d796ee7com.sec.android.app.camera.SoundManager$2$a28ca94

07-25 18:06:48.336 3324 3341 W ActivityManager: Activity pause timeout for ActivityRecord{bba585a u0 com.sec.android.app.camera/.Camera t27 f}

07-25 18:06:48.334 12233 12252 I chatty : uid=10051(com.sec.android.app.camera) BackgroundHandl identical 5 lines

07-25 18:06:48.471 12233 12238 I zygote : Compiler allocated 4MB to compile boolean com.sec.android.app.camera.plugin.ExternalFilterLoader.loadExternalFilters()

07-25 18:06:48.643 2982 2982 I CameraService: finishCameraOps: Finish camera ops, package name = com.sec.android.app.camera, client UID = 10051

07-25 18:06:48.647 2982 2982 I CameraFlashlight: deviceClosed: device 0 is closed(package=com.sec.android.app.camera)

07-25 18:06:48.658 3324 3324 I SecExternalDisplayIntents_Java: Intent Recieved .. -com.sec.android.app.camera.ACTION_CAMERA_STOPBroadCast Map value - 4

07-25 18:06:48.662 11894 11894 I [SC]DetectorReceiver: onReceive [com.sec.android.app.camera.ACTION_CAMERA_STOP]

07-25 18:06:48.796 3324 4030 I MediaFocusControl: abandonAudioFocus() from uid/pid 10051/12233 clientId=android.media.AudioManager$d796ee7com.sec.android.app.camera.SoundManager$2$a28ca94

07-25 18:06:48.800 3324 4030 I WindowManager: Destroying surface #688e30: Surface(name=com.sec.android.app.camera/com.sec.android.app.camera.Camera) called by com.android.server.wm.WindowStateAnimator.destroySurface:2617 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:1026 com.android.server.wm.WindowState.removeImmediately:2618 com.android.server.wm.WindowState.removeIfPossible:2810 com.android.server.wm.WindowState.removeIfPossible:2640 com.android.server.wm.WindowManagerService.removeWindow:2137 com.android.server.wm.Session.remove:264 android.view.IWindowSession$Stub.onTransact:242

07-25 18:06:48.800 2962 3062 I SurfaceFlinger: id=210 Removed com.sec.android.app.camera/com.sec.android.app.camera.Camera[12233]#0 (2/7)

07-25 18:06:48.801 2962 3059 I SurfaceFlinger: id=210 Removed com.sec.android.app.camera/com.sec.android.app.camera.Camera[12233]#0 (-2/7)

07-25 18:06:48.813 2962 2962 I Layer : id=210 onRemoved com.sec.android.app.camera/com.sec.android.app.camera.Camera[12233]#0

07-25 18:06:48.813 2962 2962 I Layer : id=212 onRemoved Background for - SurfaceView - com.sec.android.app.camera/com.sec.android.app.camera.Camera@91ea6dd@0[12233]#0

07-25 18:06:48.813 2962 2962 I Layer : id=214 onRemoved Background for - SurfaceView - com.sec.android.app.camera/com.sec.android.app.camera.Camera@8e3819e@0[12233]#0

07-25 18:06:48.813 2962 2962 I Layer : id=211 onRemoved SurfaceView - com.sec.android.app.camera/com.sec.android.app.camera.Camera@91ea6dd@0[12233]#0

07-25 18:06:48.813 2962 2962 I Layer : id=213 onRemoved SurfaceView - com.sec.android.app.camera/com.sec.android.app.camera.Camera@8e3819e@0[12233]#0

07-25 18:06:49.673 3324 3334 I ActivityManager: Killing 12233:com.sec.android.app.camera/u0a51 (adj 900): crash

07-25 18:06:49.969 3324 3393 I WindowManager: Destroying surface #743d58c: Surface(name=Application Error: com.sec.android.app.camera) called by com.android.server.wm.WindowStateAnimator.destroySurface:2617 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:1026 com.android.server.wm.WindowState.destroyOrSaveSurfaceUnchecked:3921 com.android.server.wm.RootWindowContainer.performSurfacePlacement:870 com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop:225 com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement:173 com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement:163 com.android.server.wm.WindowSurfacePlacer.lambda$-com_android_server_wm_WindowSurfacePlacer_6552:136

07-25 18:06:49.969 2962 3062 I SurfaceFlinger: id=217 Removed Application Error: com.sec.android.app.camera[3324]#0 (3/6)

07-25 18:06:49.970 2962 3062 I SurfaceFlinger: id=217 Removed Application Error: com.sec.android.app.camera[3324]#0 (-2/6)

07-25 18:06:49.983 2962 2962 I Layer : id=217 onRemoved Application Error: com.sec.android.app.camera[3324]#0

---- 25 Jul 2020 6:08:35 pm ----