[LG Optimus 2x] AndiCP:
[MOD] Stock camera mod LG GB V20e/i/j/l: No shutter sounds & improved Pic/Vid quality

Hi folks,

I modded the stock LG Camera-app and implemented new features.

Every improvement (except 16:9@6MP) is working seamlessly with this mod. Please find the list of improvements below.

I also included the "media_profiles.xml" in the package.

V1.0 is based on V20e and can be used up to V20e.

V2.x is based on V20l and can be used from V20i onwards.

Please find the modded camera apps attached to this post. Enjoy! ;)

Installation Instructions:

Flash the attached zip with CWM ("install zip from sd-card" --> "choose zip from sd-card").

I modded the following (in every version of the mod):

Disabled shutter & AF sounds (picture & video) - timer sounds are still enabled (on purpose --> no change!)

Increased preview fps to 40 (--> reduced page tearing)

Picture quality:

Set normal picture quality to 80 (= 20% compression)

Set fine picture quality to 90 (= 10% compression)

Set superfine picture quality to 100 (= 0% compression)

Video quality 1080p:

Set FPS from 24 to 30 (varies a little, similar to stock LG app)

Set normal video quality from 5Mbps to 7Mbps (= fine in stock LG app)

Set fine video quality from 7Mbps to 12Mbps

Set superfine video quality from 9Mbps to 17Mbps

Video quality 720p:

Set normal video quality from 2Mbps to 4Mbps (= superfine in stock LG app)

Set fine video quality from 3Mbps to 9Mbps

Set superfine video quality from 4Mbps to 14Mbps

Additional changes in the V2.x (V20l) mod are the following:

Changed 5MP picture resolution to 6MP 16:9 (3264 x 1840) - Implemented additional preview setting logic; AR not correct yet! trying to fix it.

Increased video bit rate for VGA (improves esp. quality of videos recorded by the front cam):

- Superfine from 1.5 Mbps to 5 Mbps

- Fine from 1.2 Mbps to 3 Mbps

- Normal from 768 kbps to 1.5 Mbps

Persistent flash mode setting (i.e. last flash mode is being saved; default mode is off)

DCF compliance (adopted DCF requirements like directory- and filenames)

Storage path changed to "DCIM/CAMERA/" (DCF compliant)

Removed closing/ not starting on low battery (still shows a toast to remind you on your low charge though)

Shutter-sound menu adjusted/ fixed (only option now: "Off")

Several changes in German translations ;)

Modded further resources

Additional changes in V2.1:

Increased video bit rate for 1080p:

- Superfine:	20Mbps

- Fine:	17Mbps

- Normal:	12Mbps

Increased audio bit rate to 128kbps for 1080p and 720p

Increased audio sampling rate to 44.1kHz for 1080p and 720p

Persistent focus mode setting (focus mode is being saved)

Persistent GPS setting (GPS mode is being saved)

Music keeps on playing (removed auto-pause music on app start)

Implemented ODEX fix for odexed roms (Camera.odex is being deleted automatically)

Fixed DCF compliance for video filenames (missing underscore)

ToDo:

Fix AR for 16:9 @ 6MP

Adjust preview size for 16:9 pictures

Optimize code for better performance

The rest is still stock.

PS:

1. If you have a darker icon for your camera app, then update script worked like it should!

2. If this is useful for you, hit the "Thanks" button on the lower right!

3. If you cook this mod in your rom, please give

proper reference

to this thread in the list of included features

and

in your change log!