sonyxperiadev / bug_tracker

Empty repository that is used as a bugtracker for Open Devices project
52 stars 13 forks source link

[Suzu] No audio during call #277

Closed XperiaDeveloper closed 5 years ago

XperiaDeveloper commented 5 years ago

Platform: Loire Device: Suzu Kernel version: 4.4 Android version: Android 8.1.0-r52 Firmware version: v16 Software binaries for AOSP Oreo (Android 8.1) – Kernel 4.4 – Loire Build type: Debug and user build

Description I have build and flashed Android 8.1.0-r52 on XperiaX device following the instruction provided in here. When I place a voice call from or to a XperiaX device, the call is established successfully. I can hear the Ring tone and the typing sound but no voice is going throw.

I got the same results also using a headphone and a Bluetooth-headset.

Attached you can find a log file. sony_log.log

Related Issues This may be related to a previous reported issue [maple]

How to reproduce Place a voice call Try to make a conversation

PS: sorry for the repost

XperiaDeveloper commented 5 years ago

It works after reboot tho

jerpelea commented 5 years ago

the issue is caused by a race in the adspcrpcd service startup

jerpelea commented 5 years ago

please revert the following commits : 4eb90a1615ddc2dddac91bbf828b1e9b6986c562 d5726b5ee8a4a4cd1c42a4ea2603347ba9fc60b3 9e89971986ce46745ae58f9f5728d69554aab6bc

and rebuild

XperiaDeveloper commented 5 years ago

Hi Alin, thanx for quick response. After reverting the patches:

  1. We have voice on calls.
  2. Reverting doesn't fix the issue #265.
  3. We mentioned that first SIM PIN is not accepted. Second try is accepted. Should we write another ticket for this?
jerpelea commented 5 years ago

it is important to check on the first boot after userdata is wiped

XperiaDeveloper commented 5 years ago

For testing we flash always the userdata.img (as well as boot, recovery, system, cache, and oem). So the userdata should be in a clear state.

jerpelea commented 5 years ago

the reverts are pushed please test and close this issue

jerpelea commented 5 years ago

the race condition appears to be fixed