in system/etc/camera_config.xml
look for
change it to
in /system/etc/media_profiles.xml
look for
Code:
minFrameRate="15" maxFrameRate="120"
change that to 240
in camera id 0 look for 1080 change frame to 90 | look 4kuhd change that to 60 or raise value by like 5 like say 35 fps 40 fps till it maxes out somewhere
if you open the lib with hex editor like hex workshop search for int16 value 6144 it will show all the resolutions
6144 is the Number of horizontal lines the number next to it is vertical the 4 bytes before it are active pixels w x h
Capture res example
HEX
Code:
C014 AC0B 0018 E00B 402E7021 0018BF1E 01000000 00000040 713DF041 01
aW aH W H Pixel Clock Output Clock Binning Min Fps Max Fps Sensor Mode
DEC
Code:
5312 2988 6144 3040 561000000 515840000 1 2 30.03 1
Pixel Clock = W * H * Max Fps
Output Clock When Not in HFR Mode = Pixel Clock it limits actual fps. When in HFR mode = Pixel Clock / 2
Sensor Mode 1 = Normal 2 = HFR 3 = HDR
G4 Video Res runs at Full sensor res @ 30 fps reducing aW aH W H to say 3840 2160 6144 2190 would let the G4 Gain more FPS in UHD Mode thats how i got 32fps UHD on OG SD800 i reduced the H value from 2219 to 2170.
so if you want to achieve 240fps without pushing device a aW/8 aH/8 W H/8 Max FPS * 8
this would give a guaranteed 240fps
Code:
664 373 6144 380 561000000 515840000 1 2 240.24 1
All that is needed is a camera 2 app that lets you set custom res and fps for video then you can play with these values
Output Clock is what limits the fps i dunno what the SD808 maxes out it could be higher than the default 515K
Hopefully the camera_config.xml mod method works for the stock camera