Android Raw Capture Freedcam

Status
Not open for further replies.
Search This thread

Hid3rs

Senior Member
Dec 27, 2013
423
671
Could any of you take a look at this .raw, please? Click!

None of the bayer formats works on my g2 running AOSP/CM ROMs, but when I chose YUV422SP, I got this 24.9mb file (bayer raw files were 15.6mb, dngs 25.1mb - so I have no idea what it is). I couldn't open it with anything and RawTherapee crashes on start. If It was possible to get a picture out of this raw (?!) file, that would be awesome, so I'd really appreciate if you'd try to decode it.
 

troopii

Senior Member
Could any of you take a look at this .raw, please? Click!

None of the bayer formats works on my g2 running AOSP/CM ROMs, but when I chose YUV422SP, I got this 24.9mb file (bayer raw files were 15.6mb, dngs 25.1mb - so I have no idea what it is). I couldn't open it with anything and RawTherapee crashes on start. If It was possible to get a picture out of this raw (?!) file, that would be awesome, so I'd really appreciate if you'd try to decode it.

Rawcapture is not working on cm12 and aosp roms! And what you have is a yuv image. Use irvanview or 7yuv.

Sent from my LG-D855 using XDA Free mobile app
 

Hid3rs

Senior Member
Dec 27, 2013
423
671
Rawcapture is not working on cm12 and aosp roms! And what you have is a yuv image. Use irvanview or 7yuv.

I know raw doesn't work, that's why I was happy to see that it actually took a picture using YUV - at least I thought so! I can't seem to open it with anything though, tried both irfanview and 7yuv.
Maybe it's time for me to give up on getting this thing to work...
 

troopii

Senior Member
I know raw doesn't work, that's why I was happy to see that it actually took a picture using YUV - at least I thought so! I can't seem to open it with anything though, tried both irfanview and 7yuv.
Maybe it's time for me to give up on getting this thing to work...

When i tryed it with the g3 yuvs it was working with both programs. You have to set correct yuv format.
Well i can compress it to jpeg with freedcam. But i think thats not what you want. Also no idea how big it will be. I just activated it because its there.
A different posebility would be to go back to stock or to the g3 ports.

Sent from my LG-D855 using XDA Free mobile app

@Hid3rs as i said its working with the correct settings, well mine are not perfect but you see the image
Why raw not work on cm12 thx to defcomg
 

Attachments

  • Unbenannt.jpg
    Unbenannt.jpg
    250.2 KB · Views: 348
Last edited:
  • Like
Reactions: Hid3rs

awol-galaxy

Member
May 11, 2012
16
3
i cannot open the app on my xperia z2. the resolution shows is 13MP (before force close), which is not supported by my phone.
how can i change the default resolution so that the app can be open?

thank you
 

troopii

Senior Member
i cannot open the app on my xperia z2. the resolution shows is 13MP (before force close), which is not supported by my phone.
how can i change the default resolution so that the app can be open?

thank you
well your phone has 20,mp cam, so you can also shoot at lower resolution, afaik it support 13mp.
on first start freedcam use the values returned from picture-size parameters, which is on all phones not the max size.
you can choose the picture size in the picture settings.
also i dont know where it crash without log.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. .... ... . .

How To take a catlog
 
Last edited:

awol-galaxy

Member
May 11, 2012
16
3
i will upload the log later. currently reading you link 'how to take a catlog'.
xperia z2 camera resolution is as follows:
20.7mp 5248*3936
15.5mp 5248*2952
8mp 3264*2448
8mp 3840*2160
3mp 2048*1536
2mp 1920*1080

no 13mp available
 

Attachments

  • Log_2015-02-01_17-04-41.txt
    111.1 KB · Views: 13
Last edited:
  • Like
Reactions: troopii

awol-galaxy

Member
May 11, 2012
16
3
where can i found framework.jar? if i found it, i will upload it.

edit: found it. files attached. still force close. thank you.
 

Attachments

  • framework.jar
    17.3 KB · Views: 23
  • Log_2015-02-02_00-58-24.txt
    115.6 KB · Views: 18
Last edited:
  • Like
Reactions: troopii

Hid3rs

Senior Member
Dec 27, 2013
423
671
@Hid3rs as i said its working with the correct settings, well mine are not perfect but you see the image
Why raw not work on cm12 thx to defcomg

Thanks for taking a look at my yuv file, it looks like it's not really worth messing with it.

That cm12 thing looks interesting though. I'm not really sure what I'm looking at, is that piece of code ROM or kernel related? Do you think we could get it to work somehow, or is it something only CM devs could do?
 

troopii

Senior Member
where can i found framework.jar? if i found it, i will upload it.

edit: found it. files attached. still force close. thank you.
https://github.com/troop/FreeDCam/releases/tag/3.3.51
should fix your problem. lets see whats crashing next^^, didnt notice that defcomg added more sony params.

Thanks for taking a look at my yuv file, it looks like it's not really worth messing with it.

That cm12 thing looks interesting though. I'm not really sure what I'm looking at, is that piece of code ROM or kernel related? Do you think we could get it to work somehow, or is it something only CM devs could do?
its from framework. hm no idea if it will fix it for cm12 with uncomment it. normal someone thought about something when comment it out.
if you are able to build cm12 try it or find a dev for your device.
 

awol-galaxy

Member
May 11, 2012
16
3
https://github.com/troop/FreeDCam/releases/tag/3.3.51
should fix your problem. lets see whats crashing next^^, didnt notice that defcomg added more sony params.


its from framework. hm no idea if it will fix it for cm12 with uncomment it. normal someone thought about something when comment it out.
if you are able to build cm12 try it or find a dev for your device.

Hi, thanks for the update. now the app can be open but when I take picture, got this error message "Got Error from camera:100"
and my screen become as image attached.
logcat attached for your further action.
thank you.
 

Attachments

  • Log_2015-02-02_21-42-07.txt
    268 KB · Views: 11
  • Screenshot_2015-02-02-21-45-01.jpg
    Screenshot_2015-02-02-21-45-01.jpg
    265.6 KB · Views: 754
  • Like
Reactions: troopii

MatteoB92

Senior Member
Jun 15, 2012
892
396
Bari
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?
 

troopii

Senior Member
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..........
 
Last edited:
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