Android Raw Capture Freedcam

Status
Not open for further replies.
Search This thread

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33
I Created this thread for anyone interested in Capturing raw on their Device it may not work on most but i will try get raw from as many devices as possible.

SD SOC

S600 <

Install Freedcam Swipe Right > Picture Format Choose raw

if device not list below attach raw sample in a post to add DCRaw support.

S800+

in Picture Format Same option submit sample so we can DNG Support.


Most Snapdragon Devices have raw enabled in Picture Format.

*Sony Devices seem to have raw disabled and removed from list with the exception of Xperia L perhaps devices released in the similar period have it too.

*Samsung Seems to have raw in the Picture format List but somehow the data is intercepted maybe there is a workaround who knows .

*HTC only M7 seems to be disabled .


Omap4
Seems only LG Optimus 3D Working

To Capture on OMAP4 you have two Options either Picture format route or making a special folder where raws get dumped along with the usual jpeg capture.
will add what to do later but it's in this thread if you wanna search it.

Mediatek SOC

If you can access engineering Menu you can capture raw

the what to do part I will add later but it's also in this thread.


Tested Devices
############ Bayer Raw + DNG Support #####
Nubia NX503A
LG G2
LG G3
Gionee Elife E7
Xiaomi mi3
Note 3 one Confirmed working
Find 7
One Plus one
HTC One M8 Uncalibrated
Lenovo K910
XPERIA L
One S
One SV
HTC Double Shoot
THL 5000
ALLVIEW

EDIT 07/02/15

ANY MEDIATEK DEVICE THAT HAS ACCESS TO ENGINEERING MODE

ANY QUALCOMM DEVICE THAT HAS RAW/MIPI/QCOM IN PICTURE FORMAT LIST

WITH THAT SAID EVERY SAMSUNG AND SONY DEVICE IS EXCLUDED BLAME IT ON SONY WELL XPERIA L IS THE UNIQUE CASE PERHAPS OTHER DEVICES RELEASED AT THE SAME TIME

HTC ONE M7 STATUS unknown
HTC ONE M8 RAW IS BROKEN IN LOLLIPOP





FreedCam Releases
https://github.com/troop/FreeDCam/releases/




compiling dcraw with mingw
Code:
gcc -o dcraw -O4 dcraw.c -lm -DNODEPS -DJGPP -l ws2_32

The binaries attached are outdated till I update second post you will find updated ones scattered all over the thread my bad.
 

Attachments

  • dcraw.c
    308.9 KB · Views: 1,131
  • dcrawMi3.zip
    201 KB · Views: 1,506
  • dcrawA.zip
    201 KB · Views: 2,044
  • FreeDCam.apk
    1.4 MB · Views: 9,815
Last edited:

starbase64

Senior Member
Apr 3, 2007
4,365
1,698
Hi,

can't install the modifid apk, always installer force close.

you have a titanium backup?

edit: attached the camera parameter.txt from CineDroid

Code:
HTC One M8 > picture-format-values=jpeg,bayer-mipi-10grbg,bayer-ideal-qcom-10grbg,bayer-qcom-10grbg,yuv422sp

regards

starbase64
 

Attachments

  • camera.parameters.txt.zip
    2.3 KB · Views: 295
Last edited:
  • Like
Reactions: defcomg

defcomg

Senior Member
Dec 10, 2006
3,854
3,302
33
M8 Supports Raw its using grbg pattern Uhm Decompile http://www.mediafire.com/?oe3azxltkitza7v search for bayer-mipi-10bggr there should be 3 results replace them with bayer-mipi-10grbg save the smali files and build/compile it i will try upload nubia can for m8 later if you still need it

Sent from my NX503A using XDA Free mobile app
 

webwalk®

Senior Member
Dec 26, 2010
339
44
Nice

i9300 pa
I shot two pictures draw files have different sizes:

1841106bytes
1540857bytes

Highest resolution 8mpx

Sent from my GT-I9300 using Tapatalk
 

starbase64

Senior Member
Apr 3, 2007
4,365
1,698
Hi,

the new apk works fine on HTC One M8 :D

the first *.draw has 1.819.335 bytes

regards

starbase64
 

felipe.gazzi

New member
Aug 8, 2010
3
0
Porto Alegre/RS
FC on Galaxy Nexus

Hi everyone,

I've tried run it on my GNexus but is not working at all.
It's force closing after the presentation, and if a try to open again, it's FC right away.

In attached files is the logcat, maybe it will help to find out what is happening or even if is possible to run on GNexus

Thanks!
 

Attachments

  • alogcat.2014-05-18-04-20-51-0300.txt
    45.4 KB · Views: 48

defcomg

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

i9300 pa
I shot two pictures draw files have different sizes:

1841106bytes
1540857bytes

Highest resolution 8mpx

Sent from my GT-I9300 using Tapatalk

That's odd the raw file size should be remain the same try take a third in a different scene see if it changes, also what are the supported picture formats on your device?

Hi,

the new apk works fine on HTC One M8 :D

the first *.draw has 1.819.335 bytes

regards

starbase64

Seems to small to be the raw did you change bayer-mipi-10bggr to bayer-mipi-10grbg or no changes to apk if not there could be your problem
 

defcomg

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

I've tried run it on my GNexus but is not working at all.
It's force closing after the presentation, and if a try to open again, it's FC right away.

In attached files is the logcat, maybe it will help to find out what is happening or even if is possible to run on GNexus

Thanks!
Create this directory
RaW_PiCtUrEs

