Hi Please share -
Firmware:
Go to setting => About => Software information.
Also, have you tried with a different earphones?
Check under safe mode if default Apps like YouTube works.
Safe Mode:
Hold power button for 5 seconds => When the screen flashes with option => Press & hold power option => You will get an option to restart in safe mode