Use exiftool to add the needed EXIF data:

exiftool Photosphere.jpg -ProjectionType=equirectangular -UsePanoramaViewer=True

Now copy the file to your phone and it will be recognized as a photosphere.