yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] shriom_manerker:
oh well, that wont stop me ;) i'll be back on kitkat tomorrow , thinking of going for cm11 or PA this time :) anyways good luck wtih your camera mod :) i still have hopes to see this on 4.2.2 :p dono why haha
[G2 Android Development] GizmoKaca:
Is it a known bug that when selecting 720p 120 fps slow motion mode, the picture is way too dark, and you have to switch modes to HDR recording and then if you go back to normal the picture is okay bright again, but the picture seems a bit pixelated and grainy too in this mode? :)
[G2 Android Development] manuelmagix:
I'm looking into mixer_paths.xml which parameters I should change to reduce the input level of the microphone audio?
[G2 Android Development] xdabbeb:
The VS980 (still on 4.2.2) doesn't have a mixer_paths.xml to play with so I haven't been able to try it. I'd guess try the "camcorder-mic" and "headset-camcorder-mic" to start with?
[G2 Android Development] martindar:
hi just flashed on 1.5 to 1.60 and no problems at all all working on d802 ok is it me or do the photos in normal seem a little darker? I think it may be me maybe but anyhow this camera rocks due to your mods and would never go back to stock as camera was unusable until your modifications,thanks again

running cloudyfa's flex rom,savoca kernel 1.71 and exposed

NB.

have just realised that hdr photos are split halfway and appear black and white in a vertical split? 50/50 very weird does not do it in normal mode so not sure whats going on perhaps xdabbebs may take a look when he 's got time thanks
[G2 Android Development] xdabbeb:
Normal mode will definitely be darker than it was on stock as the minimum shutter speed is faster (therefore less light). You can brighten it up via the brightness slider if you want (which will up the ISO).

I've been working with a couple of people on the HDR issue, and it looks like we have it resolved, but I'd like to sit on it another day to be sure as it happens at random and I haven't been able to reproduce it myself. Once it's confirmed I'll post a fix.
[G2 Android Development] adampdx:
Thanks for this. I was about to go and buy a 5000w portable lighting system.
[G2 Android Development] GizmoKaca:
Hahaha! So I am not alone with this bug I see :D Is this fixed in the next update [MENTION=2941286]xdabbeb[/MENTION] ? :)
[G2 Android Development] xdabbeb:
120fps mode should actually be dark due to the framerate. The bug would be that HDR video mode isn't getting turned back off when switching back and forth :) LG didn't include checks for that so I'll add them in for the next version.
[G2 Android Development] vish9:
Slow mo recording issue

Hey guys, sorry if this question has been answered.. Occupied right now to peruse the 150 pages on this thread :)

I'm using D800 on KitKat, and facing issues with slow mo. When I select this mode, the camera just gets dull and very dark, the video is not in slow motion either, which I'm assuming is failing. Please let me know if there's a solution.

Still pics are awesome though, thanks for the mod.
[G2 Android Development] gonk24:
Partial answer right above your post.
[G2 Android Development] uoY_redruM:
Suck detail!
[G2 Android Development] bigsnack:
I take we have to be on 4.4 for it to work?

On an unrelated note I tried to take a picture with 1.6 and the app opened fine but when I tried to take a picture after pressing the shutter it froze and I had to force restart my device. I am running malladus 1.2.7. Any else see this occur for them? It was fine after the restart but still. Thanks
[G2 Android Development] smaj:
I'm on rooted kitkat . but I can't rename lgcameraapp.apk for backup . I checked rom with root checker .
[G2 Android Development] Zoide_:
Try the following:

1) adb shell

2) su

3) Important: check your phone screen and click on "Grant" to give superuser privileges to your shell session

4) mv /system/priv-app/LGCameraApp.apk LGCameraApp.apk.backup

etc.
[G2 Android Development] XxZombiePikachu:
---------- Post added at 01:52 AM ---------- Previous post was at 01:51 AM ----------

[/COLOR]

What I did was make a copy of stock camera(apk,odex and the xml file) and keep it on my g2 in case I ever need to go back to the stock camera
[G2 Android Development] smaj:
I did it but It's fail.doesn't work :crying:
[G2 Android Development] hackarchive:
[MENTION=2941286]xdabbeb[/MENTION] any chances of modding the stock video player to playback at 0.25 or 0.13 as the Iphone 5s to really enjoy ur slowmo mod natively?VLC just loves crashing on kitkat and other players don't do it well!
[G2 Android Development] iall5tar:
Hey mate this mod rocks!

