- Clone this repo in vendor/xiaomi/miuicamera in your working directory by :
git clone https://github.com/SonalSingh18/vendor_xiaomi_miuicamera.git -b <branch-name> vendor/xiaomi/miuicamera
- You will need these changes in your device tree.
- Done, continue building your ROM as you do normally.