MiuiCamera: Initial Poco F3 Repository
- Includes following changes: * Import Xiaomi MiSys Hal and Sepolicy * Import needed camera permissions * Import Camera Postprocessing * Import Poco F3 / Mi 11x Device Features [For Miui Deps] * Import camxoverride settings & tune down CameraX logging * Import needed camera prebuilts for Poco F3 AOSP Device trees * Import Leica/Miui Camera mod 5.x by https://t.me/itzdfplayer & HollyBear * Create device-specific config overlay for following Camera to enable appropriate features * Import device-specific OpenCL * Import AOSP and LOS aux camera overlays * Import appropriate sepolicy for Poco F3 / Mi11x - Repo requires: * Have device-side hides in libinit for .mod_device and .name * Import MiSys entries to FCM [Example:47e3f385a6] * Enable newer HIDL overrideFormat [4d9f9a23e9] * Build camera for Jemalloc [c5d5ea6706] * Set TARGET_CAMERA_PACKAGE_NAME for vendor tags [60ad521bf1] -> [c4fbccafa0] Used changes from following authors: Co-authored-by: UtsavBalar1231 <utsavbalar1231@gmail.com> Co-authored-by: ItzDFPlayer <deniskovalevskiy91@gmail.com> Co-authored-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
52
README.md
Normal file
52
README.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# proprietary_vendor_xiaomi_camera
|
||||
|
||||
Prebuilt stock MIUI/Leica Camera for Poco F3/Redmi K40/Mi 11x (alioth), to include in custom ROM builds.
|
||||
|
||||
### How to use?
|
||||
|
||||
1. Clone this repo to `vendor/xiaomi/camera`
|
||||
|
||||
2. Inherit it from `device.mk` in device tree:
|
||||
|
||||
```
|
||||
# Camera
|
||||
$(call inherit-product-if-exists, vendor/xiaomi/camera/miuicamera.mk)
|
||||
```
|
||||
|
||||
3. Ensure that you added misys vintf dependencies in your framework_compatibility_matrix.xml:
|
||||
|
||||
```
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.misys</name>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IMiSys</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.misys</name>
|
||||
<version>2.0</version>
|
||||
<interface>
|
||||
<name>IMiSys</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.misys</name>
|
||||
<version>3.0</version>
|
||||
<interface>
|
||||
<name>IMiSys</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl" optional="true">
|
||||
<name>vendor.xiaomi.hardware.misys</name>
|
||||
<version>4.0</version>
|
||||
<interface>
|
||||
<name>IMiSys</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
```
|
||||
3.1 Reference - https://github.com/VoidUI-Devices/device_xiaomi_sm8250-common/commit/47e3f385a6cd16b0200a4bfd34cad1fba75ac210
|
||||
Reference in New Issue
Block a user