Help with determining cause of crash at boot on Custom Android Device - General Topics

I have a custom device with firmware created by the manufacturer of said device. It is running Android 7.1.1. It runs a custom app which is the only thing that runs (end user can only see our app). The device ran fine for a couple of months and now when booting up it won't go past the boot logo. I have attached the logcat error below as a reply to this post (was going to post the whole logcat, but it was too long, so posted from the beginning of the crash to a good ways below it) but the main part of the crash points to a null reference pointer in zygote (best i can discern), but i do not know how to determine the root cause of this. Any ideas? Of either what the cause is, or better yet how to track it down?
Small addendum, I could try to re-flash it to fix the issue, but I am more concerned with determining the cause that fixing it so I can determine if it is an issue I am going to encounter with our other devices or was a one off issue.

--------- beginning of crash
01-27 23:17:20.203 1817 1817 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 1817 (zygote)
01-27 23:17:20.203 1676 1676 W : debuggerd: handling request: pid=1817 uid=0 gid=0 tid=1817
01-27 23:17:20.248 2267 2267 E : debuggerd: Unable to connect to activity manager (connect failed: Connection refused)
01-27 23:17:20.299 2267 2267 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-27 23:17:20.299 2267 2267 F DEBUG : Build fingerprint: 'Lathem/a40_p1/a40-p1:7.1.1/NMF27D/20201022:user/test-keys'
01-27 23:17:20.299 2267 2267 F DEBUG : Revision: '0'
01-27 23:17:20.299 2267 2267 F DEBUG : ABI: 'arm'
01-27 23:17:20.300 2267 2267 F DEBUG : pid: 1817, tid: 1817, name: zygote >>> zygote <<<
01-27 23:17:20.300 2267 2267 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
01-27 23:17:20.300 2267 2267 F DEBUG : r0 ad4022f4 r1 bed479ac r2 bed46820 r3 00000000
01-27 23:17:20.300 2267 2267 F DEBUG : r4 0000002f r5 ffffff8c r6 bed47020 r7 bed46838
01-27 23:17:20.300 2267 2267 F DEBUG : r8 ad3d4292 r9 00000000 sl ad3d4292 fp bed46820
01-27 23:17:20.300 2267 2267 F DEBUG : ip ad3ff248 sp bed46800 lr ad36594b pc 00000000 cpsr 600f0010
01-27 23:17:20.306 2267 2267 F DEBUG :
01-27 23:17:20.306 2267 2267 F DEBUG : backtrace:
01-27 23:17:20.306 2267 2267 F DEBUG : #00 pc 00000000 <unknown>
01-27 23:17:20.306 2267 2267 F DEBUG : #01 pc 00067947 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime7startVmEPP7_JavaVMPP7_JNIEnvb+2250)
01-27 23:17:20.306 2267 2267 F DEBUG : #02 pc 00067d1d /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEEb+272)
01-27 23:17:20.306 2267 2267 F DEBUG : #03 pc 00001995 /system/bin/app_process32
01-27 23:17:20.306 2267 2267 F DEBUG : #04 pc 00016c4d /system/lib/libc.so (__libc_init+48)
01-27 23:17:20.306 2267 2267 F DEBUG : #05 pc 0000159c /system/bin/app_process32
01-27 23:17:20.484 1676 1676 W : debuggerd: resuming target 1817
01-27 23:17:20.491 1923 2130 D BootAnimation: found audio.wav, creating playback engine
01-27 23:17:20.491 1923 2130 D BootAnimation: nobootmusic: 0
01-27 23:17:20.492 1923 2130 D BootAnim_AudioPlayer: card=audiocodec, mCard=0
01-27 23:17:20.492 1923 2130 D BootAnim_AudioPlayer: device=0
01-27 23:17:20.492 1923 2130 D BootAnim_AudioPlayer: period_size=1024
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: period_count=2
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "Right Output Mixer DACR Switch" = 1
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "Left Output Mixer DACL Switch" = 1
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "HP_R Mux" = OMIX
01-27 23:17:20.493 1923 2130 E BootAnim_AudioPlayer: mixer_get_ctl_by_name failed for HP_R Mux
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "HP_L Mux" = OMIX
01-27 23:17:20.493 1923 2130 E BootAnim_AudioPlayer: mixer_get_ctl_by_name failed for HP_L Mux
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "Headphone Switch" = 1
01-27 23:17:20.493 1923 2130 D BootAnimation: playing clip for part0, size=11968
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.sound_trigger_hw' died
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.radio' died
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.audio_flinger' died
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.audio_policy' died
01-27 23:17:20.546 1787 1787 I ServiceManager: service 'media.camera' died
01-27 23:17:20.552 1787 1787 I ServiceManager: service 'media.player' died
01-27 23:17:20.552 1787 1787 I ServiceManager: service 'media.resource_manager' died
01-27 23:17:20.677 1789 1886 I [Gralloc]: ion_alloc from ion_client:17 via heap type CARVEOUT(mask:4) for 2457600 Bytes uncached buffer successfully, usage = 0x00000f02
01-27 23:17:22.922 2476 2476 I Netd : Netd 1.0 starting
01-27 23:17:22.922 2476 2476 D TetherController: Setting IP forward enable = 0
01-27 23:17:23.464 2474 2474 I cameraserver: ServiceManager: 0xac099360
01-27 23:17:23.464 2474 2474 I CameraService: CameraService started (pid=2474)
01-27 23:17:23.464 2474 2474 I CameraService: CameraService process starting
01-27 23:17:23.464 2474 2474 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.465 2474 2474 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.534 2469 2469 I : sMaxFastTracks = 8
01-27 23:17:23.543 2469 2469 I audioserver: ServiceManager: 0xa8c19360
01-27 23:17:23.543 2469 2469 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.543 2469 2469 I AudioFlinger: Using default 3000 mSec as standby time.
01-27 23:17:23.545 2469 2469 I AudioPolicyService: AudioPolicyService CSTOR in new mode
01-27 23:17:23.624 2469 2469 V audio_hw_primary: init_audio_devices, line: 487
01-27 23:17:23.624 2469 2469 D audio_hw_primary: read card /sys/class/sound/card0/id
01-27 23:17:23.625 2469 2469 D audio_hw_primary: /sys/class/sound/card0/id, audiocodec, len: 11
01-27 23:17:23.625 2469 2469 D audio_hw_primary: linux name = audiocodec, android name = AUDIO_CODEC
01-27 23:17:23.625 2469 2469 D audio_hw_primary: find name map, card_id = audiocodec, card_name = AUDIO_CODEC
01-27 23:17:23.625 2469 2469 V audio_hw_primary: card: 0, name: AUDIO_CODEC, capture: 1, playback: 1
01-27 23:17:23.625 2469 2469 D audio_hw_primary: read card /sys/class/sound/card1/id
01-27 23:17:23.625 2469 2469 D audio_hw_primary: /sys/class/sound/card1/id, fmidi, len: 6
01-27 23:17:23.625 2469 2469 D audio_hw_primary: linux name = fmidi, android name = AUDIO_USB_fmidi
01-27 23:17:23.625 2469 2469 D audio_hw_primary: find name map, card_id = fmidi, card_name = AUDIO_USB_fmidi
01-27 23:17:23.626 2469 2469 V audio_hw_primary: card: 1, name: AUDIO_USB_fmidi, capture: 0, playback: 0
01-27 23:17:23.640 2469 2469 V audio_hw_primary: init_audio_devices_active, line: 518
01-27 23:17:23.640 2469 2469 V audio_hw_primary: init_audio_devices_active: get property audio.input.active: AUDIO_CODEC
01-27 23:17:23.641 2469 2469 V audio_hw_primary: set property audio.input.active: AUDIO_CODEC ok
01-27 23:17:23.641 2469 2469 V audio_hw_primary: AUDIO_CODEC input device will be active
01-27 23:17:23.641 2469 2469 V audio_hw_primary: init_audio_devices_active: get property audio.output.active: AUDIO_CODEC,AUDIO_I2S
01-27 23:17:23.643 2469 2469 V audio_hw_primary: set property audio.output.active: AUDIO_CODEC,AUDIO_I2S ok
01-27 23:17:23.643 2469 2469 V audio_hw_primary: AUDIO_CODEC output card 0 device will be active
01-27 23:17:23.643 2469 2469 E audio_hw_primary: can not set AUDIO_I2S ouput active
01-27 23:17:23.643 2469 2469 E audio_hw_primary: but device AUDIO_CODEC AUDIO_USB_fmidi ouput will be active
01-27 23:17:23.643 2469 2469 V audio_hw_primary: OK, default use AUDIO_CODEC playback
01-27 23:17:23.643 2469 2469 V audio_hw_primary: use card 0 AUDIO_CODEC mixer control
01-27 23:17:23.645 2469 2469 V audio_hw_primary: init T3 codec in adev_open: card 0, /system/etc/codec_paths.xml.
01-27 23:17:23.647 2469 2469 E audio_route: Control 'HP_R Mux' doesn't exist - skipping
01-27 23:17:23.647 2469 2469 E audio_route: Control 'HP_L Mux' doesn't exist - skipping
01-27 23:17:23.662 2469 2469 D audio_hw_primary: line:1224,select_output_device,adev->mode:0, AUDIO_MODE_RINGTONE:1, AUDIO_MODE_NORMAL:0
01-27 23:17:23.663 2469 2469 V audio_hw_primary: normal mode, ****LINE:1241,FUNC:select_output_device, adev->out_device:2
01-27 23:17:23.663 2469 2469 D audio_hw_primary: adev_open success ,LINE:3235,FUNC:adev_open
01-27 23:17:23.663 2469 2469 V audio_hw_primary: adev_get_master_volume, line: 2965
01-27 23:17:23.663 2469 2469 V audio_hw_primary: adev_set_master_volume, line: 2959
01-27 23:17:23.663 2469 2469 I AudioFlinger: loadHwModule() Loaded primary audio interface from sunxi audio HW HAL (audio) handle 10
01-27 23:17:23.663 2469 2469 I AudioFlinger: openOutput(), module 10 Device 2, SamplingRate 44100, Format 0x000001, Channels 3, flags 2
01-27 23:17:23.663 2469 2469 V audio_hw_primary: adev_open_output_stream, flags: 2
01-27 23:17:23.663 2469 2469 V audio_hw_primary: +++++++++++++++ adev_open_output_stream: req_sample_rate: 44100, fmt: 1, channel_count: 3
01-27 23:17:23.663 2469 2469 I AudioFlinger: HAL output buffer size 2720 frames, normal sink buffer size 2720 frames
01-27 23:17:23.702 2469 2469 I BufferProvider: found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
01-27 23:17:23.702 2469 2469 I AudioFlinger: Using module 10 has the primary audio interface
01-27 23:17:23.716 2469 2580 I AudioFlinger: AudioFlinger's thread 0xa8703cc0 ready to run
01-27 23:17:23.717 2469 2580 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.717 2469 2580 V audio_hw_primary: out_set_parameters: routing=2
01-27 23:17:23.717 2469 2580 D audio_hw_primary: out_standby
01-27 23:17:23.718 2469 2580 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.719 2469 2560 V audio_hw_primary: adev_set_voice_volume, volume: 0.000000
01-27 23:17:23.720 2469 2469 V audio_hw_primary: to malloc in-buffer: period_size: 1024, frame_size: 4
01-27 23:17:23.722 2469 2583 I AudioFlinger: AudioFlinger's thread 0xa850c900 ready to run
01-27 23:17:23.722 2469 2580 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.722 2469 2580 W AudioFlinger: no wake lock to update, system not ready yet
01-27 23:17:23.722 2469 2580 E cutils-trace: Error opening trace file: No such file or directory (2)
01-27 23:17:23.722 2469 2469 D audio_hw_primary: adev_close_input_stream set voice record status
01-27 23:17:23.725 2469 2469 I bt_a2dp_hw: adev_open: adev_open in A2dp_hw module
01-27 23:17:23.725 2469 2469 I AudioFlinger: loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 18
01-27 23:17:23.729 2469 2469 I AudioFlinger: loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 26
01-27 23:17:23.753 2469 2469 I r_submix: adev_open(name=audio_hw_if)
01-27 23:17:23.753 2469 2469 I r_submix: adev_init_check()
01-27 23:17:23.753 2469 2469 I AudioFlinger: loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 34
01-27 23:17:23.754 2469 2469 D r_submix: adev_open_input_stream(addr=0)
01-27 23:17:23.754 2469 2469 D r_submix: submix_audio_device_create_pipe_l(addr=0, idx=9)
01-27 23:17:23.754 2469 2469 D r_submix: now using address 0 for route 9
01-27 23:17:23.755 2469 2586 I AudioFlinger: AudioFlinger's thread 0xa84832c0 ready to run
01-27 23:17:23.755 2469 2469 D r_submix: adev_close_input_stream()
01-27 23:17:23.755 2469 2469 D r_submix: submix_audio_device_release_pipe_l(idx=9) addr=0
01-27 23:17:23.756 2469 2469 D r_submix: submix_audio_device_destroy_pipe_l(): pipe destroyed
01-27 23:17:23.757 2469 2469 I RadioService: RadioService
01-27 23:17:23.757 2469 2469 I RadioService: onFirstRef
01-27 23:17:23.758 2469 2469 E RadioService: couldn't load radio module radio.primary (No such file or directory)
01-27 23:17:23.759 2469 2469 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)

Is there a way to fix this problem without wiping data?

Is there a particular reason why you're not updating to Android Q? This looks like a segmentation error, which is pretty much common among Android 7 devices. Maybe you should consider upgrading or downgrading your Android version to see if it helps.

Related

[SOLVED] [32A] Help with hybrid stock 32A kernel - Google ION 1.6 ROM

