yashsingh1/xdaforums huggingface dataset:
[G4 Themes and Apps] rifievans:
Yes there is! On page 20 of this thread, someone else posted this file (https://drive.google.com/file/d/0B-_A25cR0bQFZFZZcnhhczdpd3c/view) as a fix. To fix the menu first you'll need an app that can browse root files. Then follow these steps

Go to /system/etc then open the camkera_config.xml document

In the second block of code, under there will be 4 lines of code. Delete the one that says "mode_slow_motion". Make sure you also delete the space and comma after the "mode_dual_camera" otherwise the mode will still be broken.

Make sure you have the permissions set before you restart!
[G4 Themes and Apps] 3liminate:
Thanks For that it works! Also, the front facing camera on snapchat has far less lag then the rear facing? The rear seems like it's fps is slower?

Do you think this is just Snapchat's fault?

Cheers :D
[G4 Themes and Apps] rifievans:
Yea that's snapchat's fault. Their compassion algorithm used for Android is extremely bad. This is also why compared to Apple, Android's video is terrible and the pictures are bad, despite the fact that often Android's stock quality is better.
[G4 Themes and Apps] Kemby13:
I can't post sample pictures right now, but somehow i doubt that 100 in media_profiles.xml represents 100% picture quality. Why do i think that? Well, yesterday i did a simple experiment with my friend who owns a G4 too but his is completely stock (no root). Mine is of course rooted and i have 100 instead of stock settings set in my media_profiles.xml... We positioned both phones in the same way so they could capture the same scene under the same conditions... We repeated the test 3 times under different lighting. Every time after taking a picture we compared and repeated if it wasn't aligned well. I came to the conclusion that his pictures were always bigger in size when compared to mine. Rest of the settings were identicall (iso, resolution, shutter speed...). So, i believe that the setting has to do something with compression alghoritms. Just maybe 100 does not actually represent 100% quality but maybe 100% compression? In the meantime i will test this setting with some other numbers like 30 or 50... Someone pls correct me if i'm wrong.

Edit: i finished testing, tryed 20, 50, 70 and 99. After comparing images i can hardly notice any diference in detail beside

the diferent size of pictures. I find that 99 has the biggest picture size, but i can't really say it captures more detail or not.

I will inspect the images on my pc later today and report back...

Btw, i compared my media_profiles.xml with the one from LG V10, and there are some diferences, mostly in video

bitrate. But i noticed one other thing about "startOffsetMs" setting. V10 is set to 500ms and G4 to 800ms. I tryed

500ms and after rebooting i can see a noticeable diference in opening the camera app. It opens much faster now :)

Feel free to try it, i haven't had any problems so far... Please note that there are 2 "startOffsetMs settings!
[G4 Themes and Apps] Pfeffernuss:
Of course it represents the compression. The camera will always take the same picture now matter the value you set. A value of 100 means the least compression.

Editing the Raw images (using the advanced mode) by yourself will result in the best possible quality, although the in-build JPG engine does a pretty reasonable job, imho.

The sensor is very small (meybe not for a mobile phone but that's all relative of course) so we can't expect miracles anyway.
[G4 Themes and Apps] Kemby13:
I understand, but i just wanna say i get much larger pictures when quality is set to 99, not 100...

I'm not sure why that is, but i checked twice... Well, i guess i'll just leave it at 99 for now...
[G4 Themes and Apps] bender_007:
Can you measure quality 98 vs 99 vs 100 ? :)

Poslano sa mog LG-D855 koristeći Tapatalk
[G4 Themes and Apps] Kemby13:
There are hardly any differences in quality when looking the pictures on-screen, to my eyes at least...

But i can tell you there is a difference in size. I'll have to inspect the images on my 24" monitor

and than see if there are any noticeable differences...
[G4 Themes and Apps] bender_007:
Od course, it's called compression :)

99 to 100 is nothing. You van always Save raw :)

Poslano sa mog LG-D855 koristeći Tapatalk
[G4 Themes and Apps] ScarletSpeedster:
Lg g flex 2 60fps problem

