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:
17
proprietary/vendor/etc/init/android.hardware.camera.provider@2.4-service_64.rc
vendored
Normal file
17
proprietary/vendor/etc/init/android.hardware.camera.provider@2.4-service_64.rc
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
#Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
#All Rights Reserved.
|
||||
#Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service vendor.camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64
|
||||
override
|
||||
interface android.hardware.camera.provider@2.4::ICameraProvider legacy/0
|
||||
interface vendor.qti.hardware.camera.postproc@1.0::IPostProcService camerapostprocservice
|
||||
class hal
|
||||
user cameraserver
|
||||
group audio camera input drmrpc oem_2907
|
||||
ioprio rt 4
|
||||
capabilities SYS_NICE
|
||||
writepid /dev/cpuset/camera-daemon/tasks /dev/stune/foreground/tasks
|
||||
8
proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@1.0-service.rc
vendored
Normal file
8
proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
on fs
|
||||
mkdir /mnt/vendor/persist/stability 0755 system system
|
||||
mkdir /mnt/vendor/persist/misys 0755 system system
|
||||
|
||||
service vendor.misys /vendor/bin/hw/vendor.xiaomi.hardware.misys@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system root
|
||||
8
proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@2.0-service.rc
vendored
Normal file
8
proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@2.0-service.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
on fs
|
||||
mkdir /mnt/vendor/persist/stability 0755 system system
|
||||
mkdir /mnt/vendor/persist/misys 0755 system system
|
||||
|
||||
service vendor.misys@2.0 /vendor/bin/hw/vendor.xiaomi.hardware.misys@2.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
8
proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@3.0-service.rc
vendored
Normal file
8
proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@3.0-service.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
on fs
|
||||
mkdir /mnt/vendor/persist/stability 0755 system system
|
||||
mkdir /mnt/vendor/persist/misys 0755 system system
|
||||
|
||||
service vendor.misys@3.0 /vendor/bin/hw/vendor.xiaomi.hardware.misys@3.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
4
proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@4.0-service.rc
vendored
Normal file
4
proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@4.0-service.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service vendor.misys@4.0 /vendor/bin/hw/vendor.xiaomi.hardware.misys@4.0-service
|
||||
class hal
|
||||
user root
|
||||
group root system
|
||||
38
proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.misys@1.0.xml
vendored
Normal file
38
proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.misys@1.0.xml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<!-- Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
* Neither the name of The Linux Foundation nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-->
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>vendor.xiaomi.hardware.misys</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IMiSys</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
38
proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.misys@2.0.xml
vendored
Normal file
38
proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.misys@2.0.xml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<!-- Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
* Neither the name of The Linux Foundation nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-->
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>vendor.xiaomi.hardware.misys</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.0</version>
|
||||
<interface>
|
||||
<name>IMiSys</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
38
proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.misys@3.0.xml
vendored
Normal file
38
proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.misys@3.0.xml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<!-- Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
* Neither the name of The Linux Foundation nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-->
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>vendor.xiaomi.hardware.misys</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>3.0</version>
|
||||
<interface>
|
||||
<name>IMiSys</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
38
proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.misys@4.0.xml
vendored
Normal file
38
proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.misys@4.0.xml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<!-- Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
* Neither the name of The Linux Foundation nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-->
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>vendor.xiaomi.hardware.misys</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>4.0</version>
|
||||
<interface>
|
||||
<name>IMiSys</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
Reference in New Issue
Block a user