yashsingh1/xdaforums huggingface dataset:
[G2 General] maly2006:
[MENTION=377973]defcomg[/MENTION]

and what about lib_chromatix_snapshot_LGG2.zip?
[G2 General] shaneel1491:
Thanks :)

New files are working great!
[G2 General] sys01:
[MENTION=377973]defcomg[/MENTION] "6400" libs are a little buggy

It switch costantly between high ISO and low ISO

This happen when sensor gain more light

And when it happen it lagg a lot

Can you fix it?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 General] shaneel1491:
Try the night 2 libs, I find it better.
[G2 General] sys01:
i tried them alredy, but they use a low iso, they are specially made for night photos

and the image preview is laggier than 6400 one

if he could fix this little bug would be awesome :D
[G2 General] defcomg:
hope you backed up preview lib try using original lib with modified snapshot lib .

by the way you can set a higher iso and negative ev to force less laggy preview
[G2 General] sys01:
Obv i made a backup :D

Then i ll stay with nigh_lib for a while

Meanwhile Can you fix it?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 General] defcomg:
just try the combo with stock preview and modded snapshot
[G2 General] sys01:
Now it work very well!! Damn, photos look like stock one, im impressed because im running your modded libs in resurrectionremix 5.1.1 ROM :D

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 General] joedajoester:
I was never quite able to do the opposite of what the op intended. I tried to get a faster shutter and slightly higher iso (so i can get grain instead of insane amounts of blur) but i still ended up with a laggy picture in certain lighting conditions and not in others. But from what I read, can I just modify the snapshot lib and leave the preview one as stock?
[G2 General] sys01:
Yes, use snapshot from this thread and preview stock :D

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 General] Dynamatrix:
Can someone upload stock files? Sadly, I didn't make a backup :o
[G2 General] sys01:
[MENTION=6930656]Dynamatrix[/MENTION] http://www.mediafire.com/download/ka7n0q7f9i0kve2/lib.zip here for you ^^

The preview lib finish with .bkp, you just need to remove this part of, and paste on system/vendor/lib and set permission :D
[G2 General] furzewolf:
This looks pretty brilliant! I was holding off from using a custom ROM on my G2 (much to my despair) because I needed the max quality from the camera.

So, now I've got BlissPop ROM, could these files be, you know, shoved on top? Which files would behave most like the stock G2 camera libraries?
[G2 General] shaneel1491:
:good:

Okay guys, this mod is awesome!!

Here's some samples between different devices.

Samsung Galaxy S6: [No useful exif data was given...]

[IMG="S6"]http://i.imgur.com/ithAyjC.jpg[/IMG]

LG G2: [ISO-3150, 1 sec]

[IMG="LG G2"]http://i.imgur.com/QP7LweX.jpg[/IMG]

If you can't view the images, here's the link http://imgur.com/a/ePO4W, the brighter one is the G2 :D

Important to note that this mod only works on CM/AOSP, and it works great, the shutter just lag a lot, but in the end your image is much better!:D

Great work from the dev! Thank you!
[G2 General] defcomg:
if you take like 3 / 4 images of the same scene you can do median stacking in photoshop to cleanup the iso noise
[G2 General] shaneel1491:
I'll try experiment with that, but so far the quality is great for what we have, I did this scene also on my dad's G4, but with ISO-50 and 30 sec exposure, and the only difference was mostly no noise, other than that, they were both comparable.

Also what app do you suggest using this with, I used snapdragon camera.
[G2 General] defcomg:
any camera app is fine in snapdragon try set scene to hdr see what happens at 1 sec.

