yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] xdabbeb:
Thanks for the update! I'm actually glad you said this, as I think most people don't realize how much a custom kernel can effect the camera (modded or stock). I have my own that I use in the rom I've posted and know exactly how a single patch can cause problems. Please keep in mind that by using a custom kernel you are potentially creating issues for something as low-level as the camera. If you're having random/weird behavior...try a 100% stock one first. In fact, I believe I have tracked down the only issue currently in v3.1.0 (random HDR crash) and it seems to be kernel-related. If I have fixed it I will post a patch that other devs can incorporate if they wish.

Hey dude. There really isn't any point to increasing the bitrate on these videos unless you like chasing bigger numbers for the sake of bigger numbers (along with increased strain/heat). At one point in the past I did experiment with increasing them on this phone, but I did so in a controlled manner by fixing the phone in place and videoing a scene with the same lighting twice...removing my movement, changes in lighting or frame as variables. There stopped being any difference beyond the 40Mbit limit that LG has by default and negligible difference above the 30Mb that it is currently set at for the hfr modes and 4kUHD. That said, there are always going to be those who want the bigger numbers and won't take the time to quantify differences. The power of placebo can be strong. If there are enough people that truly want that, I'll create a separate zip with increased bitrates. I personally won't be using it, however.

That said, there are definitely some areas that people may want to tweak on their own, so in addition to working on the HDR/kernel issue I have been spending a lot of time looking into a way for people to change many variables in the camera on the fly (including toggling the noise gate that LG has implemented). Please don't ask about about updates or ETAs, however. It's against XDA rules to do so and I'll release it when it's tested and ready. Thanks.

Correct, 1.6.1 is the most recent version for JB. It doesn't have all of the KK features, but still has many benefits over the stock camera.
[G2 Android Development] dorimanx:
I will test any kernel patch you will offer.

But your camera mod works good on pardus with my kernel.

Only one problem that i have seen, rom camera daemon crash at unexpected time, without any special thing to point on.

Camera cant start and stay black then give error that driver is not responding.

So to solve it we can reboot, or kill rom camera daemon, and reopen camera, then all ok.

Sent from my LG-D802
[G2 Android Development] xdabbeb:
Cool. I'll definitely pass along what I find if it works. I've tried a few QC patches for null pointer dereference errors, but those didn't have any effect on this particular issue. It definitely SEEMS to be a buffer/seg fault problem, and the total randomness of it is frustrating.

I had the daemon crash at one point with the stock cam as well, so I don't believe it has anything to do with the mod, but who knows. I do remember seeing another patch at one point, but I think it had more to do with releasing memory after a daemon crash.

EDIT: My comment in the previous post wasn't meant to dissuade anyone from using custom kernels (I obviously do), but rather just to make people aware that sometimes improvements/changes in one area can potentially cause problems in another>
[G2 Android Development] arasky:
I know this doesn't work with AOSP like PA, but doesnt anyone have any alternatives? Would love UHD recording on there.
[G2 Android Development] subhani:
Thanks for the clarification. I have read the different threads out there on the higher bitrate mods and have always found the size of file is waaaay too big and the quality isn't much improved. I even downloaded the XML files but never flashed them.

I don't think your comment about ETAs were directed at me. Just FYI, I didn't request any ETA. However, I want to add couple of things I'm looking forward to in next release. Or future releases.

1. Tap to focus during video recording.

2. I don't find anything wrong with audio on mine but others are stating audio is bad. *shrug*. I am happy with how it is. I found it to be rather good.

3. Maybe this is impossible, but possibly improve the pixelated effect on the brilliant 120fps mode.

NB. Version 2.x always had a really fast snapper especially in auto mode. Since v3.x it is no longer the case. The only mode I use now is sport mode, which allows for the very high speed consecutive snapping. Which is the normal behaviour I guess.
[G2 Android Development] tryman87:
Thanks mate! So i assume it's using the v3 right? :D
[G2 Android Development] bender_007:
3.1 ofc. One step ahead :)
[G2 Android Development] shriom_manerker:
[MENTION=2941286]xdabbeb[/MENTION]- 1 request. can u set the minimum shutter speed for sports mode to 1/200 ? sports mode is suppose to have around that rage for shutter speed ! otherwise its just pointless :\ photos come blurry everytime . what are your views on that ? im sure its an easy mod to add to the existing mod :)
[G2 Android Development] pw1nce:
hi guys , i just installed the apk , i like slow motion video allot but when i record any slow motion video after changin to slow motion in video settings , the video is not as slow as i have seen in samples here and in youtube and also at nyt its too dark n in day the quality isnt good , how can i get full slow motion video ? plese someone help me , im new , thanks : ) im using f320k 4.4.2 stock rooted
[G2 Android Development] sarvam:
Download app called AndroVid Pro from playstore for conversion in slow motion, Record video in 120fps or 60fps for best results.
[G2 Android Development] Gingernut78:
Thank's to everybody that's worked oh this mod, it's amazing.