I just want to know if changing the dpi we.could resize.the camera app?
[G2 Android Development] smaj:
I checked magic focus on jishno mod but it doesn't work .
[G2 Android Development] Krayziepop:
Go to Settings/General/Apps/All and select "Camera". Open it and Force Stop it. Now you should be able to move the file, delete it, whatever.
[G2 Android Development] hackarchive:
[MENTION=2941286]xdabbeb[/MENTION] this is what that kind of playback could look like on the G2

[YOUTUBE]ungo3MVcdbQ[/YOUTUBE]
[G2 Android Development] aTanCS:
So is it possible? I have a small external micro SD reader with 32GB microSD in it, and it would be nice to have an option to switch video storage to it.
[G2 Android Development] NeoDJW:
Yup. I'ts possible. just plug it in, and storage menu will appear in camera settings
[G2 Android Development] xdabbeb:
Magic Focus won't work for anyone at present. Working on it though.

OK. I'll look into it.

Did you make that video on the G2 with this mod? The only reason I ask is that it seemed to have a 1080p size option. Did you upscale it?
[G2 Android Development] Steamer86:
Always have no matter the mod. VS980
[G2 Android Development] dondavis007:
Just want to praise this mod, the thing I really wasn't satisfied with was Camera and Sound. Both are now perfect for a phone, so thank you for helping my phone reach it's full potential

Sent from a mobile Gadget...

---------- Post added at 06:26 AM ---------- Previous post was at 06:15 AM ----------

I wonder why LG made a camera app where settings don't stick. Weird choice, hopefully it's fixable, somehow

Sent from a mobile Gadget...
[G2 Android Development] xdabbeb:
New version in OP. Not a lot of changes, but at least one of the requests (exif info) has been implemented fully for Normal mode. LG did some weird stuff for low-light photos in that mode, but that has been bypassed now. Normal mode is now the most flexible (as it should be). There's still quite a bit of denoising going on at higher ISO, but I'm going to see if I can tone it down a bit to balance the noise/blur ratio a bit more favorably. The problem is that they aren't using it in visible (programatically) way. A logcat actually shows that it's off! It isn't.

If you want to see what I'm talking about, take a photo in a dimly-lit room in Normal mode with ISO set on auto and the brightness slider all the way up. It will send the ISO up to ~3900 (which is beyond what I think it actually is at) and the resultant photo will have a fair amount of denoising/smoothing applied.

Thanks [MENTION=2829536]dondavis007[/MENTION]! Glad you're enjoying it.

[MENTION=4665288]Steamer86[/MENTION] The VZW variant (which I also have) always used the date for file name. The attempted fix was just for those that didn't.

[MENTION=1204508]levelone[/MENTION] I tried again to set the shutter to 1/2 but didn't see much if any difference in the amount of light getting in. I think it may be that we're reaching the limits of the assembly down there. If you want, send me a PM and I can send you a version set that low for you to test and see what you think.
[G2 Android Development] wadamean:
Will this mod remove the stock LG camera app and replace it with this mod?

---------- Post added at 11:30 PM ---------- Previous post was at 11:29 PM ----------

Plus what does it mean on the download of newest version of this when one says quiet and the other one doesn't.
[G2 Android Development] nic85:
Can you turn off the recording beep sound?

flashing new camera, filenames will be from 001..what happen if there is already a file with that name?

---------- Post added at 09:20 AM ---------- Previous post was at 09:11 AM ----------

quite focusing... no beep when the image is on focus.
[G2 Android Development] adrenalin100:
Hello all .What is it quiet ?))
[G2 Android Development] joseamc91:
The camera has no sound ;)

------------------------------------------------------------------------------

Is it possible to use the flash to focus when we are in the dark?
[G2 Android Development] adrenalin100:
Very good job Xdabbeb .Thank you .
[G2 Android Development] nic85:
guys please pay a beer to him...a couple of euro each one would be good to support his hard work :laugh:
[G2 Android Development] adrenalin100:
Sorry .where no sound? Ok ,understand .quiet it is make photo in lg camera folder default 100LGDSC .
[G2 Android Development] joseamc91:
Installing the MOD Quiet in the camera settings you can turn off the shutter sound. The default camera can not.

Google Translator
[G2 Android Development] adrenalin100:
I have before this function ,because my firmware singapur.
[G2 Android Development] petrx:
Please kitkat version
[G2 Android Development] kerempek:
I'm in orginal D 802 rom. Only rooted with standart procedures which everybody does :(. But i reflash version v1.0 and my camera and gallery apps are back again. How can i restore them original manually ?

Thanks.
[G2 Android Development] smyrosnik:
Does someone need to have 4.3.1 apk or stock apk to flash this, or just a new flash of the zip file will just do the trick?
[G2 Android Development] adrenalin100:
Guys ,why such a small rate of the audio stream in video (156-159kbit/s max) ?In my old s2 170-190 -226 kbit/s .

