yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] Ale-xs:
Hello ksekhar. I found a problem in the LG firmware, it appears in your mod too.

In third-party programs (ICS camera+) and in your camera mod of the compression quality jpeg minimum, maximum file size.

In some conditions, such as the leaves in the sun, the size of the file begins to exceed 5 megabytes. Then the problems start.

This file is written to the error (broken jpeg file). I've been thinking why this is so and finally got it.

In your version, you just increase the compression quality to any situation the file size is not more than 4-5 MB.

Also, if you is not difficult, please do me a version (as we did earlier) which fixes only compression jpeg,

but the quality of compression should be a cross between the standard version and your version.

Or tell me how I myself can change the quality of compression.

For example (like photoshop - compression level from 0 to 12)

Original LG camera - compression 9

Your mod - compression 12

The required - compression 10.

Link to example of broken jpeg file: http://narod.ru/disk/61445464001.4b4c982386ce7c47b2214e33a90a25aa/bug_IMG_20120923_124127.jpg.html
[LG Optimus 4X HD] ilan_75:
So, here is some pictures takes with th V5 :

View attachment 1351858

View attachment 1351864

View attachment 1351869

View attachment 1351870

the third is more funny for french people ;)
[LG Optimus 4X HD] somboons:
from v5 too.
[LG Optimus 4X HD] dfreake:
is the remove camera.odex and install version 5 confirmed without any problem??
[LG Optimus 4X HD] somboons:
maybe you can try.
[LG Optimus 4X HD] Xenogenics:
Guys, I know showing photos you've taken will help ksekhar a little. But What I think will help him more is if you guys post reviews like, is the picture to bright/dark? Is it too grainy? Is the picture size too big? And please note, the development for the video recording is still underway, ksekhar is trying to "perfect" (note that I use inverted commas) the camera first. This is a slow and painful debugging process which requires many guess and test procedures. So lets focus on one thing at a time.

Sent from my (V10f, Rooted, CWM-Installed, Deodex-ed, Camera-Moded V5) LG Optimus 4X HD P880
[LG Optimus 4X HD] ksekhar:
If anyone wishes to continue working on this I am happy to share the mods what/how I made. PM me as I am not checking this forum often anymore. Sorry to leave you guys. Thanks.
[LG Optimus 4X HD] mental.patient:
Just tried this flash via CWM Recovery and the Camera app won't open now, just force closes every time i click on it, I tried doing the ADB method as well, no help.

Any ideas of how to get the standard camera working, or the mod working?
[LG Optimus 4X HD] somboons:
what is your firmware ?
[LG Optimus 4X HD] mental.patient:
V10f as far as im aware, where can I check?
[LG Optimus 4X HD] Xenogenics:
Go to app settings/all

Find camera app

Delete data

Retry.

If still not working,

Run CWM, and clear dalvik cache.

Reboot.

If still not working, call up LG support,

And tell them they suck for not unlocking the bootloader

Sent from my (V10f, Rooted, CWM-Installed, Deodex-ed, Camera-Moded V5) LG Optimus 4X HD P880
[LG Optimus 4X HD] The Troll:
so, who's taking over the project?

mainly coz iso settings still ****ed up..

sometimes i take pics of my laptop's screen.. *its dark in my room and laptop's bright*

camera gets fc or takes a pic thats corrupted..
[LG Optimus 4X HD] chalid:
made some photos for another thread.

no cameramod:

cameramod v4:

cameramod v5:

samsung galaxy s2:
[LG Optimus 4X HD] WillySonicteam:
The camera of the S2 is much better.This camera is in a stock rom ICS?and no have a Mod?.
[LG Optimus 4X HD] chalid:
Galaxy S2 completely stock and all settings on auto.
[LG Optimus 4X HD] dfreake:
i want to delete camera.odex and install the mod but there are two camera app. the camera.odex and the camera test.odex which one should i delete??
[LG Optimus 4X HD] somboons:
you can delete test.odex.but I reccommend you to use deodex app for CameraApp .
[LG Optimus 4X HD] dfreake:
so that mean i can delete the test.odex and camera.odex and not the camera apks

