yashsingh1/xdaforums huggingface dataset:
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
And I thought that I had included all needed libraries in the zip... Thank you very much for pointing out the missing libraries [MENTION=5062287]gpopac[/MENTION]! Also thanks to everyone for testing this out. Now it seems that both rear cameras are at the same level, the reason why the jpegs do not get saved is because the omx jpeg encoder does not work as it should. Problem is, it does not spit out any error messages so I can understand what's wrong... I will keep trying.

P.s I can take still jpegs with my rear camera on 320x240 resolution. Can you people with imx219 check if thr same is possible on your device?

P.s 2: I will include the missing libraries in the next build!

Thank you
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] TAURUS560:
Yes,copied the libraries.But the camera does not work ! How do I recognize the sensor model? (model D295 )

p.s sorry for my English, I'm from Russia.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Alex?:
I will try it out

---------- Post added at 10:05 AM ---------- Previous post was at 09:30 AM ----------

Can someone upload wich lib files I should put in lib folder so I can try it out?
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] kostekzg:
I can take jpegs using rear cam on 320x240, imx219 and gpopac libs, but I have some white artifacts on preview, on all resolutions, and on jpeg also.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Stersound:
Hello and once again and thank you for developing this wonderful ROM !

I noticed a strange bug:

When i try to play 720p or 1080 video it just can't load or only sound appears.

I am not sure to what exactly this is related but if i play lower quality it has no problem at all.

Could it be related to something that is regarding picture quality and not the camera ?(lower quality stores pictures/Higher quality stucks)?

Best,
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] kostekzg:
Here you are.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Alex?:
Thank you, but i can't get preview again, all permisions are ok, don't know what is problem

---------- Post added at 10:46 AM ---------- Previous post was at 10:40 AM ----------

Solved, I deleted by mistake one libare, have the preview
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Ky$h:
Can you please tell how to give the right permissions as mentioned by christpp?
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Alex?:
I use root explorer for that, I will upload screenshot so you can see what is correct permissions
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Alex?:
Just long tap and set permissions, that is for files, folders have other perm.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
That mightvbe because the libs are from a different device. I will make a new build using stock libs to check this out.

---------- Post added at 01:04 PM ---------- Previous post was at 01:02 PM ----------

You have to get the kernel dmesg on device boot.

---------- Post added at 01:07 PM ---------- Previous post was at 01:04 PM ----------

That sounds bad.. The stock libs might have broken the hardware decoding... It might have to do with the jpegs not getting saved too, yeah.... I will look into it. Thanks for pointing this out!
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Alex?:
Hey [MENTION=1350438]christpp[/MENTION] I was able to take pic via facebook messenger and app didn't crashed, pucture was sent and I was able to save it, don't know what you're up to, but you're close, anything that you think that needs testing just upload and I will test it as soon as I can, thank you once again
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] TAURUS560:
christpp

camera earned! It turns out I have no files libchromatix_imx219_preview , libchromatix_imx219_snapshot

I realized my sensor imx219 lg -D295

thank you for the work! :good:
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] gpopac:
[MENTION=1350438]christpp[/MENTION], both cameras works in low resolution. In Camera FV5 i have option to save in PNG, and it also dowsn’t work. So I think the JPEG library is not the problem. Maybe Facebook app saves images in low resolution or use some software decoding?
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Alex?:
In my case I have white artifacts on my device, and resolution is very low, I think that facebook uses low image processing and that kills quality of image and
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Yeah, i do not know how png encoding works on android... I will try to make use of some open source libraries instead of the stock ones, like libstagefright, maybe they spit some errors out.... I believe fb messenger takes lower resolution images, using a s/w encoder, that is why it does not hang
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] gpopac:
Unfortunately, I have no other ideas.

PS. It looks like libmmjpeg is also called for recording PNG.

