yashsingh1/xdaforums huggingface dataset:
[G4 Themes and Apps] wigglitz:
Sorry for taking almost a month to reply. I have been rooting and installing custom ROMs on my phones for years. For some reason I am struggling with terminology and finding information for this phone. I hope I am not bugging you if I might ask a few questions?

I am not sure what v10D/C is reffering to. Would this be the latest camera app build? Or would it be my actual phone build? If it is the phone, might there be a specific way to update the phone and keep/or restore root access? I did not want to attempt any OTA updates without making sure I know the correct process for keeping root.

I own the LGLS991 Sprint variant. The only (relevant) information I can find is:

My Hardware version=Rev1.0

Build Number=LMY47D

Software Version=LS991ZV5

A long baseband version

Sorry again to be asking these questions. I would just love if I could get my camera working properly again. Thank you for any response in advance.
[G4 Themes and Apps] johansson:
edit: done some editing to get slow-mo back
[G4 Themes and Apps] Dennisg34:
Just a couple questions. This fixes the Snapchat issues? I assume it's the "camera_config.xml"? Does this work for Verizon? Do you just move with Root Explorer orrr..? Thanks in advance!
[G4 Themes and Apps] s4vva:
Can you share please?
[G4 Themes and Apps] johansson:
Actually, you can do it by yourself :) Just open the camera_config.xml

loot for those lines

<item name="mode_rear_supported">

mode_normal,

mode_panorama,

mode_dual_camera

and add mode_slow_motion (don't forget the , after dual_camera) like this ->

<item name="mode_rear_supported">

mode_normal,

mode_panorama,

mode_dual_camera,

mode_slow_motion

and VOILA!!

lemme know if it worked for you too, it did for me :p
[G4 Themes and Apps] rifievans:
Yea this works with Verizon and I moved both camera_config and media_profiles. Be cautioned however that I have broken the "mode" button on the back camera. Aka I can't take panoramas anymore. I don't know if it's a problem with this file or the original 60fps mod or if I did something my self

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

I'm on Verizon and I have broken then mode button on my back camera. Whenever I click it, the camera app crashes... Any advice?
[G4 Themes and Apps] Dennisg34:
It must be this profile as it still works on the 60fps one. Where do I move to again? Drawing a blank here

Sent from my G4 using your mom
[G4 Themes and Apps] rifievans:
I fixed it by manually editing the camera_config.xml. And you move the files like this

System>etc>(name of xml)

Remember to set the permissions correctly!

Also to fix the mode button you have to edit the camera_config.xml document. The second block of code will describe what options are available under mode. If you delete the "mode_slow_motion" and make sure there is no comma or spaces after "mode_dual_camera" it will work. Make sure you're editing the rear camera!
[G4 Themes and Apps] mihaitaiosub:
Hi,your instructions were very helpful, everything works.Thank you very much.Please tell me how I can make camera to operate when battery capacity is below 5%.That would be very useful indeed.
[G4 Themes and Apps] rifievans:
Does anybody know what xml file contains the time limit for 4k video? Also, what software would I use to be able to compile xml files on my computer? Thanks!
[G4 Themes and Apps] Dennisg34:
I actually found the fix for this. In the camera_config the "mode_slow_motion" is off:

ex it looked like: (see attached)

For some reason I couldn't line up the "mode_slow_motion" to be exact with the rest of them so I just deleted it. Snapchat works and so does Mode now!

EDIT: I tried to add the slow mode in between the other modes and it still crashed so as long as you can live without slowmo then you can have 3rd party apps and working mode!
[G4 Themes and Apps] johansson:
I don't have a clue... but I'll see what I can do :p

---------- Post added at 12:16 PM ---------- Previous post was at 12:14 PM ----------

Hum.. did ya mess with the camera_config.xml??
[G4 Themes and Apps] rifievans:
To answer both of you, yes I did mess with the camera_config.xml. And after going through that and comparing it to the stock xml O decided to try deleting the "mode_slow_motion" and it worked! Thanks for the replies anyways!
[G4 Themes and Apps] Jonny93:
4k @ 128mbps & 1080p @ 60mbps

I just made a 128mbps @ 4K and 60mbps @ FHD small mod. If anyone is interested then I will post the file for you, just let me know.
[G4 Themes and Apps] lasha117:
if i want to increase photo quality i must flash 60 fps camera mod + 64Mbit UHD this file?
[G4 Themes and Apps] Jonny93:
No, u can just have the photo quality increased without messing with the video. If u can't do it yourself i can mod the file for you and upload it if u want.
[G4 Themes and Apps] rifievans:
Would anybody be interested in an in-depth explanation of the manual mode? Someone else asked on reddit and I thought maybe someone on here would also be wondering. If so, just let me know and I'll copy and paste it over here!
[G4 Themes and Apps] lasha117:
that would be good :) i want to increase photo quality :)
[G4 Themes and Apps] tulio25:
I'm interested