i either shoot hdr or in raw
[G2 General] shaneel1491:
Okay, I also tried Cortex Camera, it's in beta on google plus, that basically does the stacking you described earlier. I tried it with one image and it worked great. It stacks around 28 - 30 images, so it takes about 35 - 40 seconds if we expose it at 1 sec.
[G2 General] KubaIV:
Did u have this same problem.? In every dark scene photo, snapdragon camera focusing and focusing and didnt takd any photo. How long is this shutter in night-libs .?
[G2 General] shaneel1491:
It takes wrote a while to focus, but it does, as long as you click the place on the image you want to focus on and then clock the shutter once it's focused.
[G2 General] KubaIV:
But when i taking photo, camera could focusing 3-4 minutes... And i cant go into gallery from snapdragon camera... When i copy original libs, all works fine, but i really wanna have better night photos?
[G2 General] shaneel1491:
[MENTION=377973]defcomg[/MENTION] I think I've messed something up. Today I updated my AICP to the latest nightly and the shutter no longer exposes for more than 1/2 a second. I put all the libs in the correct places and am using snapdragon camera, but it seems that the longest exposure is only 1/2 a second, where as this worked at 1 second yesterday. Am I doing something wrong?

I'll also roll back to see if it's a problem with the ROM.

Edit: Rolling back and replacing libs did not help.

Edit 2: Okay, it's linked to zero shutter lag. Earlier exposure did not change when zero shutter lag was on, but now it seems to work. I'm gonna try my hand at modding the libs as well.. :)
[G2 General] feeling7:
Hello,

Could anyone explain me how camera for stock roms and stock based roms working, I mean which mods should I use, Because I found a few

[APP][DRIVER] XCam LG v6.2.4 [G2] - is it most important thing ? main drivers to get 4k, 120 fps?

[NEW-LL] G3 Port Camera App-Full Screen-Video - this one is just camera app ported from g3, is it? and does it require xcam lg 6.2.4 ?

[MOD]Camera Libs 5.0.2 - this mod, can I use it after installation of mods above? will it work on cloudyg2 2.2 (android 4.4.4)

The last one, [MOD][PORT] Jishnu's Camera™ V3.5B | F50 [4K… thread is discontinued, but maybe is still worth to install this cam?

thank you in advance for any kind of help which can be provided
[G2 General] DerDave:
I'm a bit confused. Can't seem to find a way to take RAW/DNG pics in my AOSP rom (SlimLP). Neither Mi2Raw nor FreeDCam work. Does this mod also allow me to take RAW pictures on an AOSP rom? Thanks!
[G2 General] troopii:
No it does not. Its only for longer exposure time up to one sec on all iso modes.

That you cant take raws/dng is caused by your rom

---------- Post added at 11:24 AM ---------- Previous post was at 11:18 AM ----------

That libs are for lolipop to extend shutter time on all iso modes up to one sec. So i dont think it will work on kitkat.

Xcam is stock camera with extended features. G3cam is ported stock cam.

To use that mod you need a camera app wich disable zsl. Else its not working
[G2 General] feeling7:
Thank you very much.

So it means we have two different camera apps for our G2, G3cam ported stock vs xcam stock g2 camera , which one is better?

I dont understand this sentence, which mod? and which camera can disable zsl? what is zsl ? zero sutter lag?
[G2 General] KubaIV:
Snapdragon camera have this option.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 General] troopii:
With this mod i mean the libs postet in this op.

Yes zsl is zeroshutterlag.

Xcam has it disabled.

Snapdragoncam too.

In Freedcam you can activate deactivate it.

Not sure about g3 cam. If its ported 1:1 its has zsl on.

About wich cam is best, you are asking the wrong person. For me its always freedcam.
[G2 General] shaneel1491:
That's strange, with zsl disabled I'm only able to take 1/2 a second expose, as well as some other bugs due to snapdragon camera, but with zsl enabled, I can go all the way to 1 second, without those previous bugs occurring.
[G2 General] troopii:
you must move the exposure slider to max. +12 +ev2 or whatever it is called in the app you are using^^

the final exposuretime used is controled by the ae routine. +12 says the ae only to try to achiev max possible shuttertime in that lightconditons.

on sunny day it will be hard to get higher then 0,5 sec, but its possible on a cloudy day. and at night it will work for sure.

