[G2 Android Development] Jishnu Sur™:
Now Featured on XDA Portal Here. Thanks a Lot to our own Moderator "eagleeyetom"

Jishnu's Camera 4K UHD Sample. Click Here to have a look.

Disclaimer: I"m not responsible if you brick your Device though its tested. Please Don't spam the thread saying I bricked my device and what now?! If you read carefully, you will find a solution and there is always a life line, the "SEARCH" bar.

Changelog for JB Firmware

[B][I][COLOR="Red"]V1 Details[/COLOR][/I][/B]
1) Modified Camera.msm8970 for the Bettery Video Quality.
2) The Camera Now Shoots up faster than compared to Stock.
3) Increased the Image quality to 99 from 95 in Camera.msm8970
4) Increase The Video Bitrate of the Videos.
[B][I]1080P[/I][/B] Videos are now shot @ [B][I]30MB/s[/I][/B].
[B][I]720P[/I][/B] Videos are now shot @ [B][I]20MB/s[/I][/B].
5) Better Focusing as changes made in camera.msm8970.

[COLOR="red"][B][I]V2 Details [/I][/B][/COLOR]
- Decreased the Max ISO to 1200 from 1600 (The More the ISO the more the noise in the pic)
- Decreased the ISO levels as such-
Note: It may show the Values of the ISO n settings as Such

[B][I]ISO in Settings - ISO In Actual
1600 - 1200
800 - 650
400 - 310
200 - 200
100 - 100
Auto - Max in Auto (1200)[/I][/B]

- Increased the sharpness from 90 to 95.
- Increased the JPEG Preview Quality to 99 from 90.
- Adjusted ISO to[B][I] Max 200[/I][/B] For face Detection.
- Increased the[B][I] Minimum FPS[/I][/B] of the [B]1080P[/B] Video to [B][I]25[/I][/B] & Max to [B][I]40[/I][/B] FPS.
- Increased the [B]Minimum FPS[/B] for[B][I]60[/I][/B] FPS Video to[B][I] 25[/I][/B].
- Many More Adjustments.

[COLOR="Red"][B][I]V2.5 Details [/I][/B][/COLOR]
[B][I]AntiBanding[/I][/B] default set to]50Hz
- [B][I]Exposure Compensation[/I][/B] Decresed to [B][I]-1[/I][/B]
- [B][I]Exposure Compensation[/I][/B] Step Decresed to 0.1 from 1.24
- Focus Range adjusted.
- [STRIKE]Tried to Fix Video FPS at night to atleast 25FPS.[/STRIKE] [COLOR="Red"][B][U]Failed[/U][/B][/COLOR]
- [B][I]Picture Sharpness[/I][/B] Decreased to 85

[B][I][COLOR="Red"]V2.5.1 Details[/COLOR][/I][/B]
- Set FPS at 30 to 60 FPS Range.
- Set [B][I]Exif [/I][/B]Info details.
- Changed the [B][I]YUV420[/I][/B] formats to [B][I]YUV422[/I][/B]. [U]YUV420 are old formats[/U].
- Decreased[B] Maximum Exposure[/B] compensation to 15.
- Increased [B]Minimum Exposure[/B] compensation to -15.
- Enhanced [B][I]Smooth zoom.[/I][/B]

[B][I][COLOR="Red"]V2.5.2 Details[/COLOR][/I][/B]
- Turned [B][I]Edge Enhancement[/I][/B] On.
- Turned [B][I]Edge Enhance[/I][/B] off. (Makes the night pics blurry)
- Changed Pic Decoder quality to 99.
- Changed Pic Encoder quality to 99.
- Decreased the Bit rates of the Videos as Follows:
[B][I]1080@60 FPS : 20MB/s
1080@30 FPS : 15MB/s
720@30 FPS : 10MB/s[/I][/B]
- Reason, No use of Increasing Bit Rate to Max because of -
1) Increased Size of the Video.
2) Cache Will Fill up so fast that Video wont be able to write on the Memory.
- Fixed the Low Light Video Lag.
- Changed the [B][I]Default FPS[/I][/B] to [B][I]30[/I][/B].

[B][I][COLOR="Red"]V2.5.3 Details[/COLOR][/I][/B]
1) Video Preview rate set to 30.
2) Video Sharpness increased to 22 from 20.
3) JPEG quality improvements for grains in low light, though should be very marginal.
4) I really forgot, it was long back though! :P (SORRY)