I'm interested,thanks in advance

P.S. Is this mod with 60fps? and how to increase picture quality?Thank you!
[G4 Themes and Apps] vegetaleb:
Did you set jpeg compression to 0 (100% quality)? I couldn't see a difference in image weight, I am still getting 5-6mb per photo
[G4 Themes and Apps] Jonny93:
So you don't want higher bitrate or 60fps for videos? Just 100% photo quality?

---------- Post added at 03:39 AM ---------- Previous post was at 03:34 AM ----------

I can post the file for you tomorrow morning, but u should know that at 128mbps bitrate when recording 4K video, a 1 minute video will take up 1GB in storage space, and I don't know if there is a noticeable difference in quality between 64 and 128. About the 100% picture quality and 60fps at 1080p, yes they're both in the same file.
[G4 Themes and Apps] lasha117:
yes i just want to increase photo quality. tag me when you post it please
[G4 Themes and Apps] Tadziunia:
How to install it ? I need to have root and twrp that's right ? and what i need to do to install this mod on my LG G4 ? i know i need to go to twrp what's need to be done ?
[G4 Themes and Apps] Jonny93:
Here is the link to the file, you can flash the whole thing or just replace "media_profiles.xml" located in system/etc with the one in the zip file, it's up to you.

Note: remove the spaces between the words in the link, i did this because i'm not allowed to post links until i have 10 posts, but i'm getting there :)

Link: https:// drive .google. com/file/d/0B6YHb397Q3mcSV9kTmNTMUg2cW8/view?usp=sharing
[G4 Themes and Apps] AvivEliyahu:
Is it only better camera "quality" and an option to 60fps? (4k stuff isn't my favorite video option but in case I'll use it I don't want it to be 1gb for a minute of capturing)
[G4 Themes and Apps] lasha117:
thank you . one question it can damage something or will it work perfect?
[G4 Themes and Apps] Jonny93:
No it shouldn't do any harm to your phone, but it might take longer for the camera shutter to take the picture because of the higher quality so it might need a second or so more to for the picture to be taken but it will have better quality than if it was 70% (original). This is just what I experience and i'm only using 4 cores out the 6 in the processor so it could be the reason its taking a little longer.

This file contains only 100% picture quality without 60fps or 4K @ 128mbps. If u want that I can upload it as a separate file. If you don't want a video file to be 1GB per minute for 4K videos then simply use the 64mbps mod in this thread or keep the original :)
[G4 Themes and Apps] AvivEliyahu:
I just want an option to 60 fps (also the normal 30 fps) and 100% photo quality. Without touches in the 4k

Edit :

The mod is with version c which had different ui (slow-motion in other category etc..) so I'll be glad to have one of the newer versions
[G4 Themes and Apps] Jonny93:
Having Slow motion in the "mode" tab crashes the app for me so i have it in the tab where I choose the resolution of the video. I don't know if your version is different but if it's the same as me, then the app will crash if you choose to have the slow-motion mode in the "mode" tab, otherwise, I can put it there for u if u have it this way right now.
[G4 Themes and Apps] AvivEliyahu:
I have the v10h (Israel). Maybe I'll send you my files and you'll edit them so it will fit perfectly?
[G4 Themes and Apps] Jonny93:
Yes that would be great. I'm assuming u are rooted and everything as well. I will most likely only need the file "media_profiles.xml" from system/etc folder.
[G4 Themes and Apps] m.mcrespo:
hi the quality slow motion in g4 are very bad for me, have any thing what we can do for make this better? sorry for my bad English.

Enviado de meu LG-H818 usando Tapatalk
[G4 Themes and Apps] AvivEliyahu:
https://drive.google.com/file/d/0B6AIigP7AZOPSVNVQTNfWVRHNDA/view?usp=docslist_api

There you go, thanks a lot!
[G4 Themes and Apps] lasha117:
ok. thanks for help :)
[G4 Themes and Apps] ashtreylil:
please edit the xml to give us ultra slo-mo i would if i knew what to change, there are so many framerate tags in the media profiles though.

