vendor_oneplus_sm8250-common/proprietary/vendor/lib64/hw
LuK1337 b19c2c815d sm8250-common: Unlock gc5035 camera
This change lets us use gc5035 camera, which was blocked by OnePlus long
time ago after people discovered its *magic* capabilities. By default
only `com.oem.autotest` can use it, however if we replace the first
character with a NULL byte, then strncmp returns 0, and thus we pass the
check and allow everyone to use it.

You can see the logs below that led me to discover that behavior.

[DEBUG  ] JIANJIA.cpp:89 PretendOpenCamera() logicalCameraId 4, m_ClientPackageName 0
[DEBUG  ] STELLA.cpp:1445 informKernel() force: -1 value: 6 buf: 5
[DEBUG  ] chxextensionmodule.cpp:1005 ExtendOpen() You shall not pass 0
[DEBUG  ] chxextensioninterface.cpp:298 chi_extend_open() [OP_EXT] OPEN_CAMERA X
[ERROR][HAL    ] camxhal3module.cpp:772 ProcessCameraOpen() Camera Open failed with error status = CamxResultEInvalidArg

Change-Id: I9b3e4e55f07cef40886e09941f7ed0523cdf8cfa
2022-03-05 01:33:00 +01:00
..
android.hardware.bluetooth@1.0-impl-qti.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
android.hardware.gatekeeper@1.0-impl-qti.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
android.hardware.gnss@2.1-impl-qti.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
audio.bluetooth_qti.default.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
com.dsi.ant@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
com.qti.chi.override.so sm8250-common: Unlock gc5035 camera 2022-03-05 01:33:00 +01:00
vendor.qti.esepowermanager@1.1-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.gnss@4.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.alarm@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.bluetooth_audio@2.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.bluetooth_sar@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.btconfigstore@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.capabilityconfigstore@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.qccvndhal@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.qseecom@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.qteeconnector@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.sensorscalibrate@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vendor.qti.hardware.soter@1.0-impl.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00
vulkan.adreno.so Import sm8250-common and its users from lineage-18.1 (ab4145f) 2022-02-21 22:23:47 +01:00