E/mm-camera( 475): select_linear_table: lux = 2, aec_ratio : 1.000000 :: awb_ratio : 0.000000
E/mm-camera( 475): isp_axi_util_subscribe_v4l2_event: event_type = 0x8000100, is_subscribe = 1
E/mm-camera( 475): isp_axi_util_subscribe_v4l2_event: event_type = 0x8000101, is_subscribe = 1
E/mm-camera( 475): isp_thread_proc_cmd: start/stop ack done, thread_data = 0xb5b00b7c, action_code = 1, rc = 0
E/mm-camera( 475): isp_pipeline32_get_roi_map: ROI: first pix 0, last pix 3279, first ln 309, last line 2153
E/mm-camera-sensor( 475): module_sensor_stream_on: Sending start bus message
E/mm-camera( 475): start_sof_check_thread: Starting SOF timeout thread
D/QCamera2HWI( 347): int qcamera::QCamera2HardwareInterface::takePicture(): X
E/QCamera2HWI( 347): waitAPIResult: api_evt = 19 test dennis
E/QCamera2HWI( 347): [WX_EXIF] static int qcamera::QCamera2HardwareInterface::take_picture(camera_device*) TAKE_PICTURE DONE
D/QCamera2HWI( 347): [KPI Perf] static int qcamera::QCamera2HardwareInterface::take_picture(camera_device*): X
E/QCameraPostProc( 347): int32_t qcamera::QCameraPostProcessor::getJpegEncodingConfig(mm_jpeg_encode_params_t&, qcamera::QCameraStream*, qcamera::QCameraStream*) : E	m_bThumbnailNeeded = TRUE
D/QCameraPostProc( 347): [KPI Perf] int32_t qcamera::QCameraPostProcessor::start(qcamera::QCameraChannel*) : call jpeg create_session
I/MemoryTrimmer( 3978): Trimming objects from memory, since app is in the background.
W/linker ( 347): libmmqjpeg_codec.so: unused DT entry: type 0x6ffffffe arg 0x7008
W/linker ( 347): libmmqjpeg_codec.so: unused DT entry: type 0x6fffffff arg 0x1
W/linker ( 347): libmmjpeg.so: unused DT entry: type 0x6ffffffe arg 0x3f1c
W/linker ( 347): libmmjpeg.so: unused DT entry: type 0x6fffffff arg 0x1
W/linker ( 347): libmmjpeg.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
E/qomx_image_core( 347): OMX_GetHandle:236] get instance pts is 0xb4c73400
D/qomx_image_core( 347): OMX_GetHandle:256] handle = b4c73404 Instanceindex = 0,comp_idx 0 g_ptr 0xb586e920
E/mm-still( 347): OMX_ERRORTYPE qomx_component_set_callbacks(OMX_HANDLETYPE, OMX_CALLBACKTYPE*, OMX_PTR): 181: This ptr addr 0xb4c73400
E/qomx_image_core( 347): OMX_GetHandle:260] Success
E/mm-jpeg-intf( 347): mm_jpeg_session_config_main_buffer_offset:428] yOffset = 0, cbcrOffset = (0 0), totalSize = 9089024,cbcrStartOffset = (6057984 3028992)
E/mm-jpeg-intf( 347): mm_jpeg_encoding_mode:475] encoding mode = 1
E/mm-jpeg-intf( 347): mm_jpeg_meta_enc_key:636] Key is invalid
E/mm-camera( 475): select_linear_table: lux = 2, aec_ratio : 1.000000 :: awb_ratio : 0.000000
E/mm-camera( 475): select_linear_table: lux = 2, aec_ratio : 1.000000 :: awb_ratio : 0.000000
E/mm-camera( 475): select_linear_table: lux = 2, aec_ratio : 1.000000 :: awb_ratio : 0.000000
E/mm-camera( 475): select_linear_table: lux = 2, aec_ratio : 1.000000 :: awb_ratio : 0.000000
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
It seems that the camera app converts the jpeg to png after the picture is taken... Thanks for the logcat and the help ! I will write here if i find something!
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
New BUILD 10/5/2016

Hello again,

I have put everything together in a new zip. Grab it here:

https://www.dropbox.com/s/jkh8wz71jsvzfqs/cm-12.1-20160510-UNOFFICIAL-l70pn.zip?dl=0