Q: Is it possible to get the anti-shaking Video setting (I think this is LG's OIS+) on all video options?. At the moment it is limited upto 1080p 30fps which is fine but I thought I'd ask nonetheless.
[G2 Android Development] sarvam:
As you saying currently HDR crash is the only issue on 3.1.0, but what about White balance issue in 3.1.0, why photos are white washed,

Unlike you previous versions.

iam using CloudyFlex 2.3 rom on D802,
[G2 Android Development] midreestaj:
+ 1
[G2 Android Development] subhani:
Are you running the latest version of the mod? V3x isn't dark in 120fps mode anymore. Not like in v2x. The quality is actually always low on 120fps because it has something to do with scaling 720p resolution (the more knowledgeable can explain). The low quality is something I wish could be improved but I'm not sure if it is possible for the G2 hardware.

Others are not slower and smoother than yours. I thought this too but realised it was just placebo.

Lastly, as Sarvam suggested, try androvid pro. I prefer a more modern UI app called VivaVideo. Your call.
[G2 Android Development] sarvam:
Bro, yes VivaVideo has a modern ui, but see the output video resolution, it is very low as 480x480, but yes it has more Effects & FX,

and AndroVid pro is the only app in playstore which keeps full resolution for videos.
[G2 Android Development] subhani:
Thanks for pointing that out mate. I didn't know androvid keeps full res. Making AndroVid the easy choice, whereas VIVAvideo is another case of 'form over function'.
[G2 Android Development] IOmega666:
So many mods! I don't care about photos quality, only care about audo recording, i have a Lumia 920 for when i got to concerts but microphone it's malfunctioning and it's in the technical service (they will probabbly gave me a 925 in exchange) but in the meantime i'd like to use the G2.

I heard it's not the best to recor audio but with all of this mods, camera mods, which one will be the best? This one? profiles from Heatshiver? Jishnu Sur? Or maybe combine them? Dunno, if someone can help me here, please!
[G2 Android Development] smederevoboy:
you will be dropped next version?
[G2 Android Development] suacasonte:
I think i have that issue with your kernel and xdabbeb camera Mod.... My finding is that is related to an auto process that zipalign or deodex Apps if checked ... And you give me the answer!

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] nsx82:
Custom crop / resolution

Hi!

Is it possible somehow to add a custom resolution (rather crop) for the main camera, that will be selectable from the menu?

I'd like to take pictures in 21:9 format.

Thank you in advance

Greets
[G2 Android Development] xdabbeb:
No worries, dude. That wasn't directed at you. I had just seen others asking and wanted to gently remind them of the xda rules. Your question about bitrate just had me writing about the next version is all.

1. I've answered this before, but I'll see what I can do. It's not a simple fix. It may be more likely if I can pull off the bigger changes I'm looking into.

2. I don't mind LG's idea to implement a noise-gate as cheap pinhole microphones have terrible s/n, but their implementation is poor. I'm guessing they didn't have an audio engineer oversee it. The threshold is too high and from what little I've looked into it the attack/release could use some tuning as well. Unfortunately, I haven't found any api for me to tune them, so it's either on or off. I know how to turn it off in the camera, but I'm looking into a more elegant solution to make everyone happy (or try to...futility)

3. I don't see that happening unless I can take them from and update. That's all closed-source proprietary binaries.

This has been answered a few times in the thread already, but sports mode is actually just a scene mode and I don't have the same control over it.

That menu is actually superfluous in v3.x as the eis is always active now. I will likely just remove the menu option.

Yes, that's the only confirmed bug with v3.1.0 of the mod. I assume you're referring to the more neutral saturation level that a couple of other people have mentioned. That's a preference (which I don't share). If what I'm trying out works people will be able to tune that themselves in the future.