its also depending on the iso you are using. with iso100 the ae will use a longer exposuretime then with iso800.

this is not a full manual control. it tricks more the ae to use higher expotime
[G2 General] raptorddd:
i need help, i have rad and search but i am confused, sorry if this isnt the place to post this.. am running d800 custom rom based on stock no name 420dpi i think it has g3 camera..

i have some questions..

i want to record in 120fps is this the same as 4k.? what do i need?

and camera app tha n can take raw images.

what do i need// thanks links provided will be better
[G2 General] troopii:
-_- 4k is also called ultrahd. It has nothing todo with highframe or highspeed recording wich can record120fps@720p.

As far i know stock g2 cam do both, ported g3 cam too.

About raw freedcam, mi2raw and xcam can do it on g2 with kitkat.

On lolipop only freedcam works.
[G2 General] raptorddd:
so installing freedcam will also record at 120fps? or i need something else? do any video player will play slow motion video?
[G2 General] shaneel1491:
No, afaik, the only ROMs that support 120fps are the stock ones. There are some 5.1.1 ROMs that support 4K, but not 120fps.
[G2 General] defcomg:
Check in Video profile on freedcam for 720hfr120 or 720p120
[G2 General] vrwmiaris1:
I don't have that option man, only time lapse 720

Στάλθηκε από το LG-D802 μου
[G2 General] raptorddd:
i can only see 720hfr but not 120.. when i take video and i play it it plays super fast.
[G2 General] troopii:
Thats not correct.if Cm12 wraps native lg framework. With that all options are avail that works on stock. Correct is that these options are only avail with using lg framework.
[G2 General] shaneel1491:
Wow, has anyone been able to do this. It would be awesome.
[G2 General] kopter36:
720hfr is at 120fps or 60fps?
[G2 General] raptorddd:
i donr know i assume it means high frame recording not sure if ut for 60 fps or 120.
[G2 General] troopii:
Its 120fps on g2. Only lg use that video profile. On other qcom devices there is a parameter hfr wich can set to 60 90 120.
[G2 General] raptorddd:
i want to understand clearly.. if i have 120fps option it records and when played noraml it fast right? then to make it slow motion i need a video player to do that right? and if i want to upload it i need a converter right? like those videos on you tube.. or am i wrong
[G2 General] troopii:
Thats depending on the player. With stock g2 player in gallery you can choose the playback speed.
[G2 General] defcomg:
Yes 120fps played back at 120 fps video will look fast ish when played at 4x slower at 30fps then you have the slow mo effect . I think like on my device only stock video player seems to playback at 30fps hence slow mo effect using player like MX player video is played at 120fps. Get any video converter and encode it as 30fps or better yet adobe premiere + twixtor plugin for ultra slow motion the former is easier and quicker .
[G2 General] raptorddd:
now am on cloudy 3.3 ok i deleted that app cause i use mxplayer.. so now that i got that , this mod in this thread is only for taking pics in dark areas right? what would you say i should do to have the best camera pics setting using mods..
[G2 General] fusioncoast:
can this be used on MIUI which is based on stock KK
[G2 General] defcomg:
Sure
[G2 General] fusioncoast:
all 3 zip files contain the same files what is the difference in the three do they need to be put in different folders?
[G2 General] raptorddd:
i think they have different settings so try each one and see wich one works best for you the 6400 and nightly files.. as for the lib chromatix that i dont know what is.... i do have one question this mod is for flash on or without flash.?

i have it on mine but ive never taken a pic with stock camera or stock lollpop.
[G2 General] defcomg:
the lib chromatix zip is what was used to edit to those libs should you choose to edit them.

As for Flash you can use it if you wanna if its dark enough flash + slow shutter works good just try to keep iso low or you end up with overexposed image
[G2 General] raphaelnariga:
Good morning,

So many guys here in Brazil have doubts how to install the libs on CM12.1, could you help us, please? (just flashing the zips on TWRP?)