Users with the imx219 sensor: There were 3 libraries missing, I have put everything in. Please test to see if the white artifacts are gone.

Libstagefright and libc2dcolorconvert are now compiled from the CyanogenMod repository. No news yet about the still images though. I believe that it is something with the qualcomm jpeg driver.

Thank you
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] helber neves:
someone fits this rom to d295f ?? or I can install without carrying ??
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] bartbart2003:
I still see white bars in camera. But video recording is fixed (wasn't working for me on the previous build).

Tapatalk | LG D290n
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Alex?:
Tested, white artifacts are still there, record works
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] CrizinPsyk:
fix for camera works best

Reboot recovery

Install zip

Reboot

https://mega.nz/#!S8lChKxR!Hz2i2gF_Br0c9jShw0WbFfLoIIch_IELMU5YOi6OCXE
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
[MENTION=7311071]Stersound[/MENTION], I can play HD videos using vlc media player. Not with the android player though. Were you able to play HD videos in the standard player before? I just want tovmake sure this is not android related
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Stersound:
Hello,

I never used VLC media player.Actually, i found this using web applications such as Vimeo and Youtube on 720P.On the previous build 20.03.2016 this did not focus my attention and i regularly use both apps for HQ video streaming.

Although i downloaded some videos from Vimeo and the stock player indeed can't play them.

Hope this can help in some way ! [MENTION=1350438]christpp[/MENTION] Thank you again for the hard work and moving forward the project !!

Cheers!
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] WalkySVK:
I noticed same issue like stersound so i am unable to play HQ videos in browser. And youtube app can only play 360p resolution and lower now
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] bartbart2003:
For me 480p in YouTube app works without problems. Also i can take 480x320 photos with back camera (i'm using Open Camera app).

Tapatalk | LG D290n
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] gpopac:
Here is the camera photo with the white lines. Itu turned out that I also have this problem with imx sensor.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Ky$h:
The lnks are generating too much traffic it seems :p. Please provide an alternative... perhaps userscloud/uptobox?

Thanks
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Sergio_ice:
Hello comrades, I have a "problem" with the roms last both 2016320 and with the 20160510 and say a "problem" that try to install any and all goes well without error none but takes very little makes me "done" but not change anything still with the same rom, same settings and all despite seeing miss regulatory wipes I have to say that I have the latest TWRP (3.0.0.0) do not know if I'm doing something wrong if so tell me which, I have the d290n case, thank you very much for the help and the fantastic work of development of the rom .a greeting, thanks
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Updated link to rom

Here is a new link to the latest rom zip file:

http://uptobox.com/g2ymo5jxa5wa

Thank you
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Help needed

Hello again,

It turns out that the Fino stock kernel was heavily modified to meet LG needs, so that the qualcomm media drivers for hardware acceleration of video/image encoding and decoding cannot build. Before making the cameras to work, our kernel used the cm code of vidc and video decoding was working fine, but there was no chance that the cameras would work. On the last build I have reverted all the vidc code to stock in order to get the cameras going and I have finally managed to record video from the rear camera. That broke the video decoders/encoders because I had to use prebuilt stock libraries for the media drivers, which turn out to not work correctly on lollipop. I am now in the process of changing the kernel code once again to get the media drivers to compile without errors. If anyone knows c programming, I need some help on this!

Thank you
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] denkanvkz:
My camera writes video and make photos, but there are white artifacts and other noise , visible under magnification. For [MENTION=6157507]CrizinPsyk[/MENTION] patch used on the camera , which is installed with this patch .