Asking for comparisons between mods/firmware/kernels/etc is against XDA policy. You aren't the first person to do so lately, so I don't mean to call you out specifically. If you want to compare things, try them out yourself and decide. Talking about it publicly doesn't help anyone.

It's certainly possible to add other resolutions, but getting everyone to agree on it is another story entirely :) I'd recommend just using full 13MP and cropping after.
[G2 Android Development] .jRay.:
[MENTION=2941286]xdabbeb[/MENTION] you quoted me on post #3102 but no reply. -_-
[G2 Android Development] sarvam:
Anyway Thanks for reply.......Maybe a issue from CloudyFlex rom which has a different kernel and messing with your mod.

Because previously i installed 2.2.1 on stock rom and never faced this.....but i dont wanna go back to stock either...
[G2 Android Development] bravo04:
Anyone knows how to Uninstall this mod?

Thanks
[G2 Android Development] bender_007:
if you've used the apk installer then just press restore
[G2 Android Development] bravo04:
Unfortunately i flashed it. :(
[G2 Android Development] bender_007:
Hm. Did you make a nandroid backup ? If yes you can just restore your system partition. That's the first thing to do m8, always do a backup.
[G2 Android Development] merikgvr4:
Is there a setting for pics to make the background blurry and also fisheye?
[G2 Android Development] subhani:
Use magic focus mode to make background blurry. Fish eye isn't a feature of this mod. Other apps may help in this regard though.
[G2 Android Development] sarvam:
yes there is a mode called magic focus in this mod.
[G2 Android Development] merikgvr4:
Thanks.

---------- Post added at 08:54 PM ---------- Previous post was at 08:54 PM ----------

Thanks also.
[G2 Android Development] mepo12:
Hey guys

I tried installing on stock rooted debloated kit Kat for my lg vzw g2

But it won't work! I flashed. I installed apk. What's the app name? It won't show up in drawer
[G2 Android Development] bindaasathar:
Either flash or install the apk. It replaces the default camera app.
[G2 Android Development] tanoxxx:
Sorry, wrong thread
[G2 Android Development] mepo12:
It looks the same...how do I know my camera got updated?

Thanks!
[G2 Android Development] bindaasathar:
Under Camera app, Settings ---> ISO. If you see 1600 then the mod has successfully installed.
[G2 Android Development] mepo12:
I see it!

Now I feel like a retard. Flashed like 4 times -_-

---------- Post added at 06:32 PM ---------- Previous post was at 06:22 PM ----------

Just took 120fps video...how come its not in slomo?

I viewed with mxplayer

Thanks!
[G2 Android Development] 60nine:
read some posts back about how to play in slow motion
[G2 Android Development] subhani:
Like 60nine said, this has been mentioned many times. Use the lg stock gallery video player and hit menu button and slow the playback speed.

Alternatively, use BSPlayer.... It automatically slows it down for you.
[G2 Android Development] DaNiElCoRe:
its normal than into the Slow motion Video Size the image its more darker than another sizes and modes?

because into the same size but the live mode the image have more clarity.

Im into 4.4.2 Stock Rooted rom

thanks in advance.
[G2 Android Development] SPBoss:
It is darker because of the faster shutter speed required, faster shutter = not as much light let into the lens

Sent from my LG G2
[G2 Android Development] Giocarro:
I asket it before but didn't get meaningful answers: is it possible to lower the JPEG quality to get smaller picture files?

I can't stand more than 3MB for each photo with the quantity I produce.

Thanks a lot!
[G2 Android Development] se1988:
Just lower the MP. No need for 8 MP with lots of jpeg artifacts when you can get lower resolution images with acceptable quality...
[G2 Android Development] Giocarro:
Sorry but I don't feel this would be the best solution.

The stock LG camera app does produce shots with acceptable size/quality ratio; obviously as we all know it also have less than optimal settings, hence my question to be able to lower the JPEG quality with Xdabbeb's app.
[G2 Android Development] SPBoss:
Yes just look for xml profiles with a lower bitrate that reduce the overall image size. Obviously there will be a slight loss in quality, but still miles better than stock!

Sent from my LG G2
[G2 Android Development] Giocarro:
Thanks for the hint, but on the media_profiles.xml in my device there's no mention of JPEG file format; I found only video formats there...
[G2 Android Development] SPBoss:
Oh my bad.. lol sorry bro not sure then :/

Sent from my LG G2
[G2 Android Development] mm38:
hello.. i am using pardus hdc 7.1 Rom

this camera mod is included in that rom

i have some problem with this mod :

1. sometime my camera will be black screen

2. always force close / error when use the HDR mode

3. there are a little delay when take a pic in normal mode.. after i tap the button to take a photo, it has a little delay before the pic is taken. and after take the 1st photo, i can not take the 2nd directly, it has a little delay, aprox 1 sec

4. sometimes the black line appear when i recording a video

need advice, how to fix all that problem?

if the problem will gone if i reflash this camera mod once more?

thx
[G2 Android Development] TechNinja49:
I'm also looking for a solution. Does anyone know how to change the jpg compression value for the mod?
[G2 Android Development] bigsnack:
G3 camera app offer anything new/worth porting?
[G2 Android Development] Pyloge:
Hurrraaayy!! It's revealed that G3 using same sensor(Sony IMX135).
[G2 Android Development] subhani:
The XML file may not contain the values for smaller size. But look in the forums for lower bitrate mods. Maybe there's an XML file which won't affect the xdabbeb features but uses stock camera nitrate values.

Unfortunately the mods that I've come across are more interested in increasing the bitrate ergo the file size too.
[G2 Android Development] Giocarro:
I searched this thread alone for different XML profiles but didn't find anything interesting.

Will try again with a broader search in ask forums.

In the meantime it would be nice if [MENTION=2941286]xdabbeb[/MENTION] could chime in and give his opinion.
[G2 Android Development] PhantomBeam:
I'm just waiting for the LG G3 rom come to our LG G2, can't wait for that to be released,
[G2 Android Development] Boobook:
With laser focus
[G2 Android Development] erto90:
But at least, with same sensor, I'm sure we will get a better base, surely better optimized than stock lg g2! But I'm sure this mod will win again also against the g3@default

The laser focus is only for shot faster because of faster focus, but the quality is the same at the end of the game

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] 60nine:
it's actually ir (infra-red) focus, not laser...

btw it's not only ment for faster focus but it's main purpose will be to be able to focus in the dark (whoever used the ttl ir focusing in dslr's should know how this works and how useful that feature is)
[G2 Android Development] erto90:
Yeah,got a canon with that thing

Is very useful is dark/0-light situation, but we must remember that is only a phone and wanna see the distance that can cover that ray..

And also, flash assist do the same thing,also if it blind who observe it xD

But hell,this is faster and for sure the output is a better-zoned focus
[G2 Android Development] bravo04:
Is it normal when i take a photo in normal mode, it requires about 1 sec to take another photo?

Compare to 5s and s5, that's too slow for me.
[G2 Android Development] mm38:
same problem here...

i am using pardus hdc 7.1 Rom

this camera mod is included in that rom

i have some problem with this mod :

1. sometime my camera will be black screen

2. always force close / error when use the HDR mode

3. there are a little delay when take a pic in normal mode.. after i tap the button to take a photo, it has a little delay before the pic is taken. and after take the 1st photo, i can not take the 2nd directly, it has a little delay, aprox 1 sec

4. sometimes the black line appear when i recording a video

need advice, how to fix all that problem?

if the problem will gone if i reflash this camera mod once more?

please help...

thx
[G2 Android Development] Giocarro:
OK, I downloaded the third profile from the ones on this post and compared it side by side with the default Xdabbeb media_profile (with a specific program on PC).

Still couldn't find any mention of JPG file format or anything hinting picture properties, while there are many video format properties.

Help, please?
[G2 Android Development] subhani:
I don't know why I pressed the thanks button. LOL. Reflex I guess.

You wanted to reduce the size of each jpeg file that was being saved, not increase it right?

I've been on that thread too and again, as I said before, those XML files will INCREASE the file size of the saved image. This is because they are shooting/recording at a higher bitrate compared to stock (50mbps instead of 20mbps).

Higher bitrates always translate into larger saved files. The 'perceived' benefit for higher bitrate is greater detail in the pictures and videos. However, as [MENTION=2941286]xdabbeb[/MENTION] has already said, as did jishnu actually, after a certain threshold (read stock and a notch more), increasing bitrate doesn't provide noticeable gains in detail yet produces huge file sizes when saved.
[G2 Android Development] Giocarro:
Yes, that's what I understood, too.

I'd like to lower the JPEG quality in order to get smaller pictures, while keeping the others Xdabbeb mod improvements (mainly focus speed).

(thanked back for equity ;) )
[G2 Android Development] aryan79:
If you watch sports on TV with slow motion replay(120/240fps) you will see that images are darker...

