Chosen Solution

My speaker works perfectly in bootcamp, on the other hand the macOS just shows no internal speaker, also the red light in the headphone jack is visible, at this point Ive tried everything, I even damaged my jack trying to unstuck whatever is there. Is there any software fix for this? If it works in Windows then it should in macOS, right?

Sorry not software solution ;-{ Windows does not interface with the sound services in the same way. Which is why it will work under it and not under macOS. The best way to think this is the differences between a given’s makers drug and a substitute (generic). Sometimes the therapeutic benefit is not the same! Thats the case here the way Windows works on a Mac system is not the same as how macOS does. So what to do? At this point I think you need to find someone who can fix your logic board by replacing the headphone jack (this is not easy!) or just replace the logic board. Here’s the guide MacBook Pro 13" Retina Display Early 2015 Logic Board Replacement which also has the logic boards. If you currently have an 8 GB board its a good time to upgrade to 16 GB!