Video 60 fps retarding .
[G2 Android Development] Deni_NS:
Just flash it.
[G2 Android Development] nic85:
flashed latest 1.1.1 works good :good:

---------- Post added at 11:32 AM ---------- Previous post was at 11:32 AM ----------

the dev is working on it
[G2 Android Development] adrenalin100:
ok)
[G2 Android Development] smyrosnik:
Wipe of dalvik /cache is needed?
[G2 Android Development] xdabbeb:
Glad you like it. Unfortunately the layout of this app makes it not play all that well with dpi changes. I'd recommend using App Settings to keep the cam at 480 if you're changing the dpi system-wide.
[G2 Android Development] uoY_redruM:
My picture was suppose to read "such detail" lol.

Wasn't slamming the mod, lol.
[G2 Android Development] HenrikSwe:
Great mod you have made!

The auto focus is much faster now.

I have uploaded a 120 fps test similar to the previous one. But I wonder one thing, is it really 1280x720 because if you look at the video it is very choppy around the edges(check the shadow from the fingers), can this be improved?

http://www.youtube.com/watch?v=yi1nRrKoqgI&feature=youtu.be

Sincerely Henrik
[G2 Android Development] Carlos21295:
It would be awesome if you could port the 120 fps recording to aosp roms

Enviado desde mi g2 mediante Tapatalk
[G2 Android Development] jottab:
hello guys need some help

hello all,

long time was not appear here and very happy to see that community is always growing.

So my new toy is the g2 fantastic phone, i'm very interested by this mod, i try to install the version 1.6 quiet , all was ok, installation perfect, when my phone boot i go to camera app, and i can see 1600 iso, so i think the mod works but in video mod i can't select 720p 120 frames. someone knows why?

the other question is know i have 4.4.2 kitkat stock by sfr france. But i don't understand how to install the mod without root. if someone could help me thanks a lot.

:D
[G2 Android Development] Hid3rs:
120 fps recording only works on KitKat, that's why you couldn't find it.

As for installing the mod without root: you can't do it. Rooting 4.4.2 is slightly more complicated. You have to downgrade to 4.2.2 using LG Flash Tool, then install Custom Recovery and flash a KitKat.zip AND SuperSu with root binaries at the same time.

Here's a guide how you can do it.
[G2 Android Development] jottab:
thank u i'll try it.
[G2 Android Development] xdabbeb:
OK. I figured it out. Will have versions for KK and JB to download later today.

No worries :) I knew what you were getting at.

I've wondered myself whether it is true 720p or if it's upsampled 480 (like apple does with the iphone). I don't actually have KK on my phone yet, so I can't say. When I do, I should be able to find out for certain.
[G2 Android Development] noris08:
[MENTION=2941286]xdabbeb[/MENTION]

i saw that your last version 1.6.0 has an option to save to internal storage or to sd card

i connected an otg micro sd card reader and the phoe read it ok.

unfortunately no matter what i chose the pictures are saved into internal storage

do i have to make some setting or to install 3rd party app in order to save to the external usb card/stick?

thank you!
[G2 Android Development] martindar:
thanks for the above info look forward to any solutions,take as much time as you see fit thanks for sharing,been running your mods since the beginning and this lg camera is now a decent useable piece of equipment now so thanks for your hard work and innovations
[G2 Android Development] xdabbeb:
OP Updated with new versions which include a new mod for the Video Player that extends slowest and fastest playback speeds to x0.125 - x1.875. I've been able to test it on 4.2.2, but I haven't tried it on KitKat yet. It should work fine, but someone please let me know.

