[Android Software Development] t0per666:
I successfully flashed the latest standard build but the audio is not working i can hear sounds but its SO LOW even in max volume.

Im using LineageOS 15.1 Oreo for Mi A1.

Edit:

I tried the unity version but still low on volumes.

tissot:/ $ su
tissot:/ # dumpsys media.audio_flinger
Libraries NOT loaded:
Libraries loaded:
Library audio_pre_processing
path: /vendor/lib/soundfx/libqcomvoiceprocessing.so
Noise Suppression / Qualcomm Fluence
UUID: 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
TYPE: 58b4b260-8e06-11e0-aa8e-0002a5d5c51b
apiVersion: 00020000
flags: 00420203
Acoustic Echo Canceler / Qualcomm Fluence
UUID: 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
TYPE: 7b491460-8d4d-11e0-bd61-0002a5d5c51b
apiVersion: 00020000
flags: 00420203
Library offload_bundle
path: /vendor/lib/soundfx/libqcompostprocbundle.so
(no effects)
Library proxy
path: /vendor/lib/soundfx/libeffectproxy.so
Visualizer / The Android Open Source Project
UUID: 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c
TYPE: e46b26a0-dddd-11db-8afd-0002a5d5c51b
apiVersion: 00020000
flags: 00400008
Qualcomm Technologies Insert Preset Reverb / Qualcomm Technologies, Inc.
UUID: f3e178d2-ebcb-408e-8357-0002a5d5c51b
TYPE: 47382d60-ddd8-11db-bf3a-0002a5d5c51b
apiVersion: 00020000
flags: 00400048
Qualcomm Technologies Auxiliary Preset Reverb / Qualcomm Technologies, Inc. UUID: 1b78f587-6d1c-422e-8b84-0002a5d5c51b
TYPE: 47382d60-ddd8-11db-bf3a-0002a5d5c51b
apiVersion: 00020000
flags: 00400001
Qualcomm Technologies Insert Environmental Reverb / Qualcomm Technologies, Inc.
UUID: b707403a-a1c1-4291-9573-0002a5d5c51b
TYPE: c2e5d5f0-94bd-4763-9cac-4e234d06839e
apiVersion: 00020000
flags: 00400048
Qualcomm Technologies Auxiliary Environmental Reverb / Qualcomm Technologies, Inc.
UUID: 48404ac9-d202-4ccc-bf84-0002a5d5c51b
TYPE: c2e5d5f0-94bd-4763-9cac-4e234d06839e
apiVersion: 00020000
flags: 00400001
Equalizer / NXP Software Ltd.
UUID: c8e70ecd-48ca-456e-8a4f-0002a5d5c51b
TYPE: 0bed4300-ddd6-11db-8f34-0002a5d5c51b
apiVersion: 00020000
flags: 00400048
Qualcomm Technologies Virtualizer / Qualcomm Technologies, Inc.
UUID: d3467faa-acc7-4d34-acaf-0002a5d5c51b
TYPE: 37cc2c00-dddd-11db-8577-0002a5d5c51b
apiVersion: 00020000
flags: 00400250
Qualcomm Technologies Bass Boost / Qualcomm Technologies, Inc.
UUID: 14804144-a5ee-4d24-aa88-0002a5d5c51b
TYPE: 0634f220-ddd4-11db-a0fc-0002a5d5c51b
apiVersion: 00020000
flags: 00400250
Library loudness_enhancer
path: /vendor/lib/soundfx/libldnhncr.so
Loudness Enhancer / The Android Open Source Project
UUID: fa415329-2034-4bea-b5dc-5b381c8d1e2c
TYPE: fe3199be-aed0-413f-87bb-11260eb63cf1
apiVersion: 00020000
flags: 00000008
Library downmix
path: /vendor/lib/soundfx/libdownmix.so
Multichannel Downmix To Stereo / The Android Open Source Project
UUID: 93f04452-e4fe-41cc-91f9-e475b6d1d69f
TYPE: 381e49cc-a858-4aa2-87f6-e8388e7601b2
apiVersion: 00020000
flags: 00000008
Library visualizer_hw
path: /vendor/lib/soundfx/libqcomvisualizer.so
(no effects)
Library visualizer_sw
path: /vendor/lib/soundfx/libvisualizer.so
(no effects)
Library qcreverb
path: /vendor/lib/soundfx/libqcreverb.so
(no effects)
Library qcvirt
path: /vendor/lib/soundfx/libqcvirt.so
(no effects)
Library qcbassboost
path: /vendor/lib/soundfx/libqcbassboost.so
(no effects)
Library reverb
path: /vendor/lib/soundfx/libreverbwrapper.so
(no effects)
Library bundle
path: /vendor/lib/soundfx/libbundlewrapper.so
Volume / NXP Software Ltd.
UUID: 119341a0-8469-11df-81f9-0002a5d5c51b
TYPE: 09e8ede0-ddde-11db-b4f6-0002a5d5c51b
apiVersion: 00020000
flags: 00000050
Library atmos
path: /vendor/lib/soundfx/libatmos.so
DAP CPDP / Dolby Laboratories, Inc.
UUID: 9d4921da-8225-4f29-aefa-aacb40a73593
TYPE: 46d279d9-9be7-453d-9d7c-ef937f675587
apiVersion: 00020000
flags: 00040288
Library vlldp
path: /vendor/lib/soundfx/libswvlldp.so
DAP VLLDP / Dolby Laboratories, Inc.
UUID: 3783c334-d3a0-4d13-874f-0032e5fb80e2
TYPE: 12ea851f-0e12-4bde-a5e5-71f5651e9f96
apiVersion: 00020000
flags: 00040288
XML effect configuration loaded successfully.
Clients:
pid: 1619
Notification Clients:
pid: 1619
pid: 1642
pid: 2960
pid: 6298
pid: 6467
Global session refs:
session pid count
Hardware status: 0
Standby Time mSec: 3000