Hi, im new here and i would like to know if there is any identical solution for my lg g flex 2 because it records 1080p @30fps right now and in the phone specs it says that it can record 1080p @60fps :/ I have already updated to android 5.1.1 and i dont know if it worked on previous android version :/ Can you please help me?
[G4 Themes and Apps] kabirjedi:
This LG G4topic!!!

No flash this stuff !!!
[G4 Themes and Apps] ScarletSpeedster:
So i use the same technique and the same files that lg g4 uses and i'll be alright? 1080p @60fps?
[G4 Themes and Apps] Pfeffernuss:
Make Nandroid. Try.

Works? Great, keep setup.

Doesn't work? Restore backup.

:good:
[G4 Themes and Apps] three-armsally:
Where do I copy the files, how do I set their permissions?
[G4 Themes and Apps] Kemby13:
0) install a root explorer from google play (i recommend Solid Explorer)

1) go into root/system/etc and make a backup of your original files (camera_config.xml and media_profiles.xml)

2) extract (unzip) the file you downloaded

3) copy 2 files from system/etc folder (which you extracted)

4) paste them into root/system/etc and overwrite the original files

5) go into properties of both files and check permissions (they need to be "rw-r-r" or "6-4-4")

6) after you verify the permissions, reboot
[G4 Themes and Apps] negeri:
reffering to camera_config file.

i saw there are also lower resolution for video recording. but why does it not appear in the video camera option? only HD FHD UHD appear on the option.
[G4 Themes and Apps] Kemby13:
You really want to record low-res video, lower than 720p? I really don't see the point, i believe we are far past that time if you ask me...

The real question is why LG didn't include changing of photo resolution, not that it bothers me - but i see some people complain about that...

The only way to change photo resolution is to change the aspect ratio, it goes like this:

16:9 = 16Mp

4:3 = 12Mp

1:1 = 9Mp
[G4 Themes and Apps] negeri:
nope. i'm talking about video. 480p is still acceptable for me.

as for photo. i managed to changed the camera_config for a lower camera resolution. for photo now i have 16:9 = 16mp, 4:3 = 3.1mp, 16:9 = 2.1mp. I dont want all my photo turn out to have 3-5mb in size. 2.1mp is good enough for me for shooting bunch of photo for works.

thanks to this thread for the inspiration.
[G4 Themes and Apps] Kemby13:
Lol, that's a bit funny to me, especially when you have a phone camera that was made to shoot in 16Mp (16:9) and a msd-card slot for cheap storage...

But nevermind me, you just keep on doing what you like - it's your phone... ;)
[G4 Themes and Apps] negeri:
my bad :o
[G4 Themes and Apps] rickywingkei:
snapchat front facing camera cant record video after installing this mod

changed back to stock eventually
[G4 Themes and Apps] Kemby13:
I am on stock too because of some glitches...

I just manually tweaked bitrates and image quality.
[G4 Themes and Apps] rifievans:
What glitches were you experiencing?

On page twenty of this thread someone posted updated files that fixes that problem. Here is the link to the files. https://drive.google.com/file/d/0B-_A25cR0bQFZFZZcnhhczdpd3c/view
[G4 Themes and Apps] scabbie1980:
Have anyone tried this with AT&T G4, Flashing it with flashfire?
[G4 Themes and Apps] Kemby13:
Just some minor stuff like camera app crashing every once in a while, weird 4:3 screen ratio while recording slow-mo and so on...
[G4 Themes and Apps] ferrouskid:
I don't see why you need to flash it- just replace the files with the correct permissions, as Kemby13 instructs to on page 36 of the thread. I just did it- it works and is awesome!

