Related
Hi currently im building omnirom for GT-I9205,
Im having some issue with the bluetooth,
i can confirm the bluetooth will work in this device (work on CM11 base source).
here is my logcat, hoping someone will point me to correct direction
Code:
D/BluetoothManagerService( 914): BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
D/BluetoothManagerService( 914): Message: 40
D/BluetoothManagerService( 914): MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
---
D/BluetoothPanServiceJni( 1650): initializeNative(L110): pan
D/BluetoothTethering( 914): got CMD_CHANNEL_HALF_CONNECTED
E/BluetoothTethering( 914): Trying to set mAsyncChannel twice!
---
I/bluedroid( 1650): enable
I/bt_hci_bdroid( 1650): init
I/bt_vendor( 1650): bt-vendor : init
I/bt_hwcfg( 1650): Starting hciattach daemon
I/bt_hwcfg( 1650): try to set false
I/bt_hwcfg( 1650): Starting hciattach daemon
I/bt_hwcfg( 1650): try to set true
I/bt_hci_bdroid( 1650): bt_hc_worker_thread started
I/qcom-bluetooth( 3318): /system/etc/init.qcom.bt.sh: init.qcom.bt.sh config =
I/qcom-bluetooth( 3324): /system/etc/init.qcom.bt.sh: Transport : smd
I/qcom-bluetooth( 3325): /system/etc/init.qcom.bt.sh: ** Bluedroid stack **
I/qcom-bluetooth( 3332): /system/etc/init.qcom.bt.sh: Power Class: Ignored. Default(1) used (1-CLASS1/2-CLASS2/3-CUSTOM)
I/qcom-bluetooth( 3333): /system/etc/init.qcom.bt.sh: Power Class: To override, Before turning BT ON; setprop qcom.bt.dev_power_class <1 or 2 or 3>
I/qcom-bluetooth( 3334): /system/etc/init.qcom.bt.sh: LE Power Class: Ignored. Default(2) used (1-CLASS1/2-CLASS2/3-CUSTOM)
I/qcom-bluetooth( 3335): /system/etc/init.qcom.bt.sh: LE Power Class: To override, Before turning BT ON; setprop qcom.bt.le_dev_pwr_class <1 or 2 or 3>
I/qcom-bluetooth( 3340): /system/etc/init.qcom.bt.sh: Bluetooth QSoC firmware download succeeded,
I/qcom-bluetooth( 3341): /system/etc/init.qcom.bt.sh: ** Bluedroid stack **
I/bt_hwcfg( 1650): bluetooth satus is on
I/bt_userial_vendor( 1650): Done intiailizing UART
I/bt_userial_vendor( 1650): Done intiailizing UART
E/bt_userial( 1650): userial_open: wrong numbers of open fd in vendor lib [2]!
E/bt_userial( 1650): userial_open: HCI UART expects only one open fd
I/bt_vendor( 1650): Bluetooth Firmware and smd is initialized
I/GKI_LINUX( 1650): gki_task_entry: gki_task_entry task_id=0 [BTU] starting
I/bt-btu ( 1650): btu_task pending for preload complete event
I/bt-btu ( 1650): btu_task received preload complete event
I/ ( 1650): BTE_InitTraceLevels -- TRC_HCI
I/ ( 1650): BTE_InitTraceLevels -- TRC_L2CAP
I/ ( 1650): BTE_InitTraceLevels -- TRC_RFCOMM
I/ ( 1650): BTE_InitTraceLevels -- TRC_AVDT
I/ ( 1650): BTE_InitTraceLevels -- TRC_AVRC
I/ ( 1650): BTE_InitTraceLevels -- TRC_A2D
I/ ( 1650): BTE_InitTraceLevels -- TRC_BNEP
I/ ( 1650): BTE_InitTraceLevels -- TRC_BTM
I/ ( 1650): BTE_InitTraceLevels -- TRC_GAP
I/ ( 1650): BTE_InitTraceLevels -- TRC_PAN
I/ ( 1650): BTE_InitTraceLevels -- TRC_SDP
I/ ( 1650): BTE_InitTraceLevels -- TRC_GATT
I/ ( 1650): BTE_InitTraceLevels -- TRC_SMP
I/ ( 1650): BTE_InitTraceLevels -- TRC_BTAPP
I/ ( 1650): BTE_InitTraceLevels -- TRC_BTIF
W/qdhwcomposer( 215): Excessive delay reading vsync: took 3945 ms vsync_period 33 ms
D/BluetoothAdapterState( 1650): CURRENT_STATE=PENDING, MESSAGE = ENABLE_TIMEOUT, isTurningOn=true, isTurningOff=false
E/BluetoothAdapterState( 1650): Error enabling Bluetooth
i think the problem is most likely due to >> userial_open: wrong numbers of open fd in vendor lib [2]!
what exactly is "fd"?
Hi there,
I'm new here and this is my first post.
So, a couple of weeks ago, I rooted my phone (BOD3) with CF Auto Root. Everything went fine and I was happily using it until two days ago, when it would not boot up properly anymore. It goes just beyond the logo but keeps telling me "Unfortunately application <insert name> has stopped". I can use the power button to shut it down, but eventually it always restarts on itself.
I then flashed CWM revovery to dig into it, and dumpstate_app_native.txt.gz gave me lots and lots of these errors:
06-15 18:30:29.512 1303 1303 E Zygote : MountEmulatedStorage()
06-15 18:30:29.512 1303 1303 E Zygote : v2
06-15 18:30:29.512 1303 1303 E cutils : Failed to chmod(/mnt/shell/emulated/0, 0): Permission denied
06-15 18:30:29.512 1303 1303 I libpersona: KNOX_SDCARD checking this for 1000
06-15 18:30:29.512 1303 1303 I libpersona: KNOX_SDCARD not a persona
06-15 18:30:29.522 1303 1303 W Zygote : Failed to mount emulated storage: 13
06-15 18:30:29.522 1303 1303 E Zygote : Cannot continue without emulated storage
06-15 18:30:29.522 1303 1303 F art : art/runtime/jni_internal.cc:771] JNI FatalError called: RuntimeAbort
06-15 18:30:29.522 1300 1300 I dumpstate: begin
06-15 18:30:29.522 1303 1303 W libbacktrace: virtual bool BacktraceThread::Unwind(size_t, ucontext_t*): tgkill 325 failed: No such process
06-15 18:30:29.532 1032 1086 D ResourcesManager: creating new AssetManager and set to /system/priv-app/MtpApplication/MtpApplication.apk
06-15 18:30:29.532 1032 1086 I ActivityManager: Start proc com.android.settings for broadcast com.android.settings/.SettingsIntentReceiver: pid=1303 uid=1000 gids={41000, 9997, 3003, 1007, 1028, 1015, 1023, 2001, 1024, 3001, 3002, 1001} abi=armeabi-v7a
06-15 18:30:29.542 1303 1303 W libbacktrace: virtual bool BacktraceThread::Unwind(size_t, ucontext_t*): tgkill 325 failed: No such process
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] Runtime aborting...
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] Aborting thread:
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] "main" prio=5 tid=1 Native
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | group="" sCount=0 dsCount=0 obj=0x86517ef0 self=0xb4f07800
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | sysTid=325 nice=0 cgrp=default sched=0/0 handle=0xb6fddec8
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | stack=0xbe67e000-0xbe680000 stackSize=8MB
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | held mutexes= "abort lock" "mutator lock"(shared held)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] kernel: (couldn't read /proc/self/task/325/stack)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] native: (backtrace::Unwind failed for thread 325)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:96)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.ZygoteConnection.runOnce(ZygoteConnection.java:247)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.ZygoteInit.runSelectLoop(ZygoteInit.java:1284)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1190)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] Dumping all threads without appropriate locks held: thread list lock mutator lock
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] All threads:
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] DALVIK THREADS (1):
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] "main" prio=5 tid=1 Native
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | group="" sCount=0 dsCount=0 obj=0x86517ef0 self=0xb4f07800
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | sysTid=325 nice=0 cgrp=default sched=0/0 handle=0xb6fddec8
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | stack=0xbe67e000-0xbe680000 stackSize=8MB
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] | held mutexes= "abort lock"
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] kernel: (couldn't read /proc/self/task/325/stack)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] native: (backtrace::Unwind failed for thread 325)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:96)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.ZygoteConnection.runOnce(ZygoteConnection.java:247)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.ZygoteInit.runSelectLoop(ZygoteInit.java:1284)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1190)
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286]
06-15 18:30:29.542 1303 1303 F art : art/runtime/runtime.cc:286]
06-15 18:30:29.542 1303 1303 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 1303 (main)
(process 325 was zygote, btw)
What are my options here? Can I fix this permission problem from recovery? I can't adb while booting, because I can't unlock the phone.
Safe mode is not working either. I flushed cache and dalvik cache to no avail.
I did of course install Titanium, but it backed up to internal storage (/data/media/0/TitaniumBackup) So I'm worried factory-reset/wipe would eventually also delete it. Would it? (However, I did adb pull /system and /data, no nandroid yet, but then it probably wouldn't help anyways..). Also, the last titanium backup was done just hours before this problem appeared, so it could already be part of the backup.
So, what can I do at this point without loosing any of my data?
I assume you are using Philz CWM recovery and afaik there is a 'fix permissions' option somewhere, have you tried that?
Wait, your internal storage is located in /storage/emulated/legacy and that is where Titanium backup's default backup location is located at. I don't see how it could save in /data partition but you can specify the backup location from TI settings.
As far as I can tell, you don't need to wipe data, the first error (which probably is the cause of the other errors) appears as a permissions error and after you try fixing permissions from cwm the issues will probably disappear.
Sent from my SM-G900F using Tapatalk
Thanks for your reply!
Yes, its PhilZ, and I can't seem to find "Fix permission", but wasn't that used to fix permissions on apps, that were moved to sdcard before android supported it natively?
I think I didn't make clear, what I was referring to by /data. I was talking about userdata, which in recovery gets mounted to /data:
/dev/block/platform/msm_sdcc.1/by-name/userdata on /data type ext4
In this directory there is an other directory called data which contain all the app data. I thought /storage/emulated/legacy and /storage/emulated/0/ both were symbolic links to /data/media/0 (which is referred to as "internal sdcard", iirc) I have not looked at the mounts when it was running though, so I don't know where userdata would get mounted to.
Having a strong background in linux, this sure looks messy...
The permissions of the directories look sane to me:
drwxrwx--- 5 media_rw media_rw 4096 Jan 1 00:00 media
drwxrwx--- 52 media_rw media_rw 4096 Jan 1 23:24 0
Maybe it would help, if I just flash the stock rom and root again? That wouldn't wipe userdata, would it?
Rastaban said:
Thanks for your reply!
Yes, its PhilZ, and I can't seem to find "Fix permission", but wasn't that used to fix permissions on apps, that were moved to sdcard before android supported it natively?
I think I didn't make clear, what I was referring to by /data. I was talking about userdata, which in recovery gets mounted to /data:
/dev/block/platform/msm_sdcc.1/by-name/userdata on /data type ext4
In this directory there is an other directory called data which contain all the app data. I thought /storage/emulated/legacy and /storage/emulated/0/ both were symbolic links to /data/media/0 (which is referred to as "internal sdcard", iirc) I have not looked at the mounts when it was running though, so I don't know where userdata would get mounted to.
Having a strong background in linux, this sure looks messy...
The permissions of the directories look sane to me:
drwxrwx--- 5 media_rw media_rw 4096 Jan 1 00:00 media
drwxrwx--- 52 media_rw media_rw 4096 Jan 1 23:24 0
Maybe it would help, if I just flash the stock rom and root again? That wouldn't wipe userdata, would it?
Click to expand...
Click to collapse
Ah okay, now I understand.
Fix permissions when I used it worked for the whole system, so I don't think it's solely for the purpose of moved apps, however it probably also has the function you said.
Yeah that's what I would do in this situation, unless you can't think of another solution you should flash a stock rom again.
Sent from my SM-G900F using Tapatalk
Akalsemann said:
Ah okay, now I understand.
Yeah that's what I would do in this situation, unless you can't think of another solution you should flash a stock rom again.
Click to expand...
Click to collapse
Did that and it worked. Not funny, but once I enter recovery (no matter if stock or PhilZ) it messes up my phone again. I flashed several times to confirm this. Any idea, what I am missing here?
My phone is freezing while in call, neither I or my caller can hear each other while this happens.
From logcat it looks like some kid of audio problem but I don't know what is the real problem.
Could anyone better than me in logs reading tell me how the fix this or what's causing this?
Code:
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/FastMixerState(12846): sMaxFastTracks = 8
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/audioserver(12846): ServiceManager: 0xf5c18540
D/vndksupport(12846): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
D/vndksupport(12846): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
I/AudioFlinger(12846): Using default 3000 mSec as standby time.
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
W/APM::ConfigParsingUtils(12846): loadOutput() invalid supported devices
W/APM::ConfigParsingUtils(12846): loadInput() invalid supported devices
W/APM::ConfigParsingUtils(12846): loadInput() invalid supported devices
I/APM::ConfigParsingUtils(12846): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
W/audio_hw_primary(12846): mixer_init: Failed to open mixer paths from /vendor/etc/mixer_paths_0.xml, retrying with legacy location
E/audio_route(12846): Control 'HPL Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPL Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPR Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPR Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'EP Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'EP Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPL Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPR Mixer ADCR Switch' doesn't exist - skipping
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
E/audio_route(12846): Control 'EP EP On' already exists in path 'fm_radio-speaker-headset'
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
V/audio_hw_voice(12846): voice_session_init: Forcing voice config: wide
E/audio_hw_primary(12846): Amplifier initialization failed
W/DeviceHAL(12846): Device 0xf5c3c400 get_master_volume: Function not implemented
W/DeviceHAL(12846): Device 0xf5c3c400 get_master_mute: Function not implemented
W/DeviceHAL(12846): Device 0xf5c3c400 set_master_volume: Function not implemented
W/DeviceHAL(12846): Device 0xf5c3c400 set_master_mute: Function not implemented
I/AudioFlinger(12846): loadHwModule() Loaded primary audio interface, handle 10
I/AudioFlinger(12846): openOutput() this 0xf5c3d000, module 10 Device 2, SamplingRate 48000, Format 0x000001, Channels 3, flags 2
I/AudioFlinger(12846): HAL output buffer size 256 frames, normal sink buffer size 768 frames
D/vndksupport(12846): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/ViPER4Android_v2(12846): Enter EffectGetDescriptor()
I/ViPER4Android_v2(12846): EffectGetDescriptor(), uuid = 41d3c987-e6cf-11e3-a88a-11aba5d5c51b
I/BufferProvider(12846): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger(12846): Using module 10 as the primary audio interface
W/AudioFlinger(12846): moveEffects() bad srcOutput 0
I/AudioFlinger(12846): AudioFlinger's thread 0xf4c83a00 tid=12862 ready to run
W/AudioFlinger(12846): no wake lock to update, system not ready yet
W/AudioFlinger(12846): no wake lock to update, system not ready yet
I/AudioFlinger(12846): openOutput() this 0xf5c3d000, module 10 Device 2, SamplingRate 48000, Format 0x000001, Channels 3, flags 8
I/AudioFlinger(12846): HAL output buffer size 480 frames, normal sink buffer size 960 frames
I/AudioFlinger(12846): AudioFlinger's thread 0xf4603980 tid=12865 ready to run
W/AudioFlinger(12846): no wake lock to update, system not ready yet
W/AudioFlinger(12846): no wake lock to update, system not ready yet
I/AudioFlinger(12846): AudioFlinger's thread 0xf42032c0 tid=12867 ready to run
I/bt_a2dp_hw(12846): adev_open: adev_open in A2dp_hw module
I/AudioFlinger(12846): loadHwModule() Loaded a2dp audio interface, handle 18
D/vndksupport(12846): Loading /vendor/lib/hw/audio.usb.default.so from current namespace instead of sphal namespace.
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/AudioFlinger(12846): loadHwModule() Loaded usb audio interface, handle 26
D/vndksupport(12846): Loading /vendor/lib/hw/audio.r_submix.default.so from current namespace instead of sphal namespace.
I/r_submix(12846): adev_open(name=audio_hw_if)
I/r_submix(12846): adev_init_check()
W/DeviceHAL(12846): Device 0xf4666640 set_master_mute: Function not implemented
I/AudioFlinger(12846): loadHwModule() Loaded r_submix audio interface, handle 34
D/r_submix(12846): adev_open_input_stream(addr=0)
D/r_submix(12846): submix_audio_device_create_pipe_l(addr=0, idx=9)
D/r_submix(12846): now using address 0 for route 9
I/AudioFlinger(12846): AudioFlinger's thread 0xf4203d80 tid=12871 ready to run
D/r_submix(12846): adev_close_input_stream()
D/r_submix(12846): submix_audio_device_release_pipe_l(idx=9) addr=0
D/r_submix(12846): submix_audio_device_destroy_pipe_l(): pipe destroyed
E/SoundTriggerHwService(12846): could not read implementation properties
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/Telecom ( 2955): InCallController: Sending updateCall [[email protected], DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, tel:*********, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: [email protected]
I/Telecom ( 2955): InCallController: Components updated: [ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}]: [email protected]
I/Dialer ( 6324): CallList.onUpdateCall - [DialerCall_1, DIALING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:], children:[], parent:null, conferenceable:[], videoState:Audio Only, mSessionModificationState:0, CameraDir:-1]
I/Dialer ( 6324): InCallPresenter.onCallListChange - Phone switching state: OUTGOING -> OUTGOING
I/Dialer ( 6324): VideoPauseController.onStateChange - hasPrimaryCallChanged: false, videoCanPause: false, isInBackground: false
I/Dialer ( 6324): InCallFragment.setSecondary - SecondaryInfo, show: false, name: null, label: null, providerLabel: null
W/ResourceType( 6324): Failure getting entry for 0x7f100292 (t=15 e=658) (error -75)
I/Dialer ( 6324): InCallFragment.setCallState - PrimaryCallState, state: 6, connectionLabel:
I/Dialer ( 6324): InCallActivity.onPrimaryCallStateChanged
I/Dialer ( 6324): InCallActivity.showMainInCallFragment - shouldShowAnswerUi: false, shouldShowVideoUi: false, didShowAnswerScreen: false, didShowInCallScreen: true, didShowVideoCallScreen: false
W/ResourceType( 6324): Failure getting entry for 0x7f100292 (t=15 e=658) (error -75)
I/Dialer ( 6324): InCallFragment.setCallState - PrimaryCallState, state: 6, connectionLabel:
I/Dialer ( 6324): InCallActivity.onPrimaryCallStateChanged
I/Dialer ( 6324): InCallActivity.showMainInCallFragment - shouldShowAnswerUi: false, shouldShowVideoUi: false, didShowAnswerScreen: false, didShowInCallScreen: true, didShowVideoCallScreen: false
I/AudioFlinger(12846): systemReady
D/PermissionCache(12846): checking android.permission.MODIFY_AUDIO_SETTINGS for uid=1000 => granted (1574 us)
E/AudioService( 2955): Audioserver started.
D/PermissionCache(12846): checking android.permission.CAPTURE_AUDIO_HOTWORD for uid=10181 => granted (340 us)
I/AudioFlinger(12846): AudioFlinger's thread 0xf3803c40 tid=12881 ready to run
I/audio_hw_primary(12846): adev_set_mode mode = 2
D/com.gsamlabs.bbm.lib.NotifyingService( 8880): ===:91:4309:41.4:1
V/audio_hw_voice(12846): prepare_voice_session: active_out_devices: 0x1
V/audio_hw_voice(12846): set_voice_session_audio_path: ril_set_call_audio_path(0)
I/rild ( 2512): type=1400 audit(0.0:1793): avc: denied { search } for name="12846" dev="proc" ino=87474 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=dir permissive=1
I/rild ( 2512): type=1400 audit(0.0:1794): avc: denied { read } for name="cmdline" dev="proc" ino=87476 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=file permissive=1
I/rild ( 2512): type=1400 audit(0.0:1795): avc: denied { open } for path="/proc/12846/cmdline" dev="proc" ino=87476 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=file permissive=1
I/rild ( 2512): type=1400 audit(0.0:1796): avc: denied { getattr } for path="/proc/12846/cmdline" dev="proc" ino=87476 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=file permissive=1
D/audio_route(12846): Apply path: voice-earpiece-wb
D/audio_route(12846): Apply path: voice-earpiece-mic-wb
V/audio_hw_voice(12846): start_voice_session: Opening voice PCMs
V/audio_hw_voice(12846): start_voice_session: pcm_config wideband
I/ActivityManager( 2955): Killing 10371:com.google.process.gapps/u0a113 (adj 906): empty #17
W/zygote ( 2955): kill(-10371, 9) failed: No such process
I/chatty ( 2955): uid=1000(system) ActivityManager identical 2 lines
W/zygote ( 2955): kill(-10371, 9) failed: No such process
I/zygote ( 2955): Successfully killed process cgroup uid 10113 pid 10371 in 135ms
E/BufferQueueProducer( 2475): [com.socialnmobile.dictapps.notepad.color.note/com.socialnmobile.colornote.activity.NoteEditor#0] disconnect: not connected (req=1)
W/libEGL (12010): EGLNativeWindowType 0xd3c7e008 disconnect failed
V/audio_hw_voice(12846): start_voice_session: enabling two mic control
F/libc (12846): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x98 in tid 12889 (reader), pid 12846 (audioserver)
I/crash_dump32(12891): type=1400 audit(0.0:1797): avc: denied { noatsecure } for scontext=u:r:audioserver:s0 tcontext=u:r:crash_dump:s0 tclass=process permissive=1
I/crash_dump32(12893): obtaining output fd from tombstoned, type: kDebuggerdTombstone
I//system/bin/tombstoned( 2515): received crash request for pid 12846
I/crash_dump32(12893): performing dump of process 12846 (target tid = 12889)
F/DEBUG (12893): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG (12893): AospExtended Version: 'v5.8'
F/DEBUG (12893): Build fingerprint: 'samsung/s5neoltexx/s5neolte:6.0.1/MMB29K/G903FXXU1BQC1:user/release-keys'
F/DEBUG (12893): Revision: '0'
F/DEBUG (12893): ABI: 'arm'
F/DEBUG (12893): pid: 12846, tid: 12889, name: reader >>> /system/bin/audioserver <<<
F/DEBUG (12893): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x98
F/DEBUG (12893): Cause: null pointer dereference
F/DEBUG (12893): r0 00000000 r1 00000160 r2 00000001 r3 f32dc2fc
F/DEBUG (12893): r4 00000160 r5 f5c3ca88 r6 f5c3ca58 r7 f5c3c400
F/DEBUG (12893): r8 f52993f0 r9 00000002 sl 000002c0 fp f5c3ca00
F/DEBUG (12893): ip f511fefc sp f3182880 lr f51189dc pc f50f40c4 cpsr 80070030
F/DEBUG (12893):
F/DEBUG (12893): backtrace:
F/DEBUG (12893): #00 pc 000020c4 /system/lib/libtinyalsa.so (pcm_bytes_to_frames+39)
F/DEBUG (12893): #01 pc 000079d8 /system/lib/hw/audio.primary.universal7580.so (in_read+792)
F/DEBUG (12893): #02 pc 0001f45d /system/vendor/lib/hw/[email protected] (android::hardware::audio::V2_0::implementation::(anonymous namespace)::ReadThread::threadLoop()+216)
F/DEBUG (12893): #03 pc 0000d1b9 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+144)
F/DEBUG (12893): #04 pc 00047ecf /system/lib/libc.so (__pthread_start(void*)+22)
F/DEBUG (12893): #05 pc 0001af59 /system/lib/libc.so (__start_thread+32)
W/NativeCrashListener( 2955): Couldn't find ProcessRecord for pid 12846
E//system/bin/tombstoned( 2515): Tombstone written to: /data/tombstones/tombstone_21
I/BootReceiver( 2955): Copying /data/tombstones/tombstone_21 to DropBox (SYSTEM_TOMBSTONE)
W/AudioSystem( 3132): AudioPolicyService server died!
W/AudioSystem( 2955): AudioPolicyService server died!
W/AudioSystem( 2955): AudioFlinger server died!
W/AudioSystem( 3737): AudioPolicyService server died!
W/AudioSystem( 3737): AudioFlinger server died!
W/AudioRecord( 3737): dead IAudioRecord, creating a new one from obtainBuffer()
I/ServiceManager( 2341): service 'media.audio_flinger' died
I/ServiceManager( 2341): service 'media.audio_policy' died
I/ServiceManager( 2341): service 'media.sound_trigger_hw' died
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
W/BroadcastQueue( 2955): Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
W/BroadcastQueue( 2955): Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
I/Xposed ( 3132): fsbi >> nc >> onDataChanged >> 0 > true > 75 > H+
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
I/Xposed ( 3132): fsbi >> nc >> onDataChanged >> 0 > true > 50 > H+
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
I/Telecom ( 2955): InCallController: Sending updateCall [[email protected], DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, tel:*********, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: [email protected]
I/Telecom ( 2955): InCallController: Components updated: [ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}]: [email protected]
I/Telecom ( 2955): CallsManager: setCallState DIALING -> ACTIVE, call: [[email protected], DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, tel:*********, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: [email protected]
Hello,
I just bought OnePlus 6T and on the third day realised that the front facing camera is not working at all.
After some online research I've done the following:
* Restarted the phone and tested the stock Camera app
* Cleared stock's camera app data, restarted the phone and checked again
* Installed Open Camera form Play Store and verified
* Went to factory mode with *#808# code and done front camera preview test
* Did a factory reset of the device
None of the above helped. I'm getting black screen and crash after about 40 seconds for any front facing camera access. Below is the log for factory mode test but it is consistent for other camera apps:
Code:
2019-02-03 18:44:26.522 16780-16795/? E/CamX: [ERROR][CORE ] camxnode.cpp:2128 GetDataListFromPipeline() Requesting data from a request marked as an error.Shifting from requestId: 1 to 0
2019-02-03 18:44:26.522 16780-16795/? E/CamX: [ERROR][STATS_AWB] camxcstatparserv1.cpp:109: GetStat CStatParserV1::GetStat Failed to get channel data
2019-02-03 18:44:26.523 16780-16797/? E/CamX: [ERROR][CSL ] camxcslhw.cpp:1457 CSLSubmitHW() SUBMIT failed as Flush is in Progress
2019-02-03 18:44:26.523 16780-16797/? E/CamX: [ERROR][SENSOR ] camxsensornode.cpp:3453 ApplySensorUpdate() Sensor per frame exposure update failed: -388637527
2019-02-03 18:44:26.523 16780-16797/? E/CamX: [ERROR][SENSOR ] camxsensornode.cpp:1547 ExecuteProcessRequest() ProcessRequest on Sensor failed: CamxResultEBusy
2019-02-03 18:44:26.523 16780-16797/? E/CamX: [ERROR][CORE ] camxdeferredrequestqueue.cpp:385 DeferredWorkerWrapper() DeferredWorker failed with result CamxResultEBusy
--------- beginning of crash
2019-02-03 18:44:26.523 16780-16795/? A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c in tid 16795 ([email protected]), pid 16780 ([email protected])
2019-02-03 18:44:26.548 16780-16867/? E/CamX: [ERROR][HAL ] camxhal3module.cpp:74 SetDropCallbacks() We are dropping the callbacks due to error conditions!
2019-02-03 18:44:26.548 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.548 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.548 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.548 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.548 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.550 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.550 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.550 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.556 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.556 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.556 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.556 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.557 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.557 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.557 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.558 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.558 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.558 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.559 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.559 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.560 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.565 16780-16867/? E/OnePlus_Interface: op_intf_deinit: not deinit module
2019-02-03 18:44:26.580 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.580 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.580 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.649 16780-16867/? E/CamX: [ERROR][HAL ] camxhal3module.cpp:74 SetDropCallbacks() We are dropping the callbacks due to error conditions!
2019-02-03 18:44:26.649 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.649 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.649 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.649 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.649 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.650 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.650 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.650 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.650 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:206 FlushJob() WaitOutFlush done
2019-02-03 18:44:26.660 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:200 FlushJob() Noflush status, Done Trigger
2019-02-03 18:44:26.660 16780-16867/? E/CamX: [ERROR][UTILS ] camxthreadcore.cpp:204 FlushJob() WaitOutFlush
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: Build fingerprint: 'OnePlus/OnePlus6T/OnePlus6T:9/PKQ1.180716.001/1812260627:user/release-keys'
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: Revision: '0'
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: ABI: 'arm'
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: pid: 16780, tid: 16795, name: [email protected] >>> /vendor/bin/hw/[email protected] <<<
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: Cause: null pointer dereference
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: r0 00000000 r1 00000018 r2 00000001 r3 fffffff8
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: r4 d92f2b00 r5 dfdcc570 r6 d7a00000 r7 00000000
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: r8 00000005 r9 00000001 r10 00000000 r11 df97b480
2019-02-03 18:44:26.665 17099-17099/? A/DEBUG: ip 00000000 sp e05fcbc8 lr e2b98505 pc e2b9874c
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: backtrace:
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #00 pc 0001674c /vendor/lib/camera/components/com.qti.stats.awb.so (CamX::CStatParserV1::GetStat(CamX::CAWBStat*, int)+56)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #01 pc 00016501 /vendor/lib/camera/components/com.qti.stats.awb.so (CamX::CSFSubSmpV1::HandleNewStat(CamX::CAWBStat&)+304)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #02 pc 0001d165 /vendor/lib/camera/components/com.qti.stats.awb.so (CamX::CAWBMain::RunAWB()+956)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #03 pc 0001a8b5 /vendor/lib/camera/components/com.qti.stats.awb.so (CamX::CAWBMain::RunWBAuto()+604)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #04 pc 0001aba9 /vendor/lib/camera/components/com.qti.stats.awb.so (CamX::CAWBMain::Process(AWBAlgoInputList const*, AWBAlgoOutputList*)+280)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #05 pc 0016febb /vendor/lib/hw/camera.qcom.so (CamX::CAWBStatsProcessor::ExecuteProcessRequest(CamX::StatsProcessRequestData const*)+338)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #06 pc 00174f7f /vendor/lib/hw/camera.qcom.so (CamX::StatsProcessorManager::StatsProcessorManagerJobHandler(CamX::StatsProcessRequestData*)+194)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #07 pc 00174ea1 /vendor/lib/hw/camera.qcom.so (CamX::StatsProcessorManager::eek:nProcessRequest(CamX::StatsProcessRequestData const*)+32)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #08 pc 00174773 /vendor/lib/hw/camera.qcom.so (CamX::StatsProcessingNode::ExecuteProcessRequest(CamX::ExecuteProcessRequestData*)+1010)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #09 pc 001e59b1 /vendor/lib/hw/camera.qcom.so (CamX::Node::ProcessRequest(CamX::NodeProcessRequestData*, unsigned long long)+3544)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #10 pc 002047ff /vendor/lib/hw/camera.qcom.so (CamX::DeferredRequestQueue::DeferredWorkerCore(CamX::ThreadDataUnit*)+230)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #11 pc 00204623 /vendor/lib/hw/camera.qcom.so (CamX::DeferredRequestQueue::DeferredWorkerWrapper(void*)+10)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #12 pc 001873e1 /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::ProcessJobQueue()+116)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #13 pc 00186bdd /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::DoWork()+156)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #14 pc 00186b39 /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::WorkerThreadBody(void*)+4)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #15 pc 00063605 /system/lib/libc.so (__pthread_start(void*)+22)
2019-02-03 18:44:26.693 17099-17099/? A/DEBUG: #16 pc 0001dff9 /system/lib/libc.so (__start_thread+24)
2019-02-03 18:44:26.881 16784-17078/? E/Camera3-Device: processBatchCaptureRequests: Transaction error: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: '
2019-02-03 18:44:26.881 16784-17078/? E/Camera3-Device: Camera 1: sendRequestsBatch: RequestThread: Unable to submit capture request 5 to HAL device: Broken pipe (-32)
2019-02-03 18:44:26.883 16784-16789/? A/libc: Fatal signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xea0090ba in tid 16789 (HwBinder:16784_), pid 16784 (cameraserver)
2019-02-03 18:44:26.885 10382-10382/? E/CameraCaptureSession: Session 0: Exception while stopping repeating:
android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error
at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2448)
at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1116)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:540)
at com.oneplus.camera.CameraImpl.stopDriverCaptureSession(CameraImpl.java:4529)
at com.oneplus.camera.CameraImpl.stopCaptureSession(CameraImpl.java:4497)
at com.oneplus.camera.CameraImpl.close(CameraImpl.java:1356)
at com.oneplus.camera.CameraImpl.onDeviceError(CameraImpl.java:2202)
at com.oneplus.camera.CameraImpl.access$400(CameraImpl.java:60)
at com.oneplus.camera.CameraImpl$2.onError(CameraImpl.java:143)
at android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.notifyError(CameraDeviceImpl.java:1942)
at android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.lambda$Sm85frAzwGZVMAK-NE_gwckYXVQ(Unknown Source:0)
at android.hardware.camera2.impl.-$$Lambda$CameraDeviceImpl$CameraDeviceCallbacks$Sm85frAzwGZVMAK-NE_gwckYXVQ.accept(Unknown Source:8)
at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:258)
at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:182)
at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:77)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6863)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: Build fingerprint: 'OnePlus/OnePlus6T/OnePlus6T:9/PKQ1.180716.001/1812260627:user/release-keys'
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: Revision: '0'
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: ABI: 'arm'
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: pid: 16784, tid: 16789, name: HwBinder:16784_ >>> /system/bin/cameraserver <<<
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xea0090ba
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: r0 00000057 r1 00000000 r2 e14c85a3 r3 00000003
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: r4 e859d3e8 r5 e859d3e8 r6 e8ae7ca9 r7 00000000
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: r8 e780309c r9 00004190 r10 e9f61cbd r11 000fe000
2019-02-03 18:44:26.923 17105-17105/? A/DEBUG: ip e79c6230 sp e79c6710 lr ea0090bb pc ea0090ba
2019-02-03 18:44:26.941 17105-17105/? A/DEBUG: backtrace:
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #00 pc 0008f0ba /system/lib/libcameraservice.so (android::CameraProviderManager::ProviderInfo::serviceDied(unsigned long long, android::wp<android::hidl::base::V1_0::IBase> const&)+34)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #01 pc 0008f0d1 /system/lib/libcameraservice.so (_ZTv0_n16_N7android21CameraProviderManager12ProviderInfo11serviceDiedEyRKNS_2wpINS_4hidl4base4V1_05IBaseEEE+12)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #02 pc 0001bced /system/lib/libhidltransport.so (android::hardware::hidl_binder_death_recipient::binderDied(android::wp<android::hardware::IBinder> const&)+68)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #03 pc 0000da51 /system/lib/libhwbinder.so (android::hardware::BpHwBinder::reportOneDeath(android::hardware::BpHwBinder::eek:bituary const&)+80)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #04 pc 0000d9e7 /system/lib/libhwbinder.so (android::hardware::BpHwBinder::sendObituary()+178)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #05 pc 000163ab /system/lib/libhwbinder.so (android::hardware::IPCThreadState::executeCommand(int)+1506)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #06 pc 0000f0c9 /system/lib/libhwbinder.so (android::hardware::IPCThreadState::getAndExecuteCommand()+128)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #07 pc 0000f2df /system/lib/libhwbinder.so (android::hardware::IPCThreadState::joinThreadPool(bool)+186)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #08 pc 000153c9 /system/lib/libhwbinder.so (android::hardware::PoolThread::threadLoop()+12)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #09 pc 0000c08b /system/lib/libutils.so (android::Thread::_threadLoop(void*)+166)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #10 pc 00063605 /system/lib/libc.so (__pthread_start(void*)+22)
2019-02-03 18:44:26.942 17105-17105/? A/DEBUG: #11 pc 0001dff9 /system/lib/libc.so (__start_thread+24)
2019-02-03 18:44:26.966 1050-1050/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_03
2019-02-03 18:44:27.082 17103-17103/? E/CamX: [ERROR][CSL ] camxcslhwinternal.cpp:2723 CSLHwInternalFDIoctl() Ioctl failed for FD:8 with error reason Invalid argument
2019-02-03 18:44:27.882 17103-17103/? E/CamX: [ERROR][CSL ] camxcslhwinternal.cpp:2753 CSLHwInternalDefaultIoctl() Ioctl failed for device /dev/v4l-subdev9 (Type:CSLHwImageSensor, FD:20, Index:0) with error reason No such device
2019-02-03 18:44:27.883 17103-17103/? E/CamX: [ERROR][CSL ] camxcslhwinternalsensor.cpp:211 CSLHwInternalProbeSensorHW() ioctl failed for fd=20
2019-02-03 18:44:27.938 17103-17103/? E/CamX: [ERROR][CSL ] camxcslhwinternalsensor.cpp:40 OPSaveFuseId() read fuse_id: 86b0519937131069
2019-02-03 18:44:27.938 17103-17103/? E/CamX: [ERROR][CSL ] camxcslhwinternalsensor.cpp:56 OPSaveFuseId() no nedd to creat new file 0, 1
2019-02-03 18:44:27.973 2914-9809/? E/CameraManagerGlobal: Camera service is unavailable
2019-02-03 18:44:27.974 1652-9810/? E/CameraManagerGlobal: Camera service is unavailable
2019-02-03 18:44:27.974 881-1372/? E/CameraManagerGlobal: Camera service is unavailable
2019-02-03 18:44:28.975 881-1372/? E/CameraManagerGlobal: Camera service is unavailable
2019-02-03 18:44:28.975 1652-9810/? E/CameraManagerGlobal: Camera service is unavailable
2019-02-03 18:44:28.975 2914-9809/? E/CameraManagerGlobal: Camera service is unavailable
2019-02-03 18:44:29.031 17103-17103/? E/CamX: [ERROR][SENSOR ] camxeepromdata.cpp:1112 FormatAFData() Eeprom name imx519_cat24c64 ID 0x61 DAC region [0x4c 0xf8a] LIN region [0x10f 0xf15]
2019-02-03 18:44:29.034 17103-17103/? E/CamX: [ERROR][SENSOR ] camximagesensormoduledata.cpp:792 CreateSensorSubModules() Flash driver data not found, sensor 2 have no flash support
2019-02-03 18:44:29.953 17103-17103/? E/CamX: [ERROR][SENSOR ] camxeepromdata.cpp:1112 FormatAFData() Eeprom name imx376k_gt24c64 ID 0x61 DAC region [0x47 0xfa8] LIN region [0x10b 0xf32]
2019-02-03 18:44:29.965 17103-17103/? E/CamX: [ERROR][HAL ] camxhwenvironment.cpp:777 InitializeScalerStaticCaps() front camera doesn't support 4k
2019-02-03 18:44:29.965 17103-17103/? E/CamX: [ERROR][HAL ] camxhwenvironment.cpp:777 InitializeScalerStaticCaps() front camera doesn't support 4k
2019-02-03 18:44:29.977 1652-9810/? E/CameraManagerGlobal: Camera service is unavailable
2019-02-03 18:44:29.978 2914-9809/? E/CameraManagerGlobal: Camera service is unavailable
2019-02-03 18:44:29.978 881-1372/? E/CameraManagerGlobal: Camera service is unavailable
2019-02-03 18:44:30.134 17103-17103/? E/CamX: [ERROR][NCS ] camxncsintfqsee.cpp:515 RequestSensorCaps() Fill attribute timed wait failed with result 9 for sensor 0
2019-02-03 18:44:30.135 17103-17103/? E/CamX: [ERROR][NCS ] camxncsintfqsee.cpp:171 QueryCapabilites() Failed getting capabilities of sensor 0
2019-02-03 18:44:30.240 17103-17103/? E/CamX: [ERROR][NCS ] camxncsintfqsee.cpp:515 RequestSensorCaps() Fill attribute timed wait failed with result 9 for sensor 1
2019-02-03 18:44:30.241 17103-17103/? E/CamX: [ERROR][NCS ] camxncsintfqsee.cpp:171 QueryCapabilites() Failed getting capabilities of sensor 1
2019-02-03 18:44:30.347 17103-17103/? E/CamX: [ERROR][NCS ] camxncsintfqsee.cpp:515 RequestSensorCaps() Fill attribute timed wait failed with result 9 for sensor 3
2019-02-03 18:44:30.347 17103-17103/? E/CamX: [ERROR][NCS ] camxncsintfqsee.cpp:171 QueryCapabilites() Failed getting capabilities of sensor 3
2019-02-03 18:44:30.377 17103-17103/? E/CHIUSECASE: [EnumerateCameras][1017] "OIS module 024"
2019-02-03 18:44:30.380 17103-17145/? E/OPFDManager: No argument
2019-02-03 18:44:30.450 17109-17109/? E/CameraService: onDeviceStatusChanged: State transition to the same status 0x1 not allowed
Full log: pastebin.com/bQ65GtFB
Do you know if this is a hardware of a software problem? No physical damage occurred to the device and it is in a perfect condition right out of the box. During the initial setup of the device I installed the latest system update - OxygenOS 9.0.11 / A6013_41_181226. Device's manufacture date from the box: 2018.11.16.
Is there anything I can do more to fix this or repair service is required?
Thank you in advance for any help!
Almost certainly a hardware problem. Exchange the phone for a replacement.
Sent from my ONEPLUS A6013 using Tapatalk
I am trying to compile the 8.2.0 Kernel for my Shield TV 2017. I am hoping to adding the Wireguard kernel module.
I downloaded the source linked from https://developer.nvidia.com/shield-open-source following the instructions links here https://nv-tegra.nvidia.com/gitweb/...7;hb=1a508fa42d6ae55ee0fe62a3e07559a484794108
The source code checks out fine. I set up my cross compiler by setting these environment variables
Code:
ARCH=arm64
SUBARCH=arm64
CROSS_COMPILE=/absolute/path/shield-open-source/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
I removed the CONFIG_SYSTEM_TRUSTED_KEYS="signing_key.x509" from the tegra_android_defconfig file
I then went to ~/shield-open-source/kernel/kernel-4.9 and ran
Code:
make mrproper
make tegra_android_defconfig
make -j4
There were a few warnings that got flagged as errors and caused the build to failed. I modified the make files so the warnings wouldn't be flagged as errors (ex: ccflags-y += -Wno-error=maybe-uninitialized)
There is one more error with ~/shield-open-source/hardware/nvidia/platform/t210b01/ers/kernel-dts/ers-platforms/tegra210b01-ers-common.dtsi in that it can't find <tegra210b01-cpufreq.dtsi>. I changed this to include "darcy-platforms/tegra210b01-darcy-cpufreq.dtsi"
I also added Wireguard by following the kernel instructions from https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635
At this point I am able build the Image.gz file. I took the boot.img from the recovery images that NVidia provides and used AndroidImageKitchen (https://forum.xda-developers.com/showthread.php?t=2073775) to unpack the boot.img, swap out boot.img-Image.gz with the one Image.gz that I compiled and re-packed the boot.img I flashed this boot.img to my device using fastboot, and the device never boots.
I have some logs from the bootloop - here is the snipit that seems most relevant but I don't really know what I am looking for or how to determine what needs to change
Code:
09-12 22:00:42.120 3384 3384 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 1
09-12 22:00:42.120 3384 3384 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 1
09-12 22:00:42.120 3383 3383 E Netd : cannot find interface dummy0
09-12 22:00:42.120 3383 3383 I Netd : Initializing RouteController: 1.3ms
09-12 22:00:42.120 3384 3384 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 3384 (surfaceflinger), pid 3384 (surfaceflinger)
09-12 22:00:42.120 3383 3383 D XfrmController: Sending Netlink XFRM Message: XFRM_MSG_FLUSHSA
09-12 22:00:42.120 3383 3383 D XfrmController: Sending Netlink XFRM Message: XFRM_MSG_FLUSHPOLICY
09-12 22:00:42.120 3383 3383 I Netd : Initializing XfrmController: 0.2ms
09-12 22:00:42.121 3383 3383 I Netd : Registering NetdNativeService: 0.5ms
09-12 22:00:42.122 3383 3383 I Netd : Starting CommandListener: 0.1ms
09-12 22:00:42.123 3383 3383 I Netd : Registering NetdHwService: 1.0ms
09-12 22:00:42.123 3383 3383 I Netd : Netd started in 219ms
09-12 22:00:42.132 3378 3378 D Zygote : begin preload
09-12 22:00:42.132 3378 3378 I Zygote : Installing ICU cache reference pinning...
09-12 22:00:42.132 3378 3378 I Zygote : Preloading ICU data...
09-12 22:00:42.135 3379 3379 I Zygote : Accepting command socket connections
09-12 22:00:42.138 3378 3378 I Zygote : Preloading classes...
09-12 22:00:42.140 3436 3436 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
09-12 22:00:42.140 3184 3184 I /system/bin/tombstoned: received crash request for pid 3384
09-12 22:00:42.141 3436 3436 I crash_dump64: performing dump of process 3384 (target tid = 3384)
09-12 22:00:42.143 3436 3436 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-12 22:00:42.143 3436 3436 F DEBUG : Build fingerprint: 'NVIDIA/darcy/darcy:9/PPR1.180610.011/4079208_2235.1395:user/release-keys'
09-12 22:00:42.143 3436 3436 F DEBUG : Revision: '0'
09-12 22:00:42.143 3436 3436 F DEBUG : ABI: 'arm64'
09-12 22:00:42.143 3436 3436 F DEBUG : pid: 3384, tid: 3384, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
09-12 22:00:42.143 3436 3436 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
09-12 22:00:42.143 3436 3436 F DEBUG : Cause: null pointer dereference
09-12 22:00:42.143 3436 3436 F DEBUG : x0 0000000000000000 x1 0000000000000000 x2 0000000000000000 x3 00000025b1c537d0
09-12 22:00:42.143 3436 3436 F DEBUG : x4 0000000000000000 x5 0000007fe38db898 x6 0000000000000000 x7 0000000000000030
09-12 22:00:42.143 3436 3436 F DEBUG : x8 0101010101010101 x9 b72fc0062f2280b8 x10 000000005f647079 x11 0000000000000000
09-12 22:00:42.143 3436 3436 F DEBUG : x12 0000000000000001 x13 0000000000000000 x14 0000000000000001 x15 00000025b1c81a88
09-12 22:00:42.143 3436 3436 F DEBUG : x16 000000252f3b9e58 x17 00000025307de610 x18 0000000000000001 x19 00000025b1c537d0
09-12 22:00:42.143 3436 3436 F DEBUG : x20 0000000000000000 x21 0000000000000000 x22 000000252ed0c5e0 x23 0000000000000000
09-12 22:00:42.143 3436 3436 F DEBUG : x24 0000000000000001 x25 0000007fe38dbb00 x26 00000000000f4240 x27 0000007fe38dbb00
09-12 22:00:42.143 3436 3436 F DEBUG : x28 0000007fe38dba90 x29 0000007fe38db900
09-12 22:00:42.143 3436 3436 F DEBUG : sp 0000007fe38db8e0 lr 000000252f396f78 pc 00000025307de620
09-12 22:00:42.146 3378 3378 I PackageBackwardCompatibility: Loaded android.content.pm.OrgApacheHttpLegacyUpdater
Any pointers to what I am doing wrong, or how to further debug would be appreciated.
Also if there is already a kernel built with Wireguard support, a reference to that would be :good:
Hi, I've compiled kernel for Shield 2017 following your steps and I'm probably facing same issue. My boot hangs on Nvidia logo. I have a question - how you've obtained boot logs? ADB don't work from fastboot menu for me.
Hi, did you finally succeed in compiling a kernel for shield 2017 ?