Request)(DCP Extraction from dng Generated by find 7

Search This thread

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33
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
 

jaceace32

Member
Dec 12, 2005
43
3
Thank you for your work!!

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.
 

Attachments

  • img.zip
    455 bytes · Views: 34

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33
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.
 

jaceace32

Member
Dec 12, 2005
43
3
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
 

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33
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

Gave Stock App A try
Need to redirect OppoUsbEnviroment to Android/os/environment

will need any apk's found in /system/framework as well as framework. jar if framework2.jar exists that also so I can decompile the apk correctly then we should get the apk to run on aosp
 

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33

jaceace32

Member
Dec 12, 2005
43
3
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
 
Last edited:

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33
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
 
  • Like
Reactions: heydabop

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33

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.
 

jaceace32

Member
Dec 12, 2005
43
3
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)
 

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33
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
 

jaceace32

Member
Dec 12, 2005
43
3
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
 

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33
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

try this open FreedCam goto Quality Settings then in Picture format select jpeg then take a picture see if it saves a dng file in dcim freedcam
 

Attachments

  • find7.apk
    2.3 MB · Views: 16

Top Liked Posts