yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] uoY_redruM:
I downloaded around 8am EST. I found someone had posted a kitkat build for T-Mobile last night so I updated and flashed. Then I saw you said you updated later on.

I don't have internal storage option nor do I see anything about 4k video option, that's why I ask.
[G2 Android Development] xdabbeb:
Ah, no...I forgot to put the storage menu option in the KK build. I'll do that on the next one. The change from 2.0.3 to 2.0.4 was just b/c I had also forgotten a couple of things necessary for saving all settings on exiting the app. 4k video option was always there though...it's called UHD.
[G2 Android Development] uoY_redruM:
Hmmm, must not have work I guess. Not sure why. No UHD option.

I'll try downloading again.

---------- Post added at 10:43 PM ---------- Previous post was at 10:38 PM ----------

Wait, you think the fact that I had 1.6.0 installed on JB then flashed kitkat and your kitkat build could have possibly screwed something up?

I would assume flashing kitkat would clear ask that up but who knows.
[G2 Android Development] xdabbeb:
Yes, quite possibly. I'm actually surprised that you were even able to take an OTA with the mod installed.
[G2 Android Development] uoY_redruM:
I had complete stock, with root, and I had your camera mod. I downloaded the zip someone created for the T-Mobile 4.2.2 and SuperSU so I was able to keep root. I cleared caches, installed the 4.2.2 zip, flashed SuperSU then flashed your kitkat build. I don't think your build it taking though, and I'm guessing it's because of binaries from the JB builds. Though, like I said, I would have assumed the 4.2.2 flash would have installed over those.

I tried downloading again, copying apk over to system apps and the xml over to the /etc folder (that is the correct folder, right?) but I guess that's not working.

Any idea how I can possibly fix it? I had kept backups, but not all the way back to stock. Plus, I can't flash anything in recovery for the time being anyway until they can figure out how to install custom recoveries.
[G2 Android Development] antawnm26:
If you are on KitKat 4.4.2, download the 2.x version below, backup and then rename/delete your existing /system/priv-app/LGCameraApp.apk & odex plus /system/etc/media_profiles.xml. Then push the downloaded apk/xml into the same directories and set permissions as rw-r--r--.

In my kit kat:/system/etc/media_profiles.xml, this is located /system/etc just a FYI
[G2 Android Development] xdabbeb:
If I'm understanding you correctly, did you flash the 1.5/6 version of the mod on 4.4.2? If so, that's your problem as you're overwriting files that shouldn't be. Get to a stock 4.4.2 install with root and then move the two files (apk and xml) into the appropriate places manually. The 4.4.2 version of the mod is not a flashable zip, fyi...just an archive.
[G2 Android Development] uoY_redruM:
No, I did it exactly the way you're saying I should do it.

Doesn't matter now, I decided to try the other camera mod just to see if maybe there was an issue I was overlooking at it bootlooped me. Now I'm completely stuck because there are no custom recoveries for kitkat right now. Trying to figure out how to just get the phone back to operational status.
[G2 Android Development] rob ben:
use the lg tool to go back to bone stock. I just finished doing that. Itll work
[G2 Android Development] uoY_redruM:
Yeah I just did. I'm downloading to get back to kitkat now.

