yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] mistermidas:
What? The stock camera already has touch to focus, i use it all the time.

---------- Post added at 03:56 AM ---------- Previous post was at 03:54 AM ----------
[G2 Android Development] markus4000:
not video mode ;)

Wow how did I miss that till now? o.O Thanks for the hint...

Sent from my D-802 [Dorimanx]
[G2 Android Development] exec99:
It does have touch to focus in video mode.
[G2 Android Development] kirek007:
Hey, I think that backup script doesn't work on CWM (there is no backup files).

I didn't notice that and i want back to stock camera .. so I use restore script .. that was bad move :) No every file from restore is 0kb. and i have bootloop probably because of

E/HAL ( 828): Cannot load library: soinfo_link_image(linker.cpp:1638): could not load library "libmedia.so" needed by "hwcomposer.msm8974.so"; caused by soinfo_link_image(linker.cpp:1638): could not load library "libcamera_client.so" needed by "libmedia.so"; caused by load_library(linker.cpp:760): too small to be an ELF executable: libcamera_client.so

E/SurfaceFlinger( 828): hwcomposer module not found

I have D802.Can anyone upload backups files? :)

Btw. Download mode working, and I can still open CWM,

PS. Yes, I do nandroid backup. But after succesful firstboot I remove it :) ..
[G2 Android Development] Tinchoska:
Uploading backup in a minute post it :)

Enviado desde mi LG-D806 mediante Tapatalk

---------- Post added at 03:01 PM ---------- Previous post was at 02:10 PM ----------

i have the d806 but i think it will work.... http://www.mediafire.com/download/kgqxmg9gbvdehtb/xdabbeb_camera_backup.zip
[G2 Android Development] raghavan_nvr:
Donno of placebo or not.. But the video is fine if I don't focus on any point using touch to focus... Defining focus area causes blurriness occasionally
[G2 Android Development] kirek007:
Do not use BACKUP/RESTORE function on cwm ;) it will made empty files (0kb) and if you restore it you will get bootloop :D

Always have nandroid backup (^_-)
[G2 Android Development] Lecl0ne:
Just a question, does it works on CM11 ?
[G2 Android Development] le_lutin:
No. Only on stock.
[G2 Android Development] Lecl0ne:
:(

thank you sir.
[G2 Android Development] manuelmagix:
[MENTION=2941286]xdabbeb[/MENTION], can you add control level gain for Mic camcorder??
[G2 Android Development] waterballoon:
i flashed ver 1.5 on my D802. got bootloop. i believe i did it cos

1) i flashed via CWM

2) perhaps didn't check spreadsheet to see if it's comptabile

trying to save it now.. i just bought it today :(
[G2 Android Development] Tinchoska:
I've flashed it over philz's cwm based and it's working like a charm

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] waterballoon:
so it means that so long my firmware version matches with the .apk version according to the spreadsheet it would be fine? what's your firmware and which version you used for the mod?
[G2 Android Development] Tinchoska:
Argentina v10B and use last version of the mod

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] nic85:
i think autofocus during video is too lazy :(
[G2 Android Development] bigsnack:
I noticed the Optimus Pro 2 was announced today with some interesting features, like 4k and 120fps video capabilities. The hardware & camera is essential the same, with the only difference being 3gb of ram on the Pro2. Is it possible to get these features on this camera mod?
[G2 Android Development] le_lutin:
I also assumed the hardware was the same (cos it's LG and it's 13mp) but do we know for sure?

---------- Post added at 10:18 AM ---------- Previous post was at 09:26 AM ----------

Some more details on the camera:
[G2 Android Development] jayochs:
lol ois+ is software... which is what xdabebb unlocked.
[G2 Android Development] le_lutin:
That's the "Anti-shaking" in the settings for video, right?

I've never really known if that works or not.
[G2 Android Development] Tinchoska:
Yes it works

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] le_lutin:
Let me rephrase that: I've never been able to tell the difference between when it's enabled and when it's not enabled.
[G2 Android Development] Tinchoska:
It's like on photos when focus and shake your hand and image don't move.... something like that

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] le_lutin:
Yep, I get what it's supposed to do. What I am saying is that I don't notice any difference in the stability of the video when this setting is enabled.
[G2 Android Development] Tinchoska:
If you move it like being on an earthquake you won't notice it

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] le_lutin:
There is no difference with it on or off.
[G2 Android Development] xdabbeb:
It works just fine, but if you're expecting a huge difference you'll be disappointed. It's only eis, which isn't able to correct for much.
[G2 Android Development] xdabbeb:
Once the system dump is available I can take a look and get started. It's certainly a possibility!
[G2 Android Development] le_lutin:
I wasn't expecting anything, I just can't see a difference. I'm surprised that LG would vaunt a new feature like OIS+ (in it's new LG G Pro 2) if there's not actually that much difference with it on or off.
[G2 Android Development] xdabbeb:
I hear what you're saying, and I was pretty underwhelmed when I tried it, but it wouldn't be the first time a manufacturer touted a relatively useless feature for marketing purposes :)