edit: from reading the whole thread it seems this has been tried :/ dont know if it was tried with low definitions though.
[G4 Themes and Apps] Jonny93:
This will most definitely result in a very blurry and bad quality video and I dont even think its worth a try tbh looking at the quality of the 120fps videos at 720p.

---------- Post added at 01:31 PM ---------- Previous post was at 01:18 PM ----------

Here's the file with 60fps @ 1080p and 40mbps + 100% photo quality. All the other settings are the same. Tell me if it works :)

https://drive.google.com/file/d/0B6YHb397Q3mcaEw5dzEwc0RVcEE/view
[G4 Themes and Apps] AvivEliyahu:
Works great, but however, there's no option to change fps 30/60 (like the original mod has) it's only 60fps (some vids I prefer to take at 30 and some at 60)

Slow motion NOT bricked and so does taking vids /pics in both cams in other apps like snaochat etc..
[G4 Themes and Apps] AndroidHabit:
I am interested in your mods, I would like to have one with the most benefits like the highest FPS, bitrate, pictures quality and any other mods that can be applied .

I don't really worry about space since I have a 128GB card.

I already installed the 64mbps mods but want more.
[G4 Themes and Apps] Kemby13:
I have a few questions before i flash this mod. If it was mentioned before i am srry, but i coulden't find any answers.

Is there any way to flash this other than through TWRP recovery, i don't wanna unlock my bootloader just yet...

At first I would be happy with just higher image quality, so i downloaded the .zip you uploaded a few pages back

for another member... But i wonder if my images will be too large at 100%, so my question is: could i somehow change

something inside the .xml file to get let's say 80 or 90% of quality or maybe revert to stock if i wish to do so but without TWRP?

I hope you understand...
[G4 Themes and Apps] Pfeffernuss:
With root you can simply copy the xml's to /system.
[G4 Themes and Apps] DsturbD:
---DOH ninja'd :) i wasnt fast enough--

just extract the xml files from the zip and copy them to your phone, then using a root file browser (like ES File Explorer or Root Explorer) navigate to /system/etc and make backups of the same 2 files and save them somewhere off your phone, then just copy the 2 modded files to the same place, change their file permissions to rw-r--r-- (0644) and reboot

as for editing them, i'm not sure where those values are, but i dont think 100% quality makes them that much larger. they are already going to be much bigger with these mods installed anyways
[G4 Themes and Apps] Kemby13:
I just did that.. I made a backup of the originals too, just in case. But what about flashing the whole .zip

without TWRP? Is that possible with Flashify maybe or something like that?
[G4 Themes and Apps] m.mcrespo:
I changed here with es Explorer and perfect.