An another question, with those libs the câmera on CM12.1 will have the same photo and video qualities like stock roms? Thank you.
[G2 General] defcomg:
use root explorer or similar root file manager copy the files in the zips over to /system/vendor/lib/ set permission rw-r-r.

the photo quality remains the same all they do is extend AE exposure time in low light well the 6400.zip pushes iso also the other is less agressive with iso
[G2 General] raphaelnariga:
Oh ok, I got it, I thought with these libs we could have better photo quality, something like stock roms do. But thank you anyway for your explanation.
[G2 General] shaneel1491:
This in my opinion is better than stock, night time shots are way better, but remember you should not expect this to do everything, it also requires you to post-process images if you're not content..
[G2 General] sandys1:
is it possible for you to create a recovery flashable zip ? this way it is very convenient when we flash a new ROM (which these days is nearly everyday).

thanks!
[G2 General] shaneel1491:
[MENTION=377973]defcomg[/MENTION]

Just bumping this thread because I tried it on a 6.0 ROM but it didn't seem to do anything, is there something we should do to get it working? Cause this mod is awesome!!
[G2 General] defcomg:
pull all chromatix file from 6.0 vendor file ill have a look
[G2 General] shaneel1491:
All the files from /system/vendor/lib?
[G2 General] defcomg:
ones that contain imx 135
[G2 General] shaneel1491:
Okay, will do, is Google Drive fine?
[G2 General] defcomg:
:good:
[G2 General] shaneel1491:
https://drive.google.com/folderview?id=0B-7popFesfShcDd4Nk1jNHkxeDA&usp=sharing

I added your previous modded files, if you need the stock ones that were replaced by yours just give me a shout :)
[G2 General] defcomg:
lol i need the stock 6.0 files
[G2 General] shaneel1491:
?? Okay, I'll get them now

---------- Post added at 10:17 PM ---------- Previous post was at 10:01 PM ----------

Here we go: https://drive.google.com/folderview?id=0B-7popFesfShLTJqWDJTZDFmaFk&usp=sharing
[G2 General] raptorddd:
troopii quick question not related to mod , but freedcam i cant zoom taking pictures or videos.. i have latest from playstore..
[G2 General] defcomg:
use this thread http://xdaforums.com/android/apps-games/camera-freedcam-4-0-3-t3115548/page2
[G2 General] shaneel1491:
[MENTION=377973]defcomg[/MENTION]

I had some luck in modding the libs, and was able to see a noticeable difference in brightness, how ever I ran into a few problems

1.) Seems to me as though the exit data and the actual image are different, it is reporting 1/10 1/6 shutters, but is obviously longer.

2.) The preview image is much brighter then the captured image, even though I simultaneously adjusted the libs.

I also don't think we can go further then 1sec, but I'll try a bit tomorrow and see if anything comes through..
[G2 General] defcomg:
didn't get a chance to open the libs but you can copy exposure table from preview lib into snapshot lib this will help match preview brightness.
[G2 General] shaneel1491:
These are the modded files for MM, give it a shot!

Remember to make a backup of your 2 files as well

Also using Camera FV-5 on Long+ exposure gives the best results (you just have to change the image temperature afterwards in some app like Snapseed)

https://drive.google.com/folderview?id=0B-7popFesfShcGk3MFNtQklqakk&usp=sharing

Edit: place in /vendor/lib
[G2 General] shaneel1491:
I will try to regularly update the libs for better performance.

Changes:

-Fixed preview and capture differences (you no longer need to use Camera FV-5)

To-do:

-Make exposure increases to max smooth and uniform

V1: https://drive.google.com/folderview?id=0B-7popFesfShRUs3eF9ETE5SYm8&usp=sharing
[G2 General] rajkatiyar07:
Lollipop addition ? or MM only ?

