Chosen Solution

Is the headphone jack soldered to any kind of board or is it connected by a connector.

Nishmith Shetty  the audio jack is on a shared flex.

. Looks like you can even get those on Ebay etc., just do a search for either audio jack or earphone jack. Instructions on how to disassemble your Nokia 8 are right here Nokia_8-disassembly.pdf