[ONE Original Android Development] lom4x:
camera is not working for me

I'm getting next error in adb log while trying to start native camera.

03-02 16:29:32.616 2971 3264 W AppOps : Bad call: specified package org.lineageos.snap under uid 10180 but it is really -1
03-02 16:29:32.616 2971 3264 W AppOps : java.lang.RuntimeException: here
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.AppOpsService.getOpsRawLocked(AppOpsService.java:2244)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.AppOpsService.noteOperationUnchecked(AppOpsService.java:1737)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.AppOpsService.access$600(AppOpsService.java:118)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.AppOpsService$3.check(AppOpsService.java:780)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.AppOpsService$3.getMountMode(AppOpsService.java:739)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.StorageManagerService$StorageManagerInternalImpl.getExternalStorageMountMode(StorageManagerService.java:3664)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:4337)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:4285)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:4267)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:4153)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityStackSupervisor.startSpecificActivityLocked(ActivityStackSupervisor.java:1709)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityStack.resumeTopActivityInnerLocked(ActivityStack.java:2762)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityStack.resumeTopActivityUncheckedLocked(ActivityStack.java:2299)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityStackSupervisor.resumeFocusedStackTopActivityLocked(ActivityStackSupervisor.java:2223)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityStack.completePauseLocked(ActivityStack.java:1603)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityStack.activityPausedLocked(ActivityStack.java:1527)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityManagerService.activityPaused(ActivityManagerService.java:8248)
03-02 16:29:32.616 2971 3264 W AppOps : at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:224)
03-02 16:29:32.616 2971 3264 W AppOps : at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3377)
03-02 16:29:32.616 2971 3264 W AppOps : at android.os.Binder.execTransact(Binder.java:731)
03-02 16:29:32.617 2971 3264 W AppOps : Bad call: specified package org.lineageos.snap under uid 10180 but it is really -1
03-02 16:29:32.710 14138 14138 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.android.camera.app.CameraApp: java.lang.IllegalStateException: Unable to get package info for org.lineageos.snap; is package not installed?
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:1069)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5891)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at android.app.ActivityThread.access$1100(ActivityThread.java:200)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6718)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Unable to get package info for org.lineageos.snap; is package not installed?
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:889)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:1057)
03-02 16:29:32.710 14138 14138 E AndroidRuntime: ... 9 more
03-02 16:29:32.712 2971 6646 W ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraLauncher
03-02 16:29:32.717 14138 14138 I Process : Sending signal. PID: 14138 SIG: 9
03-02 16:29:32.740 285 285 E lowmemorykiller: Error writing /proc/14138/oom_score_adj; errno=22
03-02 16:29:32.740 2873 2873 I Zygote : Process 14138 exited due to signal (9)
03-02 16:29:32.750 2971 6646 I ActivityManager: Process org.lineageos.snap (pid 14138) has died: vis TOP
03-02 16:29:32.751 2971 3785 W libprocessgroup: kill(-14138, 9) failed: No such process
03-02 16:29:32.751 2971 3785 I libprocessgroup: Successfully killed process cgroup uid 10180 pid 14138 in 0ms

i did upgrade from 15.1 without wiping data. Other camera's work fine.