I've created a hybrid ROM of my stock 32A (extracted from phone) kernel and the Google ION 1.6 update
Everything works (ie. market, calls, wlan, bluetooth (turns on), data, sound, recording sound, playing music, accelerometer, etc.) except for the camera/camcorder. Here is some log output when starting the Camera app:
Code:
...
(t=0x41504e4d l=40)
D/CameraService( 36): CameraService::connect E (pid 332, client 0x22e78)
D/CameraService( 36): Client::Client E (pid 332)
D/QualcommCameraHardware( 36): createInstance: E
E/QualcommCameraHardware( 36): startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=1072, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=1128, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=1200, Bad file number
D/QualcommCameraHardware( 36): createInstance: X created hardware=0x201b8
D/CameraService( 36): Client::Client X (pid 332)
D/CameraService( 36): CameraService::connect X
D/Camera ( 332): app passed NULL surface
D/CameraService( 36): setPreviewDisplay(0x0) (pid 332)
D/CameraService( 36): getParameters(antibanding=off;antibanding-
...
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=11664, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=12224, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=12000, Bad file number
V/camera ( 332): startPreview
D/CameraService( 36): startPreview (pid 332)
D/CameraService( 36): startCameraMode(0) (pid 332)
D/CameraService( 36): mSurface is not set yet.
D/CameraService( 36): startPreviewMode (pid 332)
I/QualcommCameraHardware( 36): initPreview E: preview size=384x288
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=1, length=28, rc=-1, ctrlCmd.status=9135, Bad file number
E/QualcommCameraHardware( 36): startPreview X initPreview failed. Not starting preview.
D/CameraService( 36): stopPreview (pid 332)
D/CameraService( 36): stopPreview(), hardware stopped OK
D/Camera-JNI( 332): release camera
D/CameraService( 36): Client::disconnect() E (pid 332 client 0x22e78)
D/CameraService( 36): hardware teardown
D/QualcommCameraHardware( 36): release E
E/QualcommCameraHardware( 36): ioctl CAMERA_EXIT fd -1 error Bad file number
E/QualcommCameraHardware( 36): config_thread exit failure: Bad file number
D/QualcommCameraHardware( 36): release X
D/QualcommCameraHardware( 36): ~QualcommCameraHardware E
D/QualcommCameraHardware( 36): ~QualcommCameraHardware X
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
D/CameraService( 36): removeClient (pid 332) done
D/CameraService( 36): Client::disconnect() X (pid 332)
W/dalvikvm( 332): threadid=13: thread exiting with uncaught exception (group=0x4001da20)
E/AndroidRuntime( 332): Uncaught handler: thread Thread-7 exiting due to uncaught exception
E/AndroidRuntime( 332): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1360)
E/AndroidRuntime( 332): at com.android.camera.Camera.access$4000(Camera.java:78)
E/AndroidRuntime( 332): at com.android.camera.Camera$3.run(Camera.java:724)
E/AndroidRuntime( 332): at java.lang.Thread.run(Thread.java:1060)
E/AndroidRuntime( 332): Caused by: java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at android.hardware.Camera.startPreview(Native Method)
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1357)
E/AndroidRuntime( 332): ... 3 more
D/CameraService( 36): Client::~Client E (pid 36, client 0x22e78)
D/CameraService( 36): Client::disconnect() E (pid 36 client 0x22e78)
D/CameraService( 36): Client::~Client X (pid 36)
I/Process ( 59): Sending signal. PID: 332 SIG: 3
I/dalvikvm( 332): threadid=7: reacting to signal 3
I/dalvikvm( 332): Wrote stack trace to '/data/anr/traces.txt'
I/DumpStateReceiver( 59): Added state dump to 1 crashes
I/Process ( 332): Sending signal. PID: 332 SIG: 9
I/ActivityManager( 59): Process com.android.camera (pid 332) has died.
I think the key bit there is 'startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!'
After that, you can see successive ioctl 'Bad file number' errors.
I have a workaround by copying /system/lib/libcamera.so and /system/lib/libqcamera.so from the original, stock image of my phone. This results in a working camera. However, the camcorder can't record video. When pressing record, it freezes. No force close. Can BACK out of the app. Here's the log when that happens. As you can see, mediaserver pukes:
Code:
...
I/ActivityManager( 60): Displayed activity com.android.camera/.VideoCamera: 1260 ms (total 1260 ms)
V/videocamera( 354): initializeRecorder
V/videocamera( 354): Releasing media recorder.
D/CameraService( 495): Client::connect E (pid 495, client 0x373fc)
D/CameraService( 495): Connect to the new client (pid 495, client 0x373fc)
V/videocamera( 354): Current camera video filename: /sdcard/DCIM/Camera/video-2009-12-29-22-22-37.3gp
I/MediaRecorderJNI( 354): prepare: surface=0x1ba9a8 (id=1)
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
I/OMXVenc ( 495): component_init::292 Initializing component OMX.qcom.video.encoder.h263
E/OMXVenc ( 495): get_parameter::922 unsupported index 267887431
E/OMXVenc ( 495): get_parameter::899 unsupported index 117440523
E/OMXVenc ( 495): set_parameter::1099 unsupported index in set_parameter 117440523
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663301
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663301
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663302
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663302
I/OMXVenc ( 495): send_command::690 attempt to move to new state 2
E/OMXVenc ( 495): Setting OMX_Video_ControlRateVariable
I/VENC_DRV( 495): venc_drv_malloc::1155 /dev/pmem_adsp
I/VENC_DRV( 495): venc_drv_malloc::1183 phys lookup success virt=0x40e64000 -- FD=21 -- size - 524288
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
D/CameraInput( 495): Intended mFrameWidth=176, mFrameHeight=144
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
V/QualcommCameraHardware( 495): setParameters: E params = 0x40c63cf8
V/QualcommCameraHardware( 495): requested size 176 x 144
V/QualcommCameraHardware( 495): actual size 176 x 144
V/QualcommCameraHardware( 495): initCameraParameters: E
V/QualcommCameraHardware( 495): camera hardware has been started already
V/QualcommCameraHardware( 495): initCameraParameters: set parm: CAMERA_PARM_PREVIEW_MODE, 0
V/QualcommCameraHardware( 495): Setting Zoom is 0
I/QualcommCameraHardware( 495): setting thumbnail dimensions to 512x384, quality 30
E/QualcommCameraHardware( 495): LINK_camera_set_thumbnail_properties returned 2
V/QualcommCameraHardware( 495): Setting JPEG-image quality to 100
V/QualcommCameraHardware( 495): initCameraParameters: X
V/QualcommCameraHardware( 495): setParameters: X mCameraState=3
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
D/CameraInput( 495): Actual mFrameWidth=176, mFrameHeight=144
D/CameraService( 495): startPreview (pid 495)
D/CameraService( 495): startCameraMode(0) (pid 495)
D/CameraService( 495): startPreviewMode (pid 495)
E/MetadataDriver( 495): isCommandSuccessful: Command id(0 and expected 0) and status (-4 and expected 1), data corruption (false) at state (1).
E/MetadataDriver( 495): isCommandSuccessful: Command id(1 and expected 1) and status (-14 and expected 1), data corruption (false) at state (5).
D/dalvikvm( 60): GC freed 8852 objects / 389392 bytes in 235ms
V/videocamera( 354): startVideoRecording
I/OMXVenc ( 495): send_command::690 attempt to move to new state 3
I/VENC_DRV( 495): venc_drv_open::283 TE version = 1
D/CameraService( 495): startRecording (pid 495)
D/CameraService( 495): startCameraMode(1) (pid 495)
D/CameraService( 495): startRecordingMode (pid 495)
V/QualcommCameraHardware( 495): startPreview E
E/QualcommCameraHardware( 495): startPreview is already in progress, doing nothing.
D/AudioHardwareMSM72XX( 495): audpre_index = 0, tx_iir_index = 0
D/HTC Acoustic( 495): msm72xx_enable_audpre: 0x0000
W/AudioFlinger( 495): write blocked for 66 msecs
I/DEBUG ( 494): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 494): Build fingerprint: 'rogers/htc_magic/sapphire/sapphire:1.5/2.17.631.2/42949:user'
I/DEBUG ( 494): pid: 495, tid: 519 >>> /system/bin/mediaserver <<<
I/DEBUG ( 494): signal 11 (SIGSEGV), fault addr 10000014
I/DEBUG ( 494): r0 00000000 r1 00000001 r2 10000014 r3 ffff0fff
I/DEBUG ( 494): r4 00000000 r5 10000014 r6 a9c8c048 r7 4080bcb4
I/DEBUG ( 494): r8 4070be38 r9 afe39dd4 10 a949bec1 fp 00000001
I/DEBUG ( 494): ip a9d4bcdc sp 4080bc58 lr afe0d46c pc ffff0fc0 cpsr 00000010
I/DEBUG ( 494): #00 pc ffff0fc0
I/DEBUG ( 494): #01 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #02 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #03 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #04 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #05 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #06 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #07 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #08 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #09 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #10 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #11 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #12 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #13 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #14 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #15 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #16 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #17 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #18 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #19 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #20 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #21 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #22 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #23 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #24 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #25 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #26 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #27 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #28 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #29 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #30 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #31 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): stack:
I/DEBUG ( 494): 4080bc18 3fc971ba
I/DEBUG ( 494): 4080bc1c 00000000
I/DEBUG ( 494): 4080bc20 00000000
I/DEBUG ( 494): 4080bc24 00000000
I/DEBUG ( 494): 4080bc28 00000000
I/DEBUG ( 494): 4080bc2c 00000000
I/DEBUG ( 494): 4080bc30 00000000
I/DEBUG ( 494): 4080bc34 00000000
I/DEBUG ( 494): 4080bc38 00000000
I/DEBUG ( 494): 4080bc3c 00000000
I/DEBUG ( 494): 4080bc40 00000001
I/DEBUG ( 494): 4080bc44 00000000
I/DEBUG ( 494): 4080bc48 00000002
I/DEBUG ( 494): 4080bc4c 00000000
I/DEBUG ( 494): 4080bc50 df002777
I/DEBUG ( 494): 4080bc54 e3a070ad
I/DEBUG ( 494): #01 4080bc58 00000000
I/DEBUG ( 494): 4080bc5c a9d398a7 /system/lib/libutils.so
W/AudioRecord( 495): obtainBuffer timed out (is the CPU pegged?) user=00005000, server=00005400
W/AudioRecord( 495): *** SERIOUS WARNING *** obtainBuffer() timed out but didn't need to be locked. We recovered, but this shouldn't happen (user=00005000, server=00005400)
W/AudioSystem( 354): AudioFlinger server died!
I/ServiceManager( 31): service 'media.audio_flinger' died
W/MediaMetadataRetriever( 354): MediaMetadataRetriever server died!
I/ServiceManager( 31): service 'media.player' died
W/Camera ( 354): ICamera died
I/ServiceManager( 31): service 'media.camera' died
W/AudioSystem( 60): AudioFlinger server died!
E/Camera ( 354): Error 100
I/DEBUG ( 494): debuggerd committing suicide to free the zombie!
I/DEBUG ( 531): debuggerd: Sep 21 2009 14:37:06
W/Camera ( 354): Camera server died!
The key bit there can be found by searching for 'SIGSEGV'
Any help on how to fix this would be appreciated! I'd like to fix this 'the right way' (ie. do not want to copy old cupcake camera app, etc.) Also, not against re-compiling the kernel, if that's what it takes.
Thanks!
Guess fix:
Compile a kernel for 32A with source from:
http://android.git.kernel.org/?p=kernel/msm.git;a=shortlog;h=refs/heads/android-msm-2.6.29-donut
It has the source for msm_camera, whereas the source from HTC does not.
Sound right?
fastboot'd the new kernel and everything appears to be working now. Just need to compile wlan.ko and I'm done!

[Q] Apps crashing with Cyanogen 12S - any help why?

