Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,045 Members 38,237 Now Online
XDA Developers Android and Mobile Development Forum

Android Raw Capture Camera Mods [Nubia Camera| FreedCamera| M8 Stock Camera]

Tip us?
 
defcomg
Old
(Last edited by defcomg; 8th July 2014 at 04:55 AM.)
#241  
defcomg's Avatar
Senior Member - OP
Thanks Meter 1,826
Posts: 2,400
Join Date: Dec 2006
Location: Port Elizabeth

 
DONATE TO ME
Quote:
Originally Posted by EarlyMon View Post
-6 gives 16-bit layers, Elle said that -m 40 seemed unnecessary given that the images didn't look noisy - I couldn't resist, so I went for 10 iterations on the -m.

Note that -4 = -6 (16 bits) -W (suppress lightening) -g 1 1 (linear gamma)

And -q 3 (AHD interpolation) is the default - which I had stuck in my head wasn't, so just leave that off.

So, I did -

dcraw -v -m 10 -r 2.132583 1 1.480864 1 -6 -T IMAG0003-puppy.draw

Result, with no changes or edits -



Actual tiff - https://drive.google.com/file/d/0B2M...it?usp=sharing

And I believe that you'll find the above is the same as -

dcraw -v -m 10 -r 2.132583 1 1.480864 1 -6 -T -H 2 IMAG0003-puppy.draw

Where -H is the highlight modifier.

PS - pretty sure that Granite is using the M8 cam, like me.

---------- Post added at 03:00 PM ---------- Previous post was at 02:43 PM ----------

Here's a recap of the heavily processed photo from my earlier post, followed by the same using -

dcraw -v -m 10 -r 2.132583 1 1.480864 1 -6 -T -H 2 IMAG0007.draw





I think the additional sky detail makes it pretty obvious that Elle was only 100% right (thank you Elle!).

Here's the full tiff of the second one, no other processing done.

https://drive.google.com/file/d/0B2M...it?usp=sharing

Note - the building was shot with +1 EV because I'd thought from last week's trials it would need that. So, that's why it's a bit overexposed.
was bored lol did some editing
http://imgur.com/a/CtQ93
The Following 2 Users Say Thank You to defcomg For This Useful Post: [ Click to Expand ]
 
defcomg
Old
#242  
defcomg's Avatar
Senior Member - OP
Thanks Meter 1,826
Posts: 2,400
Join Date: Dec 2006
Location: Port Elizabeth

 
DONATE TO ME
Quote:
Originally Posted by EarlyMon View Post
Yeah, that didn't work - I think he was off on what he told me about the resolution, and...

...so I tried -
Code:
{  6746112,2592,1552, 0, 0, 0, 0, 0,0x16,0,0,"HTC","OneSV" },
Still no go.

And then -
Code:
{  6746112,2592,1552, 0, 0, 0, 0, 1,0x16,0,0,"HTC","OneSV" },
Nope.
if its this
https://db.tt/K9oe2Ebq

result

http://imgur.com/NvzzZ4M

attached dcraw
Attached Files
File Type: c dcraw.c - [Click for QR Code] (309.2 KB, 6 views)
The Following User Says Thank You to defcomg For This Useful Post: [ Click to Expand ]
 
EarlyMon
Old
(Last edited by EarlyMon; 8th July 2014 at 05:31 AM.)
#243  
EarlyMon's Avatar
Senior Member
Thanks Meter 545
Posts: 1,002
Join Date: Jun 2010
Quote:
Originally Posted by defcomg View Post
if its this
https://db.tt/K9oe2Ebq

result

http://imgur.com/NvzzZ4M

attached dcraw
It's official - I'm an idiot. Ok, plus exhausted.

I was building locally and then going off and executing the one in my path in /usr/bin

Thanks!!
Bang!

Best new gun forum Ballistically Speaking
 
defcomg
Old
#244  
defcomg's Avatar
Senior Member - OP
Thanks Meter 1,826
Posts: 2,400
Join Date: Dec 2006
Location: Port Elizabeth

 
DONATE TO ME
Quote:
Originally Posted by EarlyMon View Post
It's official - I'm an idiot. Ok, plus exhausted.

I was building locally and then going off and executing the one in my path in /usr/bin

Thanks!!
haha it happens
 
defcomg
Old
#245  
defcomg's Avatar
Senior Member - OP
Thanks Meter 1,826
Posts: 2,400
Join Date: Dec 2006
Location: Port Elizabeth

 
DONATE TO ME
Macro Sample

https://flic.kr/p/o1tGje

