The computer has more options for stitching photos together than digital cameras have. Hugin Panorama Creator is free software and gives excellent results. However, to work correctly, Hugin needs the correct information for the lens used to take the photos! It is uncanny how inadequate lens data can impede Hugin’s algorithms to the point of rendering them absolutely useless.
The Fairphone 2 is not actually a digital camera for a start, and it is a niche phone at that. No wonder, that Hugin knows nothing about its lenses.