Hi,
I'm having problems with apps crashing on my OnePlus with Cyaogen 12S. Three apps crash intermittently - Google Inbox, Evernote and BBC News. I also get messages saying AOSP Keyboard has stopped, and one just now saying the same about Google Play Services. Not all apps stop together, sometimes it's just one of them, sometimes several.
I got to 12S via BlissRom. I had stock, flashed BlissRom to get Lolipop and started having similar issues. I then went to 12S via full wipe but same issues. Issues dissapear after a reboot but them come back. The 12S is the stock OTA version.
I wondered if it was to do with Xposed - I've been turning modules off and on to try and isolate but no luck.
I downloaded Catlog to record what's going on in the hope someone can help. Below is what I recorded from the Evernote crash. Can anyone help me please please please? Thanks!
05-07 15:24:47.719 W/AccountManagerService(830): caller uid 10256 is different than the authenticator's uid
05-07 15:24:47.722 D/AndroidRuntime(24309): Shutting down VM
05-07 15:24:47.726 E/AndroidRuntime(24309): FATAL EXCEPTION: main
05-07 15:24:47.726 E/AndroidRuntime(24309): Process: com.evernote, PID: 24309
05-07 15:24:47.726 E/AndroidRuntime(24309): java.lang.RuntimeException: Unable to get provider com.evernote.provider.EvernoteProvider: java.lang.SecurityException: my uid = 10256, offending uid = 10256 offending pkg = com.evernote
05-07 15:24:47.726 E/AndroidRuntime(24309): context is com.evernote.Evernote
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.installProvider(ActivityThread.java:5000)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4592)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4532)
05-07 15:24:47.726 E/AndroidRuntime(24309): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
05-07 15:24:47.726 E/AndroidRuntime(24309): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:684)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.handleBindApplication(Unknown Source)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.access$1600(ActivityThread.java:147)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1357)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.os.Handler.dispatchMessage(Handler.java:102)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.os.Looper.loop(Looper.java:135)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.main(ActivityThread.java:5254)
05-07 15:24:47.726 E/AndroidRuntime(24309): at java.lang.reflect.Method.invoke(Native Method)
05-07 15:24:47.726 E/AndroidRuntime(24309): at java.lang.reflect.Method.invoke(Method.java:372)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
05-07 15:24:47.726 E/AndroidRuntime(24309): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
05-07 15:24:47.726 E/AndroidRuntime(24309): Caused by: java.lang.SecurityException: my uid = 10256, offending uid = 10256 offending pkg = com.evernote
05-07 15:24:47.726 E/AndroidRuntime(24309): context is com.evernote.Evernote
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.util.a.c.a(AccountsHelper.java:133)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.util.a.c.a(AccountsHelper.java:165)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.client.d.a(AccountManager.java:230)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.client.d.<init>(AccountManager.java:171)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.client.d.a(AccountManager.java:57)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.provider.EvernoteProvider.onCreate(EvernoteProvider.java:832)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.content.ContentProvider.attachInfo(ContentProvider.java:1720)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.content.ContentProvider.attachInfo(ContentProvider.java:1689)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.app.ActivityThread.installProvider(ActivityThread.java:4997)
05-07 15:24:47.726 E/AndroidRuntime(24309): ... 15 more
05-07 15:24:47.726 E/AndroidRuntime(24309): Caused by: java.lang.SecurityException: caller uid 10256 is different than the authenticator's uid
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.os.Parcel.readException(Parcel.java:1540)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.os.Parcel.readException(Parcel.java:1493)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.accounts.IAccountManager$Stub$Proxy.addAccountExplicitly(IAccountManager.java:818)
05-07 15:24:47.726 E/AndroidRuntime(24309): at android.accounts.AccountManager.addAccountExplicitly(AccountManager.java:658)
05-07 15:24:47.726 E/AndroidRuntime(24309): at com.evernote.util.a.c.a(AccountsHelper.java:90)
05-07 15:24:47.726 E/AndroidRuntime(24309): ... 23 more
05-07 15:24:47.729 W/ActivityManager(830): Force finishing activity com.evernote/.ui.HomeActivity
05-07 15:24:47.767 D/LogFetchServiceManager(3324): Received entry added
05-07 15:24:47.797 I/OpenGLRenderer(830): Initialized EGL, version 1.4
05-07 15:24:48.252 W/ActivityManager(830): Activity pause timeout for ActivityRecord{2e57349c u0 com.evernote/.ui.HomeActivity t1109 f}
05-07 15:24:48.340 I/Timeline(1683): Timeline: Activity_idle id: [email protected] time:7750037
05-07 15:24:48.610 I/Timeline(830): Timeline: Activity_windows_visible id: ActivityRecord{1b0fd386 u0 com.teslacoilsw.launcher/.NovaLauncher t1090} time:7750306
05-07 15:24:48.908 W/OpenGLRenderer(1683): Incorrectly called buildLayer on View: kg, destroying layer...
05-07 15:24:48.908 W/OpenGLRenderer(1683): Incorrectly called buildLayer on View: kg, destroying layer...
05-07 15:24:49.307 I/Process (24309): Sending signal. PID: 24309 SIG: 9
05-07 15:24:49.311 E/AudioTrack(830): AudioTrack::set : Exit
05-07 15:24:49.320 D/audio_hw_primary(245): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=8
05-07 15:24:49.320 V/listen_hw(245): listen_hw_set_parameters: Enter
05-07 15:24:49.320 V/listen_hw(245): handle_set_parameters: Enter kvpairs=routing=8 capture=0
05-07 15:24:49.320 V/listen_hw(245): handle_set_parameters: Exit
05-07 15:24:49.320 V/listen_hw(245): listen_hw_set_parameters: Exit, ret=0
05-07 15:24:49.345 W/InputMethodManagerService(830): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
05-07 15:24:49.373 I/ActivityManager(830): Process com.evernote (pid 24309) has died
05-07 15:24:49.378 D/HeadsetStateMachine(2940): Disconnected process message: 10, size: 0
05-07 15:24:49.427 I/HotwordRecognitionRnr(1970): Starting hotword detection.
05-07 15:24:49.431 I/MicrophoneInputStream(1970): mic_starting [email protected]
05-07 15:24:49.432 D/audio_hw_primary(245): adev_open_input_stream: enter: sample_rate(16000) channel_mask(0x10) devices(0x80000004) stream_handle(0xb0fb40c0)
05-07 15:24:49.433 I/AudioFlinger(245): AudioFlinger's thread 0xae101000 ready to run
05-07 15:24:49.433 D/audio_hw_primary(245): in_standby: enter: stream (0xb0fb40c0) usecase(7: audio-record)
05-07 15:24:49.434 D/audio_hw_primary(245): in_standby: enter: stream (0xb0fb40c0) usecase(7: audio-record)
05-07 15:24:49.437 D/audio_hw_primary(245): in_set_parameters: enter: kvpairs=input_source=6;routing=-2147483644
05-07 15:24:49.438 I/MicrophoneInputStream(1970): mic_started [email protected]
05-07 15:24:49.448 D/audio_hw_primary(245): start_input_stream: enter: stream(0xb0fb40c0)usecase(7: audio-record)
05-07 15:24:49.448 D/audio_hw_primary(245): select_devices: out_snd_device(0: ) in_snd_device(61: voice-rec-mic)
05-07 15:24:49.448 D/hardware_info(245): hw_info_append_hw_type : device_name = voice-rec-mic
05-07 15:24:49.448 I/msm8974_platform(245): platform_send_audio_calibration: sending audio calibration for snd_device(61) acdb_id(119)
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_audio_cal, acdb_id = 119, path = 1
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_adm_topology
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_asm_topology
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_audtable
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> AUDIO_SET_AUDPROC_CAL
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> send_audvoltable
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
05-07 15:24:49.448 D/ (245): Failed to fetch the lookup information of the device 00000077
05-07 15:24:49.448 E/ACDB-LOADER(245): Error: ACDB AudProc vol returned = -19
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
05-07 15:24:49.448 D/ACDB-LOADER(245): ACDB -> AUDIO_SET_AFE_CAL
05-07 15:24:49.448 I/listen_hal_loader(245): audio_extn_listen_update_status(): stop listen. current active device = voice-rec-mic. Event = 1
05-07 15:24:49.448 V/listen_hw(245): listen_hw_notify_event: Enter
05-07 15:24:49.448 V/listen_hw(245): handle_notify_event: Enter, event type = 1
05-07 15:24:49.448 V/listen_hw(245): handle_notify_event: nothing to do, actual mad state = 0
05-07 15:24:49.453 D/audio_hw_primary(245): select_devices: done
05-07 15:24:49.567 I/HotwordWorker(1970): onReady
05-07 15:24:51.895 E/AudioTrack(830): AudioTrack::set : Exit
05-07 15:24:51.900 D/audio_hw_primary(245): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=8
05-07 15:24:51.900 V/listen_hw(245): listen_hw_set_parameters: Enter
05-07 15:24:51.900 V/listen_hw(245): handle_set_parameters: Enter kvpairs=routing=8 capture=1
05-07 15:24:51.900 V/listen_hw(245): handle_set_parameters: Exit
05-07 15:24:51.900 V/listen_hw(245): listen_hw_set_parameters: Exit, ret=0
05-07 15:24:51.907 I/ActivityManager(830): START u0 {act=com.android.systemui.recents.SHOW_RECENTS flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity (has extras)} from uid 10027 on display 0
05-07 15:24:51.937 I/MicrophoneInputStream(1970): mic_close [email protected]
05-07 15:24:51.952 D/audio_hw_primary(245): in_standby: enter: stream (0xb0fb40c0) usecase(7: audio-record)
05-07 15:24:51.973 D/hardware_info(245): hw_info_append_hw_type : device_name = voice-rec-mic
05-07 15:24:51.976 I/listen_hal_loader(245): audio_extn_listen_update_status(): start listen. current active device = voice-rec-mic. Event = 0
05-07 15:24:51.976 V/listen_hw(245): listen_hw_notify_event: Enter
05-07 15:24:51.976 V/listen_hw(245): handle_notify_event: Enter, event type = 0
05-07 15:24:51.976 V/listen_hw(245): handle_notify_event: nothing to do, actual mad state = 0
05-07 15:24:51.979 D/audio_hw_primary(245): adev_close_input_stream: enter:stream_handle(0xb0fb40c0)
05-07 15:24:51.979 D/audio_hw_primary(245): in_standby: enter: stream (0xb0fb40c0) usecase(7: audio-record)
05-07 15:24:51.981 I/HotwordRecognitionRnr(1970): Hotword detection finished
05-07 15:24:51.982 I/HotwordRecognitionRnr(1970): Stopping hotword detection.
05-07 15:24:52.014 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.014 W/PackageManager(1217): Failure retrieving resources for com.grppl.android.shell.CMBlloydsTSB73: Resource ID #0x0
05-07 15:24:52.021 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.022 W/PackageManager(1217): Failure retrieving resources for com.android.calculator2: Resource ID #0x0
05-07 15:24:52.041 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.041 W/PackageManager(1217): Failure retrieving resources for com.whatsapp: Resource ID #0x0
05-07 15:24:52.056 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.056 W/PackageManager(1217): Failure retrieving resources for com.google.android.apps.inbox: Resource ID #0x0
05-07 15:24:52.072 W/ResourceType(1217): No package identifier when getting value for resource number 0x00000000
05-07 15:24:52.073 W/PackageManager(1217): Failure retrieving resources for com.nolanlawson.logcat: Resource ID #0x0
05-07 15:24:52.169 I/Timeline(1217): Timeline: Activity_idle id: [email protected] time:7753866
05-07 15:24:52.358 I/Timeline(830): Timeline: Activity_windows_visible id: ActivityRecord{3080933b u0 com.android.systemui/.recents.RecentsActivity t1101} time:7754054
05-07 15:24:52.374 D/TaskPersister(830): removeObsoleteFile: deleting file=1109_task.xml
05-07 15:24:52.378 D/TaskPersister(830): removeObsoleteFile: deleting file=1109_task_thumbnail.png
05-07 15:24:53.728 E/AudioTrack(830): AudioTrack::set : Exit
05-07 15:24:53.740 D/audio_hw_primary(245): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=8
05-07 15:24:53.740 V/listen_hw(245): listen_hw_set_parameters: Enter
05-07 15:24:53.740 V/listen_hw(245): handle_set_parameters: Enter kvpairs=routing=8 capture=0
05-07 15:24:53.740 V/listen_hw(245): handle_set_parameters: Exit
05-07 15:24:53.740 V/listen_hw(245): listen_hw_set_parameters: Exit, ret=0
05-07 15:24:53.858 V/PhoneStatusBar(1217): setLightsOn(true)
05-07 15:24:54.025 I/Timeline(24159): Timeline: Activity_idle id: [email protected] time:7755721
05-07 15:24:54.036 V/PhoneStatusBar(1217): setLightsOn(true)
05-07 15:24:54.042 W/InputMethodManagerService(830): Starting input on non-focused client [email protected] (uid=10027 pid=1217)
05-07 15:24:54.363 I/Timeline(830): Timeline: Activity_windows_visible id: ActivityRecord{1b3e53d3 u0 com.nolanlawson.logcat/.LogcatActivity t1108} time:7756060
I have the same issue on all my devices (various ROMs on 4.4.4) with Evernote.
My idea is that it might have something to do with my installed XPrivacy, but just disabling it for Evernote does not help. Do you have something similar installed for permission management?
My fb crashes every now and then on stock cm12s
Sent from my A0001 using XDA Free mobile app
As followup to my issue:
deactivating XPrivacy completely in XPosed for the time of the creation of the Evernote account and reenabling it afterwards again solved it. However, after some time I had to redo this again...
Vankog said:
As followup to my issue:
deactivating XPrivacy completely in XPosed for the time of the creation of the Evernote account and reenabling it afterwards again solved it. However, after some time I had to redo this again...
Click to expand...
Click to collapse
I did a clean install to 12S. Xfered my apps back via TITanium. Everything except Apex worked great. Apex would throw an occasional FC. Cleared Apex cache/data, removed Apex and reinstalled. Works great now.
All other apps problem free.

Serius problem, memory corruption or something