Thanks a lot to Kemby13 for the instructions and Pfeffernuss for the MOD!
[G4 Themes and Apps] shurensly95:
Sorry if this is not allowed but which of those camera mods is the best to use? I see bitrate is higher on some but what difference does it make? I checked the examples but dun see any difference
[G4 Themes and Apps] Kemby13:
There is no best option, that depends on your needs... Note that higher the bitrate - you get higher quality video - but also it uses more space on your device (or sd card). If you are not sure what mod to install, try the one with 48Mbit - i find it good enough for my needs...
[G4 Themes and Apps] michael08071984:
Works with Android 6 v20a
[G4 Themes and Apps] aminovic1300:
please , i have h818p , i flashed a zip file with flahfire , but the camera recording it's dark when i select 60fps , do you have a same problem , please help , thank you
[G4 Themes and Apps] bugsam:
will this work in s4?
[G4 Themes and Apps] Dracoony:
No.
[G4 Themes and Apps] aminovic1300:
darker camera

please , i have h818p , i flashed a zip file with flahfire , but the camera recording it's dark when i select 60fps , do you have a same problem , please help , thank you
[G4 Themes and Apps] rifievans:
That will happen. Because the fps is higher it will require more light. Think of it like the shutter speed on our cameras. The faster you set the shutter speed, the darker the picture gets, but the more motion you freeze.
[G4 Themes and Apps] aminovic1300:
thank's , i have an other g4 h 815 , and its work fine , no dark video , but in h 818 it's dark , the 815 and 818 it is not same hardware ?
[G4 Themes and Apps] 5nickers:
I have a 818 and can't reproduce your problem. Did you test in the same scene with both phones?
[G4 Themes and Apps] aminovic1300:
do you have flash a zip and you have a black camera ?
[G4 Themes and Apps] aminovic1300:
yes i have two g4 , h815 and h818 , the h815 it's work fine but h 818 it's dark , i don't now if it's for all h818 or just mine ,
[G4 Themes and Apps] Croize:
maybe get a option to film in 24 fps ? For the cinematic effect aswell ? Thank you ^^
[G4 Themes and Apps] petermg:
I don't know if there is a way to "fix" this, that is, I don't know if something else needs to be added to the two modified files, or if it's a hardware limitation of 60fps, but when I'm shooting full HD at 60fps and take a picture, the resolution of the image is only 1080p, whereas if I'm shooting full HD at 30fps and take a picture, it's at the full 16 megapixels.
[G4 Themes and Apps] jaron7_11:
Is there any way to get manual control on the front cam
[G4 Themes and Apps] skyline72:
Modded it using this method and it works.

Am on H815 SEA V10D.
[G4 Themes and Apps] llaugerm:
With this mod you we loose the capability to take pictures while we are recording a video.
[G4 Themes and Apps] *justintime*:
But you have to give up the slomo function, I see?
[G4 Themes and Apps] Pfeffernuss:
Here some quick 'n dirty through a window test videos without any interesting content :silly:

FullHD 30fps (36MB file)

FullHD 60fps (48MB file)

UHD 56Mbps (103MB file)

:cool:
[G4 Themes and Apps] *justintime*:
But in the OP there is another Screenshot?

Is the menu scrolling now?
[G4 Themes and Apps] Pfeffernuss:
There can only fit 4 video options on the screen at once because...

...yup! :good:
[G4 Themes and Apps] flex0r:
First of all thanks for the great MOD.

But I tried JPG at 100% in the past and that creates such a high file size that I'd love for the MOD to be able to set this by hand, or maybe you could make a version that doesn't touch pictures (at all). Hope you could think about it (see you at GoT!)
[G4 Themes and Apps] Pfeffernuss:
File for 1080p 60fps at 30Mbps, UHD at 40Mbps, photo's untouched here :good:
[G4 Themes and Apps] jeswinjv:
Supports all handsets in about 240 dpi?

via XDA Premium
[G4 Themes and Apps] tourbound129:
Can't wait for Root on Sprint to try this. OneDrive says i have 10TB+ of space available, love to throw some UHD vids up.
[G4 Themes and Apps] Pfeffernuss:
No.
[G4 Themes and Apps] jeswinjv:
Nice for mobile capturing

via XDA Premium
[G4 Themes and Apps] Cezar725:
nice1
[G4 Themes and Apps] bleuxeon:
[MENTION=1867148]Pfeffernuss[/MENTION]