So pissed, lost months worth of pictures and my aCar data which I was tracking all my expenses on my car restoration project.
[G2 Android Development] bigsnack:
[MENTION=2941286]xdabbeb[/MENTION]s from my understanding, it only takes two shots, one with the flash on and one with it off(not sure the order), and then stacks it(like HDR, but maybe a bit quicker since it's only two shots?) to even out the color and flash balance.
[G2 Android Development] uoY_redruM:
Well, after jumping through some hoops thanks to the "other" camera mod ( :p ) I'm restored, back up on KitKat and the camera mod is now working.

Running a recovery program now (40 minutes into it) trying to recover files emptied from my recycling bin on my PC earlier when I initially backed up all my photos and car data when I first flashed KitKat lol. Hopefully it works.

Great job on the app!
[G2 Android Development] jcmaddox1:
Your camera had a issue with slow motion where it looked like the exposure was very low - so I tried switching to... Another... And bootlooped. Restored and putting yours back on now. Seems to be the only reliable modded app.

Edit : ISO NOT EXPOSURE I SHOULD KNOW THESE TERMS.
[G2 Android Development] vaj_guy:
I'm glad I read both of the last two posts before rushing to try the other mod... Good job Xdabbeb! It KK mod works great. Cant wait to test 120fps tommorrow. Indoor lighting is too low for that mode.
[G2 Android Development] shriom_manerker:
its supposed to be low ! higher iso will definitely reduce quality and increase noise leading to a very odd and bludrry 120 fps recording. this setting is the best (i feel).

and btw hdr video produces a pinkish/purple tint on the video .
[G2 Android Development] Nikunj Kubadia:
Your Mod gave me bootloop :(

I tried your mod after listening to your supporters!!!

Other mod is working fine....

I tried that and it works ie V3.1 :D
[G2 Android Development] Jishnu Sur™:
I'm in complete confusion now. I'm on the verge of removing the link from my OP `:rolleyes:

What I think is certainly correct, the media profiles are not able to set correct permissions before it reboots and loops for infinity..
[G2 Android Development] alienware231788:
i install your mod to my lg g2 4.4.2 everything work great but slow motion not work will
[G2 Android Development] smederevoboy:
Is it possible that there are no further examples of this mode to see in practice how it really works?
[G2 Android Development] mmeidl78:
First I got a FC everytime I switched to the videocamera, but then I set the attributes of the xml-file, too and now I can use the modded camera app on my kitkat D802. The dark video in slow-mo is the only thing I don't think it's a good choice. :)

Screenshot attached ^^
[G2 Android Development] smederevoboy:
Put your video sample in low light ;)
[G2 Android Development] mmeidl78:
Here's a Video sample in low light. Sound is not ok, but for low light the video quality is ok I think :)

https://dl.dropboxusercontent.com/u/13179887/20140302_155425.mp4
[G2 Android Development] xdabbeb:
Thanks for letting me know. Any chance you could upload a video for me and get a logcat of the video being recorded? Thanks.

First/only report of that, so I'll take it with a grain of salt.

It won't record, or it isn't in slow motion? If the latter, that's the way it works. It just records a movie at 120fps which would need to be slowed down in another program.

Yeah, setting the proper permissions on both files is important. I may just write an install script for this.
[G2 Android Development] selune81:
i have installed in aeonflex and the only problem that i have is that the 9 pointo of the focus are not centered...

they are a bit closer to the shutter button!
[G2 Android Development] xdabbeb:
That's usually a dpi setting. The camera app doesn't play well with those changes, unfortunately. Try using the app settings xposed module to force the camera to 480.
[G2 Android Development] selune81:
I've already tried but the situation does not change ...

but it is not a problem ;)

ty
[G2 Android Development] Arak0n:
I installed it on stock KK rom and ended up with all labels and buttons mixed up.. i.e. the camera setting button (inside/outside cam) is the symbol for changing the order of the modes, etc.

Edit: Nevermind, for some reason the .odex rename didn't take the first time around.
[G2 Android Development] alienware231788:
can you give me a name of this programm

thank for your hard working bro.:)
[G2 Android Development] mistermidas:
So can anyone on Sprint ZVA confirm the 1.6 update, is working fine with no video issues or otherwise now? Just wanna make sure to avoid any problems in case i flash the fixed update, and then have more issues trying to downgrade again.
[G2 Android Development] faithraze:
Missed the correct step

Apparently, I am flashing this mod the wrong way. Now, I flashed the 1.6 dist file followed by the 1.6 quiet file. Kalas!!! Everything works fine. I am using Cloudyflex 1.4 on top of D80210E. For Flex roms with the camera focus not at the center, enable hide front button for the camera, it will bring the focus back to the center.

---------- Post added at 02:29 AM ---------- Previous post was at 02:23 AM ----------

Try to enable hide front button for camera. Should work in flex roms.
[G2 Android Development] jayochs:
i've tested every version he's ever created of this (including every single beta version that no other person has ever run) and i've never once gotten a bootloop.

as xdabebb said, grain of salt. most likely some sort of corrupted download, or user error.
[G2 Android Development] xdabbeb:
I've used ffmpeg before to change playback speed. I've found it does a good job and isn't simply dropping frames
[G2 Android Development] selune81:
Where is this setting man?

Ty for help
[G2 Android Development] faithraze:
Settings/Display/Front touch buttons/advance settings/hide front touch buttons

Then tick the camera, alternately you can use it in any of the apps in there. Then learn as you go.
[G2 Android Development] selune81:
Solved but in other way...

I solved it by changing the mpx.

at the start was set to 10Mpx.... I have putting to 13mpx.

the image on the screen has become smaller with black statusbar and navbar now, whereas before I had the screen completely transparent...

thanks anyway

p.s. anymore now I also at 10Mpx have the smaller screen ... it is fixed by itself!
[G2 Android Development] LegendM:
Amazing work!

Good job developer
[G2 Android Development] EdForce1:
Works really well on latest BlackPearl!
[G2 Android Development] apexcell:
I flashed 1.6 yesterday, works fine for me so far (ZVA/OpTimuS DE v2.2/Furnace 1.7.1), haven't noticed any issues.
[G2 Android Development] MrDarkKV:
Hey, just installed your mod. Great work! Though there is a slight problem with 120FPS recording.. It worked once, now when I switch to it, it's just a black screen.. Shall I get a logcat?

Don't worry.. I'm an idiot, forgot that higher FPS means more light is required.. Good work man! Keep it up. :good:
[G2 Android Development] AndroidInsanity:
delete
[G2 Android Development] AndroidInsanity:
I get a black screen when attempting to record in slow motion :S
[G2 Android Development] shriom_manerker:
you need a lot of light in order to record in slowmotion ! it will remain like that :) point to a light source and youll see it . slomo recordings are mostly for outdor purposes !

and ill get the logcat soon of the hdr video :)

edit- okay [MENTION=2941286]xdabbeb[/MENTION] i dont know what that weird pink/purple tint was. now im not having it anymore lol. it recorded the hdr video just fine . although when i first launched camera , went to video and switched to hdr video, it just showed black in on the screen with the camera ui. i got the logcat for that. so after relaunching video it ran just fine

started adb logcat,

launched camera

changed to video

selected hdr video

good lord , 1.2 mb txt file O.O

https://www.mediafire.com/?p0yo5olbxznnrp8
[G2 Android Development] woof123:
[MENTION=2941286]xdabbeb[/MENTION]

Ok i fixed my phone and gave it a go,the camera Fc on the korean F320S 4.4.2 KK version.Did anyone has it working on this one?( Art is not enabled)

https://www.dropbox.com/s/7opt5hr99ravvvv/logcat_and_device_info.zip
[G2 Android Development] skilovan:
Guys i installed 1.6 version on Pardus latest + stock mod kernel.I.god 1 600 iso in the pivture option but dont have 120fps in video?
[G2 Android Development] smederevoboy:
120fps in video iz only KK 3.2 version,not 1.6 ;)
[G2 Android Development] skilovan:
Thanks.I tought it´s for 4.2.2....:( Once again, thanks.:)
[G2 Android Development] GaYoung28:
How to fix this? Please help mee
[G2 Android Development] hrockh:
great app! thank you very much

I can't seem to find at what fps and bitrate the 4k is recorded.. The Note 3 with similar hardware (S. 800) can achieve 30 fps, so I'd expect the same.

FOUND IT :D

here a sample that is going around xda

https://mega.co.nz/#!PoJTnaqT!ojSP9_EMdeMe0x5m-qq-RtW-WrVdwRs6waq5tnqiHbw

30.717 fps

5mbyte/sec = 40mbit/sec
[G2 Android Development] fsi09:
At 1.6 in HDR mode the pictures are sometimes half colored and half black white.
[G2 Android Development] Schrotty35:
Mod working fine on my rooted D802 KK.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Carter07:
Does this mod also affects image quality of other camera apps?
[G2 Android Development] AndroidInsanity:
The bitrate isn't amazing for 4K. The note 3 records at an average of 47 mbit per second. Makes me wonder can you actually see a difference between 4k and 1080 when viewing on the phone??
[G2 Android Development] Hund:
When will you release it for AOSP? Are people even using stock firmware?
[G2 Android Development] mannequin:
i can confirm this. HDR is being applied to half of the picture only.
[G2 Android Development] MrDarkKV:
You wouldn't really see a difference when viewing on phone since our screen is only 1080p... Thus any 4k recorded video is then down sampled to 1080p...
[G2 Android Development] lemach:
Also here with 1.6...
[G2 Android Development] AndroidInsanity:
So I wouldn't know the increase in quality\detail?
[G2 Android Development] shriom_manerker:
you wont see any difference at all !, youll need a 4k enabled tv for it to play at its optimal resolution so that each pixel on the screen is occupied with each pixel from the video :)
[G2 Android Development] trickster2369:
I would be willing to bet nearly everyone in this thread is using stock firmware, given that's what this mod was intended for.

Thanks Devs. From my VZW G2.
[G2 Android Development] AndroidInsanity:
Anyone know a app I can use to slow down the 120fps video? Doesn't record in slow motion so I imagine something is needed to slow it down.
[G2 Android Development] Hid3rs:
Well, you can slow down (to 50%) it with the stock video app. Just start playing the video, hit menu button and you will see the option to set speed.
[G2 Android Development] AndroidInsanity:
I did that but I couldn't see a difference. :/ or there was very little
[G2 Android Development] MrDarkKV:
I use Adobe After Effects and the Twixtor plugin.. You can get pretty amazing results! It's miles better than any phone app.
[G2 Android Development] shriom_manerker:
vlc for android, o.25x speed works perfect :)
[G2 Android Development] AndroidInsanity:
I'll give it a try thank you
[G2 Android Development] xdabbeb:
Thanks for letting me know. Can you tell me which circumstances reliably reproduce the issue (low-light, outside, etc)? I haven't been able to make it happen, but I'm looking into it. I have an idea what it could be, but being able to repro it would help.

As this mod replaces system libraries and changes a couple of system-wide variables it will to some degree unless you always restore the stock files and comment out the lines in build.prop after using it. Many of the changes are in the apk as well, which would not affect other apps.

If you want to increase the bitrate you can do so by modifying the media_profiles.xml. It's just a plain text file so you can easily find the 4kuhd profile and modify it to your taste. If you're going to, you should also change the max bitrate for h264. Personally, I don't think it'll buy you anything other than bigger files and a full nand.
[G2 Android Development] lemach:
In my case, in low light or indoor
[G2 Android Development] Stigy:
Will this work on a G2 running an AOSP 4.4.2 ROM? Sorry if this has been answered already though.
[G2 Android Development] juliocesar55:
No mate. Only stock-based firmware.
[G2 Android Development] Stigy:
Hmm alright guess I need to wait for Verizon to release 4.4.x for this phone then because 120fps sounds amazing.

Thanks!
[G2 Android Development] abdel12345:
I'm waiting with you as well:D. I just want to try out the slow motion video. It's awesome to have
[G2 Android Development] juliocesar55:
Sure. I tried AOSP roms as well but was never satisfied due to the lack of options present in stock roms. LG did quite a decent job with the software package, one that is hard to beat. Fortunately, for those aspects in which stock is not the best option we have skillful developers to enhance our experience... [MENTION=2941286]xdabbeb[/MENTION] is an example!

You won't regret coming this way!
[G2 Android Development] xdabbeb:
OP updated with new version of KK mod. Just merged a few minor things from JB mod that hadn't transferred properly before.
[G2 Android Development] bigsnack:
Have you looked to see if its possible to have the two shot night mode(like the video I linked) implemented? Just wondering if it is at all possible.
[G2 Android Development] xdabbeb:
Do you mean the updated flash mode from the G Pro2? If so, then I've been working on it.

I've had a test version of the G Pro2 camera with that and Magic Focus since the system dump was posted last week. Adding the options to the apk was as easy (just another simple copy/paste in arrays.xml), but that doesn't make it work. I've got a few testers that have been working with me on those (and other) features, but if you or others would like to as well just send me a PM.
[G2 Android Development] AndroidInsanity:
So all the features on the JB MOD are also on the KK MOD? with addition to 120fps and 4K...
[G2 Android Development] NeoDJW:
Is there a way to make option when usb storage is connected to save captured pictures/videos to it ?
[G2 Android Development] rastigo:
I want clear sharper pictures with less blurr and noise. [MENTION=2941286]xdabbeb[/MENTION] which version should i flash for jb or stick to stock. Awaiting your response... Thanks for your help in advance
[G2 Android Development] woof123:
The new one works fine no problems here :) If you can make it silent tho,everything silent if possible like the other version.
[G2 Android Development] xdabbeb:
Correct. Unless I've forgotten something (again), all of the image quality tweaks and added features from the JB mod should be in the KK version now.

If you're on KK you have to use the 2.x version and if you're on JB you have to use the 1.x version. Both have added features and image quality improvements.

Ah, yes, the silent version. I'll put one up there eventually. I'm just making sure I got all of the JB changes in there first. Once that's settled I'll do the quiet one.
[G2 Android Development] mannequin:
happens to me in any scenario pretty much. took 10 hdr pics outdoors and they all have the effect split in the middle.
[G2 Android Development] xdabbeb:
Could one of you test something for me then? I haven't been able to reproduce it, so it makes tracking it down hard. Just send me a PM if you're able to.
[G2 Android Development] beezar:
If I want to change between versions of this mod, do I have to revert back to stock camera first in between each flashing of the mod? Thanks.
[G2 Android Development] adilsh:
i've tried the 2.0.5 version on my F320@Android 4.4.2(Korean Version of G2)

but i just get forced close when i open the camera app, is this not supporting the ART mode?

i've followed the instructions, thanks!
[G2 Android Development] woof123:
It doesnt work with ART enabled.

---------- Post added at 07:16 AM ---------- Previous post was at 07:14 AM ----------

Its not needed,just flash the mod you like.
[G2 Android Development] AndroidInsanity:
IT is pretty cool how your MOD records at 40 mbits per second and the G pro 2 only records at 30.

got hold of the media profiles.
[G2 Android Development] adilsh:
changed to dalvik mode and works, thanks so much!
[G2 Android Development] funnyboy027:
How to playback the video that recorded with slow motion mode
[G2 Android Development] -Jesco-:
[MENTION=2941286]xdabbeb[/MENTION] is it possible for a timelapse mode ? ive seen this in media_profile.xml . its settings for time lapse

<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="128000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>

<EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="320"
height="240"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>

<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="350000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>

<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>

<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>

<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>

<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
[G2 Android Development] AndroidInsanity:
Download VLC for android beta

select the video you filmed at 120fps and while its playing, it the 3 dot menu button and change play back speed to 0.25.
[G2 Android Development] mmeidl78:
That would be great! :)
[G2 Android Development] lemach:
I have been taking several hdr pics and i noticed that bug not always occurs...maybe it is more frecuent when there is several differents colours in the scene but as i have said not always occurs.

I can test [MENTION=2941286]xdabbeb[/MENTION] :):good:

Thanks for your efforts
[G2 Android Development] Jishnu Sur™:
[MENTION=4710962]-Jesco-[/MENTION]

Possible. Shouldnt be an issue. The Bitrate can also be set too 100MBPS on the snap800. But i'm not sure how much more than the G2 can take. Make a zip if you are on JB and flash it. Though i'm not very sure how of the quality does bitrate do on this phone.
[G2 Android Development] raghavan_nvr:
I notice it too.. maybe it is at very low shutter speeds !! 1/10s
[G2 Android Development] iqlogic:
120 fps @ 720p or 120 fps @ 1080p?
[G2 Android Development] Kuoi:
Working good on official KK rom

Just installed the 2.0.5 KK mod and it's working good on my rooted KK rom . THANKS !
[G2 Android Development] xdabbeb:
Well, that's just a text edit in media_profiles.xml. As I mentioned, you can try setting it higher if you'd like, but I don't believe you'll notice an improvement in quality. Just make sure you change it in both the places I mentioned and have a backup handy.

I generally recommend doing so as the files included in the mod has varied across versions. That said, they are the same between 1.5.0 and 1.6.0 so if you're just switching between them it shouldn't be necessary

It's certainly possible. I'll look into it

Oh, and I should have another test for you later today as well.
[G2 Android Development] shriom_manerker:
so i thought i'd play with some xml files and went ahead and changed all min 15 fps to 30 and sadly it bootlooped xD so had to go back to 4.2.2 all over again, its risky playing with such stuff when theres no recovery ;\ i hope ppl patch this ****ty bootloader soon
[G2 Android Development] xdabbeb:
:( Sorry to hear that, sir. Bad values in media_profiles can definitely cause bootloops, so caution is always advised...especially without a recovery.