How to fix mic & sound issues in PhoenixOS Darkmatter

You can follow this simple video guide to fix your no sound & mic issues in Phoenix OS Darkmatter

[Points to remember]

#1 You don't need to Edit you init.sh file to add alsa presets.


#2 you can apply alsa_preset using gearlock app >> option 8>> option 4 >> select any preset (1-4) & do reboot to test it.

#3 you can also goto to following location and edit the "alsa_preset" file
"#/system/phoenixos_darkmatter/gearboot/boot-comp "
"in DM 4.4"

"#/system/ghome/gearboot/boot-comp " "in DM 4.5 & above"

#4 you can also download my Custom Presets from following Download link.

#5 if you have USB headset then use soundabout app & set it to USB Host.

#6 For pubg mic related issues over USB headset just connect the USB first, launch the game then connect 3.5mm jack after you have enable team sound & mic sound. also make sure to use soundabout app for USB headset.

#7 If you are getting low mic volume or bad mic volume than change the ["internal mic boost " 0 ] value to 1/2/3.
higher the value more will be sound & noise.

#7 if nothing works for you & you've 3.5mm audio headset then last thing you can do is use my custom preset "alsa_preset [AIO]" & reboot your pc.





[ALSA Download Links]


[Alternative App]

You can also try Lesser AudioSwitch App form play store if soundabout doesn't work for you

unnamed.jpg
unnamed-_2_.jpg
unnamed-_1_.jpg




Please comment with your headphone name & model below if your headset is not supported on any android x86 build.
 

Attachments

  • 1580488278580.png
    1580488278580.png
    680.9 KB · Views: 7,249
Last edited:

nklowns

New member
VC
42
I was unable to configure it so that the microphone is that of my usb adapter, only the internal microphone of the notebook.
my microphone is one with separate inputs, then I use an adapter usb.