Before settings the JPEG quality to 100, did you noticed what was the LG's value?

Thanks
[G4 Themes and Apps] Pfeffernuss:
There were three values in the xml: 95, 80, 70.

https://www.dropbox.com/s/lysbwt7fd4hg68s/Screenshot_2015-06-15-00-46-45.png?dl=0
[G4 Themes and Apps] bleuxeon:
whaooo 70% was used for the highest photo definition that's it? :cyclops:

That was kind of heavy compression. Thanks we now have 100% quality.

EDIT : I forget to ask : did you figure out when post processing was made to the photo before it was saved?

It could be a nice option to completly disable image post processing fot hoose who prefer to do it manualy later (Photoshop etc...)
[G4 Themes and Apps] Pfeffernuss:
To be honest I have no idea what those three individual numbers mean :) In the zip there all set to 100, indeed. Whether that makes a lot of difference: again, no idea, haven't made a scientific test (yet) :p
[G4 Themes and Apps] bleuxeon:
I guess thoose 3 numbers are the JPG quality for different picture size (in pixel).

Lower definition shots may have better JPG quality that higher definition shots.
[G4 Themes and Apps] GinFab:
thanx for sharing=)
[G4 Themes and Apps] Jess Moore:
it's nice. Thanks so much!!
[G4 Themes and Apps] LeTraKeuR:
Hello all,

Do you know if it s possible to have sound with slow motion app or a playstore app??

Thanks
[G4 Themes and Apps] Aragonion:
Is the intern 32gb storage fast enough for 4k@60 Frame recording ?

Same Traffic as 1080P240 and 720P960 if we watch realy slowmotion.

I see more the problem if we record long at 2 gb arround then per minute, storage not big enough for realy long recording and the sd card is not fast enough (think it need 30 better 60 mb/s for that), thats need an art on fly splitting then in software (record to fast internal and put the file paralel to sd ore thats part that is filmed and put it at end together on sd and delet the recording part on internal storage if it goes full paralel ..... ).
[G4 Themes and Apps] Pfeffernuss:
Not here. Works just like it should :good:
[G4 Themes and Apps] llaugerm:
Do you mean that you have the button? Which of the Mods are you using. I'm using the last one the 64.
[G4 Themes and Apps] Pfeffernuss:
Yes, button is there, using the 48mbit file.
[G4 Themes and Apps] llaugerm:
I guess I'll switch back to that one. Thank you
[G4 Themes and Apps] Pfeffernuss:
No idea if it works properly on any phone and any firmware though...

Can only speak for the build specified in the signature ;)
[G4 Themes and Apps] llaugerm:
Then something has been screwed up. I reverted back to the stock camera and still no camera button. :confused: I found the problem. If you are using the UHD mode the button will disappeared. If you change it to the FHD the button appears.
[G4 Themes and Apps] 012512:
Oh no... Will this work on H818N dual sim variant?? Hmmm
[G4 Themes and Apps] Vantanabanana:
On my lg g4 h815 it work awesome. No Problems and the Foto quality is realy amazing. No washy artefacts wen i zoom in a picture.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Themes and Apps] LudicrousPeed:
Appreciate the heads-up on how long it takes. I was expecting 5 minutes but apparently Flashfire has to jump through more hoops.
[G4 Themes and Apps] Vantanabanana:
With twrp it worked in like 5 sec. on bootloader unlocked lg g4.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Themes and Apps] Darudakos:
Does this works in Marshmallow guys??
[G4 Themes and Apps] Vantanabanana:
Im not sure. But i dont think so. Because the apps for the blackberry Run also on 5.1

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Themes and Apps] 012512:
installed the tweak and the result was awesome.
[G4 Themes and Apps] Kjury2:
Awesome

Working on verizon rooted lg g4
[G4 Themes and Apps] JackDL:
Camera is crashing on Marshmallow. H815

Would be nice to have.
[G4 Themes and Apps] BESS667:
Alright guys i have solved the mistery.