Enviado de meu LG-H818 usando Tapatalk
[G4 Themes and Apps] DsturbD:
you should be able to use that, but it only does the same thing you just did manually, nothing more
[G4 Themes and Apps] tyfoxx:
Yes.... Now rooted and ready
[G4 Themes and Apps] Jonny93:
The 64mbps mod has the best benefits in my opinion. I can mod the fps and bitrate for you if you want but u will most likely be disappointed with the results and quality at the higher FPS but higher bitrate for 4K might be something you would like? I have a file ready which has 128mbps @ 4K and 60mbps for 1080p at both 30 and 60fps as well as 100% picture quality. Let me know if you are interested in it.

---------- Post added at 01:09 AM ---------- Previous post was at 01:06 AM ----------

Sorry i missed the camera_config.xml file which should also be replaced. here's the link for it: https://drive.google.com/file/d/0B6YHb397Q3mcLTU0bjRTWmktQW8/

And u meant that all third party aps are working properly as well? If so then just replace camera_config.xml with the one in the link above and u should get the option to choose between 30 and 60 in the camera app :)
[G4 Themes and Apps] AndroidHabit:
Thanks for the fast reply, ok so I have the 64Mbit UHD right now so the file you have is the same but with higher 4k bitrate?

Can we increase the bitrate to 64 like the one I downloaded or even higher?

I just want it set to take the best pictures the camera can and record the best it can in 720, 1080 and 4K.

I don't care about storage space.

Also the dual camera function doesn't work on my H815 with 10c. It just crashed the camera app.

There will still be the option for slow motion right? Would slow mo benefit from higher FPS? The highest it can take.
[G4 Themes and Apps] rifievans:
Would anybody know how to remove the 5 minute time limit for UHD videos? Also eliminate the minimum battery percentage needed to run the camera? I'm trying to find it and looked through both camera_config.xml and media_profiles.xml and I can't seem to find it
[G4 Themes and Apps] Jonny93:
The highest watchable that isnt crazy blurry is 120fps at 720p, 240fps has been tried but it gives very bad results. The file that I have has higher bitrate for both FHD (60mbps instead of 40) & 4K (128mbps) but I'm still not sure if the quality of the videos are any better than the one with 64MBPS I havent compared them closely.

I don't know how to remove the time limit for 4K but I can take a look at the parameters later and see if it's possible. U should find the code for battery percentage at the end of "camera_config.xml" if u can't then just download the one I linked above and replace the one u have with it if u have the 60fps mod for the camera.
[G4 Themes and Apps] AndroidHabit:
Ok 120fps [MENTION=4773854]720[/MENTION] sounds good but if it still looks good at 200fps then I want that.

The rest sounds good, maybe possible to switch 4k bitrate and the idea of disabling the time limit and battery limit.
[G4 Themes and Apps] Jonny93:
Im going to look into the time limit and the 200fps at 720p and see if i can get good results then ill post about it later today or tomorrow.
[G4 Themes and Apps] AvivEliyahu:
Thanks Johnny it worked, one question - what does the higher bit rate gives me? Better sound or quality? I don't understand it that much.
[G4 Themes and Apps] Kemby13:
Higher bitrate means higher quality in both video and aoudio... Best example is when you download an .mp3 song

and put it on a cd or usb stick so you can listen it in your car. Try to listen and compare the same song with 128Kbps

bitrate with the one that has 320Kbps.. You will definitely notice the diference.
[G4 Themes and Apps] AvivEliyahu:
So what's the best recommend for both quality & file size for fhd videos?
[G4 Themes and Apps] rifievans:
All I can find at the bottom of "camera_config.xml" is the battery level at which the flash is disabled.
[G4 Themes and Apps] Jonny93:
I might have misunderstood that line, sorry. I wonder if we are able to add a new parameter to specify the minimum amount of battery at which the camera app works but if so then i dont know what it could be exactly. Otherwise, it might require a bit more modding by twweaking other files.
[G4 Themes and Apps] M7mdA7md7sein:
Thanks for your great work :))