[B][I][COLOR="Red"]V2.5.4 Details[/COLOR][/I][/B]
1) Set [B][I]JPEG Quality to 100%[/I][/B]. (Maximum Available Value)
2) Set [B][I]JPEG Compression to NIL[/I][/B] (Zero Compression, should come out almost RAW [Though processed] ).
3) Set Medium Quality JPEG's to 100.
4) Set Low Quality JPEG's to 100.
5) Set [B][I]Picture sharpness[/I][/B] back to 97 from xx in the previous MODs.
6) Set Back [B][I]Noise Reduction[/I][/B] to [B][I]ON[/I][/B].
7) Set The [B][I][U]Secondary MIC OFF[/U][/I][/B] (Noise Cancellation MIC) for less watery sounds.
8) Set Sound Bitrate to [B][I]256Kbit/s[/I][/B] like Nokia Lumia 1020.
9) Self enhancing Skin Tone Colors If you notice.

[B][I][COLOR="Red"]V2.5.5 Details[/COLOR][/I][/B]
1) [B][I]Sharpness[/I][/B] bumped to [B][I]99[/I][/B].
2)[B][I] 60 FPS[/I][/B] Videos should be working now.
3) Low light videos should have a [B][I]stable 30 FPS[/I][/B] constant.
4) ISO tables used by LG were mine!

[B][I][COLOR="Red"]V2.5.6 Details[/COLOR][/I][/B]
1) Max FPS range is 60.
2) Min FPS range is 30 (Any Light)
3) Sharpness of the pics are 99 (again)
4) Bitrate of 1080P 25Mbps and 720P is 20Mbps.

[B][I][COLOR="Red"]V_2.5.6 EXPT_2 Details[/COLOR][/I][/B]
1) FPS range is max is 90.
2) 1080P & 720P Videos has HFR options.
3) JPEG Compression s "0" or AKA "RAW"
4) Fixed ISO 400.

[B][I][COLOR="Red"]V_2.5.6 EXPT_3 Details[/COLOR][/I][/B]
1) Back Camera Records 720P Videos @ 90 FPS. [Broken- Max FPS limited by LG is 60]
2) Front camera records 1080P Videos @ 60 FPS.
3) Image quality increased more than EXPT_2.
4) Sharper pictures in both cameras.
5) HFR Bitrate is now 25Mbps.

[B][I][COLOR="Red"]V_2.5.6 EXPT_4 Details[/COLOR][/I][/B]
1) Fixed Back Camera 720P Video. Records at 60 FPS.
2) JPEG quality increased to Max for this Device. [Cant go Higher]
3) HFR FPS tried to stable at 30 FPS at low light
4) Sharpness Increased for Front camera.
5) The Pictures taken can be as big as 11MB's. Don't complain! :D

Changelog for KK Firmware

[B][I]Version 3.1 For KK Stock ROMs[/I][/B]
1) Now 4K recording should work.
2) Now 120 FPS Videos should also work.
3) JPEG Compression is zero.

[B][I]Version 3.2 For KK Stock ROMs -[/I][/B]
1) 4K video Recording.
2) 120fps Slow-Mo Video Recording.
3) Magic Focus Mode from LG G Pro 2. [B][I][COLOR="Red"][NEW][/COLOR][/I][/B] Not Completely working but NO FC's or bootloops as well.

[B][I]Version 3.3 For KK Stock ROMs -[/I][/B]
1) 4K and 120 FPS Recording.
2) [B][I][COLOR="Red"]New[/COLOR][/I][/B] Chroma Flash Technology. Just as the sensor, this flash is also the same as of the G pro 2 and LG G2 has the chroma flash tech which can enabled. Read more [URL="http://www.gsmarena.com/lg_g_pro_2-review-1056p8.php"]Here[/URL].
3) [B][I][COLOR="Red"]New[/COLOR][/I][/B] Low light Viewfinder framerate is now stable at a particular framerate and almost lag-less. smoother Viewfinder = less shaky images & Faster capture.
4) Low light Video framerate is stable at 30 fps.
5) Better Image metering as compared to the V3.2 apk which produces much over exposed shots.
6) [B][I][COLOR="Red"]New[/COLOR][/I][/B] Intelligent Auto mode gets much more attention this time. It has much faster shutter speeds as compared to the V3.2.
7) [B][I][COLOR="Red"]New[/COLOR][/I][/B] ClearShot should have much better focusing while the pic is taken.
8) Low light Photo sharpness has been increased as any of you had complaints about it.
9) Camera switching and start up should be much much faster as well if compared to V3.2.
10) The apk is from the G pro 2 just like the V3.2 . So the apk [ONLY] can be used with the Ported G Pro 2 ROM of [MENTION=4947573]OptimusRs[/MENTION].