THE IMAGE QUALITY ACTUALLY DECREASES WITH THIS MOD . Im not sure about the Video quality but yeah.

Here is the test i made. I took 3 photos of the same thing at the same distance and then i made a full Zoom to see just how much detail and information was the camera capturing.

Here are the results.

100% in the Image quality according to the mod at full zoom.

[IMG="100% QUALITY"]http://i.imgur.com/CeeBMeD.png[/IMG]

Now i changed my settings like other users have suggested, because as someone else said, if put the Quality settings at 99% the files are bigger, even bigger than stock, which is weird but i tested anyways and here are the results.

[IMG="99%"]http://i.imgur.com/bIUKVyk.png[/IMG]

Here is a sample of the same photo in DNG RAW which is bigger but looks even better because of the lack of compression.

[IMG="raw photo"]http://i.imgur.com/a2EP4H1.png[/IMG]

As i though the quality in the photos with the mod is lacking, couldn't test with the stock settings but some other user was saying that the Stock settings produce bigger files wich in return would produce better photos as we see here.

I recommended to everyone here to change the quality to 99 or just take the photos in raw.
[G4 Themes and Apps] 012512:
How can I change the image quality?

I remembered before when Nokia N8 was out. There is also a mod that increases the image quality, 75 to 100%. Some people prefer 95% (as the best) quality because 100% quality is nonsense according to them.

Edit: found out where to edit the scipts.. Like I thought, 95% is already enough..

Additional info guys,

So this is the reason why LG did not included to this device from video recording of 1080p @ 60 fps. Haven't you guys noticed a darker side when recording a video with 60 fps? I mean if you face the phone horizontal placing the camerA on your left, you will see a darker part of the screen on the right side.

Shooting at 30 fps doesn't show uneven light.
[G4 Themes and Apps] rifievans:
Where did you find this? I searched through camera_config.xml and media_profiles.xml and I couldn't find it.
[G4 Themes and Apps] BESS667:
I haven't experienced that problem, recording at 30 or 60 fps shows the same white balance and exposition all around.
[G4 Themes and Apps] 012512:
It is i n media profiles.xml. scroll down a little bit and you will see it.

No darker side like in my screenshot attached on my post? How did you?
[G4 Themes and Apps] rifievans:
Is it in the middle of my screenshot?

Edit: at line 42
[G4 Themes and Apps] chococomaxim:
My media_profiles.xml doesn't look like the what OP screenshot http://xdaforums.com/showthread.php?p=61349027

I cannot find the image quality settings either.
[G4 Themes and Apps] 012512:
Look at my screenshot
[G4 Themes and Apps] chococomaxim:
What are you using to edit the xml? I can only see up to line 265
[G4 Themes and Apps] rifievans:
Found it thanks! May I ask why they are set to three different values? Also, what file editor do you use?
[G4 Themes and Apps] 012512:
Try using/editing with mixplorer

---------- Post added at 12:04 AM ---------- Previous post was at 12:01 AM ----------

How come your phone still has the same white balance and exposure at 60fps while mine is not even.
[G4 Themes and Apps] BESS667:
Nope, everything looks the same, then again i was using the 60fps 56mbit file.
[G4 Themes and Apps] 012512:
Tried 56mbit file.. Still uneven lighting issues. Maybe this is already a hardware problem.

But if I record under the sunlight, you won't notice that uneven light

Still getting uneven results
[G4 Themes and Apps] BESS667:
Maybe, you could try a factory reset though but see, even with Artificial Light everything looks pretty gud and even (You have to remember that the phone focus the light in the middle though)

If the OP doesn't appear in a week i will maybe do a thread to warn other users about this and share my config files.
[G4 Themes and Apps] 012512:
Well look at my screenshot. I took it while recording at 60 fps. The bag looks more gray than the center. Have a thorough look...

Edit: could you guys do a record at 60 fps and screenshot while recording?
[G4 Themes and Apps] BESS667:
Weird, must be because of the white balance constantly working. Can you notice this behavior while watching the video in motion or does it occur only on stills?

Does affect the Camera photos too?

