Related
EDIT: this also happens on "Unofficial CM13" build, can't edit the title to reflect this.
Hi, sorry, I can't post in the Resurrection ROM's thread because I don't have enough posts.
Tried on latest stable and unstable Resurrection ROMs (0714), and skype mic does not work when in speakerphone mode. Here are the logs during the switch:
I'm not sure if this is the real reason, but according to the logs, it looks like skype is trying to access "speaker-mic" input, which in turn tries to access ACDB device id 11, which does not exist in audio_platform_info.xml file.
Code:
07-15 18:00:27.433 653 1533 D audio_hw_primary: out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2
07-15 18:00:27.442 653 1532 D audio_hw_primary: out_set_parameters: enter: usecase(12: audio-ull-playback) kvpairs: routing=2
07-15 18:00:27.563 653 1530 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
07-15 18:00:27.564 653 1530 D audio_hw_primary: select_devices: out_snd_device(0: ) in_snd_device(52: speaker-mic)
07-15 18:00:27.564 653 1530 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-record
07-15 18:00:27.585 653 1530 D hardware_info: hw_info_append_hw_type : device_name = handset-mic
07-15 18:00:27.585 653 1530 D audio_hw_primary: disable_snd_device: snd_device(43: handset-mic)
07-15 18:00:27.591 653 1530 D hardware_info: hw_info_append_hw_type : device_name = speaker-mic
07-15 18:00:27.591 653 1530 D audio_hw_primary: enable_snd_device: snd_device(52: speaker-mic)
07-15 18:00:27.597 653 1530 I audio_hw_utils: audio_extn_utils_send_app_type_cfg CAPTURE app_type 69938, acdb_dev_id 11, sample_rate 48000
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 11, path = 1, app id = 0x11132, sample rate = 48000
07-15 18:00:27.598 653 1530 D : Failed to fetch the lookup information of the device 0000000B
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 11, Topology Id 112fb
07-15 18:00:27.598 653 1530 D : Failed to fetch the lookup information of the device 0000000B
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 11 path = 1
07-15 18:00:27.598 653 1530 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-record
07-15 18:00:27.611 653 1530 D audio_hw_primary: select_devices: done
07-15 18:00:27.611 653 1530 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
07-15 18:00:27.612 653 1530 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
07-15 18:00:27.649 653 1530 D hardware_info: hw_info_append_hw_type : device_name = handset
07-15 18:00:27.649 653 1530 D audio_hw_primary: disable_snd_device: snd_device(1: handset)
07-15 18:00:27.653 653 1530 D aud_dev_arbi: releaseOneDevice: not sending command, device argument (1) does not match any registered device
07-15 18:00:27.653 653 1530 D aud_dev_arbi: releaseOneDevice: device 1 owner is 0
07-15 18:00:27.653 653 1530 I msm8974_platform: platform_check_and_set_codec_backend_cfg: Usecase bitwidth 16, samplerate 48000
07-15 18:00:27.653 653 1530 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 2
07-15 18:00:27.653 653 1530 I msm8974_platform: platform_check_codec_backend_cfg Codec selected backend: 0 current bit width: 16 and sample rate: 48000
07-15 18:00:27.653 653 1530 W msm8974_platform: platform_check_codec_backend_cfg:Use default bw and sr for voice/voip calls
07-15 18:00:27.653 653 1530 D msm8974_platform: platform_check_codec_backend_cfg: resetting sample_rate back to default, backend_idx: 0
07-15 18:00:27.653 653 1530 I msm8974_platform: platform_check_codec_backend_cfg Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
07-15 18:00:27.653 653 1530 D hardware_info: hw_info_append_hw_type : device_name = speaker
07-15 18:00:27.654 653 1530 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
07-15 18:00:27.654 653 1530 D aud_dev_arbi: acquireOneDevice: device owner for device 2 is 1
07-15 18:00:27.660 653 1530 I audio_hw_primary: select_devices Selected apptype: 69937
07-15 18:00:27.661 653 1530 I audio_hw_utils: audio_extn_utils_send_app_type_cfg PLAYBACK app_type 69937, acdb_dev_id 15, sample_rate 48000
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0, app id = 0x11131, sample rate = 48000
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 15, Topology Id 1025e
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 15 path = 0
07-15 18:00:27.661 653 1530 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback quat_i2s
07-15 18:00:27.701 653 1530 D audio_hw_primary: select_devices: done
07-15 18:00:27.702 653 1530 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
07-15 18:00:27.705 653 1530 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 40
07-15 18:00:27.705 653 1530 W msm8974_platform: platform_send_gain_dep_cal: Usecase list is empty
07-15 18:00:27.709 653 8510 D audio_hw_primary: in_set_parameters: enter: kvpairs=input_source=7;routing=-2147483520
07-15 18:00:27.730 653 1530 D AudioFlinger: mixer(0xf23c0000) throttle end: throttle time(2)
07-15 18:00:28.079 3146 3501 D HeadsetStateMachine: Disconnected process message: 10, size: 0
Any help would be greatly appreciated.
does anybody know whats keeping sprint htc 10 from booting aosp roms? is it the mm firmware hos has it never booted? will it boot once we get official nougat? i'm kinda scared of s-offing and flashing us unlocked firmware because i've read people brick there device when the flash back to stock which I'll do when i resell it. thank you
attached is the only logcat i could get in a bootloop
logcat.......look at the 4th to last line.....what do you think
--------- beginning of main
01-06 02:29:37.565 540 540 W auditd : type=2000 audit(0.0:1): initialized
01-06 02:29:38.739 540 540 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-06 02:29:38.739 540 540 W auditd : type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
01-06 02:29:39.319 425 425 W ueventd : type=1400 audit(0.0:4): avc: denied { relabelfrom } for name="rmi0" dev="tmpfs" ino=16643 scontext=u:r:ueventd:s0 tcontext=ubject_r:device:s0 tclass=chr_file permissive=0
01-06 02:29:40.079 1 1 W init : type=1400 audit(0.0:5): avc: denied { write } for name="tracing_on" dev="debugfs" ino=2008 scontext=u:r:init:s0 tcontext=ubject_r:debugfs:s0 tclass=file permissive=0
01-06 02:29:40.559 549 549 I : debuggerd: starting
01-06 02:29:40.598 548 548 I : debuggerd: starting
--------- beginning of system
01-06 02:29:40.604 550 550 I vold : Vold 3.0 (the awakening) firing up
01-06 02:29:40.604 550 550 V vold : Detected support for: exfat ext4 ntfs vfat
01-06 02:29:40.887 550 556 D vold : e4crypt_init_user0
01-06 02:29:40.888 550 556 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-06 02:29:40.888 550 556 D vold : Preparing: /data/system/users/0
01-06 02:29:40.888 550 556 E cutils : Failed to mkdir(/data/system/users/0): No such file or directory
01-06 02:29:40.888 550 556 E vold : Failed to prepare /data/system/users/0: No such file or directory
01-06 02:29:40.888 550 556 E vold : Failed to prepare user 0 storage
01-06 02:29:40.888 1 1 I vdc : 400 551 Command failed
01-06 02:29:40.889 1 1 I vdc : vdc terminated by exit(144)
01-06 02:29:40.904 557 557 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
01-06 02:29:40.931 561 561 I sysinit : Running /system/etc/init.d/00banner
01-06 02:29:40.947 563 563 I cm : ###### ######
01-06 02:29:40.954 564 564 I cm : # # ###### #### # # ##### ##### ###### #### ##### # #### # # # # ###### # # # # #
01-06 02:29:40.962 565 565 I cm : # # # # # # # # # # # # # # # # # ## # # # # ## ## # # #
01-06 02:29:40.970 566 566 I cm : ###### ##### #### # # # # # # ##### # # # # # # # # ###### ##### # ## # # ##
01-06 02:29:40.977 567 567 I cm : # # # # # # ##### ##### # # # # # # # # # # # # # # # ##
01-06 02:29:40.985 568 568 I cm : # # # # # # # # # # # # # # # # # # # ## # # # # # # # #
01-06 02:29:40.993 569 569 I sysinit : Running /system/etc/init.d/90userinit
01-06 02:29:41.675 587 587 I lowmemorykiller: Using in-kernel low memory killer interface
01-06 02:29:41.688 583 583 I rpmb_emmc: RPMB Mult (512-bytes sector) = 8192, Rel_sec_cnt = 32
01-06 02:29:41.688 583 583 E DrmLibRpmb: rpmb_init succeeded! with ret = 0
01-06 02:29:41.692 582 582 I PerMgrSrv: Adding entry for modem : offTimeout : 500 ackTimeout : 200
01-06 02:29:41.694 583 583 E SSD : ssd_init_service succeeded!
01-06 02:29:41.698 582 582 I PerMgrSrv: Adding entry for slpi : offTimeout : 5000 ackTimeout : 200
01-06 02:29:41.707 582 582 I PerMgrSrv: Peripheral Mananager service start
01-06 02:29:41.707 582 582 I PerMgrSrv: power-off timeout 500,ms; event-ack timeout 200,ms; debug-mode false
01-06 02:29:41.707 582 582 I PerMgrSrv: Statistics for : modem
01-06 02:29:41.708 582 582 I PerMgrSrv: modem: Current State : is off-line
01-06 02:29:41.708 582 582 I PerMgrSrv: modem: Voter/Listener count : 0/0
01-06 02:29:41.708 582 582 I PerMgrSrv: modem: Power on count : 0
01-06 02:29:41.708 582 582 I PerMgrSrv: modem: Power off count: 0
01-06 02:29:41.708 582 582 I PerMgrSrv: modem: Client list:
01-06 02:29:41.708 582 582 I PerMgrSrv: Statistics for : slpi
01-06 02:29:41.708 582 582 I PerMgrSrv: slpi: Current State : is off-line
01-06 02:29:41.708 582 582 I PerMgrSrv: slpi: Voter/Listener count : 0/0
01-06 02:29:41.708 582 582 I PerMgrSrv: slpi: Power on count : 0
01-06 02:29:41.708 582 582 I PerMgrSrv: slpi: Power off count: 0
01-06 02:29:41.708 582 582 I PerMgrSrv: slpi: Client list:
01-06 02:29:41.711 590 590 I SurfaceFlinger: SurfaceFlinger is starting
01-06 02:29:41.713 590 590 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
01-06 02:29:41.720 582 603 I PerMgrSrv: QMI service start
01-06 02:29:41.722 593 593 E PerMgrProxy: Starting pm-proxy service
01-06 02:29:41.723 593 593 I PerMgrProxy: Found internal modem
01-06 02:29:41.724 582 604 D PerMgrSrv: modem state: is off-line, add client PM-PROXY-THREAD
01-06 02:29:41.724 582 604 D PerMgrSrv: PM-PROXY-THREAD registered
01-06 02:29:41.724 593 593 D PerMgrLib: PM-PROXY-THREAD successfully registered for modem
01-06 02:29:41.724 593 593 I PerMgrProxy: pm-proxy-thread Voting for internal modem
01-06 02:29:41.724 593 593 D PerMgrLib: PM-PROXY-THREAD voting for modem
01-06 02:29:41.726 590 590 D libEGL : loaded /vendor/lib64/egl/libEGL_adreno.so
01-06 02:29:41.729 582 607 D PerMgrSrv: PM-PROXY-THREAD voting for modem
01-06 02:29:41.729 582 607 D PerMgrSrv: modem new state: going on-line
01-06 02:29:41.729 582 607 D PerMgrSrv: modem num voters is 1
01-06 02:29:41.729 615 615 D QSEECOMAPI: QSEECom_register_listener 8192 sb_length = 0x6400
01-06 02:29:41.731 615 615 D QSEECOMAPI: QSEECom_register_listener 12288 sb_length = 0x5000
01-06 02:29:41.732 615 615 D QSEECOMAPI: QSEECom_register_listener 16384 sb_length = 0x10a8
01-06 02:29:41.760 615 615 D DrmLibTime: QSEE Time Listener: atime_start
01-06 02:29:41.760 615 615 D QSEECOMAPI: QSEECom_register_listener 11 sb_length = 0x5000
01-06 02:29:41.760 615 615 D DrmLibTime: registering fs service to QSEECom is done!
01-06 02:29:41.761 615 615 D DrmLibTime: begin to create a thread!
01-06 02:29:41.761 615 615 D DrmLibTime: Creating a pthread in atime_start is done! return 0
01-06 02:29:41.761 615 620 D DrmLibTime: QSEE Time Listener: dispatch
01-06 02:29:41.761 615 620 D DrmLibTime: before calling ioctl to read the next time_cmd
01-06 02:29:41.764 615 615 D QSEECOMAPI: QSEECom_register_listener 10 sb_length = 0x5000
01-06 02:29:41.765 615 615 D QSEECOMAPI: QSEECom_register_listener 28672 sb_length = 0x7e000
01-06 02:29:41.774 615 623 I QISL : QSEE Interrupt Service Listener Thread is started
01-06 02:29:41.774 615 623 D QSEECOMAPI: QSEECom_register_listener 36864 sb_length = 0x1f4
01-06 02:29:41.775 615 623 I QISL : QSEE Interrupt Service Listener was activated successfully
01-06 02:29:41.790 615 615 D QSEECOMAPI: QSEECom_register_listener 4352 sb_length = 0x5000
01-06 02:29:41.791 615 615 D QSEECOMAPI: QSEECom_get_handle sb_length = 0x400
01-06 02:29:41.791 615 615 D QSEECOMAPI: App is not loaded in QSEE
01-06 02:29:41.793 615 615 D QSEECOMAPI: app_arch = 1, total_files = 8
01-06 02:29:41.838 615 615 E QSEECOMAPI: Error::Load image request failed ret = -1, errno = 22
01-06 02:29:41.839 615 615 E QSEECOMAPI: Error::Loading image failed with ret = -1
01-06 02:29:41.839 615 615 D QSEECOMAPI: QSEECom_get_handle sb_length = 0x400
01-06 02:29:41.839 615 615 D QSEECOMAPI: App is already loaded QSEE and app id = 4
01-06 02:29:41.890 590 590 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_adreno.so
01-06 02:29:41.899 590 590 D libEGL : loaded /vendor/lib64/egl/libGLESv2_adreno.so
01-06 02:29:41.926 590 590 I Adreno : QUALCOMM build : e781517, I9267f384df
01-06 02:29:41.926 590 590 I Adreno : Build Date : 10/26/16
01-06 02:29:41.926 590 590 I Adreno : OpenGL ES Shader Compiler Version: XE031.09.00.03
01-06 02:29:41.926 590 590 I Adreno : Local Branch :
01-06 02:29:41.926 590 590 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.5.5.R1.07.00.00.269.009
01-06 02:29:41.926 590 590 I Adreno : Remote Branch : NONE
01-06 02:29:41.926 590 590 I Adreno : Reconstruct Branch : NOTHING
01-06 02:29:42.162 590 590 I SDM : ExtensionInterface::CreateExtensionInterface:
01-06 02:29:42.162 590 590 I SDM : SDM-EXTENSION Version: Date: 09/24/16, Commit: a8223a7, Change: Ib6653f6a84
01-06 02:29:42.163 590 590 I SDM : HWInfo::GetHWResourceInfo: SDE Version = 500, SDE Revision = 10070002, RGB = 4, VIG = 4, DMA = 2, Cursor = 2
01-06 02:29:42.163 590 590 I SDM : HWInfo::GetHWResourceInfo: Upscale Ratio = 20, Downscale Ratio = 4, Blending Stages = 7
01-06 02:29:42.163 590 590 I SDM : HWInfo::GetHWResourceInfo: SourceSplit = 1 QSEED3 = 0
01-06 02:29:42.163 590 590 I SDM : HWInfo::GetHWResourceInfo: BWC = 0, UBWC = 1, Decimation = 1, Tile Format = 0 Concurrent Writeback = 0
01-06 02:29:42.163 590 590 I SDM : HWInfo::GetHWResourceInfo: MaxLowBw = 9600000 , MaxHighBw = 9600000
01-06 02:29:42.163 590 590 I SDM : HWInfo::GetHWResourceInfo: MaxPipeBw = 4500000 KBps, MaxSDEClock = 412500000 Hz, ClockFudgeFactor = 1.050000
01-06 02:29:42.163 590 590 I SDM : HWInfo::GetHWResourceInfo: Prefill factors: Tiled_NV12 = 8, Tiled = 4, Linear = 1, Scale = 1, Fudge_factor = 2
01-06 02:29:42.163 590 590 I SDM : HWInfo::GetMDSSRotatorInfo: MDSS Rotator: Count = 2, Downscale = 1
01-06 02:29:42.169 590 590 I SDM : CoreInterface::CreateCore: Open interface handle = 0x7f99679600
01-06 02:29:42.170 590 590 I SDM : HWInfo::GetFirstDisplayInterfaceType: First display is internal display
01-06 02:29:42.170 590 590 I SDM : CPUHint::Init: CPU Hint Pre-enable Window 50
01-06 02:29:42.171 590 590 I SDM : CPUHint::Init: Successfully Loaded Vendor Extension Library symbols
01-06 02:29:42.172 590 590 I SDM : HWDevice::GetHWPanelMaxBrightnessFromNode: Max brightness level = 255
01-06 02:29:42.172 590 590 I SDM : HWDevice::GetHWPanelMaxBrightnessFromNode: Max brightness level = 255
01-06 02:29:42.172 590 590 I SDM : HWDevice:opulateHWPanelInfo: Device type = 0, Display Port = 1, Display Mode = 2, Device Node = 0, Is Primary = 1
01-06 02:29:42.172 590 590 I SDM : HWDevice:opulateHWPanelInfo: Partial Update = 0, Dynamic FPS = 0
01-06 02:29:42.172 590 590 I SDM : HWDevice:opulateHWPanelInfo: Align: left = 0, width = 0, top = 0, height = 0
01-06 02:29:42.172 590 590 I SDM : HWDevice:opulateHWPanelInfo: ROI: min_width = 0, min_height = 0, need_merge = 0
01-06 02:29:42.172 590 590 I SDM : HWDevice:opulateHWPanelInfo: FPS: min = 0, max =0
01-06 02:29:42.172 590 590 I SDM : HWDevice:opulateHWPanelInfo: Left Split = 0, Right Split = 0
01-06 02:29:42.173 590 590 I SDM : HWInfo::GetHWResourceInfo: SDE Version = 500, SDE Revision = 10070002, RGB = 4, VIG = 4, DMA = 2, Cursor = 2
01-06 02:29:42.173 590 590 I SDM : HWInfo::GetHWResourceInfo: Upscale Ratio = 20, Downscale Ratio = 4, Blending Stages = 7
01-06 02:29:42.173 590 590 I SDM : HWInfo::GetHWResourceInfo: SourceSplit = 1 QSEED3 = 0
01-06 02:29:42.173 590 590 I SDM : HWInfo::GetHWResourceInfo: BWC = 0, UBWC = 1, Decimation = 1, Tile Format = 0 Concurrent Writeback = 0
01-06 02:29:42.173 590 590 I SDM : HWInfo::GetHWResourceInfo: MaxLowBw = 9600000 , MaxHighBw = 9600000
01-06 02:29:42.173 590 590 I SDM : HWInfo::GetHWResourceInfo: MaxPipeBw = 4500000 KBps, MaxSDEClock = 412500000 Hz, ClockFudgeFactor = 1.050000
01-06 02:29:42.173 590 590 I SDM : HWInfo::GetHWResourceInfo: Prefill factors: Tiled_NV12 = 8, Tiled = 4, Linear = 1, Scale = 1, Fudge_factor = 2
01-06 02:29:42.173 590 590 I SDM : HWInfo::GetMDSSRotatorInfo: MDSS Rotator: Count = 2, Downscale = 1
01-06 02:29:42.174 590 590 I SDM : HWDevice::GetHWPanelMaxBrightnessFromNode: Max brightness level = 255
01-06 02:29:42.175 590 590 I SDM : HWDevice::GetHWPanelMaxBrightnessFromNode: Max brightness level = 255
01-06 02:29:42.175 590 590 I SDM : HWDevice::GetHWPanelMaxBrightnessFromNode: Max brightness level = 255
01-06 02:29:42.175 590 590 I SDM : HWDevice::GetHWPanelMaxBrightnessFromNode: Max brightness level = 255
01-06 02:29:42.176 590 590 I SDM : HWInfo::GetHWResourceInfo: SDE Version = 500, SDE Revision = 10070002, RGB = 4, VIG = 4, DMA = 2, Cursor = 2
01-06 02:29:42.176 590 590 I SDM : HWInfo::GetHWResourceInfo: Upscale Ratio = 20, Downscale Ratio = 4, Blending Stages = 7
01-06 02:29:42.176 590 590 I SDM : HWInfo::GetHWResourceInfo: SourceSplit = 1 QSEED3 = 0
01-06 02:29:42.176 590 590 I SDM : HWInfo::GetHWResourceInfo: BWC = 0, UBWC = 1, Decimation = 1, Tile Format = 0 Concurrent Writeback = 0
01-06 02:29:42.176 590 590 I SDM : HWInfo::GetHWResourceInfo: MaxLowBw = 9600000 , MaxHighBw = 9600000
01-06 02:29:42.176 590 590 I SDM : HWInfo::GetHWResourceInfo: MaxPipeBw = 4500000 KBps, MaxSDEClock = 412500000 Hz, ClockFudgeFactor = 1.050000
01-06 02:29:42.176 590 590 I SDM : HWInfo::GetHWResourceInfo: Prefill factors: Tiled_NV12 = 8, Tiled = 4, Linear = 1, Scale = 1, Fudge_factor = 2
01-06 02:29:42.176 590 590 I SDM : HWInfo::GetMDSSRotatorInfo: MDSS Rotator: Count = 2, Downscale = 1
01-06 02:29:42.177 590 590 W SDM : ColorManager::CreateColorManagerProxy: PAV2 version is versions = 11, version = 11
01-06 02:29:42.177 590 590 I SDM : DisplayBase::SetFrameBufferConfig: New framebuffer resolution (1440x2560)
01-06 02:29:42.177 590 590 I SDM : HWCDisplay::SetFrameBufferResolution: New framebuffer resolution (1440x2560)
01-06 02:29:42.180 590 590 I SDM : HWCColorManager::CreateColorManager: Successfully loaded libsdm-disp-apis.so
01-06 02:29:42.182 590 590 W SDM : HWCColorManager::CreateColorManager: Unable to load = libsdm-diag.so
01-06 02:29:42.183 590 590 I SurfaceFlinger: Using composer version 1.5
01-06 02:29:42.183 590 590 W SDM : HWCDisplay::GetDisplayAttributes: Spurious attribute type = 6
01-06 02:29:42.184 590 590 I SurfaceFlinger: EGL information:
01-06 02:29:42.184 590 590 I SurfaceFlinger: vendor : Android
01-06 02:29:42.184 590 590 I SurfaceFlinger: version : 1.4 Android META-EGL
01-06 02:29:42.184 590 590 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable EGL_KHR_partial_update EGL_KHR_create_context_no_error EGL_KHR_mutable_render_buffer EGL_EXT_yuv_surface EGL_EXT_protected_content
01-06 02:29:42.184 590 590 I SurfaceFlinger: Client API: OpenGL_ES
01-06 02:29:42.184 590 590 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x7f997fb040
01-06 02:29:42.188 590 590 I SurfaceFlinger: OpenGL ES informations:
01-06 02:29:42.188 590 590 I SurfaceFlinger: vendor : Qualcomm
01-06 02:29:42.188 590 590 I SurfaceFlinger: renderer : Adreno (TM) 530
01-06 02:29:42.188 590 590 I SurfaceFlinger: version : OpenGL ES 3.2 [email protected] ([email protected])
01-06 02:29:42.188 590 590 I SurfaceFlinger: extensions: GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture
01-06 02:29:42.188 590 590 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 16384
01-06 02:29:42.188 590 590 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 16384
01-06 02:29:42.397 590 590 D SurfaceFlinger: SF. shader cache generated - 26 shaders in 207.980209 ms
01-06 02:29:42.399 590 590 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x7f99648000
01-06 02:29:42.399 590 590 I SDM : HWCDisplay::SetPowerMode: display = 0, mode = 2
01-06 02:29:42.400 590 590 I SDM : DisplayBase::SetDisplayState: Set state = 1, display 0
01-06 02:29:42.426 590 590 I SDM : HWCDisplayPrimary:repare: Skipping null commit on cmd mode panel
01-06 02:29:42.436 590 590 I SDM : HWCDisplayPrimary::Commit: Skipping null commit on cmd mode panel
01-06 02:29:42.436 590 590 D qdutils : DEBUG_CALC_FPS: 0
01-06 02:29:42.436 590 590 D qdutils : period: 10
01-06 02:29:42.436 590 590 D qdutils : ignorethresh_us: 500000
01-06 02:29:42.436 594 594 I Dpps : static DppsServer *DppsServer::GetInstance(): DppsServer ref count increased to 1
01-06 02:29:42.437 594 594 I Dpps : InitPrimaryContextFeatures():270 Dpps feature enable properties are false, skipping primary feature context init
01-06 02:29:42.686 648 651 D libEGL : loaded /vendor/lib64/egl/libEGL_adreno.so
01-06 02:29:42.697 648 651 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_adreno.so
01-06 02:29:42.699 590 590 I SDM : HWCDisplayPrimary:repare: Skipping null commit on cmd mode panel
01-06 02:29:42.705 590 590 I SDM : HWCDisplayPrimary::Commit: Skipping null commit on cmd mode panel
01-06 02:29:42.706 648 651 D libEGL : loaded /vendor/lib64/egl/libGLESv2_adreno.so
01-06 02:29:42.716 648 651 I Adreno : QUALCOMM build : e781517, I9267f384df
01-06 02:29:42.716 648 651 I Adreno : Build Date : 10/26/16
01-06 02:29:42.716 648 651 I Adreno : OpenGL ES Shader Compiler Version: XE031.09.00.03
01-06 02:29:42.716 648 651 I Adreno : Local Branch :
01-06 02:29:42.716 648 651 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.5.5.R1.07.00.00.269.009
01-06 02:29:42.716 648 651 I Adreno : Remote Branch : NONE
01-06 02:29:42.716 648 651 I Adreno : Reconstruct Branch : NOTHING
01-06 02:29:42.723 648 651 E BootAnimation: Get Carrier Animation file,since it's not support carrier
01-06 02:29:42.723 648 651 E BootAnimation: Get Carrier Animation file,since it's not support carrier
01-06 02:29:42.723 648 651 E BootAnimation: Get Carrier Animation file,since it's not support carrier
01-06 02:29:42.725 648 651 E BootAnimation: Get Carrier Animation file,since it's not support carrier
01-06 02:29:42.876 648 651 D BootAnimation: Free memory: 3590908, max texture size: 16384
01-06 02:29:42.876 648 651 D BootAnimation: Disabled bootanimation texture cache, FPS drops might occur.
01-06 02:29:42.942 582 604 D PerMgrSrv: modem new state: is on-line
01-06 02:29:45.152 648 651 D BootAnimation: Free memory: 3576124, max texture size: 16384
01-06 02:29:45.152 648 651 D BootAnimation: Disabled bootanimation texture cache, FPS drops might occur.
01-06 02:29:46.839 615 615 D QSEECOMAPI: QSEECom_load_external_elf
01-06 02:29:46.840 615 615 E QSEECOMAPI: Error::Cannot open the file /firmware/image/mc_v2.mdt errno = 2
01-06 02:29:46.840 615 615 E QSEECOMAPI: Error::Loading image failed with ret = -1
01-06 02:29:46.840 615 615 D QSEECOMAPI: QSEECom_load_external_elf
01-06 02:29:46.845 615 615 D QSEECOMAPI: app_arch = 1, total_files = 8
Be more specific. I have read threads of AOSP Roma booting fine. Is it cuz you have MM firmware, trying to flash a nougat ROM? More info is helpful.
Sent from my 2PS64 using XDA-Developers Legacy app
scottspa74 said:
Be more specific. I have read threads of AOSP Roma booting fine. Is it cuz you have MM firmware, trying to flash a nougat ROM? More info is helpful.
Sent from my 2PS64 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Well sprint doesn't seem to think that we need nougat...so i dont have nouhat firmware
Hello,
a while ago, I started having an issue with my s4 mini (serranolte).
Basically, the screen turns itself on very often. For example, I press the power button to turn it off and after a second or so it turns itself on, stays on for ~10 seconds, turns off due to screen timeout, turns on by itself and so on.
I tried both with Lineage OS 14.1 and crDroid v4.4 (android 8.1) and the issue persists.
Here's a copy of the logcat taken while this happens:
Code:
07-15 12:49:42.350 531 634 I PowerManagerService: Going to sleep due to power button (uid 1000)...
07-15 12:49:42.377 531 558 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
07-15 12:49:42.378 531 558 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8960.so from current namespace instead of sphal namespace.
07-15 12:49:42.384 531 558 W Adreno-EGL: <qeglDrvAPI_eglQueryContext:4373>: EGL_BAD_ATTRIBUTE
07-15 12:49:42.827 531 558 I DisplayPowerController: Blocking screen off
07-15 12:49:42.827 531 558 I DisplayPowerController: Unblocked screen off after 0 ms
07-15 12:49:42.827 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:42.827 531 558 D Sensors : activate: handle=0, enabled=0
07-15 12:49:42.843 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:42.843 531 558 D Sensors : activate: handle=4, enabled=0
07-15 12:49:42.843 531 558 D Sensors : LightSensor enable = 0
07-15 12:49:42.843 531 558 D Sensors : LightSensor enableSensor = 0
07-15 12:49:42.857 531 556 I DisplayManagerService: Display device changed state: "Built-in Screen", OFF
07-15 12:49:42.858 241 241 D SurfaceFlinger: Set power mode=0, type=0 flinger=0xb364e000
07-15 12:49:42.861 241 241 D qdhwcomposer: hwc_setPowerMode: Setting mode 0 on display: 0
07-15 12:49:42.871 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.871 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.879 531 634 I InputReader: Reconfiguring input devices. changes=0x00000004
07-15 12:49:42.918 531 634 I PowerManagerService: Waking up from dozing (uid=1000 reason=android.policy:KEY)...
07-15 12:49:42.922 531 558 I DisplayPowerController: Blocking screen on until initial contents have been drawn.
07-15 12:49:42.923 531 558 D Sensors : setDelay: acc_delay=66667000, mag_delay=200000000
07-15 12:49:42.923 531 558 D Sensors : setDelay: handle=4, delay=250000000
07-15 12:49:42.923 531 558 D Sensors : LightSensor setDelay = 250000000
07-15 12:49:42.923 531 558 D Sensors : LightSensor setSensorDelay = 250000000
07-15 12:49:42.923 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:42.923 531 558 D Sensors : activate: handle=4, enabled=1
07-15 12:49:42.923 531 558 D Sensors : LightSensor enable = 1
07-15 12:49:42.923 531 558 D Sensors : LightSensor enableSensor = 1
07-15 12:49:42.927 289 289 D audio_hw_primary: adev_set_parameters: enter: screen_state=off
07-15 12:49:42.942 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.942 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.964 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.979 1148 1148 I chatty : uid=10030(com.android.systemui) identical 2 lines
07-15 12:49:42.979 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:43.019 531 615 D Sensors : LightSensor readEvents x = 37.000000, raw = 37
07-15 12:49:43.020 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:43.020 531 558 D Sensors : activate: handle=4, enabled=0
07-15 12:49:43.020 531 558 D Sensors : LightSensor enable = 0
07-15 12:49:43.020 531 558 D Sensors : LightSensor enableSensor = 0
07-15 12:49:43.021 531 558 D Sensors : setDelay: acc_delay=66667000, mag_delay=200000000
07-15 12:49:43.021 531 558 D Sensors : setDelay: handle=4, delay=1000000000
07-15 12:49:43.021 531 558 D Sensors : LightSensor setDelay = 1000000000
07-15 12:49:43.021 531 558 D Sensors : LightSensor setSensorDelay = 1000000000
07-15 12:49:43.021 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:43.021 531 558 D Sensors : activate: handle=4, enabled=1
07-15 12:49:43.021 531 558 D Sensors : LightSensor enable = 1
07-15 12:49:43.022 531 558 D Sensors : LightSensor enableSensor = 1
07-15 12:49:43.120 531 615 D Sensors : LightSensor readEvents x = 39.000000, raw = 39
07-15 12:49:43.335 241 241 D qdhwcomposer: hwc_setPowerMode: Done setting mode 0 on display 0
07-15 12:49:43.344 531 1105 D SurfaceControl: Excessive delay in setPowerMode()
07-15 12:49:43.345 531 556 I DisplayManagerService: Display device changed state: "Built-in Screen", ON
07-15 12:49:43.363 531 634 I InputReader: Reconfiguring input devices. changes=0x00000004
07-15 12:49:43.368 241 241 D SurfaceFlinger: Set power mode=2, type=0 flinger=0xb364e000
07-15 12:49:43.368 241 241 D qdhwcomposer: hwc_setPowerMode: Setting mode 2 on display: 0
07-15 12:49:43.981 531 556 W WindowManager: Timeout waiting for drawn: undrawn=[Window{afd67f u0 StatusBar}]
07-15 12:49:43.983 531 549 D Sensors : setDelay: acc_delay=66667000, mag_delay=200000000
07-15 12:49:43.983 531 549 D Sensors : setDelay: handle=0, delay=66667000
07-15 12:49:43.984 531 549 D Sensors : activate: acc_enable=1, mag_enable=0
07-15 12:49:43.984 531 549 D Sensors : activate: handle=0, enabled=1
07-15 12:49:44.054 241 241 D qdhwcomposer: hwc_setPowerMode: Done setting mode 2 on display 0
07-15 12:49:44.055 531 558 I DisplayPowerController: Unblocked screen on after 1133 ms
07-15 12:49:44.063 531 1105 D SurfaceControl: Excessive delay in setPowerMode()
07-15 12:49:44.079 531 558 W PowerManagerService: Screen on took 1160 ms
07-15 12:49:44.081 1148 1148 I Choreographer: Skipped 63 frames! The application may be doing too much work on its main thread.
07-15 12:49:44.120 531 615 D Sensors : LightSensor readEvents x = 35.000000, raw = 35
07-15 12:49:44.132 289 389 D audio_hw_primary: adev_set_parameters: enter: screen_state=on
Hoping someone can help
Ask me if you need to know anything else, I really hope this isn't an hardware issue...
Thanks, have a nice day
I've also tried flashing an older ROM, Pacman ROM (android 4.3) and I get the same issue.
This leads me to think it is an hardware related issue. Here's the Sensors output:
Code:
D/Sensors ( 836): activate: acc_enable=1, mag_enable=0
D/Sensors ( 836): activate: handle=4, enabled=0
D/Sensors ( 836): LightSensor enable = 0
D/Sensors ( 836): LightSensor enableSensor = 0
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=4, delay=1000000000
D/Sensors ( 836): LightSensor setDelay = 1000000000
D/Sensors ( 836): LightSensor setSensorDelay = 1000000000
D/Sensors ( 836): activate: acc_enable=0, mag_enable=0
D/Sensors ( 836): activate: handle=0, enabled=0
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=0, delay=66667000
D/Sensors ( 836): activate: acc_enable=1, mag_enable=0
D/Sensors ( 836): activate: handle=0, enabled=1
D/Sensors ( 836): setDelay: acc_delay=200000000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=0, delay=200000000
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=0, delay=66667000
D/Sensors ( 836): activate: acc_enable=1, mag_enable=0
D/Sensors ( 836): activate: handle=4, enabled=1
D/Sensors ( 836): LightSensor enable = 1
D/Sensors ( 836): LightSensor enableSensor = 1
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=4, delay=200000000
D/Sensors ( 836): LightSensor setDelay = 200000000
D/Sensors ( 836): LightSensor setSensorDelay = 200000000
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=4, delay=1000000000
D/Sensors ( 836): LightSensor setDelay = 1000000000
D/Sensors ( 836): LightSensor setSensorDelay = 1000000000
If you know of anything that could solve this, please let me know. Thanks.
Wifi P2P ("WiFi Direct") support - does anyone know of patches for this on Pie?
Pretty much exactly as the subject line states.
When doing anything which brings up a P2P interface (right now, that's "cast" or "wifi direct" under settings / wifi / advanced):
Code:
02-05 22:44:33.565 10656 10744 I WifiP2pNative: P2P interface teardown completed
02-05 22:44:33.565 10656 10744 E WifiP2pService: Failed to setup interface for P2P
02-05 22:44:33.565 10656 10744 D WifiP2pNative: P2P InterfaceAvailableListener false
02-05 22:44:33.565 10656 10744 D WifiP2pService: Wifi enabled=true, P2P Interface availability=false
02-05 22:44:33.565 10656 10744 D WifiP2pNative: P2P InterfaceDestroyedListener p2p0
02-05 22:44:33.565 10656 10744 D WifiP2pNative: Ignoring stale interface destroyed listener
02-05 22:44:33.565 10656 10744 D WifiP2pNative: P2P InterfaceAvailableListener true
02-05 22:44:33.565 10656 10744 D WifiP2pService: Wifi enabled=true, P2P Interface availability=true, Number of clients=1
02-05 22:44:33.565 10656 10744 D WifiP2pService: Wifi enabled=true, P2P Interface availability=true
02-05 22:44:33.566 10656 10744 D WifiP2pNative: Setup P2P interface
02-05 22:44:33.566 10656 10744 D HalDevMgr: createIface: ifaceType=2, lowPriority=false
02-05 22:44:33.566 10656 10744 D HalDevMgr: getAllChipInfo
02-05 22:44:33.566 10656 10744 D HalDevMgr: getChipIds=[0]
02-05 22:44:33.567 23753 23753 D WifiSettings: onAccessPointsChanged (WifiTracker) callback initiated
02-05 22:44:33.567 10656 10744 D HalDevMgr: validateInterfaceCache
02-05 22:44:33.567 10656 10744 D HalDevMgr: createIfaceIfPossible: chipInfos=[{chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=0, ifaces[3].length=0)], ifaceType=2, lowPriority=false
02-05 22:44:33.567 10656 10744 D HalDevMgr: {.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]} expands to [[1, 0, 1, 0]]
02-05 22:44:33.568 10656 10744 D HalDevMgr: canIfaceComboSupportRequest: chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=0, ifaces[3].length=0), chipMode={.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, chipIfaceCombo=[[email protected], ifaceType=2, lowPriority=false
02-05 22:44:33.568 10656 10744 D HalDevMgr: compareIfaceCreationData: val1={chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=0, ifaces[3].length=0), chipModeId=0, interfacesToBeRemovedFirst=[]), val2=null
02-05 22:44:33.568 10656 10744 D HalDevMgr: new proposal accepted
02-05 22:44:33.568 10656 10744 D HalDevMgr: {.limits = [{.types = [1], .maxIfaces = 1}]} expands to [[0, 1, 0, 0]]
02-05 22:44:33.568 10656 10744 D HalDevMgr: canIfaceComboSupportRequest: chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=0, ifaces[3].length=0), chipMode={.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}, chipIfaceCombo=[[email protected], ifaceType=2, lowPriority=false
02-05 22:44:33.568 10656 10744 D HalDevMgr: Requested type not supported by combo
02-05 22:44:33.568 10656 10744 D HalDevMgr: compareIfaceCreationData: val1=null, val2={chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=0, ifaces[3].length=0), chipModeId=0, interfacesToBeRemovedFirst=[])
02-05 22:44:33.568 10656 10744 D HalDevMgr: executeChipReconfiguration: ifaceCreationData={chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=0, ifaces[3].length=0), chipModeId=0, interfacesToBeRemovedFirst=[]), ifaceType=2
02-05 22:44:33.568 10656 10744 D HalDevMgr: isModeConfigNeeded=false
02-05 22:44:33.568 10656 10793 D HalDevMgr: onIfaceAdded: type=2, name=p2p0
02-05 22:44:33.568 10656 10744 D HalDevMgr: createIfaceIfPossible: added cacheEntry={name=p2p0, type=2, destroyedListeners.size()=1, creationTime=89382364, isLowPriority=false}
02-05 22:44:33.569 10656 10744 D HalDevMgr: dispatchAvailableForRequestListeners
02-05 22:44:33.569 10656 10744 D HalDevMgr: getAllChipInfo
02-05 22:44:33.569 10656 10744 D HalDevMgr: getChipIds=[0]
02-05 22:44:33.569 23753 23761 W System : A resource failed to call close.
02-05 22:44:33.571 10656 10744 D HalDevMgr: dispatchAvailableForRequestListeners: chipInfos=[{chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=1, ifaces[3].length=0)]
02-05 22:44:33.571 10656 10744 D HalDevMgr: dispatchAvailableForRequestListenersForType: ifaceType=1
02-05 22:44:33.571 10656 10744 D HalDevMgr: dispatchAvailableForRequestListenersForType: ifaceType=0
02-05 22:44:33.571 10656 10744 D HalDevMgr: dispatchAvailableForRequestListenersForType: ifaceType=2
02-05 22:44:33.571 23753 23753 D WifiSettings: onAccessPointsChanged (WifiTracker) callback initiated
02-05 22:44:33.571 10656 10744 D HalDevMgr: isItPossibleToCreateIface: chipInfos=[{chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=1, ifaces[3].length=0)], ifaceType=2
02-05 22:44:33.571 10656 10744 D HalDevMgr: {.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]} expands to [[1, 0, 1, 0]]
02-05 22:44:33.571 10656 10744 D HalDevMgr: canIfaceComboSupportRequest: chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=1, ifaces[3].length=0), chipMode={.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, chipIfaceCombo=[[email protected], ifaceType=2, lowPriority=false
02-05 22:44:33.571 10656 10744 D HalDevMgr: Would need to delete some higher priority interfaces
02-05 22:44:33.571 10656 10744 D HalDevMgr: {.limits = [{.types = [1], .maxIfaces = 1}]} expands to [[0, 1, 0, 0]]
02-05 22:44:33.571 10656 10744 D HalDevMgr: canIfaceComboSupportRequest: chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=true, currentModeId=0, ifaces[1].length=0, ifaces[0].length=1, ifaces[2].length=1, ifaces[3].length=0), chipMode={.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}, chipIfaceCombo=[[email protected], ifaceType=2, lowPriority=false
02-05 22:44:33.571 10656 10744 D HalDevMgr: Requested type not supported by combo
02-05 22:44:33.571 10656 10744 D HalDevMgr: Interface available for: ifaceType=2 = false
02-05 22:44:33.572 10656 10744 D HalDevMgr: Interface available listener dispatched: ifaceType=2, listener=com.android.server.[email protected]2c40602
02-05 22:44:33.572 10656 10744 D HalDevMgr: dispatchAvailableForRequestListenersForType: ifaceType=3
02-05 22:44:33.573 10656 10744 I android_os_HwBinder: HwBinder: Starting thread pool for default::[email protected]::ISupplicant
02-05 22:44:33.574 23753 23753 D WifiSettings: onAccessPointsChanged (WifiTracker) callback initiated
02-05 22:44:33.574 10656 10744 D SupplicantP2pIfaceHal: entering getInterface()
02-05 22:44:33.574 10656 10744 E SupplicantP2pIfaceHal: initSupplicantP2pIface got null iface
02-05 22:44:33.574 10656 10744 E WifiP2pNative: Failed to setup P2p iface in supplicant
02-05 22:44:33.574 10656 10744 D WifiP2pNative: Teardown P2P interface
02-05 22:44:33.574 10656 10744 D HalDevMgr: removeIfaceInternal: iface(name)=p2p0, type=2
02-05 22:44:33.574 10656 10744 D HalDevMgr: getChip: iface(name)=p2p0
02-05 22:44:33.575 10656 10744 D HalDevMgr: dispatchDestroyedListeners: iface(name)=p2p0
02-05 22:44:33.575 10656 10744 D HalDevMgr: dispatchAvailableForRequestListeners
02-05 22:44:33.575 10656 10744 D HalDevMgr: getAllChipInfo
Basically, system_server goes into a tight loop trying and failing repeatedly to bring up p2p0.
This is on Huawei, for what it's worth (Mate 8 - NXT-DL00C17 8.0.0.820; Mate 9 - MHA-AL00C00 8.0.0.374), though given that there are other changes which seem pretty general regarding the wifi HAL between 8.0 and 9.0, it seems likely that there are other things happening that are causing problems and I haven't quite figured it out yet.
For what it's worth: the reason for wanting this is because I've ported Miracast support from Oreo into Pie, and it works on devices I have here with P vendor (Mate 9 AL00C00 9.0.1.150; also apparently working on HMA), but since bringing up the WiFi P2P interface is broken, I can't get any farther with it than that.
Not sure if you resolved the issue yet but on C636 running 9.0.1.159 Miracast seems to work. I can share my phone screen to my Android TV box without problem.
itenos said:
Not sure if you resolved the issue yet but on C636 running 9.0.1.159 Miracast seems to work. I can share my phone screen to my Android TV box without problem.
Click to expand...
Click to collapse
Nah, on EMUI it's fine - in this case, its for AOSP Pie built for an EMUI 8 vendor, and there was a good amount of stuff that changed with the WiFi HAL on Pie that caused things to break besides for the bare minimum of functionality needed for wifi to work in the first place. (Hotspot was broken without a HAL being written to provide backwards compatibility behavior, WiFi Direct is broken in the same fashion, I think, but I'm not sure.)
It's also fine if you're already on a Pie vendor - Miracast works fine here on AOSP (with patches to pull Miracast forward from Oreo, of course) on both the Mate 9 (AL00, 9.0.1.150), and the P10 (AL00, 9.0.1.160; C432, 9.0.1.165).
Hello
An App keeps crashing randomly and I have absolutely no clue why. After a few minutes of research, I create a logcat file but I am still clueless how the problem occures. Any kind of help is appreciated.
Logs
Code:
--------- beginning of main
04-22 23:44:24.247 5630 5630 I art : Starting a blocking GC AddRemoveAppImageSpace
04-22 23:44:24.427 5630 5647 I OpenGLRenderer: Initialized EGL, version 1.4
04-22 23:44:24.428 5630 5647 D OpenGLRenderer: Swap behavior 1
04-22 23:44:24.432 5630 5630 D Terminal: Bound to service with 0 active terminals
04-22 23:44:24.444 5630 5647 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1
04-22 23:44:24.455 5630 5661 D Terminal: entering read() loop
04-22 23:44:24.461 5630 5630 D Terminal: setColors(0xffffffff, 0xff000000)
04-22 23:44:24.487 5630 5630 D Terminal: resize(61, 90, 100)
04-22 23:44:25.029 5630 5630 D Terminal: resize(36, 90, 100)
04-22 23:44:27.818 5630 5661 I Terminal: DING!
--------- beginning of crash
04-22 23:44:28.995 5689 5689 F libc : CANNOT LINK EXECUTABLE "su": cannot locate symbol "__sendto_chk" referenced by "/system/xbin/su"...
04-22 23:44:28.995 5689 5689 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 5689 (su)
04-22 23:45:04.662 5630 5630 D Terminal: resize(61, 90, 100)
04-22 23:47:19.159 5630 5647 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1
04-22 23:47:19.347 5630 5630 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
04-22 23:47:19.376 5630 5647 D OpenGLRenderer: endAllActiveAnimators on 0x7f69c98800 (RippleDrawable) with handle 0x7f561e5fe0
04-22 23:47:21.850 5630 5630 D Terminal: setColors(0xffffffff, 0xff000000)
04-22 23:47:21.865 5630 5647 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1
04-22 23:47:21.866 5630 5630 D Terminal: Bound to service with 1 active terminals
04-22 23:47:22.078 5630 5630 D Terminal: resize(36, 90, 100)
04-22 23:47:22.941 5630 5661 D Terminal: kill() requested
04-22 23:47:22.961 5630 5630 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
04-22 23:47:24.028 5630 5970 D Terminal: entering read() loop
04-22 23:47:24.031 5630 5630 D Terminal: setColors(0xffffffff, 0xff000000)
04-22 23:47:24.039 5630 5630 D Terminal: resize(61, 90, 100)
04-22 23:47:24.084 5630 5630 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
04-22 23:47:25.732 5630 5647 D OpenGLRenderer: endAllActiveAnimators on 0x7f3c63c000 (TerminalView) with handle 0x7f54425f20
04-22 23:47:25.742 5630 5630 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
04-22 23:47:25.747 5630 5630 W IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection
04-22 23:47:25.748 5630 5630 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
04-23 00:13:33.548 12237 12237 I art : Starting a blocking GC AddRemoveAppImageSpace
04-23 00:13:43.709 12378 12378 I art : Starting a blocking GC AddRemoveAppImageSpace
04-23 00:13:45.317 12416 12416 I art : Starting a blocking GC AddRemoveAppImageSpace
04-23 00:14:25.462 12519 12519 I art : Starting a blocking GC AddRemoveAppImageSpace
04-23 00:15:58.843 12519 12776 I OpenGLRenderer: Initialized EGL, version 1.4
04-23 00:15:58.843 12519 12776 D OpenGLRenderer: Swap behavior 1
04-23 00:15:58.846 12519 12519 D Terminal: Bound to service with 0 active terminals
04-23 00:15:58.868 12519 12789 D Terminal: entering read() loop
04-23 00:15:58.874 12519 12776 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1
04-23 00:15:58.882 12519 12519 D Terminal: setColors(0xffffffff, 0xff000000)
04-23 00:15:58.909 12519 12519 D Terminal: resize(61, 90, 100)
04-23 00:15:59.334 12519 12519 D Terminal: resize(36, 90, 100)
04-23 00:16:00.760 12795 12795 F libc : CANNOT LINK EXECUTABLE "su": cannot locate symbol "__sendto_chk" referenced by "/system/xbin/su"...
04-23 00:16:00.760 12795 12795 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 12795 (su)
04-23 00:17:53.603 12519 12519 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
04-23 00:17:53.604 12519 12519 W IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection
04-23 00:17:53.604 12519 12519 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
04-23 00:17:57.815 12983 12983 I art : Starting a blocking GC AddRemoveAppImageSpace
04-23 00:18:04.826 12983 13008 I OpenGLRenderer: Initialized EGL, version 1.4
04-23 00:18:04.827 12983 13008 D OpenGLRenderer: Swap behavior 1
04-23 00:18:04.831 12983 12983 D Terminal: Bound to service with 0 active terminals
04-23 00:18:04.838 12983 13008 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1
04-23 00:18:04.847 12983 13021 D Terminal: entering read() loop
04-23 00:18:04.854 12983 12983 D Terminal: setColors(0xffffffff, 0xff000000)
04-23 00:18:04.881 12983 12983 D Terminal: resize(61, 90, 100)
04-23 00:18:05.302 12983 12983 D Terminal: resize(36, 90, 100)
Radio file is empty
Samsung S6
Android Version = 7.1.2
LineageOS Version = 14.1-2019026-NIGHTLY-zerofltexx