For stars: - have the moon behind you as best possible -a tripod with phone mount - pro mode, increase exposure time and experiment with Iso
Also need a decent clear night! I havnt had the opportunity not take much astrophotography with this phone yet but there's a great YouTube channel on this. I'll find it and share a link