I apologize in advance for my English , I am from Russia and I write through the Google translator : D
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] gpopac:
It would be perfect if you manage to use nonstock driver and lolypop native libraries, since lolypop has some great improvement for camera :) Unfortunately, I am not familiar with C, otherways I would like to help you :(
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
New BUILD 12/5/2016

Hello Fino users,

I have updated the kernel code in order to be able to build the qualcomm media drivers from cyanogenmod sources while keeping the cameras working. Here is a link to the zip. On my device, video hardware decoding works, please make some tests and report here if decoding does not work on your device: http://uptobox.com/pk5jo1ns5hh7

Still, nothing new on the white artifacts for the imx219 or the High Resolution snapshots for both the rear cameras. I will try to build the qualcomm jpeg interface and decoder/encoder from CAF sources. I will report if I have any news.

Thank you
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] edsonisgod:
Netflix not working error 0013
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Thanks for reporting! It turns out that youtube app does not play hd videos too. Only the cyanogenmod bundled video player plays hd videos somehow. Will look deeper in it.:confused:
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] slomosht:
Are you using the stock camera app or a third party one because stock app keeps crashing. Managed to take a few snaps but it didn't save them and now I can't access the camera.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Alex?:
https://chromium.googlesource.com/c...os-3.14/drivers/media/i2c/soc_camera/imx219.c

Can you check this out if you can find anything usefull
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Use a third party app like cameraMX or Opencamera, the stock camera app has some issues. On third party apps the rear cam can take snapshots only in 320*240 and 480*320 sizes currently.

---------- Post added at 02:50 PM ---------- Previous post was at 02:49 PM ----------

I will take a look at it, thanks man!
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Sergio_ice:
Hi I again quote me, even with the last revision still can not install the rom, does not make the wipes effect since now I have not tried everything you have any idea? sorry for my bad English greetings
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] bartbart2003:
[MENTION=1350438]christpp[/MENTION] Almost a week and no update on GitHub. When it will be updated? Anyway thanks for this great ROM.

Tapatalk | LG D290n
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Hello, sorry for not updating the code. I was planning to wait until I got the hardware acceleration working and then update. Anyway, I will update everything tomorrow.

Thank you
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Github code updated

[MENTION=7026298]bartbart2003[/MENTION], github code is updated. If you are intending to build by your own, please report to me if something does not work/does not build and I will check it out.

Also, SElinux is now set to permissive, this will take effect from the next build release.

Thank you
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] bartbart2003:
Building CM12.1

Ok, thanks for updating. I'll try to build it today. I will report build errors (if any).

EDIT: There is an small error in msm8610-vendor-blobs.mk. I forked the repo on GitHub and fixed it.

EDIT2: There is also a missing file (libOmxAacDec.so) in vendor/lge/msm8610-common/proprietary/vendor/lib/. I added it manually.

EDIT3:

make: *** No rules to make target '/home/bartbart2003/android_cm_lollipop/out/target/product/l70pn/obj/STATIC_LIBRARIES/libbase_intermediates/export_includes', needed by '/home/bartbart2003/android_cm_lollipop/out/target/product/l70pn/obj/EXECUTABLES/uncrypt_intermediates/import_includes'. Stop.

I have no idea how to fix it.

EDIT4: I've started a new build (too many errors). I cleaned the source (recovery, device, out, vendor and kernel).

EDIT5: The build has successfully ended.

EDIT6: [MENTION=1350438]christpp[/MENTION] it booted, works without problems, SELinux is enabled, but both cameras are not working
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
That's terrible. Everything seems to be messed up. For some reason, not everything gets uploaded from my local setup to github. Could you provide a logcat for the camera? It would be great if you could take one during device bootup. Maybe I can sort out what is missing from the repo.

Thank you very much for your support!
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Czajo:
NFC don't work
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
We are aware of the issue, thank you. I am going to have a take on the NFC after the cameras work 100%.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] elitemantis:
how i can back to stock rom ? my pc dont detect phone when connect with vol + and usb conected... someone have backed rom in zip file for recorvery ?

i have allread 12.1 installed but when i go to download mode my pc says cant recognize hardware... i installed drivers.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ProudlyTM:
Try to change USB ports
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] noor shahzeb:
I have latest twrp installed

When i try to install CM12 on my lg l fino D295 its always says failed

Rom is 170pn your device is 170 dns

What does it mean plz help

How to install
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] noor shahzeb:
I have installed latest twrp recovery and i try to install CM12 on my lg l fino D295 but it says failed

