@skyblond You can use a third party app to interface with the Camera2 API. This allows one to capture DNG or RAW images even if the standard photo app doesn't support this feature.
I recommend OpenCamera for this. You can also have it take a jpg image along with the DNG or RAW format. The raw formats can be converted to many different formats.
@AmpBenzScientist I found the option in camera settings. Samsung called it "high efficient format" and hid it in a sub page.
@skyblond On my OnePlus I just had to resort to using the Camera2 API with OpenCamera to get DNG captures. The stock camera app made awful quality photos. The benefit of using the Camera2 API and a DNG capture is that I get the absolute best quality captures that my cameras can handle. I'd highly recommend trying it or looking into the RAW formats if your camera app supports it.
It gives a much better quality image after it is processed. It takes up more space but the difference can be stunning.
@AmpBenzScientist
Thanks, I'll have a try. I think samsung can output raw file in the camera app. But considering how they applied their mysterious algorithm, I think call the api directly will give a more native result.
@AmpBenzScientist The hardware is impressive. But considering their computational photography (search "Samsung moon" on Google), I haven't fully trust the camera app yet.
@skyblond It doesn't surprise me. Smartphones have had the ability to censor text in photos in real time for over a decade. It's a sensitive topic so I won't get into it.