on redmi 5 version 10.1.3.0 there is no portrait mode on rear camera.