First of all you need to have a smartphone which offers manual settings in its camera app. Then you need to place the phone in a stationary place, tripod is the best option if you own one. Then using the manual focus option, set the focus to that point in which everything is in focus. The ISO should not be too low nor too high, high will increase noise and in low the photo will appear dark. Somewhere in the middle will do fine. Then set the shutter speed to at least 30 minutes.
Then be patient and you will get the reward.
Image Details:
ISO: 800
S: 25 minutes
F: 2.2
Photo taken with Huawei Mate 10 lite