sorry for my stupid question
[LG Optimus 4X HD] somboons:
you should re-compile .apk before delete

.deodex file

you can use dsixda_Android_Kitchen_0.199 to help deodex apk.
[LG Optimus 4X HD] dfreake:
ok i will try it later
[LG Optimus 4X HD] badaboem:
I installed v5, it seems with this mod it takes pictures faster than original, but iono the pics kinda look blurry or is it just me?

it isnt really sharp enough for me.. maybe its a personal thing. Its not like the sony xperia that i have, that one takes awesome pics.
[LG Optimus 4X HD] wanchiz:
Here is the problem :(

i found that it's problem of the android camera app, i could open camera of other apps
[LG Optimus 4X HD] dfreake:
i cant connect to 2g/3g/H and my pc cant reconized my phone amd my phone modem too!!

i cant reflash 10f rom help me please:crying: im on window 7 ..this happen after flash the mod
[LG Optimus 4X HD] djjeanb:
deodexed really needed

is the deodexed rom really needed for this mod to work??
[LG Optimus 4X HD] igoen:
after installing this, when I choose Scene Mode to Night/Sport/Landscape/Portrait, camera apps are hung. only work for normal scene mode.

does anybody experience the same thing?
[LG Optimus 4X HD] oktay50000:
not for me mate working fine

clear dalvik cache and try again...

anyway anyone working on this project or its done?
[LG Optimus 4X HD] leolipop:
Great tweak.i took the risk and installed it on a rooted stock v10f and works like a charm.Huge video lighting improvement!!
[LG Optimus 4X HD] :
Tested, my phone is non-deodexed on V10E Singapore. I did not do ADB instead the files were manually pushed into their respective folders using Root Browser & Titanium Backup. Below are the steps i did:

Download ADB version

Extract the files, ignore the adb files dive just into system folder

copy all the files into your phone, somewhere you can find them

From here on your phone go 'system/lib/', hunt down libnvmm_camera.so and rename it to 'libnvmm_camera.so.bak'

Dive deeper in, into 'hw' folder, look for 'camera.tegra.so' and rename it to 'camera.tegra.so.bak'

go to where you copied the modified files to and copy and replace the respective items you've just renamed (and backup'ed)

SET PERMISSION RW-R-R-- FOR BOTH FILES

In Titanium Backup make a back up of 'Camera *.*****'. Then 'Wipe Data' ---> Uninstall

Copy the modified CameraApp.apk to 'System/App/' and set permission RW-R-R--

Restart. You're done.

All i can say is the pictures look great!! Thank you! Video are good too. For me no other changes needs to be done besides having LG implement this into V10G :laugh:
[LG Optimus 4X HD] :
Im having the same issue. no, doesn't fix. Seems like the driver hung because once i forced stop camera it can't be restarted due to camera error. when i tried with other camera app they have camera error too.

There is shutter sound but the pictures were not saved to gallery, huge memory usage after hanging even when camera is stopped.
[LG Optimus 4X HD] hellchan:
Just installed it. No issues with turning camera on. Personally haven't used it enough to know if it's brought any major changes but it certainly isn't causing any trouble so I'll keep it.. .

Just wondering if theres anyway to reverse the changes if you installed via recovery? Without going through backup restore
[LG Optimus 4X HD] :
Try selecting scene mode.

I've another issue. The mod is causing my NFC switch in the notification bar to appear as 'off' even though its on. Turning it on or off doesnt have any effect - my nfc doesnt get switched on or off.

Changing libnvmm_camera.so back to the original one fixed it.

Edit. Scene mode issue is gone as well. What does the mod's libnvmm_camera.so file do?
[LG Optimus 4X HD] babymatteo:
This method worked successfully for me thank you for sharing! :victory:
[LG Optimus 4X HD] babymatteo:
Here's a sample pic I took with the camera mod. Its not as noisy ad it would normally be.

sent from my LG Optimus 4XHD using TP2
[LG Optimus 4X HD] :
I've caught another bug. I can take only one hdr shot. The next hdr shot will become corrupted.