I also reverted the YUV422 setting as it was causing HDR glitches for some people. The problem turned out to be a bug in LG's math during post-proc with the extra bits introduced in that format. If you don't use HDR you can keep it enabled b/c in theory it will offer higher quality photos (though I didn't notice a big difference).
[G2 Android Development] Little Bigboy:
this wont work on aosp right ?
[G2 Android Development] XxZombiePikachu:
New update seems to be working on kit Kat just fine
[G2 Android Development] Hid3rs:
Doesn't your video start stuttering like really bad if you set the speed below x0,4? Unfortunately, mine does.
[G2 Android Development] XxZombiePikachu:
The way I see it below 0.4 it's too slow for playback or something like that
[G2 Android Development] funnyboy027:
How you install the new LGVideo.apk, I copy it to /system/pri-app and set permission as rw-r--r- but it not working
[G2 Android Development] XxZombiePikachu:
Did you remove the .odex
[G2 Android Development] Hid3rs:
Well it shouldn't be too slow because even 0,2 would result 24fps if I'm correct. I think the G Pro 2's camera is capable of slowing down vids x0.25, I'll try to get it work on the G2 tomorrow.
[G2 Android Development] xdabbeb:
The stock G Pro 2 video player is limited to x0.5 just like the rest. It's a slightly newer app version, but that's it.
[G2 Android Development] Hid3rs:
This time I think you're wrong.

Google G Pro 2 slowmo video and check the first one.
[G2 Android Development] XxZombiePikachu:
So this means anything lower than 0.5 may result in the weird slow down issues we have been having?

Also just in case here is a link to what we are experiencing on kit Kat incase you wanted to see it https://www.dropbox.com/s/gvrqy77avy95a2f/SCR_20140305_215657.mp4
[G2 Android Development] NeoDJW:
geting FC on videos
[G2 Android Development] xdabbeb:
Quite possibly.

I don't have KK to test it out on, so all I have to go on is the code.

Here's the apk...give it whirl and let us know.
[G2 Android Development] NeoDJW:
apk works but no slow mo
[G2 Android Development] XxZombiePikachu:
do we have to remove the g2 video app first and also where do we place it system/app or system/priv-app or can I just install as apk
[G2 Android Development] Hid3rs:
The app itself runs, but when I'd try to play a video it says. "Unfortunately, Videos stopped working" or something like that.
[G2 Android Development] NeoDJW:
mine is in priv-app and it works ok, no FC but it's like stock no slow mo

edit : after another reboot FC
[G2 Android Development] xdabbeb:
Correct. Instructions in OP.

Try this one

EDIT: Forget it! May have found something

Did you follow the instructions in OP? Make sure it's in /system/priv-app/ with proper permissions and that the stock LGVideos.apk and .odex files are out of there. It's also possible you did it wrong the first time which may have left a dex file in /data/dalvik-cache pointing to the wrong place. If so, you can either find/remove it manually or use a tool like Titanium backup (which I believe has a function to clean the dalvik cache). I normally handle the install via script, but with 4.4 we don't have a recovery (yet).
[G2 Android Development] Hid3rs:
Same as before. I'd get you a catlog but I'm heading to bed now.
[G2 Android Development] xdabbeb:
Don't worry about it, dude. It can wait, and given what I'm seeing in the java it isn't there.

EDIT: May have found something. I'll see if I can get it working on 4.2.2 for now.
[G2 Android Development] XxZombiePikachu:
just in case I tried the last one you posted fc on trying to play video and here is a logcat https://www.dropbox.com/s/9qybf5nz3yj9ipc/2014-03-05-23-32-40.txt
[G2 Android Development] hackarchive:
Thanks just installed the new video file and yeah native slowmo playback.Thanks again!
[G2 Android Development] iall5tar:
Here working like a charm in Stock KK.

Thanks dude!
[G2 Android Development] jottab:
crash with kk 4.4.2 stock

hello guys,

finally install the mod in a kitkat stock rooted rom. the mod was working very nice and i was trying some differents mods in camera app and my app crashed when i try in video mode to change it. the problem is that know the app works in photo mode, but crashes when i try to put in video mode.

I delete the files and install it but i'm experiencing the same issue.

i don't remember what mode do crash the app infortunaly.

---------- Post added at 10:27 AM ---------- Previous post was at 10:16 AM ----------

ok repair it with this way :

settings, applications, camera, clear cache and delete all.

and the mode who do crash the app is the third mode i'm sorry it is in french "anti-secousse". when i select this mode it is the crash.
[G2 Android Development] AlexanderKgr:
how can i activate slow motion in videos app?
[G2 Android Development] smederevoboy:
Slow motion iz activated on video galery :)
[G2 Android Development] lemach:
Great video mod! Works perfect in JB.

It is very funny see videos at slow speed, it seems that we are drunk while talking, hahaha

---------- Post added at 11:21 AM ---------- Previous post was at 11:20 AM ----------

Press menu button while playing video and change playing speed.
[G2 Android Development] Carter07:
[MENTION=2941286]xdabbeb[/MENTION]

I saw this review of the LG G pro 2:

http://www.gsmarena.com/lg_g_pro_2-review-1056p8.php

"On paper, the sensor is the same as on the G2. However, LG claims improvements to the stabilization, as well as refined exposure and noise reduction algorithms, so photos that come out are 20% better. How exactly they measured that is unclear, but 20% of difference should be readily visible in real life shots."

