Let's Start,
1. Download Build Prop Editor from the link above or from the Google Play Store2. Unzip the PortraitMode.zip
3. Enable Root Access for this App
4. Follow these steps[/url]Add these line without Quotes and reboot  "persist.camera.HAL3.enabled=1"
5. Install Gcam Mod Apk6. You can use this Camera for Portrait Mode7. For HDR  for HDR Mode in the Zip File
[url=
https://in.c.mi.com/forum.php?mod=viewthread&tid=683300&aid=1523394&from=album&page=1" class="orange" style="display: inline; color: rgb(255, 103, 0); text-decoration-line: none; outline: 0px;]
[url=https://in.c.mi.com/forum.php?mod=viewthread&tid=683300&aid=1523392&from=album&page=1" class="orange" style="display: inline; color: rgb(255, 103, 0); text-decoration-line: none;][/url] for the above method decice should be Bootloader unlockedRootedRedmi note 4