Why does my speaker and headphone jack not work

I attempted to mod my ps4 controller, but when I did I broke a couple of pins on the motherboard where the ribbon cable that goes to the back connects. Now my battery doesn't charge and my speaker and headphone jack don't work. As long as I have the controller plugged in to the console everything else works fine. What can I do?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0