[B][I]Version 3.4 For KK Stock ROMs[/I][/B]
1) Removed Magic Focus. It really annoyed me a lot.
2) Fixed the darkness Issue.
3) Fixed Low Light Framerate.
4) New Apk based on the Leaked firmware of a newer LG Device.
5) Faster HDR Processing.
6) Panorama Size at 10Mp each shot.
7) New Separate HFR Mode added for Front Camera.
8) Fixed lag for front camera. Better Quality.

NEW APK For 3.3 & Above

What it does?

1) It lets you backup of main files like the Original LGCameraApp.apk and .odex, media_profiles.xml and few other things.

2) It lets you restore your backup app in case you don't want it.

3) It lets you Install the mod as a system app on just a Tap.

How is it helpful?

1) No chmodding issues.

2) Easy to use.

3) Easy to restore stock.

Changelog For CM | OMNI | AOSP based

[B][I][COLOR="Red"][SIZE="3"]Beta Release E90[/SIZE][/COLOR][/I][/B]
[B][I][U][COLOR="DarkOrchid"]Things working:[/COLOR][/U][/I][/B]
1) Camera
2) Video Camera - 1080P Bitrate set at 20MB/s constant for now.
3) HDR
4) Cheeze shutter.
5) Pics while Video
6) ISO Modes
7) Video Brightness - SOLVED!
8) And everything else.
9) Video recording audio is awesome in this no disturbance for me!

[B][I]Not working:[/I][/B]
1) Time Machine shot.
2) Front Facing camera - For Pics only it FC's.

[B][I][COLOR="Red"][SIZE="3"]Stable Release F10[/SIZE][/COLOR][/I][/B]
[B][I][U][COLOR="DarkOrchid"]Things working:[/COLOR][/U][/I][/B]
1) Camera.
2) Video Camera -
1080P Bitrate set at 24MB/s constant for now.
720P Bitrate is 20Mb/s constant.
3) [B][I]Fixed the Camera Viewfinder alignment and size.[/I][/B]
4) [B][I]Fixed the Video Viewfinder alignment and size.[/I][/B]
3) HDR
4) Cheeze shutter.
5) Pics while Video
6) ISO Modes
7) Video Brightness adjustment.
9) [B][I]Video recording Audiobitrate to stable 200Kbps and 2 channel dual audio with voice cancellation.[/I][/B]
10) [B][I]Added Continuous Auto Focus for the Camera.[/I][/B]
11) Shutter Sound Off Option.
12) Widescreen Screen Preview when taking [B][I]HD or FHD[/I][/B] Videos.
13) Widescreen Screen Preview when taking[B][I] 8MP or 5MP[/I][/B] Photos.
14) [B][I]Added 13Mp resolution now.[/I][/B]

[B][I]Not working:[/I][/B]
1) Time Machine shot.
2) Front Facing camera - For Pics only it FC's.
3) Continuous shots.
4) Face Tracking.

[B][I][COLOR="Red"][SIZE="3"]Stable Release F32[/SIZE][/COLOR][/I][/B]

[B][I][COLOR="Purple"]What's new?[/COLOR] [/I][/B]
1) Totally New Camera UI.
2) Fixed the Layout colors. Now visible just fine.
3) Now Auto Focus has been Improved a lot.
4) Increased ISO for default. ISO Can go upto 9452 ! (Yes This camera is that good)

[B][I]What's not new?[/I][/B]
1) Everything else from the previous stable version.

[B][I][COLOR="Red"][SIZE="3"]Stable Release F40[/SIZE][/COLOR][/I][/B]

[B][I][COLOR="Purple"]What's new?[/COLOR] [/I][/B]
1) Added 12M Photo option.
2) Added Wide 10M Photo Option.
3) Slight Adjustment for Luminescence Value.
4) Retweaked for better stability.
5) Camera Opens in Landscape mode instead of Portrait.

[B][I]What's not new?[/I][/B]
Everything good and bugs from the Previous Versions.

[B][I][COLOR="Red"][SIZE="3"]Stable Release F50[/SIZE][/COLOR][/I][/B]

[B][I][COLOR="Purple"]What's new?[/COLOR] [/I][/B]
1) Pictures
2) Videos
3) HDR
4) Continuous Shot
5) Panorama Shot
6) Face Detection Mode
7) Continuous Focus mode
8) Front Facing camera
9) Beauty Shot
10) Cheese Shutter with 5 New Voice Capture tones
11) Smart Shutter Mode
12) Pictures while Videos.
13) Fixed Focus Issue
14) Fixed Orientation Issue
15) And Everything else.

