tried many headsets. headset is working,but even after removal of headset sound playing through headset only not switching to earpiece or loudspeaker.
but i can get sound through earpiece and speaker using the app 'Soundabout' which reroute sound to built in speaker again.
Problem is that even after headset removal,phone thinks headphone still connected. it can detect headset pushbutton switch also,which can pause,play.... it can identify between headphone and headset also after restarting. IT NOT DETECTING REMOVAL OF HEADSET AND HEADPHONE IS THE ONLY ACTUAL PROBLEM.all other problems are due to this.
i mentioned the voltage at mic pin to ground is 2.65v when noting is connected.(Ie;headset is connnected in background,phone think so).