Output thread 0xeea03340, name AudioOut_D, tid 2046, type 0 (MIXER):
I/O handle: 13
Standby: yes
Sample rate: 48000 Hz
HAL frame count: 192
HAL format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)
HAL buffer size: 768 bytes
Channel count: 2
Channel mask: 0x00000003 (front-left, front-right)
Processing format: 0x5 (AUDIO_FORMAT_PCM_FLOAT)
Processing frame size: 8 bytes
Pending config events: none
Output device: 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
Input device: 0 (AUDIO_DEVICE_NONE)
Audio source: 0 (default)
Normal frame count: 960
Last write occurred (msecs): 187712
Total writes: 0
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xeecae000
Mixer buffer: 0xef5d4000
Effect buffer: 0xef58a000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xef5b3a78 flags 0x6 (AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST)
Frames written: 0
Suspended frames: 0
PipeSink frames written: 0
Hal stream dump:
Thread throttle time (msecs): 0
AudioMixer tracks: 0x00000000
Master mono: off
FastMixer thread 0xee983f40 tid=2045 FastMixer command=COLD_IDLE writeSequence=0 framesWritten=0
numTracks=0 writeErrors=0 underruns=0 overruns=0
sampleRate=0 frameCount=0 measuredWarmup=0 ms, warmupCycles=0
mixPeriod=nan ms
No FastMixer statistics available currently
Fast tracks: sMaxFastTracks=8 activeMask=0
Index Active Full Partial Empty Recent Ready Written
0 no 0 0 0 full 0 0
1 no 0 0 0 full 0 0
2 no 0 0 0 full 0 0
3 no 0 0 0 full 0 0
4 no 0 0 0 full 0 0
5 no 0 0 0 full 0 0
6 no 0 0 0 full 0 0
7 no 0 0 0 full 0 0
Stream volumes in dB: 0:-24, 1:-inf, 2:-inf, 3:-inf, 4:-inf, 5:-inf, 6:0, 7:-inf, 8:-inf, 9:0, 10:-inf, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
0 Tracks
1 Effect Chains
1 effects for session 0
In buffer Out buffer Active tracks:
0xef58a000 -> 0xf1c71000 0xf1c71000 -> 0xef58a000 0
Effect ID 11:
Session Status State Engine:
00000 000 003 0xef5a09e0
Descriptor:
- UUID: 3783c334-d3a0-4d13-874f-0032e5fb80e2
- TYPE: 12ea851f-0e12-4bde-a5e5-71f5651e9f96
- apiVersion: 00000001
- flags: 00040288 (conn. mode: insert, insert pref: first, volume mgmt: requires indication, device indication: requires updates, input mode: not set, output mode: not set, mode indication: required)
- name: DAP VLLDP
- implementor: Dolby Laboratories, Inc.
- Input configuration:
Frames Smp rate Channels Format Buffer
00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT) 0xf1c71000
- Output configuration:
Buffer Frames Smp rate Channels Format
0xf1c71000 00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT)
1 Clients:
Pid Priority Ctrl Locked client server
1619 0 yes yes 0 0
Local log:
03-03 13:40:20.600 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)