[B][I]What's Not New? [/I][/B]
1) Time Capture Doesn't work.

[B][I][U]Note[/U]:[/I][/B]
For Better auto Focus adjustment, please make sure when you open the camera you toggle between Auto-Focus and Continuous shots twice. This makes the Autofocus even better. And Use the Continuous focus option for zero lag pictures.

And Use camera mode as "SMART SHUTTER"
[/HIDE]

Download for JB

[B][I][COLOR="Black"] [SIZE="3"]Stock Based[/SIZE][/COLOR][/I][/B]
[B][COLOR="Red"]Mod edit - links removed[/COLOR][/B]

Installation of JB

[B][I]Stock Based[/I][/B]
1) Download Root Explorer app from Play Store.
2) Navigate to System/app.
3) Look for these two files
- CameraApp.apk
- CameraApp.odex.
4) Rename them both to
- CameraApp.bak
- CameraApp.doex.
4) Download the MOD.
5) Place it on your sd card and flash it though recovery.
6) Dont complain if you fail to follow these steps.

Installation of KK

[B][I]Stock Based[/I][/B]
1) Download Root Explorer app from Play Store.
2) Navigate to System/Priv-app.
3) Look for these two files
- CameraApp.apk
- CameraApp.odex.
4) Rename them both to
- CameraApp.bak
- CameraApp.doex.

OR

move them both to sd card of the phone.
- CameraApp.apk
- CameraApp.odex.
4) Download the MOD.
5) Extract it through winrar.
6) Place Lgcamera.apk in System/Priv-app and set permissions rw-r--r--.
7) Navigate to system/etc and find media_profiles.xml and make a backup of it on your sd card.
8) Place the media_profiles.xml in system/etc and overwrite the existing one and set permissions rw-r--r--.
9) Reboot.

Installation of KK Version 3.3 & Above

1) Download and run the apk you have downloaded.

Installation of CM Based

1) Download the MOD.
2) Flash it through Recovery.

[B][I][SIZE="3"]Installation of F50[/SIZE][/I][/B]
1) Install as normal app

Donators

[B][I][SIZE="2"]eitama[/SIZE][/I][/B]
[B][I][SIZE="2"]Ainvar[/SIZE][/I][/B]
[B][I][SIZE="2"]tgabaree[/SIZE][/I][/B]
[B][I][SIZE="2"]somemadcaaant[/SIZE][/I][/B]
[B][I][SIZE="2"]markus4000[/SIZE][/I][/B]
[B][I][SIZE="2"]Melodycd[/SIZE][/I][/B]
[B][I][SIZE="2"]rubino25[/SIZE][/I][/B]
[B][I][SIZE="2"]Allesandro[/SIZE][/I][/B]
[B][I][SIZE="2"]Heatshiver[/SIZE][/I][/B]
[B][I][SIZE="2"]Adam1203[/SIZE][/I][/B]
[B][I][SIZE="2"]viking37[/SIZE][/I][/B]
[B][I][SIZE="2"]JackDupp[/SIZE][/I][/B]
[B][I][SIZE="2"]jpdidde13[/SIZE][/I][/B]
[B][I][SIZE="2"]podagee[/SIZE][/I][/B]
[B][I][SIZE="2"]Slinkynose[/SIZE][/I][/B]
[B][I][SIZE="2"]ManuelMagic[/SIZE][/I][/B]
[B][I][SIZE="2"]Skinydude[/SIZE][/I][/B]
[B][I][SIZE="2"]M Jathu[/SIZE][/I][/B]
[B][I][SIZE="2"]KTMrider (Guest)[/SIZE][/I][/B]

Credits :

[MENTION=671728]decom[/MENTION]fg For Technical Help

[MENTION=336863]garyd9[/MENTION] For the kitkat files & the things he deserves thanks for :)

[MENTION=3279781]bender_007[/MENTION] For the awesome auto Installer and the help & testing he does. Awesome man! Cheers!

[MENTION=4947573]OptimusRs[/MENTION] My younger brother who always helps me with the files.

[MENTION=2731014]SREEPRAJAY[/MENTION] My Elder Brother who always supports me to go in the right path.

Please tell me if I forgot you.

[MENTION=2941286]xdabbeb[/MENTION] For the Idea of faster shutter speed.

This MOD is a work of hours of hardwork. If you feel like buying me a Beer or a G2 for even better Stuff, you can donate to me. :cool:

Want to Implement 4K yourself? Remember its real fun. Click here!