[One (M9) Original Android Development] supachris:
Footej camera is crashing at startup:

10-12 13:41:30.923 I/ActivityManager(802): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.footej.camera/.CameraActivity (has extras)} from uid 10111
10-12 13:41:30.974 W/ActivityThread(13801): handleWindowVisibility: no activity for token android.os.BinderProxy@4f67fdd
10-12 13:41:31.047 I/AppCompatViewInflater(13801): app:theme is now deprecated. Please move to using android:theme instead.
10-12 13:41:31.054 W/g (13801): Suggested size was set to a zero area value!
10-12 13:41:31.057 I/chatty (13801): uid=10143(com.footej.camera) identical 1 line
10-12 13:41:31.058 W/g (13801): Suggested size was set to a zero area value!
10-12 13:41:31.079 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.080 I/Finsky (18192): [170] com.google.android.finsky.billing.iab.al.b(41): com.footej.camera: Account determined from installer data - [-]
10-12 13:41:31.080 I/Finsky (18192): [170] com.google.android.finsky.billing.iab.al.b(49): com.footej.camera: Account from preferred account - [-]
10-12 13:41:31.082 I/OMXClient(13801): IOmx service obtained
10-12 13:41:31.082 I/OMXMaster(575): makeComponentInstance(OMX.google.vorbis.decoder) in omx@1.0-service process
10-12 13:41:31.093 W/AshmemAllocator(489): ashmem_create_region(32768) returning hidl_memory(0x776e82c100, 32768)
10-12 13:41:31.115 I/chatty (489): uid=1000(system) allocator@1.0-s identical 10 lines
10-12 13:41:31.116 W/AshmemAllocator(489): ashmem_create_region(32768) returning hidl_memory(0x776e82c100, 32768)
10-12 13:41:31.163 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.164 I/OMXClient(13801): IOmx service obtained
10-12 13:41:31.165 I/OMXMaster(575): makeComponentInstance(OMX.google.vorbis.decoder) in omx@1.0-service process
10-12 13:41:31.165 W/g (13801): Suggested size was set to a zero area value!
10-12 13:41:31.167 I/chatty (13801): uid=10143(com.footej.camera) identical 1 line
10-12 13:41:31.168 W/g (13801): Suggested size was set to a zero area value!
10-12 13:41:31.168 I/Finsky (18192): [171] com.google.android.finsky.billing.iab.al.b(41): com.footej.camera: Account determined from installer data - [-]
10-12 13:41:31.169 I/Finsky (18192): [171] com.google.android.finsky.billing.iab.al.b(49): com.footej.camera: Account from preferred account - [-]
10-12 13:41:31.173 W/g (13801): Suggested size was set to a zero area value!
10-12 13:41:31.173 I/Finsky (18192): [111] com.google.android.finsky.billing.iab.al.b(41): com.footej.camera: Account determined from installer data - [-]
10-12 13:41:31.173 I/Finsky (18192): [111] com.google.android.finsky.billing.iab.al.b(49): com.footej.camera: Account from preferred account - [-]
10-12 13:41:31.174 W/g (13801): Suggested size was set to a zero area value!
10-12 13:41:31.174 W/g (13801): Suggested size was set to a zero area value!
10-12 13:41:31.179 W/AshmemAllocator(489): ashmem_create_region(32768) returning hidl_memory(0x776e82c100, 32768)
10-12 13:41:31.198 I/chatty (489): uid=1000(system) allocator@1.0-s identical 10 lines
10-12 13:41:31.198 W/AshmemAllocator(489): ashmem_create_region(32768) returning hidl_memory(0x776e82c100, 32768)
10-12 13:41:31.232 D/skia (13801): --- Failed to create image decoder with message 'unimplemented'
10-12 13:41:31.233 I/chatty (13801): uid=10143(com.footej.camera) glide-source-th identical 2 lines
10-12 13:41:31.233 D/skia (13801): --- Failed to create image decoder with message 'unimplemented'
10-12 13:41:31.255 D/TelephonyProvider(3048): subIdString = 1 subId = 1
10-12 13:41:31.268 W/View (13801): requestLayout() improperly called by com.footej.filmstrip.FilmstripView{3a00d4f V.ED..... ......ID 0,0-1080,1920 #7f090086 app:id/filmstrip_view} during layout: running second layout pass
10-12 13:41:31.269 W/View (13801): requestLayout() improperly called by android.widget.FrameLayout{94decdc I.E...... ......ID 0,657-1080,1264} during layout: running second layout pass
10-12 13:41:31.269 W/View (13801): requestLayout() improperly called by android.widget.ImageView{8694ba I.ED..... ......ID 1172,658-2252,1263} during layout: running second layout pass
10-12 13:41:31.269 W/View (13801): requestLayout() improperly called by android.widget.ImageView{c7a2f6b I.ED..... ......ID 2344,658-3424,1263} during layout: running second layout pass
10-12 13:41:31.270 W/View (13801): requestLayout() improperly called by android.widget.ImageView{23afac8 V.ED..... ......ID 0,0-1080,607 #7f090173 app:id/video_view} during layout: running second layout pass
10-12 13:41:31.280 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.282 I/OMXClient(13801): IOmx service obtained
10-12 13:41:31.283 I/OMXMaster(575): makeComponentInstance(OMX.google.mp3.decoder) in omx@1.0-service process
10-12 13:41:31.290 W/AshmemAllocator(489): ashmem_create_region(8192) returning hidl_memory(0x776e82c100, 8192)
10-12 13:41:31.291 I/chatty (489): uid=1000(system) allocator@1.0-s identical 2 lines
10-12 13:41:31.292 W/AshmemAllocator(489): ashmem_create_region(8192) returning hidl_memory(0x776e82c100, 8192)
10-12 13:41:31.294 W/AshmemAllocator(489): ashmem_create_region(9216) returning hidl_memory(0x776e82c100, 9216)
10-12 13:41:31.295 I/chatty (489): uid=1000(system) allocator@1.0-s identical 2 lines
10-12 13:41:31.295 W/AshmemAllocator(489): ashmem_create_region(9216) returning hidl_memory(0x776e82c100, 9216)
10-12 13:41:31.302 I/Finsky (18192): [2] com.google.android.finsky.billing.acquirecache.m.run(13): Skipping a request to /bulkAcquire since cache has all the records.
10-12 13:41:31.308 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.309 I/OMXClient(569): IOmx service obtained
10-12 13:41:31.309 I/OMXMaster(575): makeComponentInstance(OMX.google.h264.decoder) in omx@1.0-service process
10-12 13:41:31.312 D/ACodec (569): Setting [OMX.google.h264.decoder] input port buffer number: 1
10-12 13:41:31.313 D/ACodec (569): Setting [OMX.google.h264.decoder] output port buffer number: 1
10-12 13:41:31.314 D/SoftVideoDecoderOMXComponent(575): Color Aspects preference: 1
10-12 13:41:31.319 W/AshmemAllocator(489): ashmem_create_region(1382400) returning hidl_memory(0x776e82c100, 1382400)
10-12 13:41:31.323 W/AshmemAllocator(489): ashmem_create_region(1382400) returning hidl_memory(0x776e82c100, 1382400)
10-12 13:41:31.325 D/MediaBufferGroup(563): creating MemoryDealer
10-12 13:41:31.327 D/SoftVideoDecoderOMXComponent(575): Color Aspects preference: 1
10-12 13:41:31.331 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.332 I/OMXClient(13801): IOmx service obtained
10-12 13:41:31.332 I/OMXMaster(575): makeComponentInstance(OMX.google.mp3.decoder) in omx@1.0-service process
10-12 13:41:31.337 W/AshmemAllocator(489): ashmem_create_region(8192) returning hidl_memory(0x776e82c100, 8192)
10-12 13:41:31.338 W/AshmemAllocator(489): ashmem_create_region(8192) returning hidl_memory(0x776e82c100, 8192)
10-12 13:41:31.340 I/CameraService(13976): CameraService::connect call (PID -1 "com.footej.camera", camera ID 0) for HAL version default and Camera API version 1
10-12 13:41:31.341 E/CameraProviderManager(13976): filterLogicalCameraIdsLocked: Failed to getCameraCharacteristics for id 0
10-12 13:41:31.341 I/CameraService(13976): onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
10-12 13:41:31.342 W/AshmemAllocator(489): ashmem_create_region(8192) returning hidl_memory(0x776e82c100, 8192)
10-12 13:41:31.344 D/NuPlayerDriver(569): NuPlayerDriver(0xed9c8880) created, clientPid(13976)
10-12 13:41:31.345 W/AshmemAllocator(489): ashmem_create_region(8192) returning hidl_memory(0x776e82c100, 8192)
10-12 13:41:31.345 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.347 W/AshmemAllocator(489): ashmem_create_region(9216) returning hidl_memory(0x776e82c100, 9216)
10-12 13:41:31.348 E/FileSource(569): Failed to open file '/product/media/audio/ui/camera_click.ogg'. (No such file or directory)
10-12 13:41:31.348 E/GenericSource(569): Failed to create data source!
10-12 13:41:31.348 W/AshmemAllocator(489): ashmem_create_region(9216) returning hidl_memory(0x776e82c100, 9216)
10-12 13:41:31.348 D/NuPlayerDriver(569): notifyListener_l(0xed9c8880), (100, 1, -2147483648, -1), loop setting(0, 0)
10-12 13:41:31.348 E/MediaPlayerNative(13976): error (1, -2147483648)
10-12 13:41:31.348 E/CameraService(13976): Failed to load CameraService sounds: /product/media/audio/ui/camera_click.ogg
10-12 13:41:31.348 D/NuPlayerDriver(569): reset(0xed9c8880) at state 2
10-12 13:41:31.349 D/NuPlayerDriver(569): notifyListener_l(0xed9c8880), (8, 0, 0, -1), loop setting(0, 0)
10-12 13:41:31.349 D/NuPlayerDriver(569): notifyResetComplete(0xed9c8880)
10-12 13:41:31.350 W/AshmemAllocator(489): ashmem_create_region(9216) returning hidl_memory(0x776e82c100, 9216)
10-12 13:41:31.351 D/NuPlayerDriver(569): NuPlayerDriver(0xed755280) created, clientPid(13976)
10-12 13:41:31.351 W/AshmemAllocator(489): ashmem_create_region(9216) returning hidl_memory(0x776e82c100, 9216)
10-12 13:41:31.351 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.384 D/NuPlayerDriver(569): notifyListener_l(0xed755280), (1, 0, 0, -1), loop setting(0, 0)
10-12 13:41:31.389 D/NuPlayerDriver(569): NuPlayerDriver(0xed9daa00) created, clientPid(13976)
10-12 13:41:31.393 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.398 E/FileSource(569): Failed to open file '/product/media/audio/ui/VideoRecord.ogg'. (No such file or directory)
10-12 13:41:31.398 E/GenericSource(569): Failed to create data source!
10-12 13:41:31.399 D/NuPlayerDriver(569): notifyListener_l(0xed9daa00), (100, 1, -2147483648, -1), loop setting(0, 0)
10-12 13:41:31.399 I/ActivityManager(802): Displayed com.footej.camera/.CameraActivity: +418ms
10-12 13:41:31.401 E/MediaPlayerNative(13976): error (1, -2147483648)
10-12 13:41:31.401 E/CameraService(13976): Failed to load CameraService sounds: /product/media/audio/ui/VideoRecord.ogg
10-12 13:41:31.401 D/NuPlayerDriver(569): reset(0xed9daa00) at state 2
10-12 13:41:31.402 D/NuPlayerDriver(569): notifyListener_l(0xed9daa00), (8, 0, 0, -1), loop setting(0, 0)
10-12 13:41:31.404 W/system_server(802): Insufficient pre-allocated space to mmap vdex.
10-12 13:41:31.405 D/NuPlayerDriver(569): notifyResetComplete(0xed9daa00)
10-12 13:41:31.416 D/NuPlayerDriver(569): NuPlayerDriver(0xed9daa00) created, clientPid(13976)
10-12 13:41:31.422 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.434 E/NetworkScheduler.ATC(3419): Called cancelTask for already completed task com.google.android.gms/.chimera.container.ConfigService{u=0 tag="ChimeraConfigService_OneOffRetry" trigger=window{start=3300s,end=3900s,earliest=-323s,latest=276s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-3623s last_run=-205s jid=N/A status=ACTIVE retries=1 client_lib=MANCHEGO_GCM-14367000} :TIMED_OUT
10-12 13:41:31.446 E/NetworkScheduler(3419): Invalid component specified.
10-12 13:41:31.454 D/NuPlayerDriver(569): notifyListener_l(0xed9daa00), (1, 0, 0, -1), loop setting(0, 0)
10-12 13:41:31.459 D/NuPlayerDriver(569): NuPlayerDriver(0xef313600) created, clientPid(13976)
10-12 13:41:31.460 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.463 E/FileSource(569): Failed to open file '/product/media/audio/ui/VideoStop.ogg'. (No such file or directory)
10-12 13:41:31.463 E/GenericSource(569): Failed to create data source!
10-12 13:41:31.463 D/NuPlayerDriver(569): notifyListener_l(0xef313600), (100, 1, -2147483648, -1), loop setting(0, 0)
10-12 13:41:31.463 E/MediaPlayerNative(13976): error (1, -2147483648)
10-12 13:41:31.464 E/CameraService(13976): Failed to load CameraService sounds: /product/media/audio/ui/VideoStop.ogg
10-12 13:41:31.464 D/NuPlayerDriver(569): reset(0xef313600) at state 2
10-12 13:41:31.465 D/NuPlayerDriver(569): notifyListener_l(0xef313600), (8, 0, 0, -1), loop setting(0, 0)
10-12 13:41:31.466 D/NuPlayerDriver(569): notifyResetComplete(0xef313600)
10-12 13:41:31.468 D/NuPlayerDriver(569): NuPlayerDriver(0xef313700) created, clientPid(13976)
10-12 13:41:31.469 W/hwservicemanager(396): getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device manifest.
10-12 13:41:31.486 D/NuPlayerDriver(569): notifyListener_l(0xef313700), (1, 0, 0, -1), loop setting(0, 0)
10-12 13:41:31.492 I/CameraHardwareInterface(13976): Opening camera 0
10-12 13:41:31.492 I/CamDev@1.0-impl(13976): Opening camera 0
10-12 13:41:31.495 D/vndksupport(13976): Loading /vendor/lib/hw/power.default.so from current namespace instead of sphal namespace.
10-12 13:41:31.563 W/SurfaceFlinger(514): Attempting to set client state on removed layer: Splash Screen com.footej.camera#0
10-12 13:41:31.563 W/SurfaceFlinger(514): Attempting to destroy on removed layer: Splash Screen com.footej.camera#0
10-12 13:41:31.615 E/ (13976): <HumanMerge>MergeHumanProcessPreview_create!
10-12 13:41:31.683 D/FJGL (13801): EGLContext created, client version 3
10-12 13:41:31.687 D/FJGL (13801): Created program 3 (TEXTURE_EXT)
10-12 13:41:31.691 I/CameraHardwareInterface(13976): Destroying camera 0
10-12 13:41:31.778 W/mm-qcamera-daem(19529): type=1400 audit(0.0:35): avc: denied { use } for path="anon_inode:dmabuf" dev="anon_inodefs" ino=9728 scontext=u:r:mm-qcamera-daemon:s0 tcontext=u:r:untrusted_app_27:s0:c512,c768 tclass=fd permissive=0
10-12 13:41:31.820 E/b (13801): Start preview failed after photo taken! startPreview failed
10-12 13:41:31.820 E/b (13801): java.lang.RuntimeException: startPreview failed
10-12 13:41:31.820 E/b (13801):	at android.hardware.Camera.startPreview(Native Method)
10-12 13:41:31.820 E/b (13801):	at com.footej.c.a.a.b.d(SourceFile:296)
10-12 13:41:31.820 E/b (13801):	at com.footej.c.a.b.az(SourceFile:1513)
10-12 13:41:31.820 E/b (13801):	at com.footej.c.a.b.X(SourceFile:115)
10-12 13:41:31.820 E/b (13801):	at com.footej.c.a.b$9.run(SourceFile:1950)
10-12 13:41:31.820 E/b (13801):	at android.os.Handler.handleCallback(Handler.java:873)
10-12 13:41:31.820 E/b (13801):	at android.os.Handler.dispatchMessage(Handler.java:99)
10-12 13:41:31.820 E/b (13801):	at android.os.Looper.loop(Looper.java:193)
10-12 13:41:31.820 E/b (13801):	at android.os.HandlerThread.run(HandlerThread.java:65)
10-12 13:41:31.828 E/b (13801): Start Preview Session
10-12 13:41:31.828 E/b (13801): java.lang.RuntimeException: startPreview failed
10-12 13:41:31.828 E/b (13801):	at android.hardware.Camera.startPreview(Native Method)
10-12 13:41:31.828 E/b (13801):	at com.footej.c.a.a.b.d(SourceFile:296)
10-12 13:41:31.828 E/b (13801):	at com.footej.c.a.b.az(SourceFile:1513)
10-12 13:41:31.828 E/b (13801):	at com.footej.c.a.b.X(SourceFile:115)
10-12 13:41:31.828 E/b (13801):	at com.footej.c.a.b$9.run(SourceFile:1950)
10-12 13:41:31.828 E/b (13801):	at android.os.Handler.handleCallback(Handler.java:873)
10-12 13:41:31.828 E/b (13801):	at android.os.Handler.dispatchMessage(Handler.java:99)
10-12 13:41:31.828 E/b (13801):	at android.os.Looper.loop(Looper.java:193)
10-12 13:41:31.828 E/b (13801):	at android.os.HandlerThread.run(HandlerThread.java:65)
10-12 13:41:31.831 E/ViewFinderFragment(13801): Critical Error : Schwerwiegender Fehler! Wir bedauern die Unannehmlichkeiten. Bitte sende uns eine Beschreibung des Fehlers, damit wir der Sache auf den Grund gehen können.
10-12 13:41:31.831 E/ViewFinderFragment(13801): Gibt es ein Problem mit Kamera-Dienst, wenn Datei-und versuchen Sie Ihr Gerät neu starten.
10-12 13:41:31.880 D/SurfaceFlinger(514): duplicate layer name: changing com.footej.camera/com.footej.camera.CameraActivity to com.footej.camera/com.footej.camera.CameraActivity#1
10-12 13:41:32.077 W/SurfaceFlinger(514): Attempting to set client state on removed layer: Surface(name=414dee com.footej.camera/com.footej.camera.CameraActivity)/@0x7a10925 - animation-leash#0
10-12 13:41:32.077 W/SurfaceFlinger(514): Attempting to destroy on removed layer: Surface(name=414dee com.footej.camera/com.footej.camera.CameraActivity)/@0x7a10925 - animation-leash#0
10-12 13:41:33.164 D/OpenGLRenderer(13801): endAllActiveAnimators on 0x7743c0da00 (RippleDrawable) with handle 0x7742cceca0
10-12 13:41:33.277 E/NetworkScheduler(3419): Invalid component specified.
10-12 13:41:33.340 W/SurfaceFlinger(514): Attempting to set client state on removed layer: com.footej.camera/com.footej.camera.CameraActivity#1
10-12 13:41:33.340 W/SurfaceFlinger(514): Attempting to destroy on removed layer: com.footej.camera/com.footej.camera.CameraActivity#1
10-12 13:41:33.355 W/SurfaceFlinger(514): Attempting to set client state on removed layer: Dim Layer for - Task=1055#0
10-12 13:41:33.355 W/SurfaceFlinger(514): Attempting to destroy on removed layer: Dim Layer for - Task=1055#0
10-12 13:41:33.532 I/CamDev@1.0-impl(13976): Closing camera 0
10-12 13:41:33.551 F/libc (19529): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xedabd204 in tid 19847 (CAM_MctCtrl), pid 19529 (mm-qcamera-daem)
10-12 13:41:33.551 E/ (13976): <HumanMerge>MergeHumanProcessPreview_destroy!
10-12 13:41:33.551 E/ (13976): <HumanMerge>mhTCFE = NULL!