• Clone this repo in vendor/xiaomi/miuicamera in your working directory by :
git clone https://github.com/SonalSingh18/vendor_xiaomi_miuicamera.git -b thirteen vendor/xiaomi/miuicamera
• You will need following changes in your device tree:
• Makefile changes
• Props Changes
- Add miuicamera to aux packagelist
- Skip stream size check for miuicamera
- Add more props needed for miuicamera
• Sepolicy changes
• Furthermore, below are the patches needed in ROMs sources
• Done, continue building your ROM as you do normally.