And off the topic does somebody know that why i cant edit raw in snapseed ?
[G2 General] shaneel1491:
The libs by Defcomg work on lollipop, but didn't work in MM, so I created this for the MM users that complained about camera quality.

The Lollipop libs are on the OP.

To edit RAW on Snapseed, open using FreeDcam viewer, then click open, but open using quickpic. Then on quickpic click share and click Snapseed, that works for me.
[G2 General] rajkatiyar07:
Bro you are not getting my point . I can edit raw but cant process them, I mean after doing editing when i press ok and save snapseed just keep processing them minutes hours but never save them. The processing mark in status bar keep flashing. :(:confused:
[G2 General] shaneel1491:
Oh, then I don't know. Maybe it'll be fixed in a future update..
[G2 General] defcomg:
Click share instead of done, it will save a copy when pressing done most times it fails dunno what Google did to it. [MENTION=5128617]troopii[/MENTION] also had issues with it on g3 don't remember how he resolved it
[G2 General] sandys1:
any chance for a flashable zip ? I'm flashing new ROMs everyday.. would really appreciate a flashable zip so that we can flash this on every update. Can someone help ?
[G2 General] barturblits:
Just download a template zip, open it with a zip app and drag and drop the files/folders in. Et voila.

https://fralef.me/how-to-create-your-own-flashafterupdate-zips-for-android.html
[G2 General] shaneel1491:
What about permission changes though, how would you do that, manual or chmod script or something?
[G2 General] barturblits:
If you need something different than the default 755/644 (folders/files) you can do it in the updater-script located in the meta-inf folder. Never needed it before but I guess you can just put a chmod in there.
[G2 General] sandys1:
umm.. a bit scary for me. anyone know how to do it for these camera libs ? i do know there is some permission that needs to be changed. I think its a one time effort, if the correct zip is made then every release will just update the libs and will work perfectly !
[G2 General] troopii:
did not solve it. snapseed works 1 of 20times. im using ps express.
[G2 General] Ajaykmr:
Will snapdragon work for nokia xl

I have placed app and lib file in phone system

App is installed but is shows snapdragon camera has stopped

What should I do now please help me
[G2 General] troopii:
That libs are for g2 lolipop! Its not working on other devices.

To get back a working cam you need the libs for your device.
[G2 General] rajkatiyar07:
Use a good file explorer thats it such as ES . Give root access to explorer and change the permissions in lib folder of particular files. Nothing is scary bro.
[G2 General] FlorianSSJ:
It will work only on lollipop or can be used even in cm11?
[G2 General] rajkatiyar07:
It will work !
[G2 General] rdNNNN:
Can the same be applied to front camera?

I would like to mod the library so i can get slight longer exposure times, but all I find are the the IMX135 libs, which I recognize as the back camera ones.

Can you point me in the right direction?

Thanks in advance
[G2 General] xxoscarxx28:
Can I ask how you guys modified the libs? I tried to play the links and watch but I can't see much because of the poor playback quality...
[G2 General] troopii:
you can set the qualtiy on youtube to 1080. that should be enough to make it readable.

you need hexworkshop, https://github.com/troop/chromatix_hex_wrapper/blob/master/lib_chromatix_snapshot.hsl and a bit knownledge about binary stuff.

that wrapper should match perfect for that libs. only thing you have todo is to figure out the correct exposure table size. else everything after that does not match.
[G2 General] xxoscarxx28:
Can you guys make another mod wherein the preview performs as fast as possible (fast shutter times) regardless of the scene? Then two separate versions wherein you can whether have a slow shutter, low iso snapshot, or a fast shutter, high iso snapshot? This way we can have more flexibility
[G2 General] defcomg:
Copy the ae table from 60fps chronatix file
[G2 General] shaneel1491:
You should edit the imx 132 file, I think..
[G2 General] rdNNNN:
I'm sorry to bother you again, but can you enlighten me how to get the 1 second exposure hack working?

Currently using stock lollipop based rom , google edition 1.5 with the advanced binaries by xcam. Tried pushing both 6400 and night_lib2 libs (one at a time) and replacing the files trough the system/vendor/lib and nothing seems to have changed from "stock". Tried using stock camera and freedcam (some versions from a year ago version trough last beta) and still cant get above 1/9 exposure times which seems to be right according to the framerate I'm getting in the preview. Setting exposure compensation in freedcam seems to have little to none effect. Tried these too, just as a last resource try. With no results tho.

Permissions were set up the right way.

Thanks in advance.
[G2 General] coavasic:
How I can install this on CM13?

CM13 doesn't have this 2 files by default. I copied but not working...
[G2 General] khanjui:
You can't. Best thing you can do with CM is using FreeDCam.
[G2 General] coavasic:
Only freeDcam or freeDcam with this libs?
[G2 General] khanjui:
Only FreeDCam.
[G2 General] switchgott:
Hi, could someone make it working for LG G3 MM??

Libfiles are: libchromatix_imx135_30fps_preview.so

and libchromatix_imx135_30fps_snapshot.so
[G2 General] GnehWnos:
i can't watch the video youtube says its private

what should i do ?
[G2 General] gnaneshwar.v1:
Give me a working link to replace my lib files.

The links says it is private
[G2 General] defcomg:
Check op its not private
[G2 General] shaneel1491:
[MENTION=377973]defcomg[/MENTION]

I'm also getting the video is private message.
[G2 General] shaneel1491:
Is there anyway to get an exposure longer than 1 sec, I can make a 1sec exposure at 7600 ISO, which is okay, but it'd be better if we could increase the shutter limit.
[G2 General] shaneel1491:
Good news folks, with the help of [MENTION=377973]defcomg[/MENTION], we were able to mod the libs to give an exposure of more than 1 sec (I don't know the actual expo time :)) [IMG="Long Exposure"]http://i.imgur.com/VVfPnxM.jpg[/IMG]

I will maybe open a new thread and post the files soon, still some things to be worked on...
[G2 General] Antretng:
Hello everyone. I just tried this on g2 (rom google edition 1.5), set the permissions to rw-r-r on both files, install freeDcam with zsl deactivated but i cannot get EV more than 2. As a result, the maximum exposure that I can get is the default 1/9 with iso 2900. This is for both 6400 and nightlib2. I also tried different resolutions on the settings of freeDcam. Any ideas? Is there a chance to have any conflict with the xdabbeb libraries that are preinstalled in googled edition 1.5 rom?
[G2 General] shaneel1491:
When I tried this on a stock based ROM (Cloudy I think) even FreeDcam didn't benefit from the modded libs, however on AOSP, the difference is much more noticible! It must have something to do with LG's framework
[G2 General] Antretng:
lol. I was on cloudy 2.2 and change to google edition 1.5 just for this camera mod :D

For the time being I will leave it as it is because I prefer the best performance from my camera and not just long exposure. But I will try the libraries you made for MM in the future If I decide to move to marshmallow.

Thank you for your response. Let me know if anyone make it work in stock based rom.
[G2 General] shaneel1491:
Lol, I'll maybe look into it when I have some free time, but it should work,I'm not to sure why it doesn't!
[G2 General] Antretng:
Much appreciate it. Cheers :)
[G2 General] shaneel1491:
Just upload libchromatix snapshot and preview in the mean time ;)
[G2 General] Antretng:
Didn't get you. You want me to upload the stock camera libs of my rom ? If so, here you are https://1drv.ms/f/s!ArBDeVoC0Z5egZo_CRq8IgMkOISFoA
[G2 General] shaneel1491:
Cool, this is what I needed.
[G2 General] Alex_Ksandr:
Hello from Russia frends!) but so removes the camera from my rom EvaGL_4.6.2[IMG="image"]https://docs.google.com/uc?authuser=0&id=0BxOfd_RiFKG1VmNEbmlTZF9MV2M&export=download[/IMG]