The headphone jack was obviously defect. At the same time I decided to replace the battery as it was loosing charge to fast.
It went quite OK. The trickiest was to get the switch at the right position and to get it to stay there. I had to open it again to correct the switch. Now all is OK!
Check the switch operation and positioning. And be shure to have the correct screwdriver!