Smartphone Camera Post Process Effect

Hello community. I am interested in how to make an imitation of a phone camera. Defocusing, adaptation to lighting, poor quality in the dark, etc.
Example

Any help would be appreciated.