"The image quality is excellent. Photos have a lot of fine detail and very little noise. Processing is more mature than it used to be on the G2 and there are next to no artefacts to be spotted. LG also moved to correct the over-enthusiastic metering on the G Pro 2, but it went a little too far and now photos occasionally come underexposed."

Any chance to port new exposure and noise reduction algorithms? the sensor is the same :)
[G2 Android Development] NeoDJW:
I did it all and still stoped working
[G2 Android Development] hackarchive:
Good question.Also interested.
[G2 Android Development] jottab:
some news

Today i Try the App all seems to be ok. But i don't know why 720p 120 frames shows much pixels i don't know if that's normal. More problematic is that in version 4.4.2 my phone is still hot. Battery is consuming à lot but there is no anormal process. If the problem stays i'll go back to stock 4.2.2 offre someone has à response for thés.
[G2 Android Development] XxZombiePikachu:
Well I am also running kk and the pixelation is there on 720p 120fps but as for battery drains I'm not experiencing any in the past week
[G2 Android Development] jottab:
For exemple my phone was full charged this morning i use him at the maximum 1 hour and know he have less than 50 % of Battery when in 4.2.2 he could be more than 80 % .
[G2 Android Development] garyd9:
request:

recovery installable (update.zip/edify) 2.x version. ;)
[G2 Android Development] gonk24:
There are reports of a bluetooth wake lock issue draining battery on KK for the G2. Drains even when it's set to be off.
[G2 Android Development] HenrikSwe:
Ok, do you think there is any hope of it just being a software limitation or is it the hardware that is unable to record and "true" 720p?

Sincerely Henrik

Some more interesting slow motion shots:

http://www.youtube.com/watch?v=tamDjHhYf60&feature=youtu.be
[G2 Android Development] Phoost:
Can't find 1.6.1 quiet

Is it possible to upload Version 1.6.1 quiet ?

I'm want to try out this interesting mod and the playback speed which is changed in 1.6.1 is important for me.
[G2 Android Development] NeoDJW:
Can someone PM me stock .apk and .odex for lgvideos
[G2 Android Development] bender_007:
Oy m8, download the kdz/tot extractor.

Extract the kdz you have.

Or you can get it from here

EDIT: For those who need the LGVideos.apk & LGVideos.odex ------> HERE <------- (will be up in 2 minutes after this post is made)
[G2 Android Development] XxZombiePikachu:
Are the ones from 4.4.2 okay since that's what I got?
[G2 Android Development] xdabbeb:
I also remember reading that the sensor in the G Pro2 is physically bigger, which (if true) could also explain the increased quality. Regardless, if they did make sw improvements in those areas, it would all be in the system libraries. Thanks to the efforts of a few great devs it looks like we have a method for custom recovery along with stock KK so I'll feel a lot more comfortable trying to replace those files with ones from the G Pro 2. I've been testing certain ones since the system image was posted. If anyone else is interested, just send me a PM.

See my replies to HenrikSwe in previous pages.

Will be up there shortly :) And thanks for the excellent work you [MENTION=3727492]JackpotClavin[/MENTION] and [MENTION=4316709]Savoca[/MENTION] did in figuring out the devtree commit/workaround to get us custom recovery on stock KK. Much appreciated.

Could be either? The apk is handing it off as 720p, but what qcom decided to do within their driver is always a mystery as it's closed source.

If you want quiet you can just flash the 1.6.0 quiet zip over 1.6.1 as it only contains the apk (which was unchanged)

I assume you're on a d802, but if you're on a d800 let me know and I can upload it for you.
[G2 Android Development] xdabbeb:
OP updated with flashable 2.0.6 version of the mod. If you don't have a custom recovery yet, you can still just follow the instructions in the OP to manually install it.
[G2 Android Development] Hid3rs:
G Pro 2 Selfie Mode aka. Front-facing Flash

All OS version and model supported, requires no modification. Now you can take selfies in complete darkness.

1. Settings > Accessibility > Turn "Invert Colors" on

2. Open camera, take picture of your beautiful face

3. Turn "Invert Colors" off

4. :laugh:

(sorry!)
[G2 Android Development] xdabbeb:
ha! Also, I should have another test version for you (and others) later
[G2 Android Development] aTanCS:
Would be anybody so kind and explain me how to enable a storage selection dialog? When I connect OTG card reader it normally works, I can access it. But when I start Camera nothing happens. :( I've tried to connect OTG when running Camera (photo or video) and still nothing.
[G2 Android Development] XxZombiePikachu:
When plug in click setting in the camera it should be there
[G2 Android Development] Carter07:
I selected sd card but it still saves photos and videos in the internal storage (emulated sd card).

Is it working for you?

I have 4.2.2 D802 international.