# it start all with counting. If last 5 items are missing...
# https://wiki.mobian-project.org/doku.php?id=pinephone&s[]=volte#what-s-working-with-mobian
mmcli -m any --command='AT+QMBNCFG="list"'
# install a ton of utils. On a phone!
apt install adb gcc
gcc unlock-tool.c -lcrypt -o unlock

# get a magic number
mobian@mobian:~$ mmcli -m any --command='AT+QADBKEY?'
response: '+QADBKEY: 21897001'
mobian@mobian:~/modem-adventures$ ./unlock 21897001
AT+QADBKEY="D6i.NWpDJ0Y6IouH"
AT+QCFG="usbcfg",0x2C7C,0x125,1,1,1,1,1,1,0

To disable ADB, run: (beware that modem will not be able to enter sleep with ADB enabled!!)
AT+QCFG="usbcfg",0x2C7C,0x125,1,1,1,1,1,0,0

## do what they told you:
mmcli -m any --command='AT+QADBKEY="D6i.NWpDJ0Y6IouH"'
mmcli -m any --command='AT+QCFG="usbcfg",0x2C7C,0x125,1,1,1,1,1,1,0'

# reboot the modem
mobian@mobian:~/modem-adventures$ sudo adb reboot edl
[sudo] Passwort für mobian: 
* daemon not running; starting now at tcp:5037
* daemon started successfully

# verify you are in "QDL" mode # what the fish?
mobian@mobian:~/modem-adventures$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)
...

###########

different approach: adjust volume in /usr/share/alsa/ucm2/PinePhone/VoiceCall.conf 


root@mobian:~# diff /usr/share/alsa/ucm2/PinePhone/VoiceCall.conf /root/usr-share-alsa-ucm2-PinePhone-VoiceCall.conf 
11c11
< 		cset "name='AIF2 DAC Playback Volume' 90"
---
> 		cset "name='AIF2 DAC Playback Volume' 160"
32c32
< 		cset "name='AIF2 ADC Capture Volume' 90"
---
> 		cset "name='AIF2 ADC Capture Volume' 160"