[Miscellaneous Android Development] siljaer:
Now, if I add those files, it seems to work much better. Still some error messages, but acdb loader seems to work.

BTW, I am experiencing some random reboot when I use SMSs/calls (at the end of the activity). I think the problem is here:

08-03 15:25:15.641 641 641 I Telecom : InCallController: Unbinding from InCallService ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}
08-03 15:25:15.644 6268 6268 I InCall : InCallPresenter - setBoundAndWaitingForOutgoingCall: false
08-03 15:25:15.644 6268 6268 I InCall : InCallPresenter - Phone switching state: NO_CALLS -> NO_CALLS
08-03 15:25:15.644 6268 6268 I InCall : InCallPresenter - attemptCleanup? true
08-03 15:25:15.645 6268 6268 W SDK.CyanogenAmbientUtil: Cyanogen Ambient package is missing! Version 1050700 is required.
08-03 15:25:15.645 6268 6268 D AccelerometerListener: enable(false)
08-03 15:25:15.646 6268 6268 I InCall : ProximitySensor - Proximity wake lock already released
08-03 15:25:15.738 641 4084 I ActivityManager: Killing 4991:com.android.calendar/u0a30 (adj 15): empty #17
08-03 15:25:15.856 641 3079 E QCOM PowerHAL: Failed to acquire lock.
08-03 15:25:15.999 236 236 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 236 (surfaceflinger)
08-03 15:25:15.999 245 245 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
08-03 15:25:15.999 245 245 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
08-03 15:25:15.999 245 245 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
08-03 15:25:16.040 3872 3872 D EmojiAltPhysicalKeyDetector: onKeyUp() : KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=158, metaState=0, flags=0x48, repeatCount=0, eventTime=718978, downTime=718794, deviceId=4, source=0x101 }
08-03 15:25:16.040 3872 3872 D EmojiAltPhysicalKeyDetector: onKeyUp() : Not Mapped: 4
08-03 15:25:16.100 245 245 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-03 15:25:16.101 245 245 F DEBUG : CM Version: '13.0-20160803-UNOFFICIAL-trunk'
08-03 15:25:16.101 245 245 F DEBUG : Build fingerprint: 'trunk/trunk/trunk:6.0.1/MOB30Z/6f342544c5:userdebug/dev-keys'
08-03 15:25:16.101 245 245 F DEBUG : Revision: '0'
08-03 15:25:16.101 245 245 F DEBUG : ABI: 'arm64'
08-03 15:25:16.101 641 3211 W NativeCrashListener: Couldn't find ProcessRecord for pid 236
08-03 15:25:16.101 245 245 F DEBUG : pid: 236, tid: 236, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
08-03 15:25:16.101 245 245 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
08-03 15:25:16.101 245 245 E DEBUG : AM write failed: Broken pipe
08-03 15:25:16.110 245 245 F DEBUG : x0 0000007f7cee5d20 x1 0000000000000000 x2 0000000000000000 x3 0000000000000000
08-03 15:25:16.110 245 245 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000000
08-03 15:25:16.110 245 245 F DEBUG : x8 0000000000000000 x9 0000000000000000 x10 000000000c52fb10 x11 000000000c52fb90
08-03 15:25:16.110 245 245 F DEBUG : x12 0000000000000000 x13 0000007f7cdbe000 x14 0000000000000000 x15 0000007f7cdb0000
08-03 15:25:16.110 245 245 F DEBUG : x16 0000007f7cfe6b88 x17 0000007f7cd40c18 x18 0000000000000001 x19 0000007f7cfdb7d0
08-03 15:25:16.111 245 245 F DEBUG : x20 0000007f78983c00 x21 0000007f7c7c3c00 x22 0000007f789854c8 x23 0000007f78985528
08-03 15:25:16.111 245 245 F DEBUG : x24 0000007f78985598 x25 000000a763e72cd5 x26 0000007f7cf7d130 x27 0000007f7cf7d040
08-03 15:25:16.111 245 245 F DEBUG : x28 0000007f7cfdb968 x29 0000007fe6c8c4e0 x30 0000007f7cf98ed0
08-03 15:25:16.111 245 245 F DEBUG : sp 0000007fe6c8c4b0 pc 0000000000000000 pstate 0000000060000000
08-03 15:25:16.119 245 245 F DEBUG :
08-03 15:25:16.119 245 245 F DEBUG : backtrace:
08-03 15:25:16.119 245 245 F DEBUG : #00 pc 0000000000000000 <unknown>
08-03 15:25:16.119 245 245 F DEBUG : #01 pc 000000000002eecc /system/lib64/libsurfaceflinger.so
08-03 15:25:16.119 245 245 F DEBUG : #02 pc 000000000002efc0 /system/lib64/libsurfaceflinger.so
08-03 15:25:16.119 245 245 F DEBUG : #03 pc 0000000000012438 /system/lib64/libutils.so (_ZNK7android7RefBase9decStrongEPKv+164)
08-03 15:25:16.119 245 245 F DEBUG : #04 pc 000000000003c4cc /system/lib64/libsurfaceflinger.so
08-03 15:25:16.119 245 245 F DEBUG : #05 pc 0000000000016d34 /system/lib64/libutils.so (_ZN7android10VectorImpl15release_storageEv+104)
08-03 15:25:16.119 245 245 F DEBUG : #06 pc 0000000000016df0 /system/lib64/libutils.so (_ZN7android10VectorImpl13finish_vectorEv+16)
08-03 15:25:16.119 245 245 F DEBUG : #07 pc 0000000000034a4c /system/lib64/libsurfaceflinger.so
08-03 15:25:16.119 245 245 F DEBUG : #08 pc 000000000003455c /system/lib64/libsurfaceflinger.so
08-03 15:25:16.119 245 245 F DEBUG : #09 pc 000000000001aed4 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+312)
08-03 15:25:16.119 245 245 F DEBUG : #10 pc 000000000001b20c /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+80)
08-03 15:25:16.119 245 245 F DEBUG : #11 pc 000000000003092c /system/lib64/libsurfaceflinger.so
08-03 15:25:16.119 245 245 F DEBUG : #12 pc 0000000000034038 /system/lib64/libsurfaceflinger.so (_ZN7android14SurfaceFlinger3runEv+20)
08-03 15:25:16.120 245 245 F DEBUG : #13 pc 00000000000011ec /system/bin/surfaceflinger
08-03 15:25:16.120 245 245 F DEBUG : #14 pc 000000000001bcd8 /system/lib64/libc.so (__libc_init+100)
08-03 15:25:16.120 245 245 F DEBUG : #15 pc 000000000000101c /system/bin/surfaceflinger
08-03 15:25:16.177 641 3079 E QCOM PowerHAL: Failed to acquire lock.
08-03 15:25:16.265 245 245 F DEBUG :
08-03 15:25:16.265 245 245 F DEBUG : Tombstone written to: /data/tombstones/tombstone_09
08-03 15:25:16.265 641 1092 I BootReceiver: Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE)
08-03 15:25:16.278 3192 3215 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0x7f70307280]
08-03 15:25:16.278 5236 5249 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0xebb26100]
08-03 15:25:16.278 235 235 I ServiceManager: service 'SurfaceFlinger' died
08-03 15:25:16.278 235 235 I ServiceManager: service 'display.qservice' died
08-03 15:25:16.278 6268 6280 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0x7f7bf377a0]
08-03 15:25:16.278 641 3980 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0x7f81b2d320]
08-03 15:25:16.278 6109 6121 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0x7f81be1280]
08-03 15:25:16.279 3960 3973 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0x7f7bf37660]
08-03 15:25:16.279 5296 5580 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0xf63093c0]
08-03 15:25:16.282 641 1094 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.283 641 1094 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.283 3960 3960 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.285 3872 3872 D EmojiAltPhysicalKeyDetector: onKeyUp() : KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=158, metaState=0, flags=0x48, repeatCount=0, eventTime=719222, downTime=719115, deviceId=4, source=0x101 }
08-03 15:25:16.285 3872 3872 D EmojiAltPhysicalKeyDetector: onKeyUp() : Not Mapped: 4
08-03 15:25:16.286 6109 6109 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.286 641 1096 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.287 641 641 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.287 3192 3192 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.288 6109 6137 E OpenGLRenderer: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.288 3192 4288 E OpenGLRenderer: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.288 3960 4287 E OpenGLRenderer: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.288 5236 6343 E OpenGLRenderer: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.297 5236 5236 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.297 6268 6268 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
08-03 15:25:16.298 6268 6284 E OpenGLRenderer: Display event receiver pipe was closed or an error occurred. events=0x9