[Galaxy S II Themes and Apps] pinyosky:
Nice post.

I'm looking for exactly what you had written especially a camera application that can automatically resume recording after it reach 4Gb file limit.

I tried several program such as IgCamera and others application but it won't work.

After googling around and spend about a few hours, I found some methods that might workaround this issue.

A. Month External_sd card to NTFS.

This method might workaround 4Gb limit problem for FAT file system and with this I think that Camera application may not automatically stop when recording video file reach their limit.

From camera behavior , It seem that camera application can record video at maximum size upon maximum size of current file system.

Then , I suggest that if event "Reach max file size" occurred , android system whose monitor events will send some signal and command to stop camera application.

So if I can month external_sd card with NTFS file system , I can workaround this issue.

Unfortunately , After I read several topic and spend a few hours to find out how to month NTFS on my android device.

I'm still no luck :( . I got "fuse device is missing try modprobe fuse as root" and I read somewhere on internet,

someone said that this message may telling me that my kernel won't support the NTFS month.

Now I'm going to move forward to another kernel that have capable of month NTFS as native and trying to month external_sd in NTFS format in a few day.

B. Modify Camera.apk

This method can workaround 4Gb limit problem for FAT file system If you could modify camera.apk.

by modifying method that will be called when recording file reach 4Gb file limit, adding a few line of code to start a new record automatically. I think that this might work.

Some of xda member (Potatoman and rafalense), had successfully modified bitrate and audio sampling rate of camera application

(http://xdaforums.com/showthread.php?t=1104051)

They grab some camera application for their phone , decompile binary source into .class to locate a sample rate of video. After they found an integer that represent a sample rate of video, they made another decompile binary source into a file called ".smali" with a lot less understandable than a class file then edit it and recompile the program.

But, This method won't only just modify a sample rate of video, we needed to modify some part of method.

Since modify Camera application won't easy like sample rate, you needed to grab your camera application from your phone, decompile a binary source, unsign , sign , compile and etc and it is a long story. So I decided to move to another method.

C. Automatic touch simulate program by period.

This workaround work without modify any of your file format , kernel or anything.

If you could find some application to trig the record button after some period of time. So file size limit event won't occur anymore.

Only concern about this method is automatic touch simulate program may not survive long enough to trig the record button for all day.

I'm finding these kind of application and if anyone whose read this topic and know these kind of application , please let me know.

D. Compile your Camera application from Opensource

This is a last method I will ever choose. This is a really hard method but really easy to explain.

This method is about download sourcecode of your rom , edit camera application at the first place then complie it yourself. Since I din't complete reading a guide for compile a rom , I suggest that inorder to make modified camera application work , you may need to compile all of rom.

From my phone manufacturer(samsung), they had released some sourcecode of for Galaxy S2 ICS ROM

For anyone whose interest please find it in the link below.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Update

Hi , all

I just successfully found a workaround for video file size limit issue.

This workaround is based on approach C. Automatic touch simulate program by period and it also need a root access.

All credit goes to Yahor Paulavets from

http://softteco.blogspot.com/2011/03/android-low-level-shell-click-on-screen.html

To complete this workaround , I write some shell script that send a low-level script via Scripting Layer for Android (SL4A) to stop video recording then send the same command again to start new record before its size reach 4 Gb. After finished writing shell script, I use terminal editor (with root access) to run this script when I start recording video.

That sound easy, but in fact, you need to capture a "touch event" with have difference signature based on the device.

Yahor Paulavets write some great article which explain how to capture this signature in the link below

http://softteco.blogspot.com/2011/03/android-clickonscreenxy-shell-script.html

____________________________________________________________________________________

Below are list of related topic that might help you

[1] Is there anyway around the 4GB video recording limit?

http://xdaforums.com/showthread.php?t=1140483

[2] How to mount NTFS or EXT4 format microSD to tab

http://xdaforums.com/showthread.php?t=1552674

[3] [MOD] Hacked Camera.APK for better audio quality, usage with any battery life & MORE!

http://xdaforums.com/showthread.php?t=1104051

[4] App for long video recording

http://xdaforums.com/showthread.php?t=1471449

[5] How can I bypass the 4gb limit on filesizes for HD Recording?

http://xdaforums.com/showthread.php?t=1130973

[6] Month ExternalSD Card to NTFS for Android

http://xdaforums.com/showpost.php?p=15167790&postcount=41

[7] Samsung opensource

http://opensource.samsung.com