Could some extract the dcp file from the dng file taken on the oppo find 7 need to generate ICC profile for the imx135 raw debayering.
here's the tool to extract the file thanks dcptool.sourceforge.net/Introduction.html
I have an Oppo Find 7 x9076 US version. Ran the dng as follows "dcptool img.dng img.xml" let me know if you need it ran any other way or if you want the original.
Real quick, would this camera app work on CM11 for Find 7... I'm still on the native os "Color OS"(which is very clunky) but I don't want to move over to CM11 without a camera that can do RAW.
in theory since cm11 uses the same hal as color is you could you use stock camera app in cm11 it probably just needs a quick XML edit Post the color os camera app will search what libs are needed. thanks for the XML the Matrix was empty tho oh let someone running cm11 try freedcam in settings image quality picture formats look for jpeg+dng /jpeg+raw.
I'll share the dng i took with the camera, maybe you'll have a better shot.
DNG Image from OPPO find 7
https://drive.google.com/file/d/0B2sKOiZ3x1KWNFFXTlpCVk9CZW8/edit?usp=sharing
Camera:
Oppo stock camera APK
http://xdaforums.com/attachment.php?attachmentid=2729121&d=1399395019
And from a new OPPO chinese beta 2.0 rom but working in their stable 1.2 releases is this apk
http://www12.zippyshare.com/v/73078312/file.html
No problem! I went ahead and zipped the system/frameworks folder in case you see anything else in there that's helpful. 29mb https://docs.google.com/file/d/0B2sKOiZ3x1KWOTVjMDZETjFOVTA/edit?usp=docslist_api
Just loaded cm11. On freedcamera I'm seeing
jpeg,bayer-mipi-10bggr,bayer-ideal-qcom-10bggr,bayer-qcom-10bggr,yuv422sp
And just to confirm instead of seeing grbg I'm seeing bggr
Edit: those are also the same values while in the native Color OS
choose
bayer-mipi-10bggr
attach a sample file.
will recheck the oppo camera apk and try to emulate the way it saves dng in color os
15mbs here you go
https://drive.google.com/file/d/0B2sKOiZ3x1KWVGtZbWtJaHQ3S1U/edit?usp=sharing
Thanks for taking a look into this!
yeah dcraw decodes it it was an image of raw camera thread.
Oppo Camera uses standard raw picture callback then saves the bytestream with .dng extension will enable it in freedcam the method exists just disabled not sure if the cm11 libs will pull raw stream but it will not hurt to try.
What's Poster Mode in the Camera? it uses jni libs that I could import into freedcam.
I haven't used the new camera but i believe it might be a locale feature (china) like QR scanner but with posters
http://xdaforums.com/find-7/themes-apps/oppocamera-apk-chinese-beta-rom-t2809177
The only other features worth exploiting if even possible would be
"Super Zoom", a 50mp photo compilation of multi shots
and maybe a color profile for Adobe Camera/Lightroom since it appears that native C.OS Raw files are appearing very purpleish (70s retro feel)
Having issue with rawcallback code because oppo uses a hidden api
the method is this android. hardware . Camera . addRawImageCallbackBuffer
in the stock camera apk that code is executed before take picture executes raw call back I've tried using reflection to allow me to access that method see this commit https://github.com/troop/FreeDCam/commit/1539cf777a29023bd7c1c2c3e088ed62de0c973b
but I still get the method not found error even the the method exists in the framework once I get this right I believe it should be matter of saving the bytes to file as dng
Silly question but worth checking. Does it matter the camera is based on 4.3? Wondering if it has anything to do with the androidmanifest.xml
Just loaded cm11. On freedcamera I'm seeing
jpeg,bayer-mipi-10bggr,bayer-ideal-qcom-10bggr,bayer-qcom-10bggr,yuv422sp
And just to confirm instead of seeing grbg I'm seeing bggr
Edit: those are also the same values while in the native Color OS