Can I use this mod with the 818P variant running V10d ??
[G4 Themes and Apps] rifievans:
This will work with any variant. It's only changing the camera_config.xml file and media_profiles.xml file, not any operations
[G4 Themes and Apps] Kemby13:
Can we expect a boosted slow-mo video quality in the future?

I'm hoping for a higher bitrate, similar to what Xcam for G3/G2 offers...
[G4 Themes and Apps] voorhees13:
Installed the mod and working great,thx ;)
[G4 Themes and Apps] rirozizo:
woops! forgot to tell you that you're on XDA-TV

https://youtu.be/dQQt9VnMV6M

feel free to add the video to your OP :)

Have Fun!
[G4 Themes and Apps] deadirony:
Is this can be flashed with FlashFire? Because H815TR variant can't be unlocked for now.
[G4 Themes and Apps] AvivEliyahu:
Yes. But I'd recommend to extract the file from the zip and manually place it in the right path and set the right permissions
[G4 Themes and Apps] deadirony:
After root, I'll definitely give this a shot! %100 picture quality and 64Mbit 4K is included in the OP post right?
[G4 Themes and Apps] AvivEliyahu:
Yep, all the mods are working. The more bitrate means it will take more space.. But we have SD card place so no issue [emoji14]
[G4 Themes and Apps] drago10029:
wish I had a G4 that camera is cool, but I can't get used to these big gargantuan phones :/
[G4 Themes and Apps] Nima79:
hey

dose it work on 818p ? with flashfire ?

ps : i think yes !
[G4 Themes and Apps] gkaz24:
Flashed the 60fps 1080p mod with flashfire on my Verizon model! Works great thanks so much! Entire process took about 20 minutes
[G4 Themes and Apps] Juzman:
So I tested this mod, and can see UHD, FHD60, FHD, HD, but not HD120 even though I have 1280x720@120 in the camera_config.xml file.

Anyone else notice this?
[G4 Themes and Apps] oldtu:
it's nice. Thanks so much!!
[G4 Themes and Apps] Antaroo:
"I also increased the bitrate and the photo quality is upped to 100% percent as well"

Thats from the first post. And i wonder what was originally .jpg photo quality ? It wasn't 100% ? If not, why not ?

I'm not interested in hd/fullhd fps bitrate increasing because i use always uhd which is midnblowing. But i would like to increase photo quality of jpg's to the max. How can i do that ?
[G4 Themes and Apps] rick09:
Did you scroll on the video selection section? It's not obvious that the menu scrolls but it does.

Sent from my VS986
[G4 Themes and Apps] Pfeffernuss:
Attached a zip with only the camera quality increased to 100%, all the rest left stock :good:
[G4 Themes and Apps] Juzman:
Yeah. It isn't there at all. I don't use 1080p@60 so I doubt I would use 720p@120. Just annoys me it isn't there. :p
[G4 Themes and Apps] Juzman:
Deleted.
[G4 Themes and Apps] Juzman:
Cannot scroll at all. I even changed the file to this, and there was no 120.

<item name="video_size_rear_supported">

3840x2160,

1920x1080,

1280x720,

1280x720@120,

640x480,

320x240,

176x144

</item>
[G4 Themes and Apps] gonsa:
So we can have this mod without unlocking the bootloader?
[G4 Themes and Apps] gkaz24:
Yes!
[G4 Themes and Apps] AvivEliyahu:
What version are those files based on?
[G4 Themes and Apps] Kemby13:
Any version, it has been asked before...
[G4 Themes and Apps] AvivEliyahu:
I ask what are those files based on, not what is it compatible with. Since I the last version the ui of the camera have been changed and in the op there are files of the first version = old ui
[G4 Themes and Apps] Pfeffernuss:
Then simply edit the "new" file(s), easy peasy.