After your idea to modify the presets, I took a look, and made mine manually
Here is my entire preset, there are a lot of settings off because they are for specific hardware
Code:
for c in $(grep '\[.*\]' /proc/asound/cards | awk '{print $1}'); do
    f=/system/etc/alsa/$(cat /proc/asound/card$c/id).state
    if [ -e $f ]; then
        alsa_ctl -f $f restore $c
        alsa_amixer -c $c set Speaker 50%
    else
        alsa_ctl init $c

        alsa_amixer -c $c set Master on
        alsa_amixer -c $c set Master 100%
        alsa_amixer -c $c set Headphone on
        alsa_amixer -c $c set Headphone 100%
        alsa_amixer -c $c set Speaker 100%
        alsa_amixer -c $c set Capture 100%
        alsa_amixer -c $c set Capture cap

        alsa_amixer -c $c set PCM 100 unmute
        alsa_amixer -c $c set SPO unmute
        alsa_amixer -c $c set IEC958 on

        alsa_amixer -c $c set 'Input Source',0 'Internal Mic'

        alsa_amixer -c $c set Mic off
        alsa_amixer -c $c set Mic 100%
        alsa_amixer -c $c set 'Mic Boost' 0
            
        alsa_amixer -c $c set 'Internal Mic' on
        alsa_amixer -c $c set 'Internal Mic' 100%
        alsa_amixer -c $c set 'Internal Mic Boost' 1
            
        alsa_amixer -c $c set 'Inverted Internal Mic' off
        alsa_amixer -c $c set 'Inverted Internal Mic' 100%
        alsa_amixer -c $c set 'Inverted Internal Mic Boost' 0

        alsa_amixer -c $c set 'Rear Mic' off
        alsa_amixer -c $c set 'Rear Mic' 100%
        alsa_amixer -c $c set 'Rear Mic Boost' 0

        alsa_amixer -c $c set 'Front Mic' off
        alsa_amixer -c $c set 'Front Mic' 100%
        alsa_amixer -c $c set 'Front Mic Boost' 0
            
        alsa_amixer -c $c set Line off
        alsa_amixer -c $c set Line 100%
        alsa_amixer -c $c set 'Line Boost' 0

        # Capture Switchs
        alsa_amixer -c $c cset name='Internal Mic Capture Switch' on
        alsa_amixer -c $c cset name='Inverted Internal Mic Capture Switch' off

        alsa_amixer -c $c cset name='Mic Capture Switch' off
        alsa_amixer -c $c cset name='Headset Capture Switch' off
        alsa_amixer -c $c cset name='Mono ADC Capture Switch' off
        alsa_amixer -c $c cset name='ADC Capture Switch' off
        
        # Headphones
        alsa_amixer -c $c cset name='Headphone Switch'  off
        alsa_amixer -c $c cset name='Speaker Switch' off
        alsa_amixer -c $c cset name='HP Channel Switch' off
        alsa_amixer -c $c cset name='HPO MIX HPVOL Switch'  off
        alsa_amixer -c $c cset name='DAC MIXL INF1 Switch'  off
        alsa_amixer -c $c cset name='DAC MIXR INF1 Switch'  off
        alsa_amixer -c $c cset name='Stereo DAC MIXL DAC L1 Switch'  off
        alsa_amixer -c $c cset name='Stereo DAC MIXR DAC R1 Switch'  off
        alsa_amixer -c $c cset name='Stereo DAC MIXL DAC L2 Switch'  off
        alsa_amixer -c $c cset name='Stereo DAC MIXR DAC R2 Switch'  off
        alsa_amixer -c $c cset name='HP L Playback Switch' off
        alsa_amixer -c $c cset name='HP R Playback Switch' off
        alsa_amixer -c $c cset name='HP Playback Volume' 0
        
        # HeadsetMic
        alsa_amixer -c $c cset name='Headset Mic Switch' off
        alsa_amixer -c $c cset name='RECMIXL BST2 Switch' off
        alsa_amixer -c $c cset name='RECMIXR BST2 Switch' off
        alsa_amixer -c $c cset name='Stereo ADC MIXL ADC1 Switch' off
        alsa_amixer -c $c cset name='Stereo ADC MIXR ADC1 Switch' off
        alsa_amixer -c $c cset name='Mono ADC MIXL ADC1 Switch' off
        alsa_amixer -c $c cset name='Mono ADC MIXR ADC1 Switch' off
        
        # IN1-InternalMics
        alsa_amixer -c $c cset name='Internal Mic Switch' off
        alsa_amixer -c $c cset name='RECMIXL BST1 Switch' off
        alsa_amixer -c $c cset name='RECMIXR BST1 Switch' off
        alsa_amixer -c $c cset name='RECMIXL BST3 Switch' off
        alsa_amixer -c $c cset name='RECMIXR BST3 Switch' off
        
        # DigitalMics
        alsa_amixer -c $c cset name='Stereo ADC MIXL ADC2 Switch' off
        alsa_amixer -c $c cset name='Stereo ADC MIXR ADC2 Switch' off
    fi
done
Post automatically merged:

It has a configuration option that I believe is the one that allows you to choose between the audio device.
the usb adapter was like device 2 on my notebook, but even changing to 2 nothing has changed and only the internal microphone is recognized.

Code:
alsa_amixer -c $c set 'Input Source',0 'Internal Mic'
 
Last edited:

boker

New member
VC
4
I already using alsa present 1 2 3 4. But the mic not working in discord and any game.
Headset type MSI Ds502
Post automatically merged:

I already using alsa present 1 2 3 4. But the mic not working in discord and any game.
Headset type MSI Ds502
7.1
 

MrLeo

New member
VC
4
Hello
i have problem with my USB headset on phoenix os dark matter,i try to fix but no :(
my headset RAMPAGE MESH PLUS 7.1 GAMİNG HEADSET,
Please help my problem.
 

zeher

New member
VC
6
thank u for ur helping,i watched already video
i have problem sound too low i try many methot but cant fix it.
anybody can help my problem?
you can boost your sound from ini.sh file..there is a line for boosmicvolumn or something like that check other resources before doing that
 
Top