Turned out Good Did the usual -a option Then I was done processing in acr Went to color balance added some green to the shadows I always end up with green tint in highlights and magenta in shadows but color balance helps
 
4everAnoob
Old
#246  
Member
Thanks Meter 16
Posts: 87
Join Date: Oct 2012
Thumbs up Mi2raw

I would like to point out a brilliant application called Mi2raw, made for IMX135 phones, including the LG G2.
The latest version was just released yesterday and is very fast and easy to use (no ugly and slow operation like FreeDcam).

To download it:
https://play.google.com/store/apps/d...p.mi2raw&hl=nl

Official thread:
http://xiaomi.eu/community/threads/m...eal-raw.23563/

All credit to the developer (MaGin)
The Following User Says Thank You to 4everAnoob For This Useful Post: [ Click to Expand ]
 
MatteoB92
Old
#247  
MatteoB92's Avatar
Senior Member
Thanks Meter 120
Posts: 303
Join Date: Jun 2012
Location: Bari
Quote:
Originally Posted by defcomg View Post
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

Tested Devices:
LG G2 use Freedcam or Pm @OptimusRs
ZTE Nubia Z5Sn if stock search for modded stock cam theres a thread on xda
Xiaomi Mi3 use freedcam
HTC One M8 http://www.mediafire.com/download/fm...aCam1.0.30.apk | Stock Cam | http://www.mediafire.com/download/zr...br/Camera2.apk
HTC One S http://www.mediafire.com/download/2j...49/OneSRaw.apk
LG Optimus 3D

These devices are mostly snapdragon devices

Basically selecting a different Picture Mode Getting the Bayer Sensor data then decoding using dcraw by dave coffin


Exynos Devices Testing out raw-save capture mode found in the libs

MediaTek Support Will add Later to freedcam as the Method of capture is different if you have a mediatek device leave a post like this
Mediatek
Then a copy of your build.prop or Model Name found in about in settings will add you device


Omap Picture format option should work by selecting raw try freedcam

Nvidia ?????????




dcraw cmd parameters
IMX135

Code:
dcraw -v -4 - q3 -T -m 15 -k 50 -H 5 -r 2.132583 1 1.480864 1 *.draw |dcraw -v -4 - q3 -T -m 15 -k 50 -H 5 -r 2.132583 1 1.480864 1 *.draw
HTC one ultra pixel

Code:
dcraw -v -4 - q1 -T -m 15 -H 5 -r 2.132583 1 1.480864 1 *.draw
compiling dcraw with mingw
Code:
gcc -o dcraw -O4 dcraw.c -lm -DNODEPS -DJGPP -l ws2_32
dcrawA.zip is for G2/Z5S/M8/One S
dcrawMi3 is for Xiaomi Mi3

FreedCam
Exynos may test using exynos raw switch
Tripod Mode is for nubia Devices Forces 1" exposure at Night using Negative ev And manual shutter control with Tripod mode on it forces the iso to go done from the default 400
Dear developer, also the I9505 is a Snapdragon (600) device, have you any plan to give us the possibility to shot photos in RAW?
 
defcomg
Old
#248  
defcomg's Avatar
Senior Member - OP
Thanks Meter 1,826
Posts: 2,400
Join Date: Dec 2006
Location: Port Elizabeth

 
DONATE TO ME
Quote:
Originally Posted by MatteoB92 View Post
Dear developer, also the I9505 is a Snapdragon (600) device, have you any plan to give us the possibility to shot photos in RAW?
Samsung uses an external ISP chip due to there being two SOC on the different Variants in order to maintain same PQ, but with that said give this a try https://github.com/troop/FreeDCam/releases/tag/v2_1.1 if you see any other picture format on the list you maybe in luck being an s600 device it will most likely say raw instead of Bayer in the picture format list
 
xk0niR
Old
#249  
Member
Thanks Meter 20
Posts: 87
Join Date: Jun 2014
I am using a Galaxy S4 too and raw capture would be so great.
I tried the version you just posted but I could only see jpeg. The settings are buggy on the S4, hard to read. I am using AOSP ROM, I don't know if TW based would make a difference
 
troopii
Old
#250  
Senior Member
Thanks Meter 501
Posts: 257
Join Date: Feb 2013
Location: muc
Quote:
Originally Posted by xk0niR View Post
I am using a Galaxy S4 too and raw capture would be so great.
I tried the version you just posted but I could only see jpeg. The settings are buggy on the S4, hard to read. I am using AOSP ROM, I don't know if TW based would make a difference
can you post your cameraparameters?
they are printed to logcat when starting freedcam. or look for hardware info in playstore.
it should look like these params https://github.com/troop/FreeDCam/tr...ter/Parameters

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes