yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] suppliesidejesus:
Just flashed this on my phone and it seems to work quite well. It isn't in the compatibility list yet, so:

D801 (T-Mobile)

Energy ROM (10G based)

v1.5.0

Thanks!
[G2 Android Development] lemach:
Really nice read this!:laugh::laugh: and...what about the feature to turn on the flash while camera is focusing? I suppose that it will be not easy but it would be a fantastic to use IA on low light scene.;)

Thanks for your hard work!:highfive::good:
[G2 Android Development] xdabbeb:
I'm always looking for ways to measurably improve photo quality, but some of their denoising is built in to the binaries. I'm still trying, however.

Do you not see a storage settings option in the camera once you've connected your OTG drive? You should, at least. You may have to connect it before launching the camera. Let me know. If not, I can force it to appear.

I've never heard this before, so there's either something wrong with your phone, or you're particularly sensitive to noise in photos/video. I have reduced the amount of de-noising in certain photo modes, and low-light video will have more noise now to enable steady 30fps and adequate brightness (bumped ISO). That was what everyone including myself wanted, however. If you prefer the more smoothed out and less-defined stock-type look, stock might be best for you. Does anyone else actually prefer more denoising (like stock)? If so, I could always make a version that has more of it left in.

If you read/search the thread, you'll see that IA mode is darker on purpose to speed up the camera (as you noticed). If you speed up the shutter, it lets less light in. The ISO isn't stuck at 100. It goes up to 800 in IA.

There are a few methods in the apk that control the file naming and save directory. It keys off of a number of factors (model, region, carrier). I had messed with that early on with this mod, but it caused more problems for certain people than it was worth so I left LG's craziness alone. If you want to test something I'd be willing to try it again.

I know a few people wanted that, but when I looked into it, it seemed like it would take a bit of time and I felt it would be better spent on other aspects. It does that in a way currently if you have the flash on and hit the shutter button before it has focused. Also, I really don't like or use flash.
[G2 Android Development] noris08:
nope, there is no option like that in the settings menu. maybe i don't know where to look, can you point it out?

yhank you!
[G2 Android Development] myhalcyondaze:
bump

Matt
[G2 Android Development] Hid3rs:
I can confirm that there's no storage settings for OTG.

I've got a question/request:

Couldn't you add Time Lapse video mode? Like in the stock Nexus 5 camera app. I bought "Lapse It - Time Lapse Pro", but it makes a video out of pictures, while the AOSP/stock Android Camera makes it while recording, so the rendered (Time Lapse) video looks much better. I could just use Camera2.apk from AOSP ROMs, but I have a few hot pixels and they bug me a LOT, so I stick to stock camera.

If adding it would be too much trouble, then never mind, I just thought it's a really cool feature.

A little bit of OFF topic:

About these annoying hot pixels, you said you've seen them yourself as well. Is this a common problem? I sent my phone in 2 weeks ago, they said they replaced the camera. I thought it will be all fine, but when I checked it at home it was just as bad as before. There are different hot pixels now, so they probably really did replace it, but it's still bad. Do you think I should try to get them fix it again or should I just leave it? They will think I'm stupid because they don't care about 3rd party apps and these pixels are hardly noticeable on stock. :(
[G2 Android Development] xdabbeb:
Sports is actually an android scene mode (not a shot mode) so I don't know how much tweaking I can do for it. I'll look into it though.

OK. I'll force the Internal/External settings menu in the next version. Does OTG show up as a mounted partition in the OS? If not, it may not work.

I don't think I'd be able to add time lapse mode without a lot of work/time, so I doubt it. I'll look into it though.

Stuck/hot pixels on a cmos are very common. Most if not all will have them at some point, so I wouldn't try to replace it again. It's up to you what your tolerance for them are, however. This is just one of the downsides to the 3rd party apps.
[G2 Android Development] Hid3rs:
The stock File Manager lists it as USB Storage and I've just tried a couple 3rd party camera apps, they are able to save pics/vids directly to my pendrive, so I guess it should work.

Thanks for the info about hot pixels, I think then I'll just try to live with them.

Oh and one more thing. Couldn't you change the file format to PNG (or adding an option to choose between .png and .jpg)? Or don't you think it'd improve the quality?
[G2 Android Development] heymoe:
It's not that big if an issue for me so I'd rather you spend your time working on other improvements but I do appreciate the offer.
[G2 Android Development] xSiDeRaLx:
there's a way to use it with low battery?
[G2 Android Development] danial.aw:
would it b possible for you to mod the flex rom camera beb... that has the ability to hide front touch buttons which is great
[G2 Android Development] _Infamous_:
Go to settings display, front touch buttons, hide front touch buttons then check the camera app and it will hide touch buttons on camera
[G2 Android Development] gonk24:
LS980 (Sprint) doesn't seem to have that option. There's choice of button layouts, Theme, and Transparent background. That's it.
[G2 Android Development] _Infamous_:
You have to be on a flex Rom
[G2 Android Development] waleedshiekh:
I love this camera mod. Thanks for your work. I have one query. When in normal light conditions. Pics taken in Intelligent Auto mode are way too darker than that in Normal/HDR mode. Any suggestions? Thanks.
[G2 Android Development] le_lutin:
xdabbeb,

Any chance you could put this question and its answer into the OP? It's been asked (and answered) a million times already.

waleedshiekh, read back a few pages (or a few pages before that, or a few pages before that, or a.... etc) for the answer.

---------- Post added at 12:50 PM ---------- Previous post was at 12:45 PM ----------

Xdabbeb,

Just throwing this idea out there so feel free to shoot it down. The fast IA shutter speed is good and all, but the actual picture capture (the time between pressing the button ant the shutter "closing") is faster on the "normal" mode. I'm assuming it's because IA takes a while to figure out what's the mode to be in for the given circumstances.

So my question is - is it possible to add a completely new menu option (not sure how it would fit into the 4x3 grid, but anyway) which was just like normal mode except with the fast shutter. Or is what I am describing EXACTLY what sports mode is?
[G2 Android Development] yourlookingatbob:
HDR video recording.

Not sure if this has been addressed prior on this thread. The issue i'm concerned with is the HDR mode during video recording, it seems to not have an effect vs "normal mode".
[G2 Android Development] X-jo:
Can i install this on PA ?
[G2 Android Development] SREEPRAJAY:
My friend

Think you missed reading the title of this thread.... MOD FOR STOCK

So the answer is...NO

sent from my old war horse O2X or my new beast G2
[G2 Android Development] xdabbeb:
You're right. It's probably not a bad idea to put it there, though if many can't be bothered to search the thread first I'm not so sure they're reading the OP either :)

As for IA mode...it's slower on processing after the shutter is pressed because as you suspect it's doing a lot more in the way of selecting the scene (which amounts to white balance, exposure, color, etc) and then post-processing depending on what it has selected. It's for all of those reasons and more that I tend not to use it much myself. Unfortunately I'm not given much control over what it's doing at that point or I would have been able to tweak it. Even sports mode doesn't give me much of any control...and it will actually use a slower shutter speed than what I've set IA at (though still faster than what IA was at with stock).

I've considered switching things so that Normal mode is actually the faster shutter, but I'd certainly like people's input before doing so. Adding a completely separate shot-mode would require more work/time than I have available, unfortunately.
[G2 Android Development] M2Iceman:
I wanted to ask before I tried to install but is this MOD ok for use with LS890 ZVA ROMS??? I used this for all the Optimus ROMS and love it but want to be sure it works on ZVA upgrade before I flash and possibility brick it
[G2 Android Development] chinchillables:
I tried all the versions on the ZVA version of youdug's ROM and it would not work. It always had the "Cannot connect to camera" force close error.
[G2 Android Development] mistermidas:
I'm using the newest version on stock zva now
[G2 Android Development] beezar:
One vote here for making the Normal mode the faster shutter.

Latest version works great on ZVA for me.
[G2 Android Development] raghavan_nvr:
Yes +1 from me as well for faster shutter in normal mode.
[G2 Android Development] le_lutin:
+1 from me too.
[G2 Android Development] workdowg:
Faster shutter... yes, please.

From my LG-G2 DeBloated Stock 4.2.2
[G2 Android Development] noris08:
and please don't forget to activate the option to save pictures and movies on an external otg usb device.:angel:

thank you!
[G2 Android Development] raghavan_nvr:
But how will it be possible ? by allowing more noise ?

since we can fix the ISO & EV and aperture is fixed.. please clarify as to how will this faster shutter speed be possible ?

Thanks.
[G2 Android Development] gonk24:
I'm curious about this as well. What will we be giving up for a faster shutter?
[G2 Android Development] chinchillables:
Which version did you accomplish this with? I wonder if something else installed (like Xposed Installer) is creating the issue. 1.4.0 is fine with it, but I still can't get 1.5.0 to work for anything. I been trying to get a logcat, but it just won't create for some reason... somehow I lost the ability to get to the shell in adb also. Like it'll say device daemon started and it's connected or whatever, but nothing I do will get onto it anymore. When I have some time I'll go back to square one and redo everything from scratch to see if that helps. SOMETHING somewhere became FUBAR.
[G2 Android Development] mistermidas:
I'm using 1.5.0, works totally fine and I have G2 xposed and G2 Tweakbox modules both active with no issues at all....zva build.
[G2 Android Development] Enter The Nexus:
Thanks man you saved my phone camera! Using VZW G2.
[G2 Android Development] dawabz94:
Paypal account fixed, donated (5JG605277G132432L), thanks :)
[G2 Android Development] markus4000:
Official LG G2 Pro Camera Specs

I hope this will finally make it easily possible to get

on the G2 :fingers-crossed: I guess LG wont include these in the 4.4 G2 update :(
[G2 Android Development] chinchillables:
Damn, that makes me want to try it again. I am going to backup everything and probably give it another go. Last time I kept getting 'cannot connect to camera error' and for some reason, I can't get a logcat done for anything. A certain someone puts shorts in ALL my USB cables... one recently was my original USB cable and the extras around the house that I've been using won't pull up my phone properly in ADB. X-(
[G2 Android Development] xdabbeb:
It would have the same result as with IA...darker photos due to a faster shutter speed.

If the already released Korean 4.4 is any indicator, then LG isn't planning on including those features for the G2, but that doesn't mean it won't be possible to get them working.
[G2 Android Development] gonk24:
I say leave it alone
[G2 Android Development] le_lutin:
I assume you'd leave IA with the stock shutter speed (i.e. automatic)?
[G2 Android Development] whittikins:
Hey I was just wondering if porting this to AOSP or CM was planned at some point. Thanks!
[G2 Android Development] darz23:
yeah, I,as well, am still waiting for this cam to work on AOSP ROM. i want to flash AOSP ROM but I can;t because I don't want to sacrifice the features of LG G2 stock camera.
[G2 Android Development] mistermidas:
I honestly dont see why anybody would wanna flash an AOSP ROM with this phone. Stock + XPosed modules literally has everything and MORE than any AOSP ROM for this phone could ever have. And the best thing about it, on stock...everything WORKS! No bugs or SODs or missing features or any of that crap. This is the first android phone I've own I can honestly say stock is greater in everyway than AOSP.
[G2 Android Development] beezar:
There have been some reports that the 4.4 update to everyone else will differ from the one to Korea, and that it would include camera and other improvements that the Korean version doesn't have currently. Let's hope this is true...
[G2 Android Development] whittikins:
Stock isn't too bad, but aosp is actually faster and more responsive. Stock isn't slow by any means, but there's definitely a difference.

Aside from that, aosp is 4.4 and has synced notifications. That's the biggest reason for me. I want me led to turn off when I read my hangout, Facebook, etc messages on a computer or another device.
[G2 Android Development] mistermidas:
How is it faster when stock benchmarks score so much higher. More responsive...i doubt it. But what i do know is aosp roms are full of bugs right now and stuff i don't have to worry about at all on stock.

If you like aosp though go for it, but for me the benefits of stock and xposed far outweigh anything aosp can offer.
[G2 Android Development] trickster2369:
And now, back to our regularly scheduled program........

Thanks Devs. From my VZW G2.
[G2 Android Development] JRJ442:
Yeah I'd like to see a version for AOSP ROMs as well. We need this. Lol
[G2 Android Development] xdabbeb:
Sorry, forgot to answer that. For whatever reason, LG decided to not imprint that info when the camera is operating at the lowest shutter speed for that mode. They leave out iso as well. It's annoying, and it happens on the stock app as well. I'll definitely take a look at it when I have time though.

And thank you for the donation!!!
[G2 Android Development] screenager:
xdabbeb: over the greatness of your mod :good: i just noticed: with one of your older silent camera mod focusing also was silent. now it follows the overall sound setting. any chance to disabling/removing focusing sound regardless the sound state?

thx
[G2 Android Development] xdabbeb:
[MENTION=5000659]woof123[/MENTION] [MENTION=4865812]screenager[/MENTION] Sorry, I forgot to do that earlier. Quiet version alternate is available in the OP now as well.
[G2 Android Development] emprize:
just flash and try, fc on v1.1 quiet, no problem for 1.0
[G2 Android Development] xdabbeb:
That's because I goofed. Sorry, it's late here. Uploading the right one now.

EDIT: OP link to quiet version updated
[G2 Android Development] emprize:
its ok, just flashed normal v1.1, no fc, just let you know, but the filename still not timestamp, now the filename is IMG001.jpg
[G2 Android Development] xdabbeb:
OK, I'll need more info from you later to get that resolved. I'll just need the output of a few commands you can run in terminal. I'll PM you.
[G2 Android Development] mixinluv2u:
Do we need to update our camera to 4.3.1 before applying this mod? Or does this mod include the 4.3.1 update?
[G2 Android Development] screenager:
no, the mod is based on 4.3.1 so just flash the zip from the op and be amazed :)