path should look like this

/data/misc/camera/
RaW_PiCtUrEs

its case sensitive once done you can use any other camera app it should produce .raw files also check camera.parameters that the default mode is not high-quality-zsl if it is I will try force the particular camera app to use high-quality mode that's required for raw to work .

second method seems crazy but requires the terminal using the camera test binary it can capture in yuv/raw/jpeg just seems insane to use the camera like this
 
  • Like
Reactions: felipe.gazzi

webwalk®

Senior Member
Dec 26, 2010
339
44
That's odd the raw file size should be remain the same try take a third in a different scene see if it changes, also what are the supported picture formats on your device?

I took a couple of pictures now.. closeups get around 1,7 mb and wide screens around 2mb

But every time the file size is different...

5yma2ase.jpg



Sent from my GT-I9300 using Tapatalk
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    I Created this thread for anyone interested in Capturing raw on their Device it may not work on most but i will try get raw from as many devices as possible.

    SD SOC

    S600 <

    Install Freedcam Swipe Right > Picture Format Choose raw

    if device not list below attach raw sample in a post to add DCRaw support.

    S800+

    in Picture Format Same option submit sample so we can DNG Support.


    Most Snapdragon Devices have raw enabled in Picture Format.

    *Sony Devices seem to have raw disabled and removed from list with the exception of Xperia L perhaps devices released in the similar period have it too.

    *Samsung Seems to have raw in the Picture format List but somehow the data is intercepted maybe there is a workaround who knows .

    *HTC only M7 seems to be disabled .


    Omap4
    Seems only LG Optimus 3D Working

    To Capture on OMAP4 you have two Options either Picture format route or making a special folder where raws get dumped along with the usual jpeg capture.
    will add what to do later but it's in this thread if you wanna search it.

    Mediatek SOC

    If you can access engineering Menu you can capture raw

    the what to do part I will add later but it's also in this thread.


    Tested Devices
    ############ Bayer Raw + DNG Support #####
    Nubia NX503A
    LG G2
    LG G3
    Gionee Elife E7
    Xiaomi mi3
    Note 3 one Confirmed working
    Find 7
    One Plus one
    HTC One M8 Uncalibrated
    Lenovo K910
    XPERIA L
    One S
    One SV
    HTC Double Shoot
    THL 5000
    ALLVIEW

    EDIT 07/02/15

    ANY MEDIATEK DEVICE THAT HAS ACCESS TO ENGINEERING MODE

    ANY QUALCOMM DEVICE THAT HAS RAW/MIPI/QCOM IN PICTURE FORMAT LIST

    WITH THAT SAID EVERY SAMSUNG AND SONY DEVICE IS EXCLUDED BLAME IT ON SONY WELL XPERIA L IS THE UNIQUE CASE PERHAPS OTHER DEVICES RELEASED AT THE SAME TIME

    HTC ONE M7 STATUS unknown
    HTC ONE M8 RAW IS BROKEN IN LOLLIPOP





    FreedCam Releases
    https://github.com/troop/FreeDCam/releases/




    compiling dcraw with mingw
    Code:
    gcc -o dcraw -O4 dcraw.c -lm -DNODEPS -DJGPP -l ws2_32

    The binaries attached are outdated till I update second post you will find updated ones scattered all over the thread my bad.
    9
    Some Raw Info and Tuts

    http://freedcam.hol.es


    Freedcam Support Over Here

    Have issues on your device

    Create a device thread with Logcat
    8
    My Flickr Stream Contains some raws

    Thanks

    Troop - Freedcam
    Dave Coffin Dcraw
    François Simon's Color Matrix
    Mark Ginstburg Color Matrix
    6
    I'm here again : I follow perpetually the thread, and I try every app release when published.
    Still on Touchwiz, now my Samsung Galaxy S4 is able to shoot RAW.
    Here the CameraParameters https://www.dropbox.com/s/cm35i440erj1gxz/GT-I9505_CameraParameters.txt?dl=0
    & the logcat https://www.dropbox.com/s/0qhob54mlbhau6d/2015-02-02-15-26-40.txt?dl=0
    The problem is that the file saved weights 'only' 4.6MB https://www.dropbox.com/s/jfygac2pmqnn9dx/IMG_2015.02.02_15.27.08_raw.raw?dl=0
    Any idea mate?
    rename the raw to .jpg and you will see what it is. sorry no raw
    samsung has the same problem as always, we are not able to disable zsl

    /// EDIT
    FREEDCAM SUPPORT IS CLOSED here for me!
    i also removed all releases from github!
    why? its simple. freedcamhol.es got listed as mailware site. and to save you from such stuff i removed all binarys!
    and these are also my last words here. im out..........
    6
    sure i saw it but i didnt change something for mtk because i dont know whats wrong.

    something about the work process:
    reading a logcat with 500kb takes 15-20min until i have found the needed information or not.
    the s4/5 have a own camera wrapper like lg has for the g3. to get that implementet i had to rework (ALL!!!) menuitems. i did it in 5 hours...
    building raw therapee took me 8hours. (it was not a problem with the source but with my building env)
    and i did both on the same day....

    what i want to say is, im only one whos doing all that stuff and its timeexpensive.
    and im realy trying to get all that devices working with freedcam.
    but if you want to push me to a hurry, i get lazy and think why i should do this, i dont have that devices why should i care....

    im doing this in my free time...

    //missing libs for rt
    http://freedcam.hol.es/download/rt_libs_64.zip