I started having this problem one day when the phone fell to the ground while some apps were updated from the play store, I've done hard resets, I've installed everything from scratch and I still have this problem although I still have not tried installing another rom, After I took my cell phone from the ground, I turned it on and went into a bootloop but it was not any bootloop, It went into "Starting Android" and then went back to the start animation, I have solved this problem uninstalling all the apps deleting files with ADB in /data/app but when I install any app it happens again, besides the system starts sending app crash reports whenever It tries to open any application that need access that memory address, for example the Launcher or the Applications section of android settings. I read that it could be a persistent partition corruption, but i haven't found any information.
my device is a Samsung Galaxy J5 M [SM-J500M]
i have CUSTOM ROM CYANOGEN MOD 12.1 PREMIUM SPEED BY ZONIK SAMSUNG J500M/F/FN/G/Y/07 rom
found here
Code:
mega.co.nz/#!CJMWQKwB!RdhHCOzxfNGi1_2vvenoibLhp1j_k4EaPC1-H4DpYvc
and i can provide you with some debug trace of the error when i try to open Aplications in Android settings.
logcat:
Code:
I/Timeline( 6745): Timeline: Activity_launch_request id:com.android.settings time:996754
I/ActivityManager( 791): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000 on display 0
D/audio_hw_primary( 291): start_output_stream: enter: stream(0xb7692370)usecase(1: low-latency-playback) devices(0x2)
V/audio_hw_primary( 291): select_devices: ENTER
V/audio_hw_primary( 291): select_devices: usecase(normal)
V/audio_hw_primary( 291): select_devices: usecase(PCM_PLAYBACK)
V/msm8974_platform( 291): platform_get_output_snd_device: enter: output devices(0x2)
V/msm8974_platform( 291): get_OUTPUT_snd_device: for Normal Playback
V/msm8974_platform( 291): platform_get_output_snd_device: exit: snd_device(speaker)
D/audio_hw_primary( 291): select_devices: out_snd_device(2: speaker)
D/audio_hw_primary( 291): select_devices: in_snd_device(0: dummy)
D/hardware_info( 291): hw_info_append_hw_type : device_name = speaker
V/msm8974_platform( 291): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
D/ACDB-LOADER( 291): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 291): ACDB -> send_asm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_adm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_audtable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 291): ACDB -> send_audvoltable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 291): ACDB -> send_afe_cal
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AFE_CAL
D/ACDB-LOADER( 291): ACDB -> send_hw_delay : acdb_id = 15 path = 0
D/ACDB-LOADER( 291): ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
V/audio_hw_primary( 291): enable_snd_device: snd_device(2: speaker, speaker)
D/audio_route( 291): ++++ audio_route_update_path ==============
D/audio_route( 291): Setting mixer control: MI2S_RX Channels, value: 1
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP1, value: 3
V/WindowManager( 791): addAppToken: AppWindowToken{2bf62761 token=Token{2dd43ac8 ActivityRecord{db06f6b u0 com.android.settings/.SubSettings t2767}}} to stack=1 task=2767 at 1
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP2, value: 4
D/audio_route( 291): Setting mixer control: SPK DAC Switch, value: 1
D/audio_route( 291): Setting mixer control: Speaker Boost, value: 1
D/audio_route( 291): Setting mixer control: RX3 Digital Volume, value: 87
D/audio_route( 291): ---- audio_route_update_path ==============
D/audio_route( 291): ++++ audio_route_update_mixer ==============
D/audio_route( 291): ------ audio_route_update_mixer ==============
V/audio_hw_primary( 291): enable_audio_route: enter: usecase(1)
V/audio_hw_primary( 291): enable_audio_route: apply mixer path: low-latency-playback
D/audio_route( 291): ++++ audio_route_update_mixer ==============
D/audio_route( 291): Setting mixer control: PRI_MI2S_RX Audio Mixer MultiMedia5, value: 1
D/audio_route( 291): ------ audio_route_update_mixer ==============
V/audio_hw_primary( 291): enable_audio_route: exit
V/msm8974_platform( 291): platform_get_output_snd_device: enter: output devices(0x2)
V/msm8974_platform( 291): get_OUTPUT_snd_device: for Normal Playback
V/msm8974_platform( 291): platform_get_output_snd_device: exit: snd_device(speaker)
V/msm8974_platform( 291): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
D/ACDB-LOADER( 291): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 291): ACDB -> send_asm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_adm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_audtable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 291): ACDB -> send_audvoltable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 291): ACDB -> send_afe_cal
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AFE_CAL
D/ACDB-LOADER( 291): ACDB -> send_hw_delay : acdb_id = 15 path = 0
D/ACDB-LOADER( 291): ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
V/audio_hw_primary( 291): start_output_stream: Opening PCM device card_id(0) device_id(12)
V/audio_hw_primary( 291): start_output_stream: exit
D/SubSettings( 6745): Launching fragment com.android.settings.applications.ManageApplications
W/ContextImpl( 6745): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1787 android.content.ContextWrapper.bindService:545 com.android.settings.applications.ManageApplications.onCreate:894 android.app.Fragment.performCreate:2031 android.app.FragmentManagerImpl.moveToState:863
V/WindowManager( 791): Adding window Window{2586aad1 u0 com.android.settings/com.android.settings.SubSettings} at 5 of 8 (after Window{c61c1e7 u0 com.android.settings/com.android.settings.Settings})
I/ActivityManager( 791): Displayed com.android.settings/.SubSettings: +1s69ms
I/GoogleInputMethod( 2702): onFinishInput() : Dummy InputConnection bound
I/GoogleInputMethod( 2702): onStartInput() : Dummy InputConnection bound
W/ResourceType( 6745): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 6745): Failure retrieving resources for com.google.android.onetimeinitializer: Resource ID #0x0
I/Timeline( 6745): Timeline: Activity_idle id: [email protected] time:998100
F/libc ( 6745): invalid address or address of corrupt block 0x23 passed to dlfree
F/libc ( 6745): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 6873 (onsState.Loader)
I/DEBUG ( 288): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 288): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 288): HINT: adb forward tcp:5039 tcp:5039
I/Timeline( 791): Timeline: Activity_windows_visible id: ActivityRecord{db06f6b u0 com.android.settings/.SubSettings t2767} time:998209
I/DEBUG ( 288): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 288): Build fingerprint: 'samsung/j5ltexx/unknown:5.1.1/LMY49J/c2fef168b1:userdebug/test-keys'
I/DEBUG ( 288): Revision: '5'
I/DEBUG ( 288): ABI: 'arm'
I/DEBUG ( 288): pid: 6745, tid: 6873, name: onsState.Loader >>> com.android.settings <<<
I/DEBUG ( 288): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadbaad
I/DEBUG ( 288): Abort message: 'invalid address or address of corrupt block 0x23 passed to dlfree'
I/DEBUG ( 288): r0 00000000 r1 b6e23dec r2 deadbaad r3 00000000
I/DEBUG ( 288): r4 00000023 r5 b6e250d8 r6 99546000 r7 0000002b
I/DEBUG ( 288): r8 a13505bc r9 a135067c sl b6cf7272 fp b6cf727b
I/DEBUG ( 288): ip 00008000 sp a1350568 lr b6df4f07 pc b6df4f08 cpsr 600d0030
I/DEBUG ( 288):
I/DEBUG ( 288): backtrace:
I/DEBUG ( 288): #00 pc 00028f08 /system/lib/libc.so (dlfree+1239)
I/DEBUG ( 288): #01 pc 0000f363 /system/lib/libc.so (free+10)
I/DEBUG ( 288): #02 pc 00012b15 /system/lib/libandroidfw.so (_ZN7android13ResStringPool6uninitEv+38)
I/DEBUG ( 288): #03 pc 0001384f /system/lib/libandroidfw.so (_ZN7android10ResXMLTree6uninitEv+12)
I/DEBUG ( 288): #04 pc 0001386d /system/lib/libandroidfw.so (_ZN7android10ResXMLTreeD1Ev+4)
I/DEBUG ( 288): #05 pc 0001053b /system/lib/libandroidfw.so (_ZN7android12AssetManager10getPkgNameEPKc+258)
I/DEBUG ( 288): #06 pc 0001059d /system/lib/libandroidfw.so (_ZN7android12AssetManager18getBasePackageNameEj+68)
I/DEBUG ( 288): #07 pc 000822cf /system/lib/libandroid_runtime.so
I/DEBUG ( 288): #08 pc 0027b38b /data/dalvik-cache/arm/[email protected]@boot.oat
I/DEBUG ( 288):
I/DEBUG ( 288): Tombstone written to: /data/tombstones/tombstone_01
I/BootReceiver( 791): Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
W/ActivityManager( 791): Process com.android.settings has crashed too many times: killing!
W/ActivityManager( 791): Force finishing activity 4 com.android.settings/.SubSettings
W/ActivityManager( 791): Force finishing activity 4 com.android.settings/.Settings
W/ActivityManager( 791): Wtf, activity ActivityRecord{380996b1 u0 com.android.settings/.Settings t2767 f} in proc activity list not using proc ProcessRecord{4a20df5 6745:com.android.settings/1000}?!?
W/ActivityManager( 791): Wtf, activity ActivityRecord{db06f6b u0 com.android.settings/.SubSettings t2767 f} in proc activity list not using proc ProcessRecord{4a20df5 6745:com.android.settings/1000}?!?
E/lowmemorykiller( 276): Error writing /proc/6745/oom_score_adj; errno=22
I/ActivityManager( 791): Killing 6745:com.android.settings/1000 (adj 9): crash
I/DeviceScanner( 3230): [MDNS] Received response from "LaWeaWeonQlo" (ae3e11b29fd758c5a27837b5c44262b3) with result "0 No change"
I/WindowState( 791): WIN DEATH: Window{c61c1e7 u0 com.android.settings/com.android.settings.Settings}
D/WifiService( 791): Client connection lost with reason: 4
I/Zygote ( 302): Process 6745 exited due to signal (11)
W/ActivityManager( 791): Spurious death for ProcessRecord{4a20df5 0:com.android.settings/1000}, curProc for 6745: null
W/ResourceType( 2410): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 2410): Failure retrieving resources for com.android.settings: Resource ID #0x0
W/InputMethodManagerService( 791): Got RemoteException sending setActive(false) notification to pid 6745 uid 1000
I/GoogleInputMethod( 2702): onFinishInput() : Dummy InputConnection bound
I/GoogleInputMethod( 2702): onStartInput() : Dummy InputConnection bound
W/ajjl ( 2779): Empty context buffer. Thus might mean that the context is not synced down.
W/ajfs ( 2779): Empty context model while retrieving upload opt-in status!
I/Timeline( 2410): Timeline: Activity_idle id: [email protected] time:999085
I/Timeline( 791): Timeline: Activity_windows_visible id: ActivityRecord{e961ecf u0 com.android.systemui/.recents.RecentsActivity t2770} time:999100
W/ajjl ( 2779): Empty context buffer. Thus might mean that the context is not synced down.
W/ajfs ( 2779): Empty context model while retrieving upload opt-in status!
V/audio_hw_primary( 291): out_standby: enter: usecase(1: low-latency-playback)
V/audio_hw_primary( 291): stop_output_stream: enter: usecase(1: low-latency-playback)
V/audio_hw_primary( 291): disable_audio_route: enter: usecase(1)
V/audio_hw_primary( 291): disable_audio_route: reset mixer path: low-latency-playback
D/audio_route( 291): ++++ audio_route_update_mixer ==============
D/audio_route( 291): Setting mixer control: PRI_MI2S_RX Audio Mixer MultiMedia5, value: 0
D/audio_route( 291): ------ audio_route_update_mixer ==============
V/audio_hw_primary( 291): disable_audio_route: exit
D/hardware_info( 291): hw_info_append_hw_type : device_name = speaker
V/audio_hw_primary( 291): disable_snd_device: snd_device(2: speaker)
D/audio_route( 291): ++++ audio_route_update_path ==============
D/audio_route( 291): Setting mixer control: RX3 Digital Volume, value: 84
D/audio_route( 291): Setting mixer control: Speaker Boost, value: 0
D/audio_route( 291): Setting mixer control: SPK DAC Switch, value: 0
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP2, value: 0
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP1, value: 0
D/audio_route( 291): Setting mixer control: MI2S_RX Channels, value: 0
D/audio_route( 291): ---- audio_route_update_path ==============
V/audio_hw_primary( 291): stop_output_stream: exit: status(0)
V/audio_hw_primary( 291): out_standby: exit
and the /data/tombstones/tombstone_01 on pastebin
Code:
pastebin.com/jwZGN4Qr
sorry but i have recently signed up in XDA so i cant post links
Bumping, also, update i think it memory corruption because it isn't something linked directly to an aplication, i think it crash the app that tries to use that segment with a segfault sometimes crashes the launcher, sometimes the Settings, now i just installed tumblr from playstore and it just simply crashes with Segmentation fault deadbaad. in the time my cellphone fell, i use to link apps to MicroSD, thats the only thing i have not formatted, should i?
bump :c

[CLOSED] EOL [ROM][Unofficial][9.0.0][microG][signed]hardened LineageOS 16.0 for Oneplus 3/3T