Who knows, they may have made improvements to it
[G2 Android Development] le_lutin:
Hope you get your hands on a system dump - do you reckon it's the same hardware?
[G2 Android Development] xdabbeb:
I think it's likely the same sensor, but won't know for sure until detailed specs are released or I can look at the system dump. Let's hope.
[G2 Android Development] lemach:
Magic focus it would be a great feature if it can be ported to our G2.
[G2 Android Development] wm388:
Can somebody help? I was on 1.5.0 and then I flashed the glitch fix zip from 1.3.0 and now my phone won't get past the LG Logo. The LG Logo appears for like a second and then the screen turns off. Can't get into recovery either...
[G2 Android Development] chinchillables:
Has anyone been able to figure out an always working fix for the "Cannot Connect to Camera" error that comes sometimes?
[G2 Android Development] le_lutin:
If this is intermittent, then it might be some other app that's causing this? Do you use any other camera apps that might not be "releasing" the camera when they are finished?

---------- Post added at 09:38 AM ---------- Previous post was at 09:36 AM ----------

I reckon this would just be the camera taking 3 (or more) different shots in quick succession at different focal lengths and then the software combing them. Given that our camera isn't very quick to focus at the best of times, I'm not holding out much hope that this feature would be good for anything other than very, very still shots!
[G2 Android Development] chinchillables:
I haven't used any other camera apps. I get the error even if I do a full wipe and restore no apps at all. :(
[G2 Android Development] gonk24:
Are you on a ROM or stock? I'm stock/rooted/twrp, and also using the Sprint variant. I have never had connect to camera issue on any version of this mod. If you are running a ROM I'd say the problem lies there.
[G2 Android Development] theartofdance:
I've been looking for an answer to my issue, but it doesn't seem like there's much on it. I'm running the aeon rom on my d800 and I've been having random "try scanning media files" or whatever notifications when I click on the camera app... I don't know how to fix it other than rebooting. Anyone know what I can do? I haven't been able to "snap that quick photo" for a while now cause that notification just loves to come up when I need the camera the most...
[G2 Android Development] fldash:
Was running stock Sprint (ZVA). Installed manually using ADB putting the files in place, yes I'm sure they went in the right spot. Rebooted but Gallery is FC. Camera works great.

Nevermind, I'm an idiot, forgot to remove the gallary odex from /system/app, only removed the camera one.
[G2 Android Development] Tinchoska:
What a great mod. Take a look this pic 10mpx and looks awesome

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] chinchillables:
In on the Stock rooted youdug odex rom.
[G2 Android Development] PearLRoX:
Hmm i dont know why but.. if i take a picture it not sharp..

On dark places with flash..it takes 5sec to make a picture :/

I come from a s3,s4,note2,.. lg's stock camera s*ks .. this mod makes the focus much better but.still i have the problems with sharp pictures en the flash time on dark places..
[G2 Android Development] GibMcFragger:
Yes it does. It uses the flash for focus lock first in low light, THEN takes the picture with flash. It's slow, that's normal.

Sent from my rooted, Xposed D803 on Dorimanx Kernel.
[G2 Android Development] PearLRoX:
Everyone hates my phone when goin out and taking pictures.. there getting blind of the flash time.. and there showing off with the s4 or htc one camera speed :/ sad..
[G2 Android Development] Hapsnykel:
Dunno if it was dropped or not but here is anyways a +1 on making normal mode the one with the fastest shutter speed, as disgussed earlier

I am sick of not beeing able to take pictures of anything that breathes without it beeing all blurry.
[G2 Android Development] CasseTrop:
Wish I could try this for AOSP. Keep up the good work.
[G2 Android Development] GibMcFragger:
Yea, I get complaints of blindness also when using the flash, lol.

Sent from my rooted, Xposed D803 on Dorimanx Kernel.
[G2 Android Development] sujith4nair:
Blur