Output thread 0xee703b40, name AudioOut_15, tid 2050, type 0 (MIXER):
I/O handle: 21
Standby: yes
Sample rate: 48000 Hz
HAL frame count: 192
HAL format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)
HAL buffer size: 768 bytes
Channel count: 2
Channel mask: 0x00000003 (front-left, front-right)
Processing format: 0x5 (AUDIO_FORMAT_PCM_FLOAT)
Processing frame size: 8 bytes
Pending config events: none
Output device: 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
Input device: 0 (AUDIO_DEVICE_NONE)
Audio source: 0 (default)
Normal frame count: 960
Last write occurred (msecs): 187714
Total writes: 0
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xef5d7000
Mixer buffer: 0xeecb3000
Effect buffer: 0xef58b000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xef5b3a08 flags 0x104 (AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW)
Frames written: 0
Suspended frames: 0
PipeSink frames written: 0
Hal stream dump:
Thread throttle time (msecs): 0
AudioMixer tracks: 0x00000000
Master mono: off
FastMixer thread 0xee683140 tid=2049 FastMixer command=COLD_IDLE writeSequence=0 framesWritten=0
numTracks=0 writeErrors=0 underruns=0 overruns=0
sampleRate=0 frameCount=0 measuredWarmup=0 ms, warmupCycles=0
mixPeriod=nan ms
No FastMixer statistics available currently
Fast tracks: sMaxFastTracks=8 activeMask=0
Index Active Full Partial Empty Recent Ready Written
0 no 0 0 0 full 0 0
1 no 0 0 0 full 0 0
2 no 0 0 0 full 0 0
3 no 0 0 0 full 0 0
4 no 0 0 0 full 0 0
5 no 0 0 0 full 0 0
6 no 0 0 0 full 0 0
7 no 0 0 0 full 0 0
Stream volumes in dB: 0:-24, 1:-inf, 2:-inf, 3:-inf, 4:-inf, 5:-inf, 6:0, 7:-inf, 8:-inf, 9:0, 10:-inf, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
0 Tracks
0 Effect Chains
Local log:
03-03 13:40:20.607 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)