Thread is discontinued: Please visit the my LineageOS 17.1 successor thread
This thread is dedicated to provide hardened Lineage-OS 16.0 builds with microG included for the OnePlus 3/3T with current security patches.
It is the successor of my Lineage 15.1 thread.
It may be worth to also look there, if you are looking for information.
Features of this ROM
Download here
Pre-installed microG and F-Droid like LineageOS for microG project (own fork)
Pre-installed AuroraStore
OTA Support
eSpeakTTS engine
Additional security hardening features listed below
Access to /proc/net blocked for user apps
Bundled netmonitor app to allow network monitoring
Enhanced Privacy Guard: Switches for motion sensors and other sensors
Cloudflare as default DNS (instead of Google)
Privacy-preferred default settings
Optional blocking of Facebook- and Google-Tracking
Optional disabling of captive portal detection
Firewall UI
No submission of IMSI/phone number to Google/Sony when GPS is in use
Default hosts file with many blocked ad/tracking sites
Privacy-enhanced Bromite SystemWebView
Additional restrictions for secondary users
Increased password length
Kernel kept up to date with ASB patches and Google kernel/common 'android-3.18' branch
Debloated from Oneplus blobs for Alipay, WeChatpay, Soter and IFAA
Native Wireguard support in shipped kernel
Hardened bionic lib and constified JNI method tables
Current release levels
Security string: 2021-01-05
AOSP tag: 9.0.0_r46
Bromite System Webview: M87
Source-code and build instructions
Kernel: https://github.com/lin16-microg/android_kernel_oneplus_msm8996/tree/lin-16.0-mse2
Build manifest: https://github.com/lin16-microg/local_manifests/tree/lin-16.0-microG
Installation Instructions
YOU ARE RESPONSIBLE SOLELY YOURSELF FOR ANY ACTIONS YOU DO WITH YOUR DEVICE !!!
Please note - I won't explain any single aspect (e.g. how to install 'fastboot' on your PC or troubleshoot USB connectivity issues under Windows). Search the net and consult the search engine of your choice or look here in XDA, there is plenty of information available.
Pre-Requisites
Have fastboot and adb installed on your PC and make sure, you can connect via USB to your device in fastboot mode and via adb
An unlocked bootloader (see e.g. LineageOS install instructions)
Flash the OxygenOS 9.0.x firmware, which is needed for LineageOS 16.0 - READ THE OP OF THIS THREAD CAREFULLY !
Download the most current .ZIP file of the ROM and place it to your phone's internal memory
OxygenOS 9.x Firmware
Once again: READ THE OP OF THIS THREAD CAREFULLY !
I can't explain it better and I am not going to repeat or summarize this. It really is in your interest to carefully read it - you have been notified and warned.
Please also pay attention to the last section named "Alipay, WeChatpay, Soter and IFAA" - I strongly recommend to use the debloated firmware
Install TWRP recovery
If you come from stock ROM and have just unlocked your boot loader, this is the next thing to do. I recommend to use the TWRP recovery for the OnePlus 3/3T. The following instructions are based on TWRP.
To install TWRP, download the twrp-x.x.x-x-oneplus3.img file (Note: replace "x.x.x-x" in the following instructions with the respective values from the real file name) to your PC, connect the phone via USB to your PC, get it into 'fastboot mode' and enter the following command on your PC:
Code:
fastboot flash recovery twrp-x.x.x-x-oneplus3.img
Afterwards, directly boot into 'recovery mode' (enter fastboot reboot on your PC and hold Power and vol.down) - DO NOT boot into the phone's Android system after having flashed TWRP! Once TWRP has been launched, you may decide to reboot your phone and install the ROM at any time later. But the first boot after flashing TWRP must be TWRP in recovery mode.
Advanced Wipe
ONLY perform the steps described here, if you come from Stock ROM or a different Custom ROM!
Boot into recovery mode. In TWRP, choose "Wipe", "Advanced" and spefify "Dalvik", "System", "Cache" and "Data" to be wiped. Make sure NOT to wipe "Internal memory". Swipe to confirm the deletion and get back into the main menu.
DO NOT flash Gapps!
This ROM comes with pre-installed microG. So don't attempt to flash Gapps.
Install ROM
In the TWRP main menu, choose "Install". A file manager appears to let you navigate to your internal memory (path /sdcard). Choose the .ZIP file of our ROM and swipe to flash.
If you update from a previous version of my ROM, including my LineageOS 15.1 build, you don't need to perform a wipe. If you come from a different ROM (or stock firmware), make sure that you have performed the Wipe steps above.
When finished flashing, return to the main menu, choose "Reboot" and then "System", which will cause your phone to boot into Lineage OS 16.0 - be patient, the first boot after flashing a new ROM takes quite long!
Dealing with signed builds
Please note, that this builds is signed with an own key. When you come from a different build, you cannot directly "dirty-flash" this build. You have to perform a "clean flash" (recommended), or - you do this on your own risk - you may try the below steps.
This happens at your own risk - make a backup with TWRP before!
Download and extract the file migration.sh from this archive
This file helps you to migrate from a build signed with the publicly available test keys (i.e. all builds around, which do not state that they are signed). If you come from another signed build (e.g. official LineageOS), you have to adapt the file accordingly (see below links).
boot into TWRP
push the migration.sh file to the directory /data/local on your device and mount the /system partition in TWRP (you can do so using the dedicated TWRP's menu entry)
launch the built-in terminal in TWRP, cd into /data/local, make migration.sh executable (chmod +x) and execute the command ./migration.sh official
(In case you receive an error, try sh ./migration.sh official instead)
flash the ROM .zip
wipe Cache and Dalvik/ART Cache
reboot system
More background information and the "theory behind" can be found in the LineageOS wiki and AOSP reference.
Bug reports:
If you have a problem, please create a post with these informations:
Original Kernel shipped with this rom:
Build Date:
And try to get log as described here
Please note that I can't and won't support issues with builds using a different kernel or Xposed.
In regards to microG, I will try my best to help when it is related to this ROM (I use it myself), but any questions of the type "the YXZ-app can't do <some sort of fancy xyz Google functionality> properly" are better asked in the respective microG forums.
Credits
AOSP project
LineageOS project
microG project
Graphene OS project
csagan5 (Bromite)
WhyOrean (Aurora)
nvertigo67 (for the modded 9.x firmware)
XDA:DevDB Information
[ROM][Unofficial][9.0.0][microG][signed]hardened LineageOS 16.0 for Oneplus 3/3T, ROM for the OnePlus 3T
Contributors
MSe1969
Source Code: https://github.com/lin16-microg/local_manifests/tree/lin-16.0-microG
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
Based On: LineageOS
Version Information
Status: Testing
Stable Release Date: 2020-12-11
Created 2020-01-14
Last Updated 2020-12-13
Change log
January 17th, 2021
ASB Security string 2021-01-05
Bromite Webview on 87.0.4280.131
Updated microG from upstream to 0.2.16.204713-10 (picked until 2f29b93)
Updated F-Droid to 1.10-alpha1-212
December 13th, 2020
ASB Security string 2020-12-05
Kernel: Upstreamed to tag ASB-2020-12-05_3.18
Bromite Webview on 87.0.4280.106
Updated microG from upstream to 0.2.14.204215-15 (picked until 720b089)
Updated F-Droid to 1.10-alpha1-114
November 08th, 2020
ASB Security string 2020-11-05
Kernel: Upstreamed to tag ASB-2020-11-05_3.18
Kernel: Fix of bug causing crashes with Wireguard in native mode
Fix of AOSP E-Mail widget
Fix for CVE-2020-15999
Bromite Webview on 86.0.4240.181
Updated microG with fixes in GCM and EN API
Replaced weak F-Droid signatures with ROM's V2 signatures
October 08th, 2020
ASB Security string 2020-10-05
Bromite Webview on 86.0.4240.73
Kernel: Upstreamed to tag ASB-2020-10-05_3.18
microG 0.2.12.203315 - including "Exposure notification API" for use of Covid tracing apps
Additional hardening (bionic and constified JNI method tables)
September 12th, 2020
ASB Security string 2020-09-05
Bromite Webview updated to 85.0.4183.86
Kernel: Upstreamed to tag ASB-2020-09-05_3.18
Kernel: Wireguard tag v1.0.20200908
Kernel: Fix USB-OTG unplug crash (thanks to @nvertigo67)
Added eSpeak TTS engine (FOSS TTS solution)
August 8th, 2020
ASB Security string 2020-08-05
Bromite Webview updated to 84.0.4147.113
Kernel: Upstreamed to tag ASB-2020-08-05_3.18
Kernel: Wireguard tag v1.0.20200729
Kernel: qcacld-2.0 merge of CAF tag LA.UM.7.6.r1-07800-89xx.0
Location of the firewall functionality has moved to Network > Data usage in Settings (latest cherry-pick from here)
July 10th, 2020
ASB Security string 2020-07-05
Kernel: Wireguard tag v1.0.20200623
microG: updated prebuilt GmsCore fom /e/ project (fixed FCM registration issues)
F-Droid updated to 1.8 / F-Droid privileged extension updated to 0.2.11
Aurorastore updated to 3.2.9 / AuroraServices updated to 1.0.6
June 10th, 2020
ASB Security string 2020-06-05
Kernel: Wireguard tag v1.0.20200520
Bromite Webview on 83.0.4103.101
Sepolicy: Netmonitor exception f. "Tracker Control" app
May 6th, 2020
ASB Security string 2020-05-05
Telephony: Option to set different ringtones in case of Dual SIM
Kernel: Native Wireguard support
Kernel: Merged CAF tag LA.UM.7.6.r1-07400-89xx.0 (also f. WLAN)
Kernel: Misc. optimizations
Bromite Webview on 81.0.4044.127
AuroraStore updated to 3.2.8
April 10th, 2020
ASB Security string 2020-04-05
Fix for CVE-2020-8597 (external/ppp)
Kernel: CVE-2019-10638 siphash 128bit for IP generation
Bromite Webview on 81.0.4044.76
AuroraStore updated to 3.2.4
March 16th, 2020 - interim release
Vendor blob update to reflect OOS 9.0.6 - vendor sec. patch level now 2019-10-01
Debloated from Alipay, WeChatpay, Soter and IFAA
March 7th, 2020
Security string 2020-03-05
Bromite System Webview 80.0.3987.118
AuroraStore 3.2.0
Added Netguard app (F-Droid) to SELinux domain allowing /proc/net
February 19th, 2020 - interim release
Kernel fix for crash when doing VoIP telephony
February 7th, 2020
Security string 2020-02-05
Bromite System Webview 79.0.3945.139
AuroraStore 3.1.8
January 14th, 2020
Initial feature list:
Pre-installed microG and F-Droid same as the LineageOS for microG project
Pre-installed AuroraStore (Version 3.1.7) with AuroraServices 1.0.5
OTA Support
Access to /proc/net blocked for user apps
Bundled netmonitor app to allow network monitoring
Enhanced Privacy Guard: Switches for motion sensors and other sensors
Cloudflare as default DNS (instead of Google)
Privacy-preferred default settings
Optional blocking of Facebook- and Google-Tracking
Optional disable captive portal detection
Firewall UI
No submission of IMSI/IMEI to Google/Sony when GPS is in use
Default hosts file with many blocked ad/tracking sites
Privacy-enhanced Bromite SystemWebView 79.0.3945.107
Additional restrictions for secondary users
Increased password length
Security Hardening Features - Details
1. Pre-installed microG and F-Droid
same as the LineageOS for microG project
2. Pre-installed AuroraStore
works w/o having to enable the "unknown sources feature"
3. Restrict access to /proc/net for user apps
An adapted SELinux policy prevents user apps from accessing the /proc/net pseudo file system, which can be misused to monitor and track the phone's internet traffic. For technical backgrounds, see here. For the legitimate use case of the smart phone owner him/herself monitoring the network traffic to see, what the installed apps do, the app Privacy-Friendly Network Monitor has been bundled.
4. Enhanced Privacy Guard - Sensor permission switches
An own sensor template to control access to motion sensors ('ask' mode) and all other sensors (allowed by default, but can be restricted) has been implemented into the Privacy Guard.
5. Cloudflare (instead of Google) default DNS
Cloudflare DNS has a better privacy policy than Google Public DNS and has DNS-over-TLS and DNS-over-HTTPS. In the deafult DNS settings (as fallback) and network diagnostics, the Cloudflare DNS adresses 1.1.1.1 and 1.0.0.1 are specified as defaults (instead of Google's 8.8.8.8 and 8.8.4.4)
6. Privacy-preferred default settings
When newly installed, the below settings are defaulted, different from standard LineageOS 16.0 (all settings can be changed at any time later):
Privacy Guard is enabled on install (proposal during Setup)
Anonymous LineageOS statistics disabled (proposal during Setup)
The standard browsing app does not get the location runtime permission automatically assigned
Sensitive information is hidden on the lock screen
Camera app: Location tagging disabled by default
Further, when a lock screen protection is set (PIN, pattern, password), the Nfc, Hotspot and airplane mode tiles require authentication and cannot be set without
7. Optional blocking of Facebook- and Google-Tracking
Settings => Network & Internet (scroll down)
When activated, all outgoing connection attempts to Facebook servers will be suppressed.
Same applies to Google, but certain apps on an internal exception list will still be able to connect (AuroraStore, microG, or e.g. NewPipe, if installed)
8. Optional disable captive portal detection
Settings => Network & Internet (scroll down)
When activated, the system will not ping a specific Google server any longer when establishing a WiFi connection to determine, whether a captive portal is being used.
9. No submission of IMSI or phone number to Google/Sony when GPS is in use
GPS also works fine, if no SIM card is present, so there obviously is no benefit for the phone holder (different from other involved parties ) to provide this data . . .
10. Default hosts file with many blocked ad/tracking sites
The system's hosts file redirects a comprehensive list of URLs known to be adware, tracking, etc. to 127.0.0.1 (ipv4) and ::1 (ipv6)
11. Privacy-enhanced Bromite SystemWebView
Instead of the default Chromium System Webview component, the Bromite SystemWebView is used offering more privacy, more ad blocking and less Google tracking.
12. Firewall UI
Settings => Security & Location - Firewall
Lists all apps and allows to restrict Internet access per app in regards to WiFi, mobile network or VPN
This per-app feature is a standard feature in LineageOS, but the UI to show all apps is an Extra (taken from a topic in LineageOS's Gerrit - it may, or may not, become part of the official LineageOS one day)
13. Maximum password length increased to 64
14. Additional restriction options for secondary users
- Disallow app installation option
- Disallow audio recording option
Root
The ROM does not come with root baked in. A couple of features in this ROM even reduces the usual need for root.
Nevertheless, if you need/want to grant root permissions to some of your apps, the most popular options are:
Official LineageOS su addon (use 'addonsu-16.0-arm64-signed.zip')
Magisk (please search XDA on your own)
Note that I cannot and will not support any issues related to Magisk
microG initial configuration after 1st install
After the first installation of this ROM, you need to setup microG.
Please read the instructions given on the LineageOS for microG site, section "Post Install - UnifiedNlp"
Firmware
You need at least OxygenOS 9.0.x firmware, latest firmware recommended.
If you come from Oreo with 5.x firmware, got to this thread, if you come from a pie build and/pr don't mind formatting the data partition, original firmware updates (or downgrades, if needed) as flashable ZIP can be obtained e.g. here or here. Do not confuse OnePlus 3 and OnePLus 3T firmware or you will brick your device!
OTA Updates on an encrypted device
In case your device in encrypted and you have flashed apps creating "survival scripts" in /system/addon.d (e.g. Magisk), there *may* be a dependency to files in the data partition.
An OTA update until current TWRP 3.3.1 does not decrypt the data partition, as this is usually not needed - under specific circumstances however, this may lead to unwanted effects (up to a non-booting device!) during an OTA update, if such scripts aim at accessing files located in the data partition. If unsure, rather perform the update manually as dirty-flash in TWRP or - which in general is a good practice - regularly perform backups in TWRP. If you haven't flashed anything on top of my build (except for the LineageOS root addon, which is no problem), there shouldn't be any issue.
This commit in TWRP indicates, that this potential issue will be solved in future TWRP releases. With TWRP 3.4.0, you will be prompted for the decryption password also for OTA updates - if you do so, you are always on the safe side.
Isn't it also compatible with the Oneplus 3 because of the lineage os base?
Then you could move the thread in the Cross Device Development
phoberus said:
Isn't it also compatible with the Oneplus 3 because of the lineage os base?
Then you could move the thread in the Cross Device Development
Click to expand...
Click to collapse
Yes, as its based on LineageOS, it should also run on a One plus 3, if the proper firmware is present.
I don't own however an OP3 to be able to support. Isn't "cross device development" more something like treble GSI or custom kernels for device families rather than a ROM, which is very specific / suitable for two devices?
Does it support 60 FPS video recording with OP Camera ?
MSe1969 said:
Yes, as its based on LineageOS, it should also run on a One plus 3, if the proper firmware is present.
I don't own however an OP3 to be able to support. Isn't "cross device development" more something like treble GSI or custom kernels for device families rather than a ROM, which is very specific / suitable for two devices?
Click to expand...
Click to collapse
No, there are roms and kernels that are compatible with both OP3 and OP3T. Of course with the right firmware. You already linked to nvertigo67's firmware thread, so it should be clear that you install the appropriate firmware for the device. In the "cross device development" are much more people and users. I would ask a mod to move this thread, maybe a user with the OP3 can test the rom before. I have a OP3T
ProudRed said:
Does it support 60 FPS video recording with OP Camera ?
Click to expand...
Click to collapse
I don't know tbh - I'd say same situation as the official LineageOS 16.0 for this device
phoberus said:
No, there are roms and kernels that are compatible with both OP3 and OP3T. Of course with the right firmware. You already linked to nvertigo67's firmware thread, so it should be clear that you install the appropriate firmware for the device. In the "cross device development" are much more people and users. I would ask a mod to move this thread, maybe a user with the OP3 can test the rom before. I have a OP3T
Click to expand...
Click to collapse
Thanks - I have requested the move.
MSe1969 said:
Thanks - I have requested the move.
Click to expand...
Click to collapse
Your wish is my command
February ASB update
Hi all, a new build is available for download:
https://sourceforge.net/projects/li...NOFFICIAL-microG-signed-oneplus3.zip/download
Security string 2020-02-05
Bromite System Webview 79.0.3945.139
AuroraStore 3.1.8
It is also offered by the updater up as OTA update.
Regards, M.
Hello,
First off thank you very much for your hard work.
I have a strange but reproducible issue here. Whenever I place or receive a SIP call, my device hard freezes. The UI stops responding for about 5 seconds before going black, and the phone stays in this state until it is hard reset. I have gotten this crash on both the native Android SIP client in the Dialer and also with Linphone. I am running microG and Magisk. I had this exact same setup before on NLOS without issues.
Original kernel: Yes
Build date: Fri Feb 7 17:49:21 CET 2020
Logcat (taken right before launching Linphone and trying to place a call):
Code:
02-13 17:33:44.139 961 2935 I MediaFocusControl: requestAudioFocus() from uid/pid 10140/4058 [email protected] callingPack=org.linphone req=4 flags=0x0 sdk=28
02-13 17:33:44.140 1879 2098 I vol.Events: writeEvent level_changed STREAM_RING 5
02-13 17:33:44.144 609 609 D AudioPolicyManagerCustom: setForceUse() usage 7, config 0, mPhoneState 3
02-13 17:33:44.148 1879 2098 I vol.Events: writeEvent level_changed STREAM_MUSIC 8
02-13 17:33:44.151 1879 2098 I vol.Events: writeEvent level_changed STREAM_ALARM 6
02-13 17:33:44.189 961 1069 W BatteryExternalStatsWorker: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
02-13 17:33:44.208 961 4489 I ActivityManager: START u0 {cmp=org.linphone/.call.CallOutgoingActivity} from uid 10140
02-13 17:33:44.228 961 2935 I ActivityManager: START u0 {cmp=org.linphone/.call.CallOutgoingActivity} from uid 10140
02-13 17:33:44.242 4058 4058 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
02-13 17:33:44.461 961 4489 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller cmp=com.android.packageinstaller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10140
02-13 17:33:44.483 3534 3534 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
02-13 17:33:44.564 3534 3534 D OpenGLRenderer: Skia GL Pipeline
02-13 17:33:44.597 3534 4540 I Adreno : QUALCOMM build : 365e321, I294de8bafa
02-13 17:33:44.597 3534 4540 I Adreno : Build Date : 01/08/19
02-13 17:33:44.597 3534 4540 I Adreno : OpenGL ES Shader Compiler Version: EV031.25.03.02
02-13 17:33:44.597 3534 4540 I Adreno : Local Branch :
02-13 17:33:44.597 3534 4540 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.5.R1.09.00.00.464.040
02-13 17:33:44.597 3534 4540 I Adreno : Remote Branch : NONE
02-13 17:33:44.597 3534 4540 I Adreno : Reconstruct Branch : NOTHING
02-13 17:33:44.597 3534 4540 I Adreno : Build Config : S L 6.0.7 AArch64
02-13 17:33:44.598 3534 4540 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace.
02-13 17:33:44.602 3534 4540 I Adreno : PFP: 0x005ff110, ME: 0x005ff066
02-13 17:33:44.606 3534 4540 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
02-13 17:33:44.606 3534 4540 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
02-13 17:33:44.607 3534 4540 I OpenGLRenderer: Initialized EGL, version 1.4
02-13 17:33:44.607 3534 4540 D OpenGLRenderer: Swap behavior 2
02-13 17:33:44.618 3534 4540 D vndksupport: Loading /vendor/lib64/hw/[email protected] from current namespace instead of sphal namespace.
02-13 17:33:44.619 3534 4540 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace.
02-13 17:33:45.489 4058 4058 W libOpenSLES: Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels
02-13 17:33:45.489 4058 4058 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1)
02-13 17:33:45.500 609 1154 E : Request requires android.permission.RECORD_AUDIO
02-13 17:33:45.500 609 1154 E AudioPolicyIntefaceImpl: getInputForAttr permission denied: recording not allowed for uid 10140 pid 4058
02-13 17:33:45.500 609 1154 E AudioFlinger: createRecord() checkRecordThread_l failed
02-13 17:33:45.501 4058 4058 E IAudioFlinger: createRecord returned error -22
02-13 17:33:45.501 4058 4058 E AudioRecord: AudioFlinger could not create record track, status: -22
02-13 17:33:45.502 4058 4058 E libOpenSLES: android_audioRecorder_realize(0x73b5fff800) error creating AudioRecord object; status -22
02-13 17:33:45.512 4058 4058 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)
02-13 17:33:45.513 4058 4058 D : PlayerBase::PlayerBase()
02-13 17:33:45.513 4058 4058 D : TrackPlayerBase::TrackPlayerBase()
02-13 17:33:45.513 4058 4058 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x1 based on channel count of 1)
02-13 17:33:45.514 552 1458 D audio_hw_extn: audio_extn_get_parameters: returns
02-13 17:33:45.515 609 1154 I hash_map_utils: key: 'voip_out_stream_count' value: ''
02-13 17:33:45.516 552 1458 D audio_hw_extn: audio_extn_get_parameters: returns
02-13 17:33:45.517 609 1154 I hash_map_utils: key: 'voip_sample_rate' value: ''
02-13 17:33:45.517 609 1154 D AudioPolicyManagerCustom: Set VoIP and Direct output flags for PCM format
02-13 17:33:45.518 552 1458 I audio_hw_primary: getting vr mode to 0
02-13 17:33:45.518 609 1154 I hash_map_utils: key: 'vr_audio_mode_on' value: ''
02-13 17:33:45.519 609 1154 I AudioPolicyManagerCustom: VR mode is 0, switch to primary output if request is for fast|raw
02-13 17:33:45.519 609 1154 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000104) and output flags (00000006)
02-13 17:33:45.519 609 1154 D AudioFlinger: Client defaulted notificationFrames to 192 for frameCount 384
02-13 17:33:45.521 4058 4058 I AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 384
02-13 17:33:45.526 553 553 W AshmemAllocator: ashmem_create_region(7680) returning hidl_memory(0x723ea2c100, 7680)
02-13 17:33:45.529 553 553 W AshmemAllocator: ashmem_create_region(7680) returning hidl_memory(0x723ea2c100, 7680)
02-13 17:33:45.754 961 961 I GnssLocationProvider: WakeLock acquired by sendMessage(SET_REQUEST, 0, [email protected]92)
02-13 17:33:45.756 2968 2986 V NlpLocationProvider: onSetRequest: ProviderRequest[ON interval=+1d0h0m0s0ms lowPowerMode=false] by WorkSource{1000 android}
02-13 17:33:45.756 2968 2986 V NlpLocationProvider: using autoUpdate=true autoTime=86400000
02-13 17:33:45.770 961 1987 I WifiService: startScan uid=10052
02-13 17:33:45.822 961 1056 E AppOps : Creating dialog box
02-13 17:33:45.872 961 2929 I OpenGLRenderer: Initialized EGL, version 1.4
02-13 17:33:45.873 961 2929 D OpenGLRenderer: Swap behavior 2
02-13 17:33:45.955 3534 4540 D OpenGLRenderer: endAllActiveAnimators on 0x73bcbf2700 (RippleDrawable) with handle 0x73bcbff1e0
02-13 17:33:46.221 4058 4536 W libOpenSLES: Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels
02-13 17:33:46.221 4058 4536 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1)
02-13 17:33:46.225 552 1138 D audio_hw_primary: adev_open_input_stream: enter: sample_rate(48000) channel_mask(0x10) devices(0x80000004) stream_handle(0xe7c29380) io_handle(54) source(7) format 1
02-13 17:33:46.225 552 1138 D compress_voip: voice_extn_compress_voip_pcm_prop_check: VoIP PCM property is enabled
02-13 17:33:46.225 552 1138 D compress_voip: voice_extn_compress_voip_open_input_stream: enter
02-13 17:33:46.225 552 1138 D compress_voip: voip_set_mode: enter, format=1
02-13 17:33:46.225 552 1138 D compress_voip: voip_set_mode: Derived mode = 12
02-13 17:33:46.225 552 1138 W audio_hw_utils: audio_extn_utils_update_stream_input_app_type_cfg: App type could not be selected. Falling back to default
02-13 17:33:46.229 609 4558 I AudioFlinger: AudioFlinger's thread 0xed603400 tid=4558 ready to run
02-13 17:33:46.229 552 1138 D audio_hw_primary: in_standby: enter: stream (0xe7c29380) usecase(38: compress-voip-call)
02-13 17:33:46.230 552 4186 D audio_hw_primary: in_standby: enter: stream (0xe7c29380) usecase(38: compress-voip-call)
02-13 17:33:46.233 552 1138 W EffectHAL: Effect 0xe67fe1f0 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.237 552 1138 W EffectHAL: Effect 0xe67fe1f0 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.238 552 1458 W EffectHAL: Effect 0xe739c840 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.238 609 1154 W AudioFlinger: createRecordTrack_l(): mismatch between requested flags (00000005) and input flags (00000000)
02-13 17:33:46.239 609 1154 W AudioFlinger: session id 89 not found for pid 4058
02-13 17:33:46.240 609 1154 W AudioFlinger: session id 89 not found for pid 4058
02-13 17:33:46.244 552 4186 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xe7c29380)
02-13 17:33:46.244 552 4186 D compress_voip: voice_extn_compress_voip_close_input_stream: enter
02-13 17:33:46.244 552 4186 D compress_voip: voip_stop_call: enter, out_stream_count=0, in_stream_count=0
02-13 17:33:46.244 552 4186 E compress_voip: voip_stop_call: Could not find the usecase (38) in the list
02-13 17:33:46.244 552 4186 E audio_hw_primary: adev_close_input_stream: Compress voip input cannot be closed, error:-22
02-13 17:33:46.246 552 552 D audio_hw_primary: adev_open_input_stream: enter: sample_rate(48000) channel_mask(0x10) devices(0x80000004) stream_handle(0xe8056e00) io_handle(62) source(7) format 1
02-13 17:33:46.246 552 552 D compress_voip: voice_extn_compress_voip_pcm_prop_check: VoIP PCM property is enabled
02-13 17:33:46.246 552 552 D compress_voip: voice_extn_compress_voip_open_input_stream: enter
02-13 17:33:46.246 552 552 D compress_voip: voip_set_mode: enter, format=1
02-13 17:33:46.246 552 552 D compress_voip: voip_set_mode: Derived mode = 12
02-13 17:33:46.246 552 552 W audio_hw_utils: audio_extn_utils_update_stream_input_app_type_cfg: App type could not be selected. Falling back to default
02-13 17:33:46.253 552 1458 W EffectHAL: Effect 0xe67fe230 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.255 609 4559 I AudioFlinger: AudioFlinger's thread 0xed603b80 tid=4559 ready to run
02-13 17:33:46.256 552 3182 D audio_hw_primary: in_standby: enter: stream (0xe8056e00) usecase(38: compress-voip-call)
02-13 17:33:46.256 552 1458 W EffectHAL: Effect 0xe67fe230 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.257 552 3182 W EffectHAL: Effect 0xe67fe170 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.274 552 1470 D audio_hw_primary: in_set_parameters: enter: kvpairs=bottom=;input_source=7;routing=-2147483644
02-13 17:33:46.277 609 1526 I SoundTriggerHwService::Module: onCallbackEvent no clients
02-13 17:33:46.284 552 4561 D compress_voip: voice_extn_compress_voip_start_input_stream: enter
02-13 17:33:46.284 552 4561 D compress_voip: voip_start_call: enter
02-13 17:33:46.284 552 4561 D audio_hw_primary: select_devices for use case (compress-voip-call)
02-13 17:33:46.285 552 4561 D audio_hw_primary: select_devices: out_snd_device(15: voice-handset) in_snd_device(99: voice-dmic-ef)
02-13 17:33:46.285 552 4561 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 38 device (voice-handset)
02-13 17:33:46.285 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-13 17:33:46.285 552 4561 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 15
02-13 17:33:46.285 552 4561 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 38 device (voice-handset)
02-13 17:33:46.285 552 4561 W msm8974_platform: platform_check_codec_backend_cfg:becf: afe:Use default bw and sr for voice/voip calls
02-13 17:33:46.285 552 4561 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
02-13 17:33:46.285 552 4561 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
02-13 17:33:46.285 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
02-13 17:33:46.285 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device:handset backends match 1
02-13 17:33:46.285 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases (low-latency-playback) is active on (handset) - disabling ..
02-13 17:33:46.285 552 4561 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
02-13 17:33:46.323 552 4561 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 2, with Raise=0
02-13 17:33:46.323 552 4561 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
02-13 17:33:46.323 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device: backends match 0
02-13 17:33:46.323 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 1
02-13 17:33:46.323 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(1) num devices(0) new_snd_devices(0)
02-13 17:33:46.323 552 4561 D hardware_info: hw_info_append_hw_type : device_name = handset
02-13 17:33:46.324 552 4561 D audio_hw_primary: disable_snd_device: snd_device(1: handset)
02-13 17:33:46.324 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(1) num devices(0) new_snd_devices(0)
02-13 17:33:46.328 552 4561 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x1 of type 0 for Event 0, with Raise=0
02-13 17:33:46.328 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(1) num devices(0) new_snd_devices(0)
02-13 17:33:46.328 552 4561 D hardware_info: hw_info_append_hw_type : device_name = voice-handset
02-13 17:33:46.328 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(0) new_snd_devices(0)
02-13 17:33:46.328 552 4561 D audio_hw_primary: enable_snd_device: snd_device(15: voice-handset)
02-13 17:33:46.328 552 4561 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0xf of type 0 for Event 1, with Raise=0
02-13 17:33:46.328 552 4561 D audio_route: Apply path: voice-handset
02-13 17:33:46.332 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: enabling usecase (low-latency-playback) on (voice-handset)
02-13 17:33:46.332 552 4561 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 3, with Raise=0
02-13 17:33:46.332 552 4561 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device voice-handset
02-13 17:33:46.332 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(0) new_snd_devices(0)
02-13 17:33:46.333 552 4561 E msm8974_platform: platform_get_snd_device_backend_index: BE DAI Name Table is not present
02-13 17:33:46.333 552 4561 E audio_hw_utils: send_app_type_cfg_for_device: Couldn't get the backend index for snd device voice-handset ret=-14
02-13 17:33:46.333 552 4561 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
02-13 17:33:46.333 552 4561 I audio_hw_utils: send_app_type_cfg_for_device PLAYBACK app_type 69937, acdb_dev_id 7, sample_rate 48000, snd_device_be_idx -14
02-13 17:33:46.333 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-13 17:33:46.333 552 4561 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 7, path = 0, app id = 0x11131, sample rate = 48000
02-13 17:33:46.333 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 0
02-13 17:33:46.333 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
02-13 17:33:46.333 552 4561 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
02-13 17:33:46.334 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-13 17:33:46.334 552 4561 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 7, Topology Id 112fc
02-13 17:33:46.334 552 4561 D : Failed to fetch the lookup information of the device 00000007
02-13 17:33:46.334 552 4561 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-13 17:33:46.334 552 4561 D : Failed to fetch the lookup information of the device 00000007
02-13 17:33:46.334 552 4561 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-13 17:33:46.334 552 4561 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 7 path = 0
02-13 17:33:46.334 552 4561 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
02-13 17:33:46.334 552 4561 D audio_route: Apply path: low-latency-playback
02-13 17:33:46.365 552 4561 D hardware_info: hw_info_append_hw_type : device_name = voice-handset
02-13 17:33:46.365 552 4561 I msm8974_platform: platform_check_and_set_capture_codec_backend_cfg:txbecf: afe: bitwidth 16, samplerate 48000, channel 1 format 1, backend_idx 7 usecase = 38 device (voice-dmic-ef)
02-13 17:33:46.365 552 4561 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec selected backend: 7 current bit width: 16 and sample rate: 48000, channels 1 format 1
02-13 17:33:46.365 552 4561 W msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Use default bw and sr for voice/voip calls and for unprocessed/camera source
02-13 17:33:46.365 552 4561 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec selected backend: 7 updated bit width: 16 and sample rate: 48000
02-13 17:33:46.365 552 4561 D audio_hw_primary: check_usecases_capture_codec_backend:becf: force routing 0
02-13 17:33:46.365 552 4561 D hardware_info: hw_info_append_hw_type : device_name = voice-dmic-ef
02-13 17:33:46.365 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(99) num devices(0) new_snd_devices(0)
02-13 17:33:46.365 552 4561 D audio_hw_primary: enable_snd_device: snd_device(99: voice-dmic-ef)
02-13 17:33:46.366 552 4561 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x63 of type 1 for Event 1, with Raise=1
02-13 17:33:46.366 552 4561 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: concurrency active 0, tx 1, rx 0, concurrency session_allowed 0
02-13 17:33:46.366 552 4561 D audio_route: Apply path: voice-dmic-ef
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> send_voice_cal, acdb_rx = 7, acdb_tx = 41, feature_set = 0
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> send_voice_rx_topology
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TOPOLOGY_ID
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> send_voice_tx_topology
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TOPOLOGY_ID
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_DATA
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_SIDETONE_CAL
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 5
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_STATIC_TABLE_SIZE
02-13 17:33:46.382 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_STATIC_TABLE
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_CAL
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DEVICE_CFG
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_DEV_CFG_CAL
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 4
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DYNAMIC_TABLE_SIZE
02-13 17:33:46.388 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DYNAMIC_TABLE
02-13 17:33:46.394 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_VOL_CAL
02-13 17:33:46.394 552 4561 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 6
02-13 17:33:46.394 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-13 17:33:46.394 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_STREAM_STATIC_TABLE_SIZE
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_STREAM_STATIC_TABLE
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_STREAM_CAL
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 41, Topology Id 112fb
02-13 17:33:46.395 552 4561 D : Failed to fetch the lookup information of the device 00000029
02-13 17:33:46.395 552 4561 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-13 17:33:46.395 552 4561 D : Failed to fetch the lookup information of the device 00000029
02-13 17:33:46.395 552 4561 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 7, Topology Id 112fc
02-13 17:33:46.395 552 4561 D : Failed to fetch the lookup information of the device 00000007
02-13 17:33:46.395 552 4561 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-13 17:33:46.395 552 4561 D : Failed to fetch the lookup information of the device 00000007
02-13 17:33:46.395 552 4561 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 41 path = 1
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 7 path = 0
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> Sent VocProc Cal!
02-13 17:33:46.395 552 4561 E audio_hw_utils: audio_extn_utils_update_stream_app_type_cfg_for_usecase: app type cfg not supported for usecase type (3)
02-13 17:33:46.395 552 4561 I audio_hw_utils: audio_extn_utils_send_app_type_cfg: not a playback/capture path, no need to cfg app type
02-13 17:33:46.395 552 4561 D audio_hw_primary: enable_audio_route: apply mixer and update path: compress-voip-call
02-13 17:33:46.395 552 4561 D audio_route: Apply path: compress-voip-call
02-13 17:33:46.397 552 4561 D audio_hw_primary: select_devices: done
02-13 17:33:46.397 552 4561 D compress_voip: voip_start_call: Opening PCM capture device card_id(0) device_id(3)
02-13 17:33:46.402 552 4561 D compress_voip: voip_start_call: Opening PCM playback device card_id(0) device_id(3)
02-13 17:33:46.455 552 4561 D voice : voice_set_sidetone: enable, out_snd_device: 15
02-13 17:33:46.455 552 4561 D audio_route: Apply path: sidetone-handset
Thank you!
Hi.
Really liking this build so far. Just wanted to chime in and confirm this works on my OnePlus 3 perfectly with no issues. Thanks again :good:
@MSe1969
You may want to edit the OP and title to include OnePlus 3 also as this ROM is in the Cross Device Development section and seems to work on both 3 and 3T.
TNSMANI said:
@MSe1969
You may want to edit the OP and title to include OnePlus 3 also as this ROM is in the Cross Device Development section and seems to work on both 3 and 3T.
Click to expand...
Click to collapse
Thanks for the hint - it's done.
0xC0ncord said:
Hello,
First off thank you very much for your hard work.
I have a strange but reproducible issue here. Whenever I place or receive a SIP call, my device hard freezes. The UI stops responding for about 5 seconds before going black, and the phone stays in this state until it is hard reset. I have gotten this crash on both the native Android SIP client in the Dialer and also with Linphone. I am running microG and Magisk. I had this exact same setup before on NLOS without issues.
Original kernel: Yes
Build date: Fri Feb 7 17:49:21 CET 2020
Logcat (taken right before launching Linphone and trying to place a call):
Thank you!
Click to expand...
Click to collapse
Hi, thanks for reporting your issue, I may need some time to dig in to that.
Just one thing, which I have immediately spotted: The linphone app (which you used to create the logcat) did not have the RECORD_AUDIO permission - could you pls. have a closer look on that aspect?
MSe1969 said:
Hi, thanks for reporting your issue, I may need some time to dig in to that.
Just one thing, which I have immediately spotted: The linphone app (which you used to create the logcat) did not have the RECORD_AUDIO permission - could you pls. have a closer look on that aspect?
Click to expand...
Click to collapse
That's odd. The app's permissions in Settings shows it has permission, but for good measure I went ahead and used the shell to grant the permission manually with
Code:
pm grant "org.linphone" android.permission.RECORD_AUDIO
The same type of crash occurs afterwards, though.
Below is another logcat after doing this, taken right before trying to initiate a call:
Code:
02-16 10:10:51.779 498 533 W Netd : No subsystem found in netlink event
02-16 10:10:52.827 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:10:53.910 977 1721 D ConnectivityService: handleLingerComplete for NetworkAgentInfo [MOBILE (IWLAN) - 103]
02-16 10:10:54.829 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:10:56.832 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:10:58.618 977 2202 I WifiService: acquireWifiLock uid=10140 lockMode=3
02-16 10:10:58.620 977 2202 I WifiService: acquireMulticastLock uid=10140
02-16 10:10:58.623 1941 1941 E wpa_supplicant: wpa_driver_nl80211_driver_cmd: failed to issue private commands
02-16 10:10:58.624 977 1706 E SupplicantStaIfaceHal: ISupplicantStaIface.addRxFilter failed: {.code = FAILURE_UNKNOWN, .debugMessage = }
02-16 10:10:58.626 556 1490 D audio_hw_primary: adev_set_mode: mode 3
02-16 10:10:58.627 613 1194 D AudioPolicyManagerCustom: setPhoneState() state 3
02-16 10:10:58.630 556 1490 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=1
02-16 10:10:58.630 556 1490 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
02-16 10:10:58.635 556 556 D audio_hw_primary: out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=1
02-16 10:10:58.658 613 613 D AudioPolicyManagerCustom: setForceUse() usage 7, config 0, mPhoneState 3
02-16 10:10:58.658 1833 2019 I vol.Events: writeEvent level_changed STREAM_SYSTEM 5
02-16 10:10:58.658 4371 4371 W AudioManager: Use of stream types is deprecated for operations other than volume control
02-16 10:10:58.658 4371 4371 W AudioManager: See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
02-16 10:10:58.660 977 4358 I MediaFocusControl: requestAudioFocus() from uid/pid 10140/4371 [email protected] callingPack=org.linphone req=4 flags=0x0 sdk=28
02-16 10:10:58.667 1833 2019 I vol.Events: writeEvent level_changed STREAM_RING 5
02-16 10:10:58.669 1833 2019 I vol.Events: writeEvent level_changed STREAM_MUSIC 8
02-16 10:10:58.671 1833 2019 I vol.Events: writeEvent level_changed STREAM_ALARM 6
02-16 10:10:58.673 977 2202 I ActivityManager: START u0 {cmp=org.linphone/.call.CallOutgoingActivity} from uid 10140
02-16 10:10:58.707 4371 4371 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
02-16 10:10:58.835 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:10:58.695 977 2202 I ActivityManager: START u0 {cmp=org.linphone/.call.CallOutgoingActivity} from uid 10140
02-16 10:10:59.397 498 532 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
02-16 10:10:59.397 498 532 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'STATE' not found
02-16 10:10:59.397 498 532 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
02-16 10:10:59.397 498 532 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found
02-16 10:10:59.838 977 1084 E AppOps : Creating dialog box
02-16 10:10:59.882 977 2872 I Adreno : QUALCOMM build : 365e321, I294de8bafa
02-16 10:10:59.882 977 2872 I Adreno : Build Date : 01/08/19
02-16 10:10:59.882 977 2872 I Adreno : OpenGL ES Shader Compiler Version: EV031.25.03.02
02-16 10:10:59.882 977 2872 I Adreno : Local Branch :
02-16 10:10:59.882 977 2872 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.5.R1.09.00.00.464.040
02-16 10:10:59.882 977 2872 I Adreno : Remote Branch : NONE
02-16 10:10:59.882 977 2872 I Adreno : Reconstruct Branch : NOTHING
02-16 10:10:59.882 977 2872 I Adreno : Build Config : S L 6.0.7 AArch64
02-16 10:10:59.891 977 2872 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace.
02-16 10:10:59.896 977 2872 I Adreno : PFP: 0x005ff110, ME: 0x005ff066
02-16 10:10:59.900 977 2872 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
02-16 10:10:59.900 977 2872 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
02-16 10:10:59.902 977 2872 I OpenGLRenderer: Initialized EGL, version 1.4
02-16 10:10:59.902 977 2872 D OpenGLRenderer: Swap behavior 2
02-16 10:11:00.842 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:11:01.101 498 533 W Netd : No subsystem found in netlink event
02-16 10:11:01.385 2131 2272 D MmsService: getAutoPersisting
02-16 10:11:01.401 2881 2881 V SmsReceiver: onReceive
02-16 10:11:01.407 2881 2934 V ReceiveSms$buildObserva: [email protected]e4d, drop=false
02-16 10:11:01.592 2881 2934 E ActivityThread: Failed to find provider info for com.teslacoilsw.notifier
02-16 10:11:01.806 1833 1833 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
02-16 10:11:01.848 1833 1833 W StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
02-16 10:11:01.849 1833 1833 I chatty : uid=10010(com.android.systemui) identical 2 lines
02-16 10:11:01.849 1833 1833 W StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
02-16 10:11:02.044 977 2872 D OpenGLRenderer: endAllActiveAnimators on 0x7ecaab2f00 (RippleDrawable) with handle 0x7edeff56a0
02-16 10:11:02.058 977 4358 I ActivityManager: START u0 {cmp=org.linphone/.call.CallActivity} from uid 10140
02-16 10:11:02.090 4371 4371 W libOpenSLES: Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels
02-16 10:11:02.090 4371 4371 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1)
02-16 10:11:02.093 556 1490 D audio_hw_primary: adev_open_input_stream: enter: sample_rate(48000) channel_mask(0x10) devices(0x80000004) stream_handle(0xf3290000) io_handle(54) source(7) format 1
02-16 10:11:02.093 556 1490 D compress_voip: voice_extn_compress_voip_pcm_prop_check: VoIP PCM property is enabled
02-16 10:11:02.093 556 1490 D compress_voip: voice_extn_compress_voip_open_input_stream: enter
02-16 10:11:02.093 556 1490 D compress_voip: voip_set_mode: enter, format=1
02-16 10:11:02.093 556 1490 D compress_voip: voip_set_mode: Derived mode = 12
02-16 10:11:02.093 556 1490 W audio_hw_utils: audio_extn_utils_update_stream_input_app_type_cfg: App type could not be selected. Falling back to default
02-16 10:11:02.094 613 4817 I AudioFlinger: AudioFlinger's thread 0xe7483040 tid=4817 ready to run
02-16 10:11:02.094 556 1490 D audio_hw_primary: in_standby: enter: stream (0xf3290000) usecase(38: compress-voip-call)
02-16 10:11:02.095 556 556 D audio_hw_primary: in_standby: enter: stream (0xf3290000) usecase(38: compress-voip-call)
02-16 10:11:02.097 556 556 W EffectHAL: Effect 0xf36c3680 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.099 556 556 W EffectHAL: Effect 0xf36c3680 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.099 556 556 W EffectHAL: Effect 0xf36c37f0 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.100 613 613 W AudioFlinger: createRecordTrack_l(): mismatch between requested flags (00000005) and input flags (00000000)
02-16 10:11:02.100 613 613 W AudioFlinger: session id 9 not found for pid 4371
02-16 10:11:02.101 613 613 W AudioFlinger: session id 9 not found for pid 4371
02-16 10:11:02.105 556 1490 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xf3290000)
02-16 10:11:02.105 556 1490 D compress_voip: voice_extn_compress_voip_close_input_stream: enter
02-16 10:11:02.105 556 1490 D compress_voip: voip_stop_call: enter, out_stream_count=0, in_stream_count=0
02-16 10:11:02.105 556 1490 E compress_voip: voip_stop_call: Could not find the usecase (38) in the list
02-16 10:11:02.106 556 1490 E audio_hw_primary: adev_close_input_stream: Compress voip input cannot be closed, error:-22
02-16 10:11:02.108 556 1490 D audio_hw_primary: adev_open_input_stream: enter: sample_rate(48000) channel_mask(0x10) devices(0x80000004) stream_handle(0xf3290000) io_handle(62) source(7) format 1
02-16 10:11:02.108 556 1490 D compress_voip: voice_extn_compress_voip_pcm_prop_check: VoIP PCM property is enabled
02-16 10:11:02.108 556 1490 D compress_voip: voice_extn_compress_voip_open_input_stream: enter
02-16 10:11:02.108 556 1490 D compress_voip: voip_set_mode: enter, format=1
02-16 10:11:02.108 556 1490 D compress_voip: voip_set_mode: Derived mode = 12
02-16 10:11:02.108 556 1490 W audio_hw_utils: audio_extn_utils_update_stream_input_app_type_cfg: App type could not be selected. Falling back to default
02-16 10:11:02.109 613 4818 I AudioFlinger: AudioFlinger's thread 0xe7483140 tid=4818 ready to run
02-16 10:11:02.110 556 1490 D audio_hw_primary: in_standby: enter: stream (0xf3290000) usecase(38: compress-voip-call)
02-16 10:11:02.111 556 1490 W EffectHAL: Effect 0xf328f040 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.112 556 1490 D audio_hw_primary: in_standby: enter: stream (0xf3290000) usecase(38: compress-voip-call)
02-16 10:11:02.114 556 1490 W EffectHAL: Effect 0xf328f040 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.114 556 1490 W EffectHAL: Effect 0xf328f0d0 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.122 556 1490 D audio_hw_primary: in_set_parameters: enter: kvpairs=bottom=;input_source=7;routing=-2147483644
02-16 10:11:02.124 613 1513 I SoundTriggerHwService::Module: onCallbackEvent no clients
02-16 10:11:02.125 4371 4371 D : PlayerBase::PlayerBase()
02-16 10:11:02.125 4371 4371 D : TrackPlayerBase::TrackPlayerBase()
02-16 10:11:02.126 4371 4371 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x1 based on channel count of 1)
02-16 10:11:02.126 556 4819 D compress_voip: voice_extn_compress_voip_start_input_stream: enter
02-16 10:11:02.126 556 4819 D compress_voip: voip_start_call: enter
02-16 10:11:02.126 556 4819 D audio_hw_primary: select_devices for use case (compress-voip-call)
02-16 10:11:02.126 556 4819 D audio_hw_primary: select_devices: out_snd_device(15: voice-handset) in_snd_device(99: voice-dmic-ef)
02-16 10:11:02.126 556 4819 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 38 device (voice-handset)
02-16 10:11:02.126 556 4819 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-16 10:11:02.126 556 4819 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 15
02-16 10:11:02.126 556 4819 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 38 device (voice-handset)
02-16 10:11:02.126 556 4819 W msm8974_platform: platform_check_codec_backend_cfg:becf: afe:Use default bw and sr for voice/voip calls
02-16 10:11:02.126 556 4819 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
02-16 10:11:02.126 556 4819 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
02-16 10:11:02.126 556 4819 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
02-16 10:11:02.126 556 4819 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
02-16 10:11:02.126 556 4819 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device: backends match 0
02-16 10:11:02.126 556 4819 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
02-16 10:11:02.126 556 4819 D hardware_info: hw_info_append_hw_type : device_name = voice-handset
02-16 10:11:02.126 556 4819 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(0) new_snd_devices(0)
02-16 10:11:02.126 556 4819 D audio_hw_primary: enable_snd_device: snd_device(15: voice-handset)
02-16 10:11:02.126 556 4819 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0xf of type 0 for Event 1, with Raise=0
02-16 10:11:02.126 556 4819 D audio_route: Apply path: voice-handset
02-16 10:11:02.130 556 4819 I msm8974_platform: platform_check_and_set_capture_codec_backend_cfg:txbecf: afe: bitwidth 16, samplerate 48000, channel 1 format 1, backend_idx 7 usecase = 38 device (voice-dmic-ef)
02-16 10:11:02.130 556 4819 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec selected backend: 7 current bit width: 16 and sample rate: 48000, channels 1 format 1
02-16 10:11:02.131 556 4819 W msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Use default bw and sr for voice/voip calls and for unprocessed/camera source
02-16 10:11:02.131 556 4819 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec selected backend: 7 updated bit width: 16 and sample rate: 48000
02-16 10:11:02.131 556 4819 D audio_hw_primary: check_usecases_capture_codec_backend:becf: force routing 0
02-16 10:11:02.131 556 4819 D hardware_info: hw_info_append_hw_type : device_name = voice-dmic-ef
02-16 10:11:02.131 556 4819 D msm8974_platform: platform_split_snd_device: snd_device(99) num devices(0) new_snd_devices(0)
02-16 10:11:02.131 556 4819 D audio_hw_primary: enable_snd_device: snd_device(99: voice-dmic-ef)
02-16 10:11:02.131 556 4819 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x63 of type 1 for Event 1, with Raise=1
02-16 10:11:02.131 556 4819 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: concurrency active 0, tx 1, rx 0, concurrency session_allowed 0
02-16 10:11:02.131 556 4819 D audio_route: Apply path: voice-dmic-ef
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> send_voice_cal, acdb_rx = 7, acdb_tx = 41, feature_set = 0
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> send_voice_rx_topology
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TOPOLOGY_ID
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> send_voice_tx_topology
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TOPOLOGY_ID
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_DATA
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_SIDETONE_CAL
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 5
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_STATIC_TABLE_SIZE
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_STATIC_TABLE
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_CAL
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DEVICE_CFG
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_DEV_CFG_CAL
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 4
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DYNAMIC_TABLE_SIZE
02-16 10:11:02.145 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DYNAMIC_TABLE
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_VOL_CAL
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 6
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_STREAM_STATIC_TABLE_SIZE
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_STREAM_STATIC_TABLE
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_STREAM_CAL
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 41, Topology Id 112fb
02-16 10:11:02.149 556 4819 D : Failed to fetch the lookup information of the device 00000029
02-16 10:11:02.149 556 4819 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-16 10:11:02.149 556 4819 D : Failed to fetch the lookup information of the device 00000029
02-16 10:11:02.149 556 4819 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 7, Topology Id 112fc
02-16 10:11:02.149 556 4819 D : Failed to fetch the lookup information of the device 00000007
02-16 10:11:02.149 556 4819 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-16 10:11:02.149 556 4819 D : Failed to fetch the lookup information of the device 00000007
02-16 10:11:02.149 556 4819 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 41 path = 1
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 7 path = 0
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> Sent VocProc Cal!
02-16 10:11:02.149 556 4819 E audio_hw_utils: audio_extn_utils_update_stream_app_type_cfg_for_usecase: app type cfg not supported for usecase type (3)
02-16 10:11:02.149 556 4819 I audio_hw_utils: audio_extn_utils_send_app_type_cfg: not a playback/capture path, no need to cfg app type
02-16 10:11:02.149 556 4819 D audio_hw_primary: enable_audio_route: apply mixer and update path: compress-voip-call
02-16 10:11:02.149 556 4819 D audio_route: Apply path: compress-voip-call
02-16 10:11:02.151 556 4819 D audio_hw_primary: select_devices: done
02-16 10:11:02.151 556 4819 D compress_voip: voip_start_call: Opening PCM capture device card_id(0) device_id(3)
02-16 10:11:02.152 556 4819 D compress_voip: voip_start_call: Opening PCM playback device card_id(0) device_id(3)
02-16 10:11:02.154 619 1089 W SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - mAboveAppWindowsContainers#0
02-16 10:11:02.155 619 1089 W SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - mAboveAppWindowsContainers#0
02-16 10:11:02.156 977 1512 E AppOps : Operation not started: uid=1000 pkg=android op=SYSTEM_ALERT_WINDOW
02-16 10:11:02.158 619 1103 W SurfaceFlinger: Attempting to destroy on removed layer: b4fea43 Permission info: Linphone#0
02-16 10:11:02.256 556 4819 D voice : voice_set_sidetone: enable, out_snd_device: 15
02-16 10:11:02.257 556 4819 D audio_route: Apply path: sidetone-handset
02-16 10:11:02.259 556 1490 D audio_hw_extn: audio_extn_get_parameters: returns
02-16 10:11:02.259 613 1865 I hash_map_utils: key: 'voip_out_stream_count' value: ''
02-16 10:11:02.260 556 1186 D audio_hw_extn: audio_extn_get_parameters: returns
02-16 10:11:02.260 613 1865 I hash_map_utils: key: 'voip_sample_rate' value: ''
02-16 10:11:02.261 613 1865 D AudioPolicyManagerCustom: Set VoIP and Direct output flags for PCM format
02-16 10:11:02.261 556 1186 I audio_hw_primary: getting vr mode to 0
02-16 10:11:02.261 613 1865 I hash_map_utils: key: 'vr_audio_mode_on' value: ''
02-16 10:11:02.262 613 1865 I AudioPolicyManagerCustom: VR mode is 0, switch to primary output if request is for fast|raw
02-16 10:11:02.262 613 1865 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000104) and output flags (00000006)
02-16 10:11:02.262 613 1865 D AudioFlinger: Client defaulted notificationFrames to 192 for frameCount 384
02-16 10:11:02.263 4371 4371 I AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 384
02-16 10:11:02.267 557 557 W AshmemAllocator: ashmem_create_region(7680) returning hidl_memory(0x7073a2c100, 7680)
02-16 10:11:02.271 557 557 W AshmemAllocator: ashmem_create_region(7680) returning hidl_memory(0x7073a2c100, 7680)
02-16 10:11:02.275 556 4822 D audio_hw_primary: start_output_stream: enter: stream(0xf2a69000)usecase(1: low-latency-playback) devices(0x1)
02-16 10:11:02.277 556 4822 D audio_hw_primary: select_devices for use case (low-latency-playback)
02-16 10:11:02.277 556 4822 D audio_hw_primary: select_devices for use case (compress-voip-call)
02-16 10:11:02.277 556 4822 D audio_hw_primary: select_devices: out_snd_device(15: voice-handset) in_snd_device(0: )
02-16 10:11:02.277 556 4822 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (voice-handset)
02-16 10:11:02.277 556 4822 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-16 10:11:02.277 556 4822 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 15
02-16 10:11:02.277 556 4822 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (voice-handset)
02-16 10:11:02.277 556 4822 W msm8974_platform: platform_check_codec_backend_cfg:becf: afe:Use default bw and sr for voice/voip calls
02-16 10:11:02.277 556 4822 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
02-16 10:11:02.277 556 4822 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
02-16 10:11:02.277 556 4822 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
02-16 10:11:02.277 556 4822 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device:voice-handset backends match 1
02-16 10:11:02.277 556 4822 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
02-16 10:11:02.277 556 4822 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device: backends match 0
02-16 10:11:02.277 556 4822 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
02-16 10:11:02.277 556 4822 D hardware_info: hw_info_append_hw_type : device_name = voice-handset
02-16 10:11:02.277 556 4822 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 3, with Raise=0
02-16 10:11:02.277 556 4822 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device voice-handset
02-16 10:11:02.277 556 4822 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(0) new_snd_devices(0)
02-16 10:11:02.278 556 4822 E msm8974_platform: platform_get_snd_device_backend_index: BE DAI Name Table is not present
02-16 10:11:02.278 556 4822 E audio_hw_utils: send_app_type_cfg_for_device: Couldn't get the backend index for snd device voice-handset ret=-14
02-16 10:11:02.278 556 4822 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
02-16 10:11:02.278 556 4822 I audio_hw_utils: send_app_type_cfg_for_device PLAYBACK app_type 69937, acdb_dev_id 7, sample_rate 48000, snd_device_be_idx -14
02-16 10:11:02.278 556 4822 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 7, path = 0, app id = 0x11131, sample rate = 48000
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 0
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 7, Topology Id 112fc
02-16 10:11:02.278 556 4822 D : Failed to fetch the lookup information of the device 00000007
02-16 10:11:02.278 556 4822 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-16 10:11:02.278 556 4822 D : Failed to fetch the lookup information of the device 00000007
02-16 10:11:02.278 556 4822 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 7 path = 0
02-16 10:11:02.278 556 4822 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
02-16 10:11:02.278 556 4822 D audio_route: Apply path: low-latency-playback
02-16 10:11:02.280 556 4822 D audio_hw_primary: select_devices: done
02-16 10:11:02.281 556 4822 D msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map15
02-16 10:11:02.282 556 4822 D msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
02-16 10:11:02.290 556 4822 D audio_hw_primary: start_output_stream: exit
02-16 10:11:02.306 4371 4371 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
MSe1969 said:
Hi, thanks for reporting your issue, I may need some time to dig in to that.
Just one thing, which I have immediately spotted: The linphone app (which you used to create the logcat) did not have the RECORD_AUDIO permission - could you pls. have a closer look on that aspect?
Click to expand...
Click to collapse
Hi all,
I can confirm the same VoIP calling issues stated by @0xC0ncord. In my case I have reproduced the rebooting error on Whatsapp, Riot and NextCloud-Talk, which is always triggered right after a call is established between the peers. After some digging I found out there seems to be a missing check in the kernel's code (you can look it up on Gitlab > LineageOS > Issue 1558):
- if (runtime->dma_area)
+ if (runtime->dma_area && !substream->ops->copy)
So maybe patching this check on sound/core/pcm_native.c could be the solution in this case too, not really sure. I'm not too experienced with kernel building, but if I get the opportunity to try and do it myself I'll let you know how it goes.
Cheers
AjikanRB said:
Hi all,
I can confirm the same VoIP calling issues stated by @0xC0ncord. In my case I have reproduced the rebooting error on Whatsapp, Riot and NextCloud-Talk, which is always triggered right after a call is established between the peers. After some digging I found out there seems to be a missing check in the kernel's code (you can look it up on Gitlab > LineageOS > Issue 1558):
- if (runtime->dma_area)
+ if (runtime->dma_area && !substream->ops->copy)
So maybe patching this check on sound/core/pcm_native.c could be the solution in this case too, not really sure. I'm not too experienced with kernel building, but if I get the opportunity to try and do it myself I'll let you know how it goes.
Cheers
Click to expand...
Click to collapse
Thanks for the info - I was able to reproduce the crash by attempting a Telegram call.
Have applied the patch and now building... If the patch fixes the issue, I will upload a new build.
Anyway, will keep you posted.

