Ok, I opened /system/etc/init.sh file using a root file explorer and text editor.
alsa_ctl init $c
alsa_amixer -c $c set Master on
alsa_amixer -c $c set Master 127
alsa_amixer -c $c set Headphone on
alsa_amixer -c $c set Headphone 127
alsa_amixer -c $c set Speaker 127
alsa_amixer -c $c set Capture 'Internal Mic'
alsa_amixer -c $c set Capture cap
alsa_amixer -c $c set PCM 100 unmute
alsa_amixer -c $c set 'Mic Boost' 3
alsa_amixer -c $c set 'Internal Mic Boost' 3
I changed the capture device to 'Internal Mic'. If you are using a headphone with mic, just change the capture to 'Mic'. Also careful with the boost settings:)