[Galaxy Note 4 Developer Discussion (Devs., Only)] kevinrocksman:
If you would like to know what section I am trying to work on next please skip down to the bottom of the OP

​

Back in the past I tried to increase the limit of the note 3s video recording size, I was able to increase the length of video but the file size limit seemed to always stop at 3.8GB (or in any case 4GB "4,294,967,296" FFFFFFFF). Now I would like to get this started back up fresh and new.

I am asking for the help of developers to help me find what is causing the video recording to stop at 3.8GB if the note 4 has this same problem which I imagine it will.

If interested in helping please comment here or message me. I am seriously dedicating 99% of my free time to figure this out due to wanting to record longer than 13 minutes (most I could get out of 4k on the note 3).

Also hoping to increase quality of pictures and of all video modes. I know how to decompile but not sure how to recompile or read everything in the file. So I am asking for others help on this project. I was pretty upset to fail on the note 3 but the note 4 looks to be another potential project.

Here are the smali files to look through. I have heard decompiling smali to java is illegal so I won't do that.

https://dl.dropboxusercontent.com/u/38128929/app.rar

Ok here's what I've found so far:

Oct 24th 2014

JPEG QUALITY

CameraSettings.smali - Line 2732 -

const/16 v0, 0x60

0x60 = 96%

0x61 = 97%

0x62 = 98%

0x63 = 99%

0x64 = 100%

RECORD TIME

CommonEngine.smali - Line 148 -

.field private static final MAX_DUAL_FHD_RECORD_TIME:I = 0x12c

CommonEngine.smali - Line 150 -

.field private static final MAX_DUAL_HD_RECORD_TIME:I = 0x258

CommonEngine.smali - Line 156 -

.field private static final MAX_SMOOTH_MOTION_RECORD_TIME:I = 0x258

CommonEngine.smali - Line 156 -

.field private static final MAX_UHD_RECORD_TIME:I = 0x12c

CommonEngine.smali - Line 158 -

.field private static final MAX_VIDEO_FILE_SIZE:J = 0xffffffffL

0x12c = 300 (in seconds) = 5 (minutes)

0x258 = 600 (in seconds) = 10 (minutes)

0x384 = 900 (in seconds) = 15 (minutes)

0xffffffffL = 4294967295 (in bytes) = 4 (Gigabytes)

There is more that goes in this section but I will have to find my notes to update

RECORD QUALITY

1920x1080 recording

MediaRecorderProfile.smali - Line 756 -

.line 72

:array_0

.array-data 0x4

0x2t 0x0t 0x0t 0x0t (Dont touch)

0x40t 0x66t 0x3t 0x1t (Adjust this for bitrate see notes below in red)

0xc0t 0xe1t 0xe4t 0x0t (Dont touch)

0x40t 0x5dt 0xc6t 0x0t (Dont touch)

0x1et 0x0t 0x0t 0x0t (FPS but not sure if the note 4 can handle higher)

0x2t 0x0t 0x0t 0x0t (Dont touch)

0x3t 0x0t 0x0t 0x0t (Dont touch)

0x0t 0xe8t 0x3t 0x0t (Audio bitrate in bits "see notes below in yellow")

0x2t 0x0t 0x0t 0x0t (Dont touch)

0x80t 0xbbt 0x0t 0x0t (Sampling rate in hz "see notes below in Green")

.end array-data

0x40t 0x66t 0x3t 0x1t = 0x136604 = 1271300 = 12Mbits

so

0x80t 0x84t 0xet 0x1t = 0x1E8480 = 2000000 = 20Mbits

Not sure about this section yet

0x80t 0xbbt 0x0t 0x0t = 0xbb80 = 48000

so

0x00t 0x7dt 0x0t 0x0t = 32000 (According to alexhc18 that decreases background hissing)

Here is what has been accomplished so far:

Version 5

October 25th 2014 - Turned JPEG quality up to 100% from 96% (Verified)

October 25th 2014 - Changed DUAL FHD max record time from 5 minutes to 10 minutes (Tested up to 20 min - Needs more verifications)

October 25th 2014 - Changed DUAL HD max record time from 10 minutes to 30 minutes (Needs Verification)

October 25th 2014 - Changed UHD max record time from 5 minutes to 30 minutes (Appears to stop at 5 Min)

October 25th 2014 - Changed SMOOTH MOTION max record time from 10 minutes to 30 minutes (Needs Verification)

November 1st 2014 - Changed FHD from 20mbit to 40mbit (Verified)

October 25th 2014 - Changed SMOOTH MOTION from 28mbit to 40mbit (Verified)

October 25th 2014 - Changed UHD from 24mbit to 65mbit (Verified)

October 31st 2014 - Themed the camera with transparency set at 30% to make buttons less obvious (v4t).

October 31st 2014 - Themed the camera with a greenish tint and all new icons (v4g - thanks to Kevinoliva113)

November 1st 2014 -

Set UHD/WQHD to max record limit of 20 minutes

(Verified)

Now coming down the next subject. I need help finding what "sets" the resolution for slowmo, right now the resolution is 1280x720 but I'd like to kick it up to 1920x1080. I think the note 4 should be able to handle that.