[Resolved] MIUI10 "Still can't connect to camera. Try restarting" but works in 2nd space

MIUI10 "Still can't connect to camera. Try restarting" but works in 2nd space
Xiaomi K20 Pro with root.
Builtin camera app doesn't work in the first space/profile but when I switch to second space, it works. All third party camera apps like GCam and Signal work in the first space.
I've tried:
- disabling then re-enabling all camera app permissions,
- clearing the camera app cache and data, then rebooting,
- clearing dalvik cache and rebooting,
- copying all files from the second space camera profile in /data/user/10/com.android.camera to /data/data/com.android.camera
- checking all permissions for the above directories match
Some snippets from adb shell logcat
01-27 14:16:31.647 8218 8296 D CAM_Camera2DataContaine: All available camera ids: [0, 1, 20, 21, 60, 61, 62, 63, 100, 101, 120]
01-27 14:16:31.668 8218 8218 I CAM_PermissionManager: CheckCameraPermissions(), all on
01-27 14:16:31.685 8218 8296 D CAM_Camera2DataContaine: ====================================================================
01-27 14:16:31.685 8218 8296 D CAM_Camera2DataContaine: BACK: [main, aux, sat, bokeh, virtual, infrared] = [0, 20, 60, 61, 62, 100]
01-27 14:16:31.685 8218 8296 D CAM_Camera2DataContaine: FRONT: [main, aux, sat, bokeh, virtual, infrared] = [1, 101, -1, -1, -1, -1]
01-27 14:16:31.685 8218 8296 D CAM_Camera2DataContaine: ====================================================================
01-27 14:16:31.685 8218 8296 D CAM_Camera2DataContaine: X: init()
01-27 14:16:31.687 8218 8304 V CAM_CameraUtil: execCommand value=33505 cost=32
01-27 14:16:31.688 8218 8296 D CAM_Camera2DataContaine: getActualOpenCameraId: mode=a3, id=0->120
01-27 14:16:31.690 8218 8296 D CAM_Camera2OpenManager: openCamera: pendingOpenId = 120, mPendingCameraId = -1, currentMode = 163, mCurrentModule = 160, forceClose = true
01-27 14:16:31.690 8218 8296 D CAM_Camera2OpenManager: abandonOpenObservableIfExists: E
01-27 14:16:31.691 8218 8296 D CAM_Camera2OpenManager: abandonOpenObservableIfExists: start mCameraResultEmitter = DISPOSED
01-27 14:16:31.691 8218 8296 D CAM_Camera2OpenManager: abandonOpenObservableIfExists: X
01-27 14:16:31.692 8218 8355 D CAM_Camera2OpenManager: open start
01-27 14:16:31.692 8218 8296 I CAM_PermissionManager: getNeedCheckPermissionList() listSize =0
01-27 14:16:31.692 8218 8296 I CAM_PermissionManager: CheckCameraPermissions(), all on
01-27 14:16:31.693 1158 3840 I CameraService: CameraService::connect call (PID -1 "com.android.camera", camera ID 120) for HAL version default and Camera API version 2
01-27 14:16:31.693 8218 8296 D CAM_Camera2DataContaine: getActualOpenCameraId: mode=a3, id=0->120
01-27 14:16:31.693 8218 8296 D CAM_Camera2OpenManager: openCamera: pendingOpenId = 120, mPendingCameraId = 120, currentMode = 163, mCurrentModule = 163, forceClose = false
01-27 14:16:31.693 1158 3840 I Camera2ClientBase: Camera 120: Opened. Client: com.android.camera (PID 8218, UID 10076)
01-27 14:16:31.693 1158 3840 I CameraDeviceClient: CameraDeviceClient 120: Opened
01-27 14:16:31.694 1158 3840 I CameraService: Camera 120: Access for "com.android.camera" has been restricted
01-27 14:16:31.695 1158 3840 E CameraService: connectHelper: Could not initialize client from HAL.
01-27 14:16:31.695 1158 3840 I Camera3-Device: disconnectImpl: E
01-27 14:16:31.695 1158 3840 E CameraService: unregisterMonitorUid: Trying to unregister uid: 10076 which is not monitored!
01-27 14:16:31.695 1158 3840 I CameraService: disconnect: Disconnected client for camera 120 for PID 8218
01-27 14:16:31.695 2011 4110 D PopupCameraManagerService: notifyCameraStatus cameraId 120 status : 0 clientPackageName com.android.camera
01-27 14:16:31.695 1158 3840 I Camera2ClientBase: Closed Camera 120. Client was: com.android.camera (PID 8218, UID 10076)
01-27 14:16:31.695 1158 3840 I Camera3-Device: disconnectImpl: E
01-27 14:16:31.695 8218 8355 W System.err: android.hardware.camera2.CameraAccessException: CAMERA_DISABLED (1): connectHelper:1534: Camera "120" disabled by policy
01-27 14:16:31.695 8218 8355 W System.err: at android.hardware.camera2.CameraManager.throwAsPublicException(Unknown Source:52)
01-27 14:16:31.695 8218 8355 W System.err: at android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(Unknown Source:210)
01-27 14:16:31.695 8218 8355 W System.err: at android.hardware.camera2.CameraManager.openCameraForUid(Unknown Source:8)
01-27 14:16:31.695 8218 8355 W System.err: at android.hardware.camera2.CameraManager.openCamera(Unknown Source:5)
01-27 14:16:31.695 8218 8355 W System.err: at com.android.camera.module.loader.camera2.Camera2OpenManager.onMessage(Unknown Source:384)
01-27 14:16:31.695 8218 8355 W System.err: at com.android.camera.module.loader.camera2.Camera2OpenManager.access$000(Unknown Source:0)
01-27 14:16:31.697 8218 8355 W System.err: at com.android.camera.module.loader.camera2.Camera2OpenManager$1.handleMessage(Unknown Source:2)
01-27 14:16:31.697 8218 8355 W System.err: at android.os.Handler.dispatchMessage(Unknown Source:19)
01-27 14:16:31.697 8218 8355 W System.err: at android.os.Looper.loop(Unknown Source:233)
01-27 14:16:31.697 8218 8355 W System.err: at android.os.HandlerThread.run(Unknown Source:28)
01-27 14:16:31.697 8218 8355 W System.err: Caused by: android.os.ServiceSpecificException: connectHelper:1534: Camera "120" disabled by policy (code 6)
01-27 14:16:31.697 8218 8355 W System.err: at android.os.Parcel.createException(Unknown Source:82)
01-27 14:16:31.697 8218 8355 W System.err: at android.os.Parcel.readException(Unknown Source:11)
01-27 14:16:31.697 8218 8355 W System.err: at android.os.Parcel.readException(Unknown Source:10)
01-27 14:16:31.697 8218 8355 W System.err: at android.hardware.ICameraService$Stub$Proxy.connectDevice(Unknown Source:64)
01-27 14:16:31.697 8218 8355 W System.err: at android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(Unknown Source:64)
Even though the logs says it's disabled by policy, the phone has no managed policies, it's a standalone device.
Anyone got ideas what to check next or how to fix it?
Fixed.
Root required, using Total Commander, I moved the directory and contents of /system/priv-app/MIUICamera/* to /data/media/0 (just to get it out of the system apps directory), rebooted the phone so it uninstalls the camera app, then moved the above directory back to the original location and rebooted so android reinstalls the camera app.
Hope it helps someone one day.

Categories

Resources