It says rom is 170 pn your device is 170 dns what does it mean

Plz help how to install it successfully
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Stersound:
Hi,

I had this problem as well and it is easy to fix

What i did is unzip the ROM go to : cm-12.1-20160320-UNOFFICIAL-l70pn.zip\META-INF\com\google\android

There are two library files! You need "updater-script" Open it with notepad or notepad++ .

When you open it delete this line from updater-script " assert(getprop("ro.product.device") == "l70pn" || getprop("ro.build.product") == "l70pn" || abort("This package is for device: l70pn; this device is " + getprop("ro.product.device") + "."); "

Save it (not as .txt) choose all types and save.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Ky$h:
Edit the updater script. Find l70pn and change it to l70pds
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] uzq1:
xiaomi mi4 has a front camera imx219
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
New build 17/05/2016

Hello all,

I have done some deep research and I found out that our device uses the Hexagon DSP to manipulate high resolution images coming from the rear camera sensor. The DSP allows some special processing of images which is significantly faster than processing on the cpu.

I am currently uploading the zip and I will provide a link soon. EDIT: Please get the latest build -> 18/5/2016

Thank you very much
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Czajo:
Hi, I'm installing rom now. Tell me please how can I swap internal memory with external? It is possible?

@edit: finally default camera app works fine with fully resolution, but it isn't this kind of quality from Stock.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Hello,

I have edited the previous post and temporally removed the download link because there was a missing library from it. That might be causing the worse image quality than the stock rom. I am currently uploading a new zip with this library included. If you are interested, you can make some comparison between the two, and if we are missing something we should look for a fix.:good:

Thank you
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
New build 18/05/2016

Camera port should be complete with these additions. It is reported that camera quality is lower than the stock ROM. If someone is willing to take a look at this, it would be great if we had some side by side image comparison!:o:o

http://uptobox.com/ug63ysqrasj6

SElinux is now set to permissive. If you experience any issues with this change, please report them and I will take a look. I am now starting to add SElinux rules so hopefully we will set it to enforcing at some stage.

Next try will be on NFC. It seems to me that this will take some time too, as I think I will have to use newer open source drivers that come directly from NXP.

Thank you :cool:
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] oleg1991:
Hello, thanks for the work, I cant download file from that site, its sent me to some advert sites and thats all. Sorry, adblock was blocking download.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] slomosht:
Did you use the stock camera app in the latest build or is it still working with a third party one?
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
The stock app can take pictures on all resolutions, but no video recording. I am not sure if this is a device specific issue or an application bug.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] bartbart2003:
For me video recording works in the built-in camera app. But white artifacts bug still exists on photos.

Tapatalk | LG D290n
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Alex?:
Same as me, I have imx sensor
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] gabrielgl8:
I install de new versión but white artifacts appears in photos
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ProudlyTM:
Hmm.. I can record videos on both cameras and on all resolutions and with stock camera app. It's weird that you can't.

Anyways, keep up the good work! :)
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Stersound:
Thanks for the new build !

Both camera and video recording work perfectly with my device LG D295 using the stock app :)

Thanks again you are awesome !!!
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
About the stock app: Maybe I should clean the cache and it will work. Sorry for misleading all! :o

For imx219 users: I will need some logcats and kernel logs during picture taking and during boot, it can be something from proprietary libs to kernel code. If you can provide me with the above, I will take a look. I will also need someone to test for me.

Thanks for all your testing!
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] bartbart2003:
I have imx219 sensor. I'll provide logcat later.

EDIT: It looks like a file is missing "E/adsprpc (335): vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:33:apps_std fopen failed: ./libadsp_denoise_skel.so No such file or directory".

Tapatalk | LG D290n
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
This lib is missing from the stock rom too.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] meganukebmp:
Thread updated with latest 18.05.2016 build

Thread updated to contain the latest build. Updated changelogs.

Screencaps from [MENTION=5149142]proudlytm[/MENTION]

Big shoutout to [MENTION=1350438]christpp[/MENTION] for fixing this.