- Build
- Supported Apis
- Projects used by FreeDcam
- Q&A
- Hidden Oem Settings
- Camera Ui Icon
- Camera1 Dng Supported Devices
- How to create a Custom Matrix
- License
##Build
To build use latest Android Studio
Use NDK 12b!
All needed libs are included
For ndk build set in your local.properties
ndk.dir=C\:\\Android\\android-ndk-r10b
Yes you need \\
that for the folderpath
##Supported Apis:
android.hardware.camera
Sony Camera Remote Api (PlayMemoriesMobile)
Special Thanks @ Dave Coffin for dcraw and the bayer extracting to 16bit
-
Q: I'm able to choose camera2 api, but many things are missing. Why?
A: because its not fully supported by your device. such devices are called legacy devices. they support just basic image capture and recording features. -
Q Why can't i open raw/bayer files?
A Because its the pure data. the decoder cant read it because it does not know how to open it.
To tell the decoder how the data is stored, the dng container is needed.
In that case send us the raw/bayer file and it will work soon. -
Q Why my Device dont show an highspeed video profile, i know it support it
A Its because the Oem's did not add it as MediaProfile and freedcam support it only for most snapdragon socs
- In that case open the VideoProfileEditor inside FreeDcamSetting.
- As sample for 720p highspeed select first the 720p profile.
- Rename it to 720Hfr or what ever you want.
- Change Framerate to 120
- Select Highspeed
- Save the Profile and close the VideoProfileEditor.
- Q Why cant i decompile apps build with nougat sdk A They changed the dex header version. Use a hexeditor to change the version from 37 to 35 and dex2jar works
Hidden Oem Settings
Huawei Code:
*#*#2846579#*#*
KK = Kitkat,L = Lollipop , M = Marshmallow
Device | Dng | MF | Shutter | Iso |
---|---|---|---|---|
Alcatel 985n | ||||
Alcatel Idol3/small | ||||
Aquaris E5 | ||||
Aquaris M5 | ||||
Blackberry Priv | ||||
Elephone P9000 | ||||
FowardArt | ||||
Gione E7 | ||||
Htc Desire500 | ||||
Htc M8/9 | ||||
Htc One A9 | ||||
Htc One E8 | ||||
Htc One SV | ||||
Htc One XL | ||||
Huawei GX8 | ||||
Huawei Honor 5X | ||||
I Mobile IStylteQ6 | ||||
Jiayu S3 | ||||
Lenovo K4 Note | ||||
Lenovo K50 | ||||
Lenovo K910 | ||||
Lenovo K920 | ||||
Lenovo VibeP1 | ||||
Lenovo VibeShot Z90 | ||||
Lumigon T3 | ||||
LG G2 | ||||
LG G2pro | ||||
LG G3 | KK=,L=,M= | |||
LG G4 | ||||
Meizu M1 Metal | ||||
Meizu M2 Note | ||||
Meizu MX4/5 | ||||
Mlais M52 Red Note | ||||
Moto X 2015 | ||||
Moto X Style Pure Play | ||||
MyPhone Infinity 2S | ||||
OnePlus One | ||||
OnePlus Two | ||||
Prestigio Multipad Color | ||||
Retro | ||||
Sony C4 | ||||
Sony C5 | ||||
Sony M4 | ||||
Sony M5 | ||||
Sony XperiaL | ||||
THL5000 | ||||
Umi Rome X | ||||
Vivo Xplay | ||||
WileyFox Swift | ||||
Xiaomi Mi3 | ||||
Xiaomi Mi3w | ||||
Xiaomi Mi4c | ||||
Xiaomi Mi4w | ||||
Xiaomi Mi 5 | broken raw stream | |||
Xiaomi Mi Max | ||||
Xiaomi Mi Note Pro | ||||
Xiaomi Redmi Note | ||||
Xiaomi Redmi Note 2 | ||||
Xiaomi Redmi Note 3 (Snap/MTK) | ||||
Xolo Omega5 | ||||
Yu Yureka | ||||
Zoppo 8Speed |
First you need a Colorchecker Passport without it, its useless to continue
Set it somewhere in the Scene and capture a Dng from it.
When done you need Adobes Dng Profile Editor
Load there the Dng and choose Chart tab and place the dots to the edges of the chart.
Then click Create Color Table. Now you can tune the matrixes. When done save the dcp profile into camera raw appData folder.
C:\Users\ UserName\AppData\Roaming\Adobe\CameraRaw\CameraProfiles.
Then open the Dng into CameraRaw and go to tab Camera Calibration.
Select there the created dcp profile and click on Save Image... and save the Dng with the choosen profile, do not open the image!
Open the saved Dng now into exiftools or a simliar tool, wich can read metadata, and copy out the matrixes into a txt file in the bottom order.
0.9581,0.0274,-0.1154,-0.3463,1.2258,0.1311,-0.0565,0.2411,0.2431 colormatrix1 is needed
0.6291,0.018,-0.0758,-0.3463,1.2258,0.1311,-0.0887,0.3788,0.3819 colormatrix2 is needed
0.581421,1,0.565397 neutral matrix is needed
0.6328,0.0469,0.2813,0.1641,0.7578,0.0781,-0.0469,-0.6406,1.5078 forwardmatrix1 is optional
0.7578,0.0859,0.1172,0.2734,0.8281,-0.1016,0.0156,-0.2813,1.0859 forwardmatrix2 is optional
NULL reductionmatrix1 is optional
NULL reductionmatrix2 is optional
NULL noise reduction is optional
Thats how the final file should look like fill not used Matrixes with NULL
1.1407,-0.4022,-0.234,-0.4314,1.404,0.0146,-0.0439,0.2047,0.5704
0.7228,-0.0893,-0.0975,-0.4792,1.3481,0.1381,-0.1137,0.268,0.5604
0.5391,1,0.6641
0.6328,0.0469,0.2813,0.1641,0.7578 0.0781,-0.0469,-0.6406,1.5078
0.7578,0.0859,0.1172,0.2734,0.8281,-0.1016,0.0156,-0.2813,1.0859
NULL
NULL
0.00051471478,0,0.00051471478,0,0.00051471478,0
Copy that file now on your phones internalSD/DCIM/FreeDcam/config/matrix and you can select it inside Freedcam.
Its gets then applied to each new dng
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.