[ROOT] 60fps camera + 100% photo quality + flash mod

johansson

Senior Member
Apr 6, 2009
327
60
48
Seoul
Can you share please?
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
 
  • Like
Reactions: mihaitaiosub

rifievans

Senior Member
Aug 18, 2015
54
37
0
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!
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 ----------

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
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?
 

Dennisg34

Senior Member
Jan 30, 2013
1,295
654
0
New Hampshire
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?
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
 

rifievans

Senior Member
Aug 18, 2015
54
37
0
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
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!
 

mihaitaiosub

Member
Jun 15, 2008
45
5
0
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
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.
 
  • Like
Reactions: 5nickers

rifievans

Senior Member
Aug 18, 2015
54
37
0
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!
 

Dennisg34

Senior Member
Jan 30, 2013
1,295
654
0
New Hampshire
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?
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!
 

Attachments

Last edited:

johansson

Senior Member
Apr 6, 2009
327
60
48
Seoul
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.
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 ----------

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?
Hum.. did ya mess with the camera_config.xml??
 

rifievans

Senior Member
Aug 18, 2015
54
37
0
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??

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!
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!
 

Jonny93

Member
Sep 19, 2015
21
10
0
that would be good :) i want to increase photo quality :)
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'm interested,thanks in advance

P.S. Is this mod with 60fps? and how to increase picture quality?Thank you!
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.
 

lasha117

Senior Member
Sep 8, 2013
125
6
0
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.
yes i just want to increase photo quality. tag me when you post it please
 

Tadziunia

Member
Apr 23, 2015
19
1
0
Was amazed the G4 wouldn't record video's at 60fps so decided to alter some files to make it work.

After flashing the mod using TWRP you will have another FullHD resolution mode but this time at 60fps, see screenie:



When selecting this mode the framerate will jump from 30 to 60 (in sufficient light):



I also increased the bitrate and the photo quality is upped to 100% percent as well. Note: both will increase the file sizes by a large amount! Decreased the threshold where you can still take flash shots from 15% to 5% battery.

There's also a version with a much higher bitrate (from 30Mb/sec to 64Mb/sec) when using the UHD camera. Do note, this increases the filesize when making movies by a *large* amount :cool:

When not satisfied with the mod simply flash the stock settings file and all will be reverted :good:

60 fps camera mod

60 fps camera mod + 40Mbit UHD

60 fps camera mod + 48Mbit UHD

60 fps camera mod + 56Mbit UHD

60 fps camera mod + 64Mbit UHD

Revert to stock
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 ?
 

Jonny93

Member
Sep 19, 2015
21
10
0
yes i just want to increase photo quality. tag me when you post it please
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