|You can download Google Camera from this link|
This is one of the version which is working, I tried so many version of the app.
Though there is no portrait mode, but the front camera images can be improved by turning on the HDR mode.
Also video recording is much smoother than the stock camera.
I had tested this on MIUI 10.
Remember this is non rooted.
In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .