[Galaxy S II Themes and Apps] Potatoman:
[MOD] Hacked Camera.APK for better audio quality, usage with any battery life & MORE!

Final Update-

Some people have been asking for sourcecode/instructions, so once more, this is the method I used, all credit to Rafalense.

http://xdaforums.com/showpost.php?p=10980448&postcount=268

Those of you wanting me to reupload the APK's, I'm sorry, I don't have them stored anymore, and I wouldn't put them up even if I did. They're based on ANCIENT firmware revisions, and whilst I can appreciate you still would like the functionality somehow, I'm not interested in taking on the project again at this time. Thank you very much for your continued use and desire for my work though, it's very flattering.

I won't be actively developing or supporting this anymore because of it's defunct nature. If you want something similar, I highly recommend the lgCamera app, which has a far better implementation of improved bitrates (select whatever bitrates you want in a menu.) You can get lgCamera on the market- I highly reccomend it.

Anyone who wants to pick up this project can feel free to discuss here or make a new thread, as you please. If you do, please include the link to the guide by Rafalense, as it was the basis for this mod and will doubtlessly be of use to someone.

(Original Post Below)

-----

In light of my new student status, and since my student loan doesn't even cover my accommodation... I have made a donate link.

If you use the mod regularly, please consider donating, it would really help me out. Don't worry if you can't though, the mod will always be free for all to use. :)

Thanks for all the support-

- Potatoman.

------------------------------------------------------------------------------

Hey folks-

It's with great pleasure that I'm releasing a hacked Camera.apk for you all today! This is my first android mod, so be gentle :p

Info-

The apk replaces the stock Camera.Apk in the Galaxy S II (or Samsung Captivate!), and has the following features-

- Allows use of the camera & camcorder at any battery life

- Records Audio in 192kbps/44.1Khz quality (CD Quality) rather than stock (64kbps/16khz quality)

- Increased Video Bitrate in 1080 and 720p modes* (See 2nd post for info and download link for this version)

- Optional No Sounds versions (for Standard and Highbit versions!). All of the features, None of the noise! Yes, even the autofocus noise is gone!

- HyperX-'s SuperHighBit version now available (See 2nd post for info and download link for this version)

I have left the settings for the 320x240 and 176x144 resolution modes as stock, so they will be the same size and with the same audio. This is to ensure video messages are kept within the filesize limits :)

Before/After Comparison (thanks robbiekhan)-

Additional info:

If you want to get rid of the shutter sound, create a file in /data called local.prop and add the line "ro.camera.sound.forced=0" and restart your phone. This removes both the shutter sound and the focus sound when your phone is on silent, but keeps the sound when it's not on silent. - llBlackenedll

Install Guide:

1) Root & install a file manager which lets you browse root

2) browse to /system/app, and rename your Camera.apk to Camera.apk.bak and your Camera.odex to Camera.odex.bak (for use as a backup to restore from)

3) Unrar my APK (password: potatoman@xda) and copy it over to /system/app.

4) Rename it Camera.apk

5) Close the file manager and run the Camera app from the main menu

6) IF the app fails to run, or the shortcut is missing, go back to the /system/app folder and try to install it (tap it in root explorer then "install"). This step is only a fallback, do NOT do this if it works already at step 5.

7) Enjoy!

ADB Install Guide- See 2nd post!

This mod was tested on my own Galaxy S II with KE2, KE7, KG1, VillainROM and CognitionROM firmwares.

-------------------------------------------------------------------------

Thanks all, hope you enjoy! Thank if you like it :)

(Download: http://www.multiupload.com/KHRWLERS4J)

(Download with no sounds: http://www.multiupload.com/NNR1SYDYL6 Same password. Be sure to remove cam_start.ogg, cam_stopp.ogg, Camera_click.ogg, Camera_click_short.ogg, Shutter_01.ogg and videoRecord.ogg from /system/media/audio/ui as well!)

-------------------------------------------------------------------------

Credits-

Potatoman - Sound implimentation & merging of features & Version Splitting/Maintainance

Soraxd - Original battery life functionality & upcoming music playing functionality

Rafalense - A great post which lead me through how to do this mod over on the Galaxy S forums

pulser_g2 - Original battery life functionality (with soraxD :))

llBlackenedll - tip on how to disable shutter sounds

robbiekhan - Before/After Comparison videos

Antoniotdi - An excellent bugfix :)

hyperX - Great minds think alike eh? HyperX released a similar mod to this on the same day as me! Anyway, we'll be working together on cameramods from now on. Good news huh? :D

Knightnz - The ADB install guide