I have to exit the camera and start it again to take another, then do it again to take the third.

Edit. Nvm my wrong
[LG Optimus 4X HD] babymatteo:
Lol i was about ta say...it works fine for me. :laugh:
[LG Optimus 4X HD] :
Ok im now on mod camera.tegra.so, mod libnvmm_camera.so

original / stock LG CameraApp.apk with its odex.

Working fine EXCEPT the video looks stock.
[LG Optimus 4X HD] Ilkinansr92:
Any way you can make this mod for AT&T LG Optimus G to improve the quality?
[LG Optimus 4X HD] dfreake:
isn't the optimus G camera good already

nyanyanyanyanyanyanyanyanyanyanyan
[LG Optimus 4X HD] Ilkinansr92:
Its lacking in low light
[LG Optimus 4X HD] dfreake:
same on 4X i think

nyanyanyanyanyanyanyanyanyanyanyan
[LG Optimus 4X HD] ksekhar:
Optimus G is not based on Tegra3 but i can possibly check if anything can be done. i would needed /system folder to check and a tester as i dont own the device :)

I dont check this thread so often so you might as well pm me. thanks.
[LG Optimus 4X HD] RuedasLocas:
I saw in one video, comparing OG with Iphone 5, where they say that the pictures in iPhone5 are better even if the camera is only 8MP, same comparing with SIII, a 8MP camera better than a 13MP...

LG is only putting trash as camera, what it means that at least for me, it no good.

Must see if there are other cameras that can be a replace for the stock one in O4X, maybe it works. The hard is to get hardware information to see if it is possible or not.
[LG Optimus 4X HD] morten82:
Hi ksekhar

You should use this mod with yours. Would be perfect :)

http://xdaforums.com/showthread.php?t=1882926
[LG Optimus 4X HD] RuedasLocas:
Once that I'm planning to flash it tomorrow, I'll give it a try. I know about that threat since the beginning but, I'm almost sure that it will be like tune a Ford Fiesta trying to get to the 1000hp...
[LG Optimus 4X HD] babymatteo:
In photography, quality isn't measured by the amount of pixels. But with the lens used to take the picture. The iPhone 5 uses a backside illuminated sensor with a five-element lens with a F/2.4 Aperture (same as the S3 and our O4x). Although, i really don't know what lens is used on our O4X. Best phones i've used and experienced that were best for pics was the HTC Amaze, Htc one X, and high end Nokia Phone (because Nokia uses Carl Zeiss Lenses on their higher end phones).
[LG Optimus 4X HD] RuedasLocas:
Our phone have a sh*tty Sony camera. I didn't even found info about... Like... Don't exist :eek:
[LG Optimus 4X HD] wanchiz:
I think the camera is jot sensitive to light at all, you see paste of black image even just in a dimmer environment
[LG Optimus 4X HD] RuedasLocas:
the lenses capture a lot of "noise"...

Specification:

Back >>>> C8AA-Y412A C8AA-Y412A 8M AF(VCM), SONY(1/4) BSI

Front >>>> CW1339 CW1339 1,3M SONY 1/7,8 , 5X5X3.0t, FPCB 5

Can someone find something about that?
[LG Optimus 4X HD] :
The noise is not captured by the lens. It is the result of sensor 'hardware' insensitivity to light at high ISO settings.
[LG Optimus 4X HD] RuedasLocas:
What I know is that the camera is BAD... no matter what settings I use to ISO, the pictures are BAD... even when they look good, I zoom in and the blur is horrible... without defenition.

Its suppose to be a HD (High DEFENITION) camera god dammit... but its not!

In my GC900 I have a Schneider-Kreuznach 8MP Camera, it's 2 years old and its twice better than this "fantastic" 8mpx that we have in O4HD.

My KU990 (2008) had a Schneider-Kreuznach 5MP Camera, it was even better than GC900...