For the record, it's all the same.
[G4 Themes and Apps] Nytronx:
slomo is glitchy when fliming (image vertically compressed) Am i the only one ?
[G4 Themes and Apps] Kemby13:
You are not the only one... Nothing can be done for now, until Pfeffernuss or

someone else figures out how to increase the bitrate.. I hope it will happen soon :fingers-crossed:
[G4 Themes and Apps] AvivEliyahu:
what parameters are needed to be changed to make it 100% photo quality? so ill be able to do it with every new update..
[G4 Themes and Apps] Pfeffernuss:
<ImageEncoding quality="100" />

<ImageEncoding quality="100" />

<ImageEncoding quality="100" />
[G4 Themes and Apps] Kemby13:
Is it possible to do the same for slow-motion video? To increase the bitrate i mean..? I only ask

because at the end of the media_profiles.xml i found "timelapse720p" and bitrate is set on 12000000...

Does that mean 12Mbps?
[G4 Themes and Apps] Pfeffernuss:
Change the 12 to 40 and reboot and test it out! :good:
[G4 Themes and Apps] Kemby13:
Tryed it, saved the file and rebooted.. Now i'm stuck in bootloop :(

I'm not sure if i had to change permissions... What can i do now?

Edit: I fixed it, did a normal flash with LG Flash tool... Just need to root again :)
[G4 Themes and Apps] Pfeffernuss:
When retrying: use an app that does not truncate the file! Most Android editors can only handle files up to 10KB. When you edit and save the file only the first 10KB is resaved and the rest is gone, leading to a bootloop (while editing build.prop this also happens a lot).

RootExplorer truncates the files for example, SolidExplorer (and others) do not :good:
[G4 Themes and Apps] Kemby13:
Well, actually i do use Solid Explorer (for some time now), i'm not sure what happened.

After i changed the value, i simply hit save and rebooted... Nvm now, i restored the system

with .kdz, but still have to root it.
[G4 Themes and Apps] Pfeffernuss:
After saving please recheck the permissions indeed :good:
[G4 Themes and Apps] Kemby13:
Yup, i believe that was the problem... It was late and i forgot to check. It won't happen again hehe.

Anyway, i rooted my phone once again and i'm ready to try this again.

Edit: i want to compare video quality between stock camera slow-mo and when i replace the files...

I found out that the stock camera uses 24Mbps and the preview screen is just as it should be - fullscreen.

Now i'm gonna replace the files and see what happens...

Edit2: After replacing the files and recording the same slow-mo video (same lenght and conditions)

i see that the file is identical in size and quality (24Mbps) but the preview window shrinks as soon as

i start recording...

Edit3: Now i realize you have been using Solid Explorer (2) the whole time, while i was on Solid Explorer classic...

The new version is great and it automatically saves permissions but classic does not. Hmm, nice looks and useability...
[G4 Themes and Apps] jsbutran:
Can somebody post 100% image quality MOD for H818N 10f please.
[G4 Themes and Apps] Pfeffernuss:
Those would be the same files so download, copy to /system, set permissions, reboot :good:
[G4 Themes and Apps] Razmab123:
how can i install this?
[G4 Themes and Apps] Pfeffernuss:
Flash using TWRP / Flashify or copy files manually, set permissions, reboot.

Make a Nandroid beforehand.
[G4 Themes and Apps] Luhccas-X10:
My desire is an acceptable picture quality using led flash...

Every pic comes out greenish and too dimm using auto mode.
[G4 Themes and Apps] jobski213:
Can anyone please post sample photos of 100% quality vs the stock quality?
[G4 Themes and Apps] 3liminate:
Still Bug?

Is there any fix yet to have 3rd party apps (e.g snapchat) front facing camera video working as well as the 'Mode' option (e.g for panoramas) as well as slow mo?

From searching through the thread, all I can find is that you can either have slow mo or 'Mode' working. Not both?

Thanks