The white antenna cable that connects to the mother board , right above the battery has dislodged and I have lost the end that connects, Couple of questions, any ideas on how I can reconnect that ? Also what is its function and where does it connect to ?

I have a jbl soundstage ii speaker and keep getting that the "accessory is not made for iphone" , could this be related ?

Would really appreciate any advice