• 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.
• Additionally for shipping MiuiGallery along with MiuiCamera in ur builds
export TARGET_SHIPS_GALLERY=true