Personally i wouldn't mind something like this though, you should try another G4 and see if it happens there too.
[G4 Themes and Apps] 012512:
No. It doesn't occur on still photos.. Only when recording @ 60 fps... 30 fps looks fine.
[G4 Themes and Apps] fabietto081086:
Hi guys this mod are compatible with stock marshmallow?
[G4 Themes and Apps] petermg:
It happens on mine too! It's akin to a vignette effect almost. It doesn't seem to appear on the 30fps recording however. I took a screenshot recording at each frame rate. See attached photos.
[G4 Themes and Apps] 012512:
I told you... It is good that I am not the only one...
[G4 Themes and Apps] skyline72:
May I ask, why the three different values?
[G4 Themes and Apps] 012512:
Three different values depending on your choice. You can only set it to 95 or 98 or 99 so the system cannot randomly generate the image quality either of the three values.
[G4 Themes and Apps] skyline72:
After reading through, I guess 99 is the best right?
[G4 Themes and Apps] 012512:
See the difference between 99 and 95.
[G4 Themes and Apps] perun:
It is working on 6.0?
[G4 Themes and Apps] skyline72:
Where ?
[G4 Themes and Apps] chococomaxim:
media_profiles.xml
[G4 Themes and Apps] skyline72:
I mean the difference.
[G4 Themes and Apps] edwward654:
unfortunately mod does not work on marsmallow
[G4 Themes and Apps] 012512:
Test it by yourself. Maybe you will find the quality you want.
[G4 Themes and Apps] Follow_and_Feel:
Really? Can somebody else confirm it please? I'm on 6.0 and would love to see it on my G4 :)

Did you try flashing it yourself?
[G4 Themes and Apps] davebugyi:
It is based on the 5.1.1 software and needs adjustment to 6.0 changes.

EDIT: Apparently the .zip package works.
[G4 Themes and Apps] Nadeox1:
^ What? I'm running 6.0 and it works fine. I'm using this Kernel: http://xdaforums.com/g4/development/repack-kernel-root-android-6-0-t3232387

It happears it revert the camera to the older version (Older version have slow-motion mode grouped in the 'Gear Icon > 16:9 part' and slowmotion in there saves a 120FPS/realtime video, newer has it under Mode, where you can choose panoramic, double, etc and slowmotion videos are saved at slowed down speed already, not in 120FPS/realtime).

Really awesome mod.

Here's a comparison shot with similar settings. Click on the thumbnail to open the original version

60FPS video are also awesome, but I tried to open one of them in WMP, and it looks like 30FPS, while in VLC it runs at 60FPS. Sony Vegas also seems to have trouble importing those videos, it just shows the audio track.

Here's a short video aswell: http://www.gfycat.com/VainLazyKestrel
[G4 Themes and Apps] edwward654:
I tried overwriting both xml files with xml files from zips - this method worked on 5.1 but apparently did not work on 6.0. But I tried to flash zip with the mod in twrp and it works now! Thanks for this mod. And I´m sorry for this misinformation.
[G4 Themes and Apps] Hoffmanns:
Ok ok, Im on 20b version ☺can I flash this mod by TWRP? SAFELY? ?

Everything will working fine? Thank you for reply ?
[G4 Themes and Apps] Follow_and_Feel:
I can confirm working on android 6.0! Just flash via TWRP and you should be good to go :)

---------- Post added at 10:30 PM ---------- Previous post was at 10:14 PM ----------

Yes you can. I'm on 20B too and it works just like it should. But it's always better to have a recent TWRP backup, just in case. But it should work :)
[G4 Themes and Apps] 012512:
Did you experience a vignette effect at 60 fps? Apparently you had on the sample video.
[G4 Themes and Apps] Nadeox1:
I'm not noticing it? It was probably the monitor light giving that effect when I shot over the keyboard?
[G4 Themes and Apps] 012512:
Maybe you should look my post on page 42..

---------- Post added at 04:26 PM ---------- Previous post was at 04:25 PM ----------

Maybe you should look my post on page 42.