Indoor pics look blurry. File size is d same 4mb.
[G2 Android Development] titus1:
The problem with G2 cam was that the led flash doesn't illuminate when it's focusing in low-light/indoor/dim situation. I don't know why LG implemented this. I owned the G Pro before and the led does that. It illuminates to help focusing, then fires up when you take a shot. I hope LG addresses this issue.
[G2 Android Development] lemach:
Totally I agree.
[G2 Android Development] Hid3rs:
The G2 does turn the "flash" on while focusing. It depends on how you actually take the picture. Just tap on the shutter button, don't hold it!
[G2 Android Development] lemach:
Yes, g2 camera can do it but do not turn on flash when we touch the screen to a manual focusing...it is very sad since G2 it is the "best" smartphone.
[G2 Android Development] greyhulk:
Just wanted to chime in and say that I've been using this app for about a week on my AT&T G2. Everything was puppies and rainbows at first, then the camera app started freezing. It has been doing it regularly when I use the front-facing camera, especially if I switch to beauty mode.

I'm stoked about how much faster it focuses and how the viewfinder lag is gone, so I don't want to revert back to stock, but the freezing is definitely an issue. I don't have anything else weird on my phone or any hacks. It's just rooted with this mod. I even cleared the cache in the camera app and rebooted and it started doing it again.
[G2 Android Development] srk_srinivas:
Sample Images IA, Normal, HDR

Please check the sample images with the latest mod, on LG G2 D800 10d after downgrading from 10q Unlocked, CleanROM SE 2.0

https://drive.google.com/file/d/0B3lfnZzYztmdQW84MHpubGFua1U/edit?usp=sharing

https://drive.google.com/file/d/0B3lfnZzYztmdQm1qTndTdjRaclU/edit?usp=sharing

https://drive.google.com/file/d/0B3lfnZzYztmdbGtmVGpib000cDg/edit?usp=sharing
[G2 Android Development] Giocarro:
WOW, HDR really makes the difference!
[G2 Android Development] SoKoOLz:
I will try this thank you!!
[G2 Android Development] lemach:
Any news about this? I really thank your work and i am very excited with this future new mod!

Thanks a lot :thumbup::thumbup:
[G2 Android Development] xdabbeb:
Any reason you went backwards from 1.5 to 1.3?

I have to believe it's something else you're installing as this seems to work fine on Sprint variants. Kernel? Xposed? Other mods? Still waiting on a logcat.

There was another person that had this issue and it turned out to be another mod they had installed. I can't remember off the top of my head which one, but search the thread and I'll check my pm's in case it was there.

Logcat? Do you really have no other mods including xposed? What about Rom/kernel? Have you tried other camera mods?

That was an old version and post. I wouldn't recommend using it.

Still working on it. Just been busy with work and the big change I am trying to implement is proving to be more work so it's going slow. I may release an interim version with other changes if it's going to take much longer.
[G2 Android Development] greyhulk:
G2 xposed is my only other mod. I'm stock, otherwise. The issue was persistent for a day, then abated. Slightly alarming, but the other changes you have made fix my other issues with the stock camera, so it may be an acceptable trade-off.
[G2 Android Development] chinchillables:
In my case, even if I completely wipe phone (system, data, cache, and dalvik cache) I still get the issue.

I tried to get the catlog for you, but couldn't figure out to get it properly with the error. I'll redownload the latest android platform tools and try again. Making a NANDROID, then will flash the youdug ZVA and see if I can get you a log now.
[G2 Android Development] xdabbeb:
I've used that before and didn't have any problems with the camera, but I did get SystemUI FC's. It's also possible the options I was using were different. If the problem persists could you try uninstalling xposed as a test? Any other apps that could be attempting to lock/use the camera? That's often the problem with random freezes.
[G2 Android Development] manuelmagix:
Work fine photo, but too bad for sound

[YOUTUBE] cK6-n40s8SA [/YOUTUBE]

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] xdabbeb:
I don't believe anyone has ever claimed this mod does anything for sound.
[G2 Android Development] manuelmagix:
estimated dev, you might better sound recording?????

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Wossner:
I'm new to G2 and I can not understand why it should not use led while focusing in low light, really. It is impossible to take shots in darkness.