Output thread 0xee403e80, name AudioOut_1D, tid 2051, type 0 (MIXER):
I/O handle: 29
Standby: yes
Sample rate: 48000 Hz
HAL frame count: 1920
HAL format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)
HAL buffer size: 7680 bytes
Channel count: 2
Channel mask: 0x00000003 (front-left, front-right)
Processing format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)
Processing frame size: 4 bytes
Pending config events: none
Output device: 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
Input device: 0 (AUDIO_DEVICE_NONE)
Audio source: 0 (default)
Normal frame count: 1920
Last write occurred (msecs): 85009
Total writes: 789
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xef5d9000
Mixer buffer: 0xee9f6000
Effect buffer: 0xeeca1000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xef5b3ab0 flags 0x8 (AUDIO_OUTPUT_FLAG_DEEP_BUFFER)
Frames written: 1514880
Suspended frames: 0
Hal stream dump:
Thread throttle time (msecs): 40
AudioMixer tracks: 0x00000000
Master mono: off
No FastMixer
Stream volumes in dB: 0:-24, 1:-inf, 2:-inf, 3:-17, 4:-inf, 5:-inf, 6:0, 7:-inf, 8:-inf, 9:0, 10:-inf, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
0 Tracks
0 Effect Chains
Local log:
03-03 13:40:20.612 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
03-03 13:40:51.496 removeTrack_l (0xee462600) S 0 no 5888 17 T 0x200 00000001 00000003 48000 3 0 0 0 00000000 3844 3844 I 0 0 EF5D9000 00000000
03-03 13:41:12.026 AT::add (0xee463200) 1 no 6467 41 A 0x000 00000001 00000003 44100 3 -2.6 -2.6 0 00000000 14144 0 f 0 0 F1C6E000 00000000
03-03 13:41:40.694 AT::remove (0xee463200) 1 no 6467 41 T 0x601 00000001 00000003 44100 3 -2.6 -2.6 0 001337E8 14144 14144 f 1768 0 F1C6E000 00000000
03-03 13:41:40.694 removeTrack_l (0xee463200) 1 no 6467 41 T 0x601 00000001 00000003 44100 3 -2.6 -2.6 0 001337E8 14144 14144 f 1768 0 F1C6E000 00000000
03-03 13:41:48.106 removeTrack_l (0xee462900) S 0 no 6298 33 T 0x200 00000001 00000003 48000 3 0 0 0 00000000 3844 3844 I 0 0 EF5D9000 00000000

Output thread 0xee283f00, name AudioOut_25, tid 2056, type 0 (MIXER):
I/O handle: 37
Standby: yes
Sample rate: 48000 Hz
HAL frame count: 768
HAL format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)
HAL buffer size: 3072 bytes
Channel count: 2
Channel mask: 0x00000003 (front-left, front-right)
Processing format: 0x5 (AUDIO_FORMAT_PCM_FLOAT)
Processing frame size: 8 bytes
Pending config events: none
Output device: 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX)
Input device: 0 (AUDIO_DEVICE_NONE)
Audio source: 0 (default)
Normal frame count: 1152
Last write occurred (msecs): 187716
Total writes: 0
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xef5f2800
Mixer buffer: 0xef5f0000
Effect buffer: 0xee769400
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xef5b39d0 flags 0 (AUDIO_OUTPUT_FLAG_NONE)
Frames written: 0
Suspended frames: 0
PipeSink frames written: 0
Hal stream dump:
Thread throttle time (msecs): 0
AudioMixer tracks: 0x00000000
Master mono: off
FastMixer thread 0xee203a40 tid=2055 FastMixer command=COLD_IDLE writeSequence=0 framesWritten=0
numTracks=0 writeErrors=0 underruns=0 overruns=0
sampleRate=0 frameCount=0 measuredWarmup=0 ms, warmupCycles=0
mixPeriod=nan ms
No FastMixer statistics available currently
Fast tracks: sMaxFastTracks=8 activeMask=0
Index Active Full Partial Empty Recent Ready Written
0 no 0 0 0 full 0 0
1 no 0 0 0 full 0 0
2 no 0 0 0 full 0 0
3 no 0 0 0 full 0 0
4 no 0 0 0 full 0 0
5 no 0 0 0 full 0 0
6 no 0 0 0 full 0 0
7 no 0 0 0 full 0 0
Stream volumes in dB: 0:-24, 1:-inf, 2:-inf, 3:-inf, 4:-inf, 5:-inf, 6:0, 7:-inf, 8:-inf, 9:0, 10:-inf, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
0 Tracks
0 Effect Chains
Local log:
03-03 13:40:20.620 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX) new device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX)

USB audio module:
No output streams.

No input streams.

Reroute submix audio module:
route[0] rate in=0 out=0, addr=[]
route[1] rate in=0 out=0, addr=[]
route[2] rate in=0 out=0, addr=[]
route[3] rate in=0 out=0, addr=[]
route[4] rate in=0 out=0, addr=[]
route[5] rate in=0 out=0, addr=[]
route[6] rate in=0 out=0, addr=[]
route[7] rate in=0 out=0, addr=[]
route[8] rate in=0 out=0, addr=[]
route[9] rate in=48000 out=48000, addr=[]
tissot:/ #