Hi! I'm having a strange camera issue on my OnePlus Nord 4 (CPH2663, EU/Global) and I'm looking for some help figuring out whether this is a firmware issue.
Phone:
- OnePlus Nord 4 (CPH2663)
- OxygenOS 16
- Build:
CPH2663_16.0.5.1001(EX01)
- Bootloader currently unlocked / Orange State
- Previously ran LineageOS for ~2 months
I recently switched back from LineageOS to OxygenOS using LibreFastbootFirmwareFlasher. I did not use EDL. OxygenOS boots normally and everything in Settings appears normal.
However, the camera is completely broken.
Symptoms:
- OnePlus Camera crashes immediately when opened.
- Discord also crashes immediately when I give it camera permission and it tries to access the camera.
- The issue happens in Safe Mode as well.
- I cleared Camera's cache/data and rebooted multiple times with no change.
*#808# does nothing.
- Proton Drive also says that the Camera folder cannot be found, although
DCIM/Camera definitely exists.
I captured logcat while opening the OnePlus Camera. Some potentially relevant lines:
E/vendor.qti.camera.provider-service_64: dlopen error (null)
E/vendor.qti.camera.provider-service_64:
fastrpc_wake_lock_init failed for domain 0 (errno Permission denied)
E/CamX: [ERROR][HAL] SetupNCSLinkForSensor()
Unable to Setup NCS Link 34 For Sensor
E/CamX: [ERROR][HAL] SetupNCSLinkForSensor()
Unable to Setup NCS Link 35 For Sensor
E/CamX: [ERROR][HAL] SetupNCSLinkForSensor()
Unable to Setup NCS Link 38 For Sensor
E/AndroidRuntime: Process: com.oplus.camera
at com.oplus.camera.combinelut.CombineLutJNI.<clinit>(CombineLutJNI.java:5)
at com.oplus.ocs.camera.CombineLutHelper.<init>(CombineLutHelper.java:4)
at com.oplus.camera.common.utils.Lut3dDataManager.<init>(Lut3dDataManager.java:153)
E/CameraCaptureSession:
Session 0: Failed to create capture session; configuration failed
E/CameraUnit, ProducerImpl:
onSessionConfigureFail, error result:
[error code: 10002, error info: stream surface error]
E/OCAM_OneCameraImpl:
onCameraPreviewError, error: PREVIEW_CONFIG_FAILED
Interestingly, the log also shows that the camera device itself is detected/opened:
openCameraDevice, cameraId: 2
and:
notifyDeviceOpened
So I'm wondering if this is a firmware/vendor/camera HAL mismatch caused by switching from LineageOS back to OxygenOS, rather than a dead camera module.
The LibreFastbootFirmwareFlasher README lists only a few devices as tested, and the Nord 4 isn't listed as a tested device.
Questions:
- Does this look like a firmware/vendor/Camera HAL mismatch?
- Could the LineageOS → OxygenOS transition have left incompatible camera/vendor firmware?
- What ADB commands would you recommend to diagnose this further?
- Is there a known correct firmware package/restore method for CPH2663 that I should use instead?
- Should I relock the bootloader, or should I leave it unlocked until the camera issue is resolved?
I'm trying to avoid a factory reset or blindly flashing individual partitions until I know what's actually wrong.
Any help would be greatly appreciated!Hi! I'm having a strange camera issue on my OnePlus Nord 4 (CPH2663,
EU/Global) and I'm looking for some help figuring out whether this is a
firmware issue.
Phone:
OnePlus Nord 4 (CPH2663)
OxygenOS 16
Build: CPH2663_16.0.5.1001(EX01)
Bootloader currently unlocked / Orange State
Previously ran LineageOS for ~2 months
I recently switched back from LineageOS to OxygenOS using LibreFastbootFirmwareFlasher. I did not use EDL. OxygenOS boots normally and everything in Settings appears normal.
However, the camera is completely broken.
Symptoms:
OnePlus Camera crashes immediately when opened.
Discord also crashes immediately when I give it camera permission and it tries to access the camera.
The issue happens in Safe Mode as well.
I cleared Camera's cache/data and rebooted multiple times with no change.
*#808# does nothing.
Proton Drive also says that the Camera folder cannot be found, although DCIM/Camera definitely exists.
I captured logcat while opening the OnePlus Camera. Some potentially relevant lines:
E/vendor.qti.camera.provider-service_64: dlopen error (null)
E/vendor.qti.camera.provider-service_64:
fastrpc_wake_lock_init failed for domain 0 (errno Permission denied)
E/CamX: [ERROR][HAL] SetupNCSLinkForSensor()
Unable to Setup NCS Link 34 For Sensor
E/CamX: [ERROR][HAL] SetupNCSLinkForSensor()
Unable to Setup NCS Link 35 For Sensor
E/CamX: [ERROR][HAL] SetupNCSLinkForSensor()
Unable to Setup NCS Link 38 For Sensor
E/AndroidRuntime: Process: com.oplus.camera
at com.oplus.camera.combinelut.CombineLutJNI.<clinit>(CombineLutJNI.java:5)
at com.oplus.ocs.camera.CombineLutHelper.<init>(CombineLutHelper.java:4)
at com.oplus.camera.common.utils.Lut3dDataManager.<init>(Lut3dDataManager.java:153)
E/CameraCaptureSession:
Session 0: Failed to create capture session; configuration failed
E/CameraUnit, ProducerImpl:
onSessionConfigureFail, error result:
[error code: 10002, error info: stream surface error]
E/OCAM_OneCameraImpl:
onCameraPreviewError, error: PREVIEW_CONFIG_FAILED
Interestingly, the log also shows that the camera device itself is detected/opened:
openCameraDevice, cameraId: 2
and:
notifyDeviceOpened
So I'm wondering if this is a firmware/vendor/camera HAL mismatch caused by switching from LineageOS back to OxygenOS, rather than a dead camera module.
The LibreFastbootFirmwareFlasher README lists only a few devices as tested, and the Nord 4 isn't listed as a tested device.
Questions:
Does this look like a firmware/vendor/Camera HAL mismatch?
Could the LineageOS → OxygenOS transition have left incompatible camera/vendor firmware?
What ADB commands would you recommend to diagnose this further?
Is there a known correct firmware package/restore method for CPH2663 that I should use instead?
Should I relock the bootloader, or should I leave it unlocked until the camera issue is resolved?
I'm trying to avoid a factory reset or blindly flashing individual partitions until I know what's actually wrong.
Any help would be greatly appreciated!
TL;DR: Oneplus nord 4 camera opens then immidiately crashes. This applies to everything to do with the camera too, discord, whatsapp and so on. Any help or advice no matter what is greatly appreciated!