Camera Bug On All 7.1.2 ROMS

Is The patch by infrag working?


  • Total voters
    51
Search This thread

CuDem

Member
Aug 31, 2017
45
3
Ha Noi
I tried all the roms and they all have problems with the camera the only one that really worked for me is atomic rom the camera works well the only bug that I found was the headsets are not heard but they install the kernel black and ready;)

I tried atomic rom but camera still cannot focus. Did you install another kernel or something else with atomic rom?

---------- Post added at 04:04 AM ---------- Previous post was at 04:01 AM ----------

Great work @infrag
The 2nd patch fixed the camera issue completely. However it has lost all network support now, not reception at all. LOS cm14.1 (7.1.2) 20171103

Can you give me a link to 2nd patch. I tried some pack but nothing changes.Thanks
 

xjack03

Senior Member
Jun 22, 2014
60
10
After some time that Infrag's fix improved focusing abilities, I have a new issue with camera https://youtu.be/qGOtGk7tX00 . It refocusses multiple times in second and does a buzzing noise. I am afraid of the motor not to get stuck. I am not sure if it is related to a particular ROM of camera fix.

I was on your AICP - Oreo - X2, Build 1/03/2018. Then I tried Build 20/03/2018 where this issue started. After, I tried [Official] [OTA] AICP 13.1 aicp_x2_o-13.1-WEEKLY-20180327.zip and revert to AICP - Oreo - X2, Build 1/03/2018. The issue is still here.

As a last resort, I tried to flash AcoSlim EUI v28.168e where it works, but only when I launch a camera app and pointing the camera to an object in a distance, let's say about 2m and further. It seems that my camera got HW damaged and is no longer able to focus on smaller distances.

Is it possible to limit focusing range to ban camera to focus on objects in closer distances and allow about 0.5m and further?

Thanks for any advise.
 

ReptilianB

New member
Jun 16, 2018
3
0
I am also facing focus issue on camera tried rr,dirty unicorn, lineage, mokee and footej,open cam,snapdragon cam. Even in photos it is not focusing. Hope someone can help.

Hello. I have the same problem, have you found any solution or is it really hardware problem? If it is hardware there are even many people with the same problem.
greetings
 

ZinovievBG

Senior Member
Jun 7, 2015
51
4
Everyone, there's a test kernel today from @infrag in the Black screen kernel thread, try it by flashing over his AICP or LOS. It is the fix we have been waiting for!
Scratchling, you might want to try it before you rip open your phone :)

---------- Post added at 01:41 PM ---------- Previous post was at 01:33 PM ----------



Try if you have the same problem on AICP. Just tested video recording with Google Camera and it recorded fine.

Can I install this kernel on miui 10 V3? It has 7.1.2 Android
 

Ajoy1das

New member
Jan 25, 2018
2
0
Please someone give solution

Please can anyone give solution for camera autofocus problem..my le max 2 makes noise while clicking photo and the photo is blurry
 

alhack0438

New member
Jun 5, 2019
2
1
Please can anyone give solution for camera autofocus problem..my le max 2 makes noise while clicking photo and the photo is blurry

Hi,
I think it's time to say that we have to stop thinking that this is due to the rom ... I had two leeco max 280 & 281 with the original roms ... the focus is break down on both after a few months. It is a material problem. I bought and change the cameras (V1611) by V1620 & v1621 and since it is perfectly ok.
Regards
 
  • Like