[MENTION=2941286]xdabbeb[/MENTION]: now it is all quiet. THX
[G2 Android Development] widezu69:
Does this mod replace all of the files from Jinsu's mod? I ask because I've flashed back and forth too many times and my nandroid backup is a bit old. Will this mod completely cover all of Jinsu's mod?
[G2 Android Development] znc62511:
This looks promising, can't wait for AOSP CM version.
[G2 Android Development] markus4000:
[MENTION=2941286]xdabbeb[/MENTION]

Just FYI: I can confirm that all three new things are working on my D-802.

1600 ISO, HDR Recording (though I haven't tested the differences yet) and 720p 60 options are available and seem to work.

My only problem is that 24fps cap still isn't working for any of the resolution/fps options. I really hope this can be fixed soon, as I hate 15 fps video that much :fingers-crossed:

And btw: I would rather make the 60fps option "always fluid" (24/30fps cap) and let the 30fps option go down to 15fps in low light than the other way around, because the 60fps mode is ment to be used in very good light, so 15 fps drop doesn't make that much sense to me. Maybe introduce new options to cover all possibilities for all people.
[G2 Android Development] derek_09:
Thanks!

Just want to say a big Thanks to xdabbeb for this mod.

Really see a difference after flashing this.

But as highlighted by some users the image name now changes to IMG000 instead of the original CAM000.

I am on international D802 rooted with stock rom.

Thanks and looking forward to more good stuff.
[G2 Android Development] woof123:
You are asking for the impossible,its either 15fps and visible video in room/low light situations.Or 30 fps and a dark video that you wont be able to see.The tiny sensor is not capable for more.It doesnt really matter if it will be 60 or 30 that will drop to 15fps...the outcome and the file will still be the same.
[G2 Android Development] nic85:
you can't make a 60fps always fluid also in lowlight. it's OK like now for me :) 1080p @30fps it's fluid in poor light conditions.. try to reflash it
[G2 Android Development] markus4000:
What are you talking about? I don't want "visible" video in low light. I just dont want 15 fps stutter video in a 60 fps video...

I really don't think thats the case.

I really like the 60 fps mode of the G2 because the video is so fluid, but when too dark it stutters like hell... that completely destroys the experience for me.

I would like to have a 24/30 - 60fps mode, thats all I'm asking for.
[G2 Android Development] woof123:
If you dont want that,then dont try to shoot an 60fps video in a room or low light situations.Cause only then the 60fps goes down to 15fps so it can still be visible,cause thats the limitation of the sensor!You cannot have 24/30fps in low light,actualy you can but you wont be able to see anything on it.
[G2 Android Development] markus4000:
Yes, but in most cases I can't control the light conditions.

Example: I'm filming in the backyard with plenty of sunlight in 60fps, all good, and then go inside while filming chasing somebody and suddenly the framerate drops to 15 fps with blurry video because it wants to get a brighter video.

If you are ok with this behaviour thats totally fine, but I would rather have an always fluid, but maybe too dark video when shooting in 60fps. A 60fps video with 15 fps breakdowns is just crap to me, even if it is very dark when capping to 24 thats a better experience for me. 60fps imo stands for fast fluid motions, and that just completely fails when it can drop to 15fps.

