1. Are you ready for the Galaxy S20? Here is everything we know so far!

[MetroPCS] [KERNERL] CM11/KK with ov5693 camera support

Discussion in 'Android Devices' started by hroark13, Nov 8, 2014.

  1. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter

    Hi all

    mrapitis was kind enough to lend and ship me his F6 which has the OV5693 camera, so thank you mrapitis, and every one else that has a F6 with OV5693 and uses this fix should thank him too

    I worked on this for the last 20 hours, it was not easy, but I did it.

    I made a new kernel, and found all the binaries needed for the camera

    Kernel is same as the other one, just with added support of OV5693

    THERE ARE STILL ISSUES WITH THIS
    TORCH / FLASH DOES NOT WORK
    AND FRONT CAMERA LOOK BLUE
    SO YOU MAY NOT WANT TO USE THIS







    The 2 zip files contain the kernel and binary files need to support OV5693


    CM11
    https://www.mediafire.com/?b1koplaffegq06h


    KK
    https://www.mediafire.com/?88jvg6l0o6a029h




    Source Code for Kernel
    https://github.com/hroark13/android_kernel_lge_f6x





    If I have helped you, and you like my work, please click on the Thanks Button and give my thread a rating by clicking on the stars above.









    .hK
     


    #1 hroark13, Nov 8, 2014
    Last edited: Mar 8, 2015
  2. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter

    sheet the still seems to some issues

    it seems to be freezing


    will keep working on it


    maybe some of you can help, trouble shoot
     
    giovannye and ksjd0414 like this.
  3. mussio

    mussio Well-Known Member

    I just installed kk mini and applied the kk fix... I was able to take one pic then the cam locked up followed by the phone locking up. after rebooting I went back to the cam and when I try switching from back cam to front it locks up again.

    Thanks you so much for working on this and thank you as well mrapitis volunteering your f6.
     
  4. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter


    I think the freezing has something to do with the focus mode
     
  5. ksjd0414

    ksjd0414 Android Enthusiast

    I knew u could do this hroark13 wish I hadn't gotten the s5 now but hey
     
  6. mussio

    mussio Well-Known Member

    Just noticed the phone won't completely freez up until I hit vol or power... After using the cam.
     
  7. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter

    i fixed the freezing

    posted new zips in the OP
     
    giovannye, mussio and Hus like this.
  8. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter


    ok seems to work good in cm11

    I was testing on one of the KK roms, and it seems that the stock camera app still has some issue, but I install MX Camera and that seems to work fine on the KK ROM
     
  9. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter


    Google Camera seems to work good on KK too

    not sure why the stock KK camera (CameraApp3b) is having issues
     
  10. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter


    ah

    the problem is when you have flash enabled

    looks like I have more work to do ?
     
  11. FranklinJLugo

    FranklinJLugo Lurker

    Back camera finally works, thank you
    you But there is some minor problems like the front camera pictures look blue and theres not flash
     
  12. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter

    here is the gist of the current problem


    In this fix I am using the camera binaries from v500 20d (G-TAB 8.3) but that tablet does not have a flash/torch so the torch does not work on our phone when we use them, I think it is in the HAL (camera.msm8960.so)

    I cant use the camera.msm8960.so from d505 because it does not have a config for ov5693

    I cant use the camera.msm8960.so from ms500 JB because it requires vector symbols, and when I enable that in CM, it causes constant crashing. and the camera does not work anyway,and does not work with KK port

    I am wondering if we can somehow add a sysfs interface for the torch in the kernel

    or maybe we can make a wrapper that adds the flash / torch interface

    also some thing is causing the front camera to look blue

    you could actually help with these issues because the issue happens on the phone whether it has the ov5693 or not

    most people could just use the 505 20a binaries and it would be OK, I guess, and the people with ov5693 will have a patch zip to enable their camera, just with no torch, but that is a pretty lame way to do it


    If anyone knows of another LGE phone that uses the OV5693 and IMX119 cameras, has Kit Kat and has a Qualcom MSM processor, please let me know

    I do not want to hear about phones that do not meet the above specs, I am aware of the Asus Nexus phone (FLO) that has OV5693, I can not use its pre-built binaries, but may be able to use the HAL source code some how

    so bottom line is

    we need a pre-built LGE KK camera.msm8960.so (HAL) that supports flash/torch and OV5693 and IMX119

    or

    we need to make source code for a camera.msm8960.so (HAL) that supports flash/torch and OV5693 and IMX119 which is not so easy to do

    or

    we need to make a camera wrapper source code that will that will work with the v500 20d (G-PAD 8.3) camera.msm8960.so (HAL) that will add flash / torch function. This is hard to do as well. but easier than making the HAL source code

    or

    we need to add a sysfs interface for torch / flash in the kernel source code. This is probably possible but I do not know how to do it. This option would help with AOSP ROMS. but I am not sure if it would help with the KK stock based roms


    yay
     
    giovannye and ksjd0414 like this.
  13. WaxysDargle

    WaxysDargle Well-Known Member

    I tested cm11 with your fix. Back camera worked fine. Did not test front camera. Struggled to power on from sleep intermittently and eventually (20 min of use) kernel crashed (black screen, white text). Can reproduce if necessary.

    Installed kitkat and it's finally usable for me. Back camera works and front camera is slightly distorted and bluish. Everything else looks good.

    Thanks for all your hard work
     
  14. SaidJan

    SaidJan Member

    I installed the kk kernel and KitKat MINI 4.4.2 BETA VD_3B rom
    main camera works fine. but in front camera my face is blue. I installed "camera mx" and turned on the blue effects and now it's fine.
    Can you please fix this too?
    but these kernels didn't work with any android 4.4.4.
    Thank you so much.
     
  15. enzo

    enzo Newbie

    My back camera didn't work with any of the kk roms so does that mean I have the OV5693 camera? If not how do I figure what cam I have?
     
  16. ksjd0414

    ksjd0414 Android Enthusiast

  17. SaidJan

    SaidJan Member

    Install kk kernel, then you can use KitKat MINI 4.4.2 BETA VD_3B rom. but no LED lighe and buggy front camera.
    I don't know why one cellphone has 2 kinds of camera. it sucks.
    I think the best rom for me and you is Xperion. It's without any bug.
    Today after trying all kitkats, now i'm back to Xperion.
     
  18. enzo

    enzo Newbie

    Does this fix the cam with carbonrom or only cm11 and kk 4.4.2?
     
  19. ksjd0414

    ksjd0414 Android Enthusiast

    Not carbon ROM yet I think dm47021 is working on it
     
  20. ksjd0414

    ksjd0414 Android Enthusiast

    Hey hroak13 would adjusting rgb values on the camera apk it self for the FFC help with the blue tint maybe there's a wayu can do that so its like that straight out the gate
     
    SaidJan likes this.
  21. Bard

    Bard Android Expert

    After seeing someone installed hroark13 camera fix kernel on Caron ROM and worked okay.. I also tried it.

    It seems like all features working okay so far; boots okay, rear camera works okay etc etc

    For your information I've installed ZIPs in this order and made some changes immediately as below.

    1. Installed Carbon Rom from here
    http://androidforums.com/6779689-post1.html

    2. Installed CM 11 'Small' Gapps from here
    Google Apps - CyanogenMod

    3. Installed hroark13's Cam Fix CM11 Kernel from here
    http://androidforums.com/6777216-post1.html

    4. Restart System

    5. After restart, setting -> mobile network -> Access Point Name -> Metro PCS

    6. Setting -> Carbon Fiber -> Interface -> CRT Animation = Don't Show

    7. Stock CM camera is somewhat unstable with Cam Fix CM11 Kernel, I tried Google Camera from Playstore and it worked much better than the stock one. Try different camera app and find your own one.

    If you like Carbon ROM's Look & Feel and must have Rear Camera feature working, you may try it.


    ** Note that I installed CM11 Cam fix kernel, not the KK Cam Fix one. KK Cam Fix Kernel may or may not work with Carbon ROM.

    ** Not all phones are same so result may vary. You may try it at your own risk.
     
  22. ksjd0414

    ksjd0414 Android Enthusiast

    U got flash led as well ?
     
  23. jorge420

    jorge420 Newbie

    My front camara is blue how do I fix this ?
     
  24. ksjd0414

    ksjd0414 Android Enthusiast

    If it were green it would die
     

LG Optimus F6 Forum

The LG Optimus F6 release date was September 2013. Features and Specs include a 4.5" inch screen, 5MP camera, 1GB RAM, Snapdragon 400 processor, and 2460mAh battery.

September 2013
Release Date
0
Reviews
Loading...

Share This Page

Loading...