Reactions: ThE_MarD

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    FAO Devs

    In short, this appears to be the crux of the AF failing:
    Code:
    08-10 01:24:50.628  1701  1701 I wwf     : setFocusMode continuous-picture
    08-10 01:24:50.635   648  2937 E [LETV]CLetvAlgorithm: checkOffset ignore open func:1
    08-10 01:24:50.636   648  2937 E [LETV]CLetvAlgorithm: checkOffset ignore close func:5
    08-10 01:24:50.636   648  2937 E [LETV]CLetvAlgorithm: onSetParameters bRet:0
    08-10 01:24:50.636   648  2937 E QCamera : <HAL ><ERROR> int32_t qcamera::QCameraParameters::setPictureSize(const qcamera::QCameraParameters&): 1457: CTS Requested rear imx230 picture size 5312 x 3984
    08-10 01:24:50.636   648  2937 E QCameraParameters: [test]int32_t qcamera::QCameraParameters::setBeautyLevels(const qcamera::QCameraParameters&): setBeautyLevels before = 0
    08-10 01:24:50.638  1701  1701 I CAM_PhotoModule:  set metering areas if supported.
    08-10 01:24:50.638  1701  1701 I CAM_FocusManager: initialize meter areas is Rect(275, -290 - 650, 210)
    08-10 01:24:50.638  1701  1701 I CAM_PhotoModule:  squareValue= off

    It also triggers a longer query message but AFAIK its normal.
    Code:
    08-10 01:28:51.361  1701  1701 I Camera.java: getSupportedPreviewSizes th:dalvik.system.VMStack.getThreadStackTrace(Native Method)java.lang.Thread.getStackTrace(Thread.java:580)android.hardware.Camera.getStacksString(Camera.java:2099)android.hardware.Camera.access$2200(Camera.java:145)android.hardware.Camera$Parameters.getSupportedPreviewSizes(Camera.java:3309)com.android.camera.PhotoModule.updateCameraParametersPreference(PhotoModule.java:4113)com.android.camera.PhotoModule.setCameraParameters(PhotoModule.java:4422)com.android.camera.PhotoModule.setFocusParameters(PhotoModule.java:2142)com.android.camera.FocusOverlayManager.handleFocus(FocusOverlayManager.java:433)com.android.camera.FocusOverlayManager.onSingleTapUp(FocusOverlayManager.java:378)com.android.camera.PhotoModule.onSingleTapUp(PhotoModule.java:3540)com.android.camera.PhotoUI.onSingleTapUp(PhotoUI.java:2198)com.android.camera.PreviewGestures$1.onSingleTapUp(PreviewGestures.java:96)android.view.GestureDetector.onTouchEvent(GestureDetector.java:635)com.android.camera.PreviewGestures.dispatchTouch(PreviewGestures.java:181)com.android.camera.ui.RenderOverlay.dispatchTouchEvent(RenderOverlay.java:96)android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2649)android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2302)android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2649)android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2302)android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2649)android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2302)android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2649)android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2302)android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2649)android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2302)android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2649)android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2302)android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2649)android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2302)com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2468)com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1759)android.app.Activity.dispatchTouchEvent(Activity.java:2827)com.android.camera.CameraActivity.dispatchTouchEvent(CameraActivity.java:1041)com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2429)android.view.View.dispatchPointerEvent(View.java:9606)android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4660)android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4521)android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4051)android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4104)android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4070)android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4196)android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4078)android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4253)android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4051)android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4104)android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4070)android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4078)android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4051)android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6448)android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6422)android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6359)android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6627)android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)android.os.MessageQueue.nativePollOnce(Native Method)android.os.MessageQueue.next(MessageQueue.java:324)android.os.Looper.loop(Looper.java:135)android.app.ActivityThread.main(ActivityThread.java:5624)java.lang.refl


    ---------- Post added at 01:46 AM ---------- Previous post was at 01:33 AM ----------

    Trying with other camera apps:

    Stock Camera, upon open:
    Code:
    08-10 01:39:17.326   742  6729 E mm-camera: <SENSOR><ERROR> ois_process: 412: ==>>>ois event:143
    08-10 01:39:17.326   742  6729 E mm-camera: <SENSOR><ERROR> ois_process: 412: ==>>>ois event:145
    08-10 01:39:17.326   742  6729 E mm-camera: <SENSOR><ERROR> ois_process: 412: ==>>>ois event:139
    08-10 01:39:17.331   742  6729 E mm-camera: <SENSOR><ERROR> ois_process: 412: ==>>>ois event:142
    08-10 01:39:17.331   742  6729 E mm-camera: <SENSOR><ERROR> ois_process: 412: ==>>>ois event:147
    08-10 01:39:17.331   742  6729 E mm-camera: <SENSOR><ERROR> ois_process: 512: ois sync

    "A better camera"
    Code:
    08-10 01:36:00.033   742  5942 E mm-camera: <IFACE ><ERROR> iface_set_super_param: 2711: iface_set_super_param:2711 store q_idx 5
    08-10 01:36:00.033   742  5942 E mm-camera: <SENSOR><ERROR> module_sensor_event_control_set_parm: 3950: CAM_INTF_META_FLASH_POWER failed

    FV5
    Code:
    08-10 01:40:42.372   742  6968 E mm-camera: <SENSOR><ERROR> module_sensor_event_control_set_parm: 3950: CAM_INTF_META_FLASH_POWER failed
    08-10 01:40:42.474   742  6968 E mm-camera: <MCT   ><ERROR> mct_stream_fill_metadata_v3: 2519: Unsupported message type 84
    08-10 01:40:42.522   742  6968 E mm-camera: <MCT   ><ERROR> mct_stream_fill_metadata_v3: 2519: Unsupported message type 84
    08-10 01:40:44.047   742  6972 I mm-camera: <STATS_AF >< INFO> af_util_done: 415: final lens pos 430, status=1
    08-10 01:40:44.047   742  6972 I mm-camera: <STATS_AF >< INFO> af_port_update_af_state: 769: Af State changed new_state=4, old_state=3!, cause=2, af_mode=1

    Footej
    Code:
    08-10 01:43:23.503  7280  7280 I ViewRootImpl: finishMotionEvent: handled = true stage=10: View Post IME stage,inputElapseTime=1 eventTime = 90464994 downTime = 90464994 title= com.footej.camera/com.footej.camera.CameraActivity
    08-10 01:43:23.629   742  7383 E mm-camera: <IFACE ><ERROR> iface_set_super_param: 2711: iface_set_super_param:2711 store q_idx 4
    08-10 01:43:23.629   742  7383 I mm-camera: <STATS_AF >< INFO> af_port_update_af_state: 769: Af State changed new_state=3, old_state=3!, cause=0, af_mode=1
    08-10 01:43:23.629   742  7383 I mm-camera: <STATS_AF >< INFO> af_port_handle_set_focus_manual_pos_evt: 4473: not in CAM_FOCUS_MODE_OFF(Manual) mode,           ignore the settings
    08-10 01:43:23.629   742  7383 E mm-camera: <SENSOR><ERROR> module_sensor_event_control_set_parm: 3950: CAM_INTF_META_FLASH_POWER failed
    08-10 01:43:23.656   742  7387 I mm-camera: <STATS_AF >< INFO> af_map_input_pdaf_info: 581: initiating / PDAF disabled . HAF EVENT BYPASSED: af_algorithm->status = 0, PDAF_Enable = 1
    08-10 01:43:23.726   742  7387 I mm-camera: <STATS_AF >< INFO> af_map_input_pdaf_info: 581: initiating / PDAF disabled . HAF EVENT BYPASSED: af_algorithm->status = 0, PDAF_Enable = 1
    08-10 01:43:23.726   742  7387 I mm-camera: <STATS_AF >< INFO> af_port_update_af_state: 769: Af State changed new_state=3, old_state=3!, cause=5, af_mode=1
    08-10 01:43:23.770   742  7374 E mm-camera: <ISP   ><ERROR> chk_adjacent_end_pix_roi_limitation: 2227: error: two roi ending on same pixel x 2766 y 1436 w 185 h 185
    08-10 01:43:23.770   742  7374 E mm-camera: <ISP   ><ERROR> chk_adjacent_end_pix_roi_limitation: 2227: error: two roi ending on same pixel x 2766 y 1808 w 185 h 185
    08-10 01:43:23.841   742  7383 E mm-camera: <MCT   ><ERROR> mct_stream_fill_metadata_v3: 2519: Unsupported message type 84
    08-10 01:43:23.846   648  7435 I QCOM PowerHAL: Video Encode hint start
    08-10 01:43:23.847   648  7395 I QCOM PowerHAL: Video Encode hint stop
    08-10 01:43:23.980   742  7383 E mm-camera: <IFACE ><ERROR> iface_set_super_param: 2711: iface_set_super_param:2711 store q_idx 3
    08-10 01:43:23.980   742  7383 I mm-camera: <STATS_AF >< INFO> af_port_handle_set_focus_manual_pos_evt: 4473: not in CAM_FOCUS_MODE_OFF(Manual) mode,           ignore the settings
    08-10 01:43:23.980   742  7383 E mm-camera: <SENSOR><ERROR> module_sensor_event_control_set_parm: 3950: CAM_INTF_META_FLASH_POWER failed
    08-10 01:43:24.191   742  7383 E mm-camera: <MCT   ><ERROR> mct_stream_fill_metadata_v3: 2519: Unsupported message type 84


    ---------- Post added at 02:13 AM ---------- Previous post was at 01:46 AM ----------

    Another thing I forgot to mention before is the "drift".

    Turn the phone left and stop, for the next 1-2s the view drifts further left. Turn right and the same. Not sure if this is expected from this type of OIS but it strikes me as a lens element thats free floating :(
    3
    When Camera is switched on it goes out of focus then starts making clicking noises. Video Recording doesnt work too. I have tested Google Camera,Footej,Open,stock etc. Nothing works! :(
    3
    So no more update on this? I would really like to fix the camera :(
    3
    So you think there's no software solution? Do you maybe know where can we buy a new camera module to replace it?

    I'm not sure, but if I was betting I would say yes.

    Before when I looked I couldnt find any replacement parts. Now I search again:
    For-Letv-MAX-2-X820-Back-Camera-13-0MP-100-Original-X820-Rear-Camera-Module-Flex.jpg_220x220.jpg

    AliExpress: https://www.aliexpress.com/item/For...820-Rear-Camera-Module-Flex/32805642141.html?

    What I think I will do:
    1. Buy 2 new cameras
    2. Remove 1st Camera (stock)
    3. Examine
    4. Fit the 2nd Camera with a 7.1 ROM
    5. If it breaks again, then roll back to 23S stock and replace with 3rd unit.
    3
    @infrag any updates on the camera? ?

    Guys try this kernel:

    https://drive.google.com/open?id=0B4k5OpXTXcS9UDB4UjBLVDNNY3M

    I've got a couple of changes from a working kernel from android 6.
    Please let me know if it makes any difference?