60fps require double of light than30fps, 120fps quad, etc...
[G2 Android Development] unavix:
It would please use this apk do for AOSP rom?
[G2 Android Development] subhani:
This app is for stock based LG ROMs only. Not compatible with AOSP.
[G2 Android Development] unavix:
Yes I know it's only for stock rom. That's why I'm asking if it could be modified for AOSP rom.
[G2 Android Development] subhani:
Try this

http://xdaforums.com/showthread.php?t=2540030
[G2 Android Development] unavix:
The port of camera known. There is not a functional slomo.
[G2 Android Development] RiotMonkey:
Is it just me, or is the 720p120 slowmo a not so crisp than 720p60 ?

Or is this the only possibility to use the "slowmo" effect ?
[G2 Android Development] MrDarkKV:
120FPS is not 720p native, rather upscaled 320p I believe.
[G2 Android Development] drmspidi:
+1 that will love to see this on AOSP apk.
[G2 Android Development] xdabbeb:
Sorry about that. It's possible, but I'm not sure of the buffer impact. It's on the list of things to look into now though.

No problem. It doesn't sound like anything kernel related. Are you just referring to the fact that colors are more natural/muted with the G Pro 2 port vs the older mod? If so, that has been discussed, and if I get some time I've got something in mind so that people can change that on their own. If it's something else, please provide more detail.

What you're talking about isn't in any xml file. As above...if I get some more time I may have a way for people to change many parameters that LG doesn't give access to. In the meantime, I'd recommend selecting a smaller resolution.

There's some debate as to what's actually in the G3. They've certainly included the older imx135 binaries, but they're right alongside the 214's. Has LG posted it anywhere? If it's different, I don't know if we'll get as complete a port as with the G Pro 2.
[G2 Android Development] .jRay.:
Thanks.
[G2 Android Development] NODO-GT:
According to AnandTech LG used imx135 sensor again.

Still it will be harder to port G3's camera to G2, because different screen resolution and because of IR AF. IR AF will have to be disabled completely and camera should use Phase Detect Auto Focus and contrast-based AF detection (which are already built in camera app).

LG has done a lot of work to camera image processing algorithms as early samples show huge improvements compared to G2 or G2 Pro
[G2 Android Development] DREWHAMM974:
Please do not post the same thing multiple times. It clogs up the thread and is against forum rules. Not only that it is also against common courtesy.
[G2 Android Development] maxwellz:
One question, how can I revert to the stock camera if I flash this mod on? or is it seperate app?
[G2 Android Development] kerempek:
1-There is no procedure from who are coming from Jishnu's Camera Mod in the OP.

2- I'm not asking for returning back to Jishnu's Camera! If i apply the backup zip, it will backup Jishnu's camera but when i restore it , it will not be stock again, it will restore Jishnu's camera again ! There was a procedure in the OP of Jishnu'S Camera Thread for returning stock but they will close the thread without letting us to read them again and apply procedures. I Can't see anything in the OP of Jishnu's thread! Is this my fault too ?

Why there is no stock 4.3.1 camera flashable zip while a lot of people asking for it ?
[G2 Android Development] nic85:
[MENTION=2941286]xdabbeb[/MENTION] yes in hidden menu..3845*#802# settings-camera. I changed it for error to 29.9 and don't know which is the stock value :(
[G2 Android Development] screenager:
fact:

the new 1.2.0 test doesnt FC on 10 base roms anymore (for me at least)

maybe biased:

since i never expierenced excessive pumping after focusing with any of your mods. so i cant see a big diferrence there.

however i can see a slight improvement in focusing time (less pumping before it has the right focus).
[G2 Android Development] gonk24:
1. You should have backed up before applying Jishnu's mod!

2. See #1!
[G2 Android Development] astd:
I am running D800 codebase10 and coming from Jishnu mod. I tried every single version of your mod but none of them worked for me.

Some of them gave me FC and others "Cannot connect to camera".

Is there any way to flash your mod after flashing Jishnu's mod or I have to flash stock first?