Again, there is no need to spare options. Options are optional and don't hurt anybody. If it isn't a load of work I would appreciate such a mode.
[G2 Android Development] woof123:
Try the 30fps mode in and out then,and see if you like it...Even if the developer make it possible,the outcome will be the same as the 30fps video.
[G2 Android Development] xdabbeb:
[MENTION=4892002]markus4000[/MENTION] I understand what you're asking for, but unfortunately it's a limitation of how LG implemented the camera. Any framerate range I wish to set (24000-30000, for example) needs to fall within the values of a systemwide static setting called supportedpreviewfpsrange. On this phone, they've set it at 10000-30000. If you pass the hardware something outside of this range, it won't throw an error, but it will ignore what you've asked it to do on the low-end. I haven't given up hope with this, as the back camera is obviously capable of going beyond that range, but so far it doesn't look good.

As for your problem of not getting the fixed bottom end of 24fps when setting a target rate of 30, that's another story. Can you provide me with a logcat of you taking a short video at 30fps? That will help me begin to figure out what's going on with your particular phone.

EDIT: [MENTION=703077]derek_09[/MENTION] Yeah, I'll have to dig a bit deeper to get the file naming fixed for the international variant. I know where it is, it's just a matter of sifting through all their carrier checks. If you don't mind, I'll PM you some commands to run that will help me track it down.
[G2 Android Development] Deni_NS:
[MENTION=2941286]xdabbeb[/MENTION] dori changed something in imx135 sensor (camera) to 24hz. Do you know something about that?
[G2 Android Development] xdabbeb:
I could do either. Leave it as I've modded it (1/15 sec) or change it back to stock (1/6 sec). Doesn't matter to me either way, as I don't use IA. It seems most people prefer to leave it as I have from the beginning, however.

Are you talking about the imx135 clock setting? I would think it could cause problems with sync, but I may be wrong. You can play with and change that in the LGHiddenMenu as well if you feel like it, but I see no need to change it.
[G2 Android Development] Deni_NS:
Yup probably is that can't remember right name. I thought that maybe can improve fps on camera. He says 0 (zero) was default and he bumped to 24.

And about problems, what sync do you mean? Some camera stuff sync?
[G2 Android Development] Tinchoska:
xdabbeb's camera v1.5.0

xdabbeb's camera v1.5.0 - quiet

whichone should i download? i am on g2 D806 v10B
[G2 Android Development] markus4000:
Both if you want no shutter sound, only the first if you want shutter sound.

Sent from my D-802 [Dorimanx]
[G2 Android Development] Tinchoska:
Ok, downloading both zips. Now, I think I have to flash both right? I have to flash it in a specific order or it doesn't matter?

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] le_lutin:
Flash in this order:

xdabbeb's camera v1.5.0

xdabbeb's camera v1.5.0 - quiet
[G2 Android Development] Tinchoska:
Aaand last question... the zips mention on op that backup all data and restore it so you can restore stock stuff, where is? I can't find link

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] gonk24:
Those are both at the bottom of the download section where you got the 1.50 files. The zips do as they're named. Backup.zip will backup your current camera (do it while stock), and restore.zip will restore what you backed up with backup.zip
[G2 Android Development] Tinchoska:
backup done, flash done, lets f&cking test it
[G2 Android Development] MaXmeOliver:
Could someone tell me the difference between this and Jishnu's camera?
[G2 Android Development] libertus77:
Another confirmation that it is working well on ls980 with youdug's stock rooted odexed zva.
[G2 Android Development] Tinchoska:
Working perfectly on d806

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] tstretch:
I seem to be having problems with focus or extreme lack of sharpness in videos. It's like the way IA used to over-process and over-smooth pictures in the original camera app when this phone first came out. The camera seems fine for pictures but not for videos. I'm using 1.5. Ideas?
[G2 Android Development] le_lutin:
For me the video has always been a bit too soft when the light gets low. Focal camera app does a pretty good job of keeping things a bit sharper inlLow light. It has touch to focus as well (but not auto focus).
[G2 Android Development] markus4000:
Touch to focus would be great in Stock. But I guess that's not that easy to achieve. I hope xdabbeb is still on development :) RL goes first of course! Just give us some updates on your development status please. I know how difficult it is to keep up with work if RL is challenging you. You've done a great job so far :D I'm excited for the 4.4 update...

Sent from my D-802 [Dorimanx]