[ONE Themes and Apps] fgnm:
This app is now deprecated, a new awesome camera for OnePlus One is now available!

Check out

Bacon Camera

Mod Edit: link removed

Hello! Today I want to share my very first project here (so do not be too rude with me :P)

First of all this mod is a porting of CAF' Snapdragon Camera, so a very big thanks to [MENTION=4800121]Sultanxda[/MENTION] for the base.

In this mod I've tried to add almost all features from OnePlus One CameraNext, with some special others, so thank you [MENTION=4193338]CyanogenMod[/MENTION] too.

A very special thanks go to [MENTION=2805784]BOOTMGR[/MENTION] for his awesome patched HAL camera driver! (To use this mod you have to flash his CM_HAL_MOD.zip)

Features:

​

First of all let's explain why "semi-manual": With this mod you can control: Manual Focus, Manual White Balance, Manual Shutter Speed, Manual Exposure Compensation and 3 different RAW capture options (with DNG conversion).

Is still semi because ISO cannot be controlled manually.

All these features are made WITHOUT Camera2 APIs.

---Camera

- Color Effect

- Scene Mode

- HDR (Available in Scene Mode)

- Clear Image

- SuperMacro

- High Resolution (50-32-24MP Interpolation)

- Manual Exposure compensation

- Manual Shutter Speed (you can manually choose speed from 200ms to 64s)

- Manual Focus (With two modes: Scale Mode and Diopter Mode)

- Manual White Balance (CCT and RBGB Gains *)

- Long touch to change exposure point

- Grids (Rule of Thirds - Fourth - Viewfinder - Diagonals)

- GPS Tag

- Countdown Timer

- Zero Shutter Lag

- Focus Mode and Focus duration

- ISO: Auto, HJR, 100, 200, 400, 800, 1600, 3200

- Continuous Shot (Long press shutter button)

- Anti Banding

- Skin Tone Enhancement

- Wavelet denoise mode

- Saturation, Contrast, Sharpness

- Redeye Reduction

- AE-Bracket

- Luma Adaptation (you can control luma via volume buttons)

- Lens Shade

- Histogram

- (Extended) Face Detection

- RAW Picture Format (Important HERE! Raw formats are: BayerQ10RGGB, BayerM10RGGB, BayerIQ10RGGB. These are real .raw files with Qualcomm encoding, if you want a DNG file you have to check "Save DNG" option, this will slow a bit the shot) (raw files are saved in DCIM/Camera/raw)(No jpeg will be generated)
​

---Video

- 4K DCI, UHD and so on..

- Tap to Focus

- Pause/Resume recording

- Digital Image Stabilization

- Time-lapse

- Audio source selectable

- Video duration up to 24h

- Possibility to choose storage position

- GPS tag

- Color effects

- Video HDR

- White Balance

- Video in High FrameRate (Both HFR and HSR works**)

- Flash ;)
​

---Panorama

The same you find in CameraNext
​

---Gallery

- The gallery is the same of CameraNext, BUT I've enabled TinyPlanet for all kind of picture (I don't know if it is useful but I've done some funny effects :D)
​

* Experimental features

** HSR Works

only

with a CAF based ROM

What is missing?

- Timed Shots

- Photosphere

- Grids

- HDR

- Clear Image

How to install

--- Prerequisites

- Root

- Xposed Framework

- Install latest LuckyPatcher

- Open Xposed and active LuckyPatcher module

- Reboot

- Install as normal APK

if you cannot use Xposed you should open LuckyPatcher and apply all possible patches to Android Core (in tools options), then try to install as normal APK

Important Notes:

To install you should have Xposed with LuckyPatcher module activated (Or maybe it works also if you install as a simple system app, try it)

In this mod I have unlocked all possible features. Sometime you can choose an option that is not compatible with another and the camera might crash or freeze or something else. Don't worry, just clear the camera from recent apps (or in extreme cases Clear App Data).

Zero Shutter Lag has always to be ON when you use flash, otherwise you will have splitted image.

Zero Shutter Lag is not compatible with Continuous Auto Focus (CAF) so do not use it with ZSL enabled.

Probably when you will launch this app for the first time shutter button will not work, simply just clear the camera from recent apps and reopen.

If you launch CameraNext first, and then SnapCam Mod, shutter button will not work (I really don't know why), again just clear two cameras from recent apps and all should work fine.

In other words: if something doesn't work clear camera from recent apps ;)

This Mod works only on OnePlus One (AKA Bacon) with patched HAL driver! Maybe on Find7 too, but I don't know.

You can test with others devices but remember that Manual Focus will never work.

Tested only with COS12.1

- I've patched the file media_profiles.xml to have better video quality.. If you want to try just download it from here and replace the original in "/system/etc/" folder, then reboot (do a backup first).

It should works also with CM12.1, let me know.

On CAF based ROMs might have some limitation due to CAF settings.

That's all I think, for the next weeks I will be very busy with work so I've decided to release it also if is not finished yet. Hope you will like!

If you think that I've done a good work, please consider to support me with a small donation :)

Thank you

Changelogs

--- 0.1

- init release
​

--- 0.2

- Manual White Balance (CCT)!

- Wavelet denoise mode

- Skintone bar for any scene

- Luma Adaptation (you can control luma via volume buttons)

- Lens Shade

- Rearranged menu with a manual section

- CAF users now should be able to set Shutter Speed only up to 2sec
​

--- 0.3

- Manual Exposure Compensation

- HDR (Available in Scene Mode)(Works only without ZSL)

- Clear Image (Works only with ZSL)

- SuperZoom (50MP Interpolation)(Works only with ZSL)

---Advanced Features

- Chroma Flash

- Opti-Zoom

- Refocus

- Double tap back button to exit (as [MENTION=6724713]hogze94[/MENTION] requested)

- Fix ZSL and Continuous AutoFocus (now they can be used together)

- Simple OTA checker (server will not receive information of any kind)

- Fix Auto-HDR (now should work)

- HDR Need 1x Frame

- ProgressBar during shooting
​

--- 0.4

- LuckyPatcher is no longer required ^.^

- Manual White Balance in RGB gains mode (Experimental)

- SeekBar to control Manual White Balance CCT

- Removed HFR 240 (camera HAL/hardware problem(?), no possible workaround)

- Unlocked HFR 90-120 for 1080p (with 120fps quality is very poor, aka horrible)

- Accurate ViewFinder (now the preview respect resolution ratio)

- SuperZoom now become High Resolution (with 50-32-24 megapixel by image interpolation)

- SuperMacro activated by default when you use the zoom

- Fixed some issues with focus manager (not perfect yet)

- Added more Color Effects

- Oppo Electronic Image Stabilization
​

--- 0.5

- Long touch to change exposure point

- Grids (Rule of Thirds - Fourth - Viewfinder - Diagonals)

- Fixed Skintone seekbar issue

- Fast DNG conversion (

prepared

for raw + dng + jpg capturing)

- (Extended)Face Detection

- New Histogram

- Added (16:9) 9,7 megapixel resolution

- Tap to Focus in Video Module

- Pause/Resume Video Recording

- Removed h265 encoder (it seems not supported by ROM)

- Various fixes

Tested only with COS12.1

/system/etc/media_profile.xml patch (download it from here, replace and reboot, this require root)

- MPEG4 video encoder for HFR (1080p@120fps looks better)

- h264 patched for better quality
​

--- 0.6

Uninstall previous version first!

- Many bug Fixes

- First UI improvement

- Power Shutter

- Download Button in OTA Checker

- Removed "Advanced Features"

- Focus before shot/record

- Audio source selectable

- Anti Banding in Camcorder
​