Issue may be that the algorithms are trained on specific camera unit and gathering a large database of data from all possible cameras may be difficult even for big guy like google. Google puts a ton of work into their camera app and you can get clones that work on other devices with varying degree off success. For example I have mi5s that uses the same sensor as first pixel and get quite decent results with arnova's gcam clone.