Now question is: can a modded camera fix this?
[G2 Android Development] gonk24:
I just took 2 pictures in normal mode and low light and it did just that. I hit the shutter button and the led lights up and stays on while focusing. When it's focused, the led goes off and then flashes to take the picture.
[G2 Android Development] justmara:
Sorry, but search in post shows nothing: is there any way to change the camera store folder? 1.5.0 of this mod stores to /DCIM/100LGDSC folder, and most apps simply tries to use /DCIM/Camera as main folder. For example OneDrive (formerly SkyDrive) autoupload feature just doesn`t see pics/videos in 100LGDSC folder. That`s weird. And it even doesn'` have option to change monitoring folder.

The weirder part is that SOME images ocassionally appear in that /DCIM/Camera folder.

So is there any way to change the folder app saves pics/videos to or any system setting that changes the folder all other apps must look to?

upd: I see now, whenever I make photo with any other than stock camera app (instagram for example) it stores 5Mp (2592x1944) copy of image in /DCIM/Camera folder. Weird.
[G2 Android Development] juliocesar55:
I think this might be of interest to some if us here... it is finally out!

http://m.gsmarena.com/android_44_kitkat_now_available_on_at_t_lg_g2-news-7906.php
[G2 Android Development] mmm286:
It seems that the camera won't update :(
[G2 Android Development] Wossner:
Ok, now try to tap to focus before shooting in darkness and let me know
[G2 Android Development] smederevoboy:
low light

if the camera is arranged these new 4.4.2 updates?
[G2 Android Development] gonk24:
I rarely use tap to focus, but what are you getting at? Are you thinking that the led should turn on and stay on, allowing you to focus then take the pic? I've never owned a device that just lit up rather than flashing. Is that common? Regardless, what I described took passable pics. I don't see the issue.
[G2 Android Development] Wossner:
All my previous devices let me focus in darkness with led flash. Well, I'll get used to g2 camera

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] lemach:
[MENTION=2941286]xdabbeb[/MENTION]

I notice that sport mode have a slow speed capture...so most of the objects in movement are blurry, even intelligent auto have faster shutter speed in the same scene.

Could you mod that default shutter speed in sport mode and change to a faster one?

Thank for all your efforts!:good::highfive:
[G2 Android Development] Hid3rs:
The sport mode is an Android scene mode, it's not really tweak-able. At least that's what he said when someone was requesting the same thing.
[G2 Android Development] lemach:
i have not read his previous post about sport mode...but i think it would be possible if the shutter speed is encoded in any apk, jar or lib so xdabbeb was able to mod that files in his present mod

cheers
[G2 Android Development] xdabbeb:
[MENTION=5632451]Hid3rs[/MENTION] is correct. As sports is a scene mode and not a shot mode I don't have the same built-in control over it. I suppose it could be possible for me to intercept the camera every time it makes that switch and inject code that would change it, but I'd have to look into it more. It wouldn't be high on my priority list, however.

OP updated with link to newer 4.4 KitKat test version from AT&T release. If anyone that has root and knows what they're doing with adb/logcat wants to give it a try and let me know how it works it would be appreciated. It's basically the same as the current 4.2.2 mod but with added options for UHD and 120fps video that may or may not even be supported by the binaries again.

Also, I'll be releasing an interim 4.2.2 version in the next day or so with some minor photo/video quality improvements.

EDIT: oops...forgot that LG didn't put the appropriate profile in either. OP updated with new install instructions and link.
[G2 Android Development] Zoide_:
Given that the new camera is based on 4.4.2, is there any chance it'll work on AOSP/CM-based 4.4.2 ROMs?

Thanks
[G2 Android Development] m0biusace:
Tested UHD -- it works! Output is 3840x2160. 40mbps. VLC doesnt like it, had to use media player classic to play.

Unfortunately autofocus and touch-to-focus do not work in UHD or 1080p 60fps mode. 1080p 30fps mode autofocus and TTF works.

On the camera side: normal mode seems unchanged from stock. It will automatically go into night mode when the scene is too dark. Shutter speed doesn't seem limited to 1/10 or whatever you put it to.

intelligent auto mode focuses ridiculously fast, and also responds much quicker than normal mode to a changing scene that warrants a change in focus. minimum shutter speed seems to be 1/15.
[G2 Android Development] Hid3rs:
Awesome news! What about 120fps?

Could you upload somewhere a short sample of the 4k recording?
[G2 Android Development] xdabbeb:
Great! As for touch to focus, I don't believe there ever was this option. Do you mean object tracking? If so, that does get disabled for 1080p @ 60 and up.

Oops! I must've forgotten to include my normal mode changes. Easy fix.