Looks like the "evolution" is going backwards :(
[LG Optimus 4X HD] dracula3020:
Picture looks very sharp in the process of focusing. But the camera does not pick the best time shooting. And we have blurry photos.:rolleyes:
[LG Optimus 4X HD] Xenogenics:
Lol you guys, ksekar is not here anymore, he traded his O4X away. This thread will not receive any further developments. The issue regarding the scene modes crashing the camera will not be fixed. I'd recommend going into the Themes section of the O4X forum and installing the nexus 4 jelly bean camera and gallery app. However, that too has a flaw. The photosphere and the changing of the photo size is a bit buggy. Take your choice. Keeps the stock camera, install this mod, or install the jelly bean camera.

Sent from my (V10f Euro Open, Rooted, CWM-Installed, Deodex-ed, Camera-Moded V5) LG Optimus 4X HD P880.
[LG Optimus 4X HD] numaniko:
downloading now.. will update u about performance once l flashed to my phone. however thanks for your work buddy
[LG Optimus 4X HD] WillySonicteam:
hi guys...see it

NEXUS 4 pics...

http://nsae01.casimages.net/img/2012/11/14/121114035040627801.jpg

http://nsae01.casimages.net/img/2012/11/14/121114035024990245.jpg

http://nsae01.casimages.net/img/2012/11/14/121114035003447284.jpg
[LG Optimus 4X HD] nedooo:
Seems same crap camera module is used :silly:
[LG Optimus 4X HD] RuedasLocas:
Crappy like O4X HD...
[LG Optimus 4X HD] dfreake:
looks like LG use freaking pooooor lenses to newlyy device(2012 devices) its LG fault
[LG Optimus 4X HD] WillySonicteam:
is much better the Optimus 4X.

Some people will not buy the phone Optimus 4X for the camera????? Forgiveness, this is a Nexus...

Nexus 4 is not supported in AOSP at the moment. Ok ,is a Nexus .XDDD
[LG Optimus 4X HD] ozeer:
I have updated my mobile phone to version v10G and the camera is superb and really beating SGS3 .. I have sgs3 and making comparing with LG 4x and really are equal right now .. well done LG with improvement the device ..

Best regards ,
[LG Optimus 4X HD] RuedasLocas:
Thank you, I have V10G too and looks the same to me.

I was comparing the quality between them and not only, and I arrive to the conclusion that only a few phones have a decent camera...

You can check it here:

http://www.gsmarena.com/piccmp.php3?idType=1&idPhone1=4563&idPhone2=4238&idPhone3=4320

the most part of them, when we zoom the image its a disaster... :mad:

Here are some pictures from my 5MP old Viewty I (KU990), all of them with low light, now can someone tell me how near is O4X from that???
[LG Optimus 4X HD] defcomg:
Someone Test this see if the Quality is a bit better.

I think tou might be able to overide the Default Configs in the ISP Driver by MOdifying nvcamera.conf located /etc/nvcamera.conf if it does not exist try from another tegra 3 device not sure what values go in there might be preview formart rotation etc
[LG Optimus 4X HD] WillySonicteam:
Thanks defcomg,welcome!!!

You can open a new thread to test your mod,the people see more your job.
[LG Optimus 4X HD] dfreake:
is this comfirm work bro??
[LG Optimus 4X HD] RuedasLocas:
Tested, works with no problems but, for me, the quality didn't improve...
[LG Optimus 4X HD] defcomg:
LG Camera Coding is always bad and its not due to poor camera lense case in point on the O3D GB + Froyo Had Horrid Camera Quality i could not believe how bad it was so i took it upon myself to learn how T.I OMAP 4430 worked in order to try improve the quality it worked to some degree but i had No access to the Actual IMX 072 Driver due to the way omap works inly they have the source anyway in ICS the Camera Quality is way better and there is barely any noise in the pictures my point is the 4X is limited by LG Sloppy Coding.

If you could check the picture properties what Subsampling is being Used 4:2:2 or 4:2:0 in the CameraApk i checked it uses the Method in the framework to encode JPG so i changed preview from YUV420 to YUV422 in attempts to get 2x1 subsampling i don't know why LG does this on all their Phones they compress the **** out of the picture if you check samsung devices they use YUV422 that why the pictures look better software not so much the lense.

Tegra Stuff

Theres this method NVX_CONFIG_ADVANCED_NOISE_REDUCTION

I think ny default on the 4X its not enabled not sure where to get the Camera Sources but on the O3D the Camera Application could directly invoke this methods overiding the default configs if someone could point me towards some camera Tegra Documentation i could help. Anyway i would suggest decompiling all tegra 3 Devices camera apk's and see if theres methods or params in camera.tegra.so.

I will look into enabling iso menu in Video MOde

http://ac100.163.ru/from_torrents/linux4tegra/prebuilt/targetfs_overlay/usr/include/OpenMAX/IL/.

Give this a try https://play.google.com/store/apps/details?id=com.tequnique.camerax&hl=en you can choose iso and scene mode in Video Recording MOde might Reduce the Noise and THe other Scenemode might have Diff Algorithms than Normal Scenemode like on the O3D OldFilm scenemode seems to perform Way better in low light with low noise.

Sorry For Long Messy post:D
[LG Optimus 4X HD] RuedasLocas:
I already try them all...

For me are the lenses, thats my opinion.

Compression apart, when I look for the screen even without press the capture, I can see the grain in the image...

In my other phones I see a clear image, then the quality depends on my setting preferences.

In O4X that doesn't happend, the bad quality is visible only looking at the image on the display, we don't need to shoot the picture... :(
[LG Optimus 4X HD] defcomg:
As i said it's the Coding because in GB you could clearly see the Noise in the Live Preview but in ICS it's totally Gone What Sensor Does the 4X use compre it to a similar device using the same lense if its an OmniVision Sensor it's most likely what the USed in The P940 if its a Sony Most Likey the IMX073 found in the GTab http://xdaforums.com/showthread.php?t=1551370. but until the Bootloader is unlocked the Driver at kernel level can't be chamged which is where i suspect the issue lies.
[LG Optimus 4X HD] aigaming:
Can i try this mode on optimus 2x maybe?I love camera mod's and there are none for my phone and ics :( Tnx
[LG Optimus 4X HD] leolipop:
My friend, my wife has 2X and i have 4X with modded camera.The 2X camera is still better than 4X concerning the lighting.
[LG Optimus 4X HD] Robbang:
Afterf flashing this mod my camera did not work anymore.

When I try to open the camera I get a message saying the sd card media needs to finish scanning first, even though it has finished scanning long ago.

Thanks for the help!
[LG Optimus 4X HD] WillySonicteam:
Is possible create a auto-bridgness option in this camera,this option is pure sowtware ¿no?...

I believe this camera need this option.
[LG Optimus 4X HD] LorinczG77:
Dear Creator !

I installed the ADB version.

I have V10h Hungarian.

After installed the version v5 nothing happend.

Same picture quality, same video quality.

Best regards,

LG

(Lőrincz Gábor)
[LG Optimus 4X HD] leolipop:
I think thats because they (lg) tweaked the camera to the same results as the camera mod.

Posted from LG 4X using tapatalk 2
[LG Optimus 4X HD] Gildegan:
It is, but the image size is compressed to 1.4 MB as before, contrary of the mod that gives more than 2.4 MB.
[LG Optimus 4X HD] LorinczG77:
Yes, but the picture quality is same as with the original camera app !!! :)
[LG Optimus 4X HD] MAJOR-Info-LOVER:
How can I get the camera improvements while flashing Dexter's 4.1.2 ROM or is it not possible? (sorry for the noob question)
[LG Optimus 4X HD] gohn smith:
Thanks mate

just noticed that pictures have somewhat red in the middle, any idea ?
[LG Optimus 4X HD] nedooo:
http://lmgtfy.com/?q=pink+spot+camera
[LG Optimus 4X HD] iceddeath:
i have this problem too :(

when photo taken exceeds 5MB.. it is broken...and it happened too often. any solutions?
[LG Optimus 4X HD] ljubisa_sk:
I got same spot issue :/ dont know what makes it

---------- Post added at 08:15 PM ---------- Previous post was at 08:12 PM ----------

Does this fix works on 10H stock or just as OP mentioned in first post
[LG Optimus 4X HD] rumpelst:
Odp: (Fully working) V5 (20120918) Camera Mod - for better pictures and low light vid

I have the same problem with red or rather pink spot in the center of a picture. I noticed that after flashing mode over v10H, before there was no such problem. Now I'm on stock unrooted restored from backup and pink spot steal there.

Wysyłane z mojego LG-P880 za pomocą Tapatalk 2
[LG Optimus 4X HD] defcomg:
Try this http://xdaforums.com/showthread.php?t=2091599
[LG Optimus 4X HD] lukas77:
+1 ?
[LG Optimus 4X HD] Ganron:
Does this work on V10e stock ??
[LG Optimus 4X HD] franek123:
This sensor has terrible denoise that steals a lot of details, I did a little mod that disable denoise filter in file libnvmm_camera.so (sensor has 2 pass denoise filter).

Pictures in good and normal light look much better - sample image in attachment (1:1 crop)
[LG Optimus 4X HD] nomaj:
any files for people ... tutorial ?
[LG Optimus 4X HD] nedooo:
Please share :)
[LG Optimus 4X HD] franek123:
Mod in attachement.

Backup these files and next copy and replace to:

libnvmm_camera.so => /system/lib/

camera.tegra.so => /system/lib/hw/

Mod:

1. Disable denoise - Image has a lot more detail but also more noise.

2. Disable edgeEnhance - i think it amplify noise.

If you want to experiment with different settings look:

look what_has_changer.zip and http://www.tabletroms.com/forums/adam-general-development/4846-%5Btechnical%5D-camera-discussion-9-print.html

have fun
[LG Optimus 4X HD] chalid:
Thanks for that! I tried and the difference in sharpness is noticable right away. Images are MUCH sharper.

However, noise levels are much higher too. It's not a real problem though, because editing the pictures on the PC brings much better noise reduction results than those of the phone. So even with noise reduction applied afterwards on the PC, the images are mich sharper than those takes by the phone with default settings. :good:
[LG Optimus 4X HD] Feregorn:
Thanks franek123 for sharing with us your mod. Is it possible to avoid installing one of the files in order to keep edgeEnhance enabled? Because I want to get the benefits of more detail, but without disabling edgeEnhance and "amplifying" noise. Is it possible or there won't be any difference? And how to do it?
[LG Optimus 4X HD] franek123:
Ok, an example of what to do to turn on EdgeEnhance.

Download HxD Hex Editor.

First The file must have the same size as before the change, so if you change the value from FALSE to TRUE (1)

somewhere we have to add one character - for example, in a comment above (3), or the other way (2) TRUE to FALSE

substract one character (addition and subtraction char = press insert key) - I suppose that to enable edgeenhance enough change FALSE to TRUE on (1) and (2)

There are many parameters that determine how the function work (4) - eg. denoise stronger or lighter depends on sensor gain - (separately still image and video),

egde enchance, iso, amplify, white balacne, more ev than -2, 2, remove moire, bad pixels and more. (A short and incomplete description

of the function is in the modified file and on this page.) In file camera.tegra.so is iso, jpeg compression, thumb compression, ev, and much more.

I think that in other files eg. libnvodm_imager.so also can be something interesting change to improve the image quality.

A simple script ADB write to phone chaged file significantly speed up work.

Changing mediaprofiles.xml (5) will increase video quality (In my phone the maximum value is bitRate="24000000")
[LG Optimus 4X HD] igerup:
Is this still recommended for 4.1.2 v20a?
[LG Optimus 4X HD] Ivo_Strojnica:
I've installed this on Zaiben ROM (V5 version). Camera is not working. Can anyone post originals?
[LG Optimus 4X HD] Ivo_Strojnica:
Nevermind, i fixed it.

It seems this is not ment for v20a roms.
[LG Optimus 4X HD] ottomanhero:
This mod looks fantastic, does it work on V20a stock ROM?