[General Questions and Answers] jat777:
I am running AOSP on the Pixel 5A (Android 11). When I make or receive a call, the call seems to go through, but I get no audio. I have tried the headset and speakerphone.

I can hear other system sounds and alerts -- it's just an issue for calls. I have tried this on the June, September, and October releases, with the same results.

Does anyone else have this issue, or, more to the point, know the solution?

Looking at logcat, I get the following, repeated constantly, (which I presume is related to the problem):

10-12 17:26:26.366 875 875 D Zygote : Forked child process 9118

10-12 17:26:26.368 9118 9118 I libc : SetHeapTaggingLevel: tag level set to 0

10-12 17:26:26.372 1474 1632 I ActivityManager: Start proc 9118:com.qualcomm.qti.telephonyservice/1001 for restart com.qualcomm.qti.telephonyservice

10-12 17:26:26.375 1047 1089 I adbd : jdwp connection from 9118

10-12 17:26:26.384 9118 9118 I elephonyservic: The ClassLoaderContext is a special shared library.

10-12 17:26:26.388 9118 9118 D NetworkSecurityConfig: No Network Security Config specified, using platform default

10-12 17:26:26.388 9118 9118 D NetworkSecurityConfig: No Network Security Config specified, using platform default

10-12 17:26:26.389 9118 9118 I QtiTelephonyService: onCreate:

10-12 17:26:26.389 9118 9118 D AndroidRuntime: Shutting down VM

10-12 17:26:26.389 9118 9118 E AndroidRuntime: FATAL EXCEPTION: main

10-12 17:26:26.389 9118 9118 E AndroidRuntime: Process: com.qualcomm.qti.telephonyservice, PID: 9118

10-12 17:26:26.389 9118 9118 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/qualcomm/qcrilhook/QcRilHook;

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at com.qualcomm.qti.telephonyservice.QtiTelephonyService.onCreate(QtiTelephonyService.java:62)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:4186)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at android.app.ActivityThread.access$1500(ActivityThread.java:237)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7664)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

10-12 17:26:26.389 9118 9118 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.qualcomm.qcrilhook.QcRilHook

10-12 17:26:26.389 9118 9118 E AndroidRuntime: ... 10 more

10-12 17:26:26.391 1474 1630 V RescueParty: Disabled because of active USB connection

10-12 17:26:26.391 1474 1616 W ActivityManager: Process com.qualcomm.qti.telephonyservice has crashed too many times: killing!

10-12 17:26:26.392 9118 9118 I Process : Sending signal. PID: 9118 SIG: 9

10-12 17:26:26.399 875 875 I Zygote : Process 9118 exited due to signal 9 (Killed)

10-12 17:26:26.399 1474 1616 I ActivityManager: Process com.qualcomm.qti.telephonyservice (pid 9118) has died: pers PER

10-12 17:26:26.400 1474 1633 I libprocessgroup: Successfully killed process cgroup uid 1001 pid 9118 in 0ms

10-12 17:26:26.400 1474 1616 W ActivityManager: Scheduling restart of crashed service com.qualcomm.qti.telephonyservice/.QtiTelephonyService in 0ms for persistent

10-12 17:26:26.400 1474 1616 W ActivityManager: Re-adding persistent process ProcessRecord{d872c28 9118:com.qualcomm.qti.telephonyservice/1001}

10-12 17:26:26.401 1474 1616 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 1001; state: DISABLED

10-12 17:26:26.401 1474 1616 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 1001; state: DISABLED

Looking at adb shell dumpsys package output, I do see the qcrilhook listed under Libraries:

com.qualcomm.qcrilhook -> (jar) /system_ext/framework/qcrilhook.jar

I also see it listed in the usesLibraires section of the telephonyservice package:

Package [com.qualcomm.qti.telephonyservice] (683ce82):

userId=1001

sharedUser=SharedUserSetting{4ce8a18 android.uid.phone/1001}

pkg=Package{bb21669 com.qualcomm.qti.telephonyservice}

codePath=/system_ext/app/QtiTelephonyService

resourcePath=/system_ext/app/QtiTelephonyService

legacyNativeLibraryDir=/system_ext/app/QtiTelephonyService/lib

primaryCpuAbi=null

secondaryCpuAbi=null

versionCode=30 minSdk=30 targetSdk=29

versionName=11

splits=[base]

apkSigningVersion=3

applicationInfo=ApplicationInfo{bb21669 com.qualcomm.qti.telephonyservice}

flags=[ SYSTEM HAS_CODE PERSISTENT ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]

privateFlags=[ PRIVATE_FLAG_ACTIVITIES_RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION ALLOW_AUDIO_PLAYBACK_CAPTURE DIRECT_BOOT_AWARE SYSTEM_EXT PRIVATE_FLAG_ALLOW_NATIVE_HEAP_POINTER_TAGGING ]

forceQueryable=false

queriesPackages=[]

dataDir=/data/user/0/com.qualcomm.qti.telephonyservice

supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]

usesLibraries:

android.test.base

com.qualcomm.qcrilhook

qti-telephony-hidl-wrapper

qti-telephony-utils

timeStamp=2021-10-11 17:41:33

firstInstallTime=2021-10-11 17:41:33

lastUpdateTime=2021-10-11 17:41:33

signatures=PackageSignatures{bddb8ee version:3, signatures:[b4addb29], past signatures:[]}

installPermissionsFixed=false

pkgFlags=[ SYSTEM HAS_CODE PERSISTENT ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]

declared permissions:

com.qualcomm.qti.permission.USE_QTI_TELEPHONY_SERVICE: prot=signature|privileged, INSTALLED

com.qualcomm.qti.permission.ACCESS_USER_AUTHENTICATION_APIS: prot=signature|privileged, INSTALLED

User 0: ceDataInode=2169 installed=true hidden=false suspended=false distractionFlags=0 stopped=false notLaunched=false enabled=0 instant=false virtual=false