And, yes...what [MENTION=5632451]Hid3rs[/MENTION] said
[G2 Android Development] freakyd9984:
Will this work on flex Rom?

Custom G2 D801
[G2 Android Development] m0biusace:
Whoops. Looks like you are right, its object tracking for 1080p 30fps. I'm uploading a QHD and 120fps 720p sample right now.

EDIT: 720p 120fps doesn't actually capture 720p. The encoding is in 720p, but the video encoded has a much lower resolution than that.

720p 120fps: https://dl.dropboxusercontent.com/u/29551001/120fps.mp4

QHD: https://dl.dropboxusercontent.com/u/29551001/uhd.mp4
[G2 Android Development] xdabbeb:
I had wondered if it was going to be same situation as the iPhone5s 120fps...where they're basically taking a 480p video and upscaling it. Thanks for uploading the videos!

I'll have a version with normal mode fixed later tonight.
[G2 Android Development] shriom_manerker:
HOLY **** IT WORKS !! i just downloaded ur 120 fps file and played it at 0.25x speed in vlc and its so smooth !!! DUDE this is awesome !!! just some audio breakups and a little frame shuttering that happens only when we play the file at 120 fps. so if we can save the file or play the file at 30 fps its slow motion in a perfect form.. my best i dea is to just stop the audio recording at 120 fps !
[G2 Android Development] markus4000:
Just to understand the current state...

The AT&T G2 version already has a 4.4 KitKat Rom and you have modified its camera app to support 120fps as well as UHD and because of new libs etc. this version will not work on 4.2.2 Roms? I tried to use the apk on my 4.2.2 european version and it wasn't even able to parse the package.

apk file would go into "/system/app" and the xml file to "/system/etc" ?

If so, when the international G2 version finally gets a 4.4 Rom will your AT&T mod work on the international rom? Or is it more likely that there will be different versions for each model? And finally, will there be no UHD/120fps for 4.2.2 Roms, even with 4.4 libs available (to you as a dev)? (I guess it's not even necessary as 4.4 shouldn't be that far ahead anymore)
[G2 Android Development] xdabbeb:
Thanks for uploading these and confirming that 120fps works.

I've updated the OP with a link to a new version that adds the Normal mode changes from the base mod. Let me know if everything works.
[G2 Android Development] xdabbeb:
Correct...this version will not work on 4.2.2. LG didn't include 4kUHD and 120fps video in their stock 4.4.2 camera either, but if you use the 2.0.x version of this mod it will be enabled now. If you attempt to install this version of the apk on JB it will fail as it has a minsdkverion of 19 (KitKat). I'll see if I can backport it to JB, but I don't know how worthwhile it will be if we're all going to be on KK soon enough.

This new version should work fine on any of the variants once they have 4.4.2.
[G2 Android Development] lemach:
Great to see your 4.4.2 mod cam can record uhd video and 120 fps...

Stock/Mod KK Camera: what about speed shutter in low light conditions or objects moving? finally we will have flash while using touch to focus?

[MENTION=2941286]xdabbeb[/MENTION], thanks for your future new 4.2.2 mod camera! Can you tell us the changelog?

Thanks for all.
[G2 Android Development] smederevoboy:
AWESOME xdabbeb...well done :)

Waiting 4.4.2 i try fix :D
[G2 Android Development] shriom_manerker:
guys ! , click the "tip us" option on top right side of this thread, this is totally worth the mention on the xda portal :) it shows us that our g2 is indeed,capable of very much more :) its totally worth the mention as its [MENTION=2941286]xdabbeb[/MENTION] 's hard work too :)
[G2 Android Development] -Jesco-:
mind uploading to youtube ? your account got blocked :P
[G2 Android Development] markus4000:
I hope he doesn't mind, here is a MEGA mirror:

720p 120FPS

UHD 3840x2160 30FPS
[G2 Android Development] Subtleone:
I just sent a tip to Engadget.
[G2 Android Development] xdabbeb:
I don't believe they enabled flash with touch to focus. The KK version of the mod has all of the previous changes as well, so lowest shutter speed is faster for both IA and Normal mode.

I should have the 4.2.2 update today or tomorrow. As I said, it's focused on photo quality improvements.
[G2 Android Development] uoY_redruM:
Aww, can only use 2.0.3 if you're on a kitkat build? Damn T-Mobile needs to get us that update already then!
[G2 Android Development] lemach:
thank you very much for improve this camera!
[G2 Android Development] woof123:
Damn after i put the media profiles i got into a bootloop...