yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] troopii:
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
[Android Apps and Games] awol-galaxy:
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
[Android Apps and Games] troopii:
the problem is not the picture size, i fix it later when im back
[Android Apps and Games] awol-galaxy:
thank you.

will wait for new update.
[Android Apps and Games] troopii:
https://github.com/troop/FreeDCam/releases/tag/3.3.50

i hope that this fix it, because i dont understand why it crash^^

can you send me your framework.jar too? it seems that there is somekind of custom framework from sony
[Android Apps and Games] awol-galaxy:
where can i found framework.jar? if i found it, i will upload it.

edit: found it. files attached. still force close. thank you.
[Android Apps and Games] Hid3rs:
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?
[Android Apps and Games] troopii:
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.
[Android Apps and Games] awol-galaxy:
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.
[Android Apps and Games] MatteoB92:
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?
[Android Apps and Games] troopii:
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..........
[Android Apps and Games] itzsnookums:
Ok with raw, aren't the pictures sizes supposed to be the same as the megapixel?
[Android Apps and Games] defcomg:
yeah on the m8 it's 2688 x 1520 or do you mean picture size as in file size if so I don't think so
[Android Apps and Games] layup23:
I installed the apk from that mediafire link ( my phone is a Thl w200 with 8 mp camera) and the app works.

The only problem seems to be that the photos (which are in .draw extension) have the same size as the normal .jpeg files.

Why is that?
[Android Apps and Games] itzsnookums:
now take the files and convert them to jpegs and watch the size get bigger
[Android Apps and Games] defcomg:
HTC m8 sizes in bytes

raw 5,107,712 -> demosaic -> tiff 24,532,228 -> photoshop (levels fix, white balance, vibrance enhance high pass sharpening > jpeg at 4:4:4 progressive scan 2,150,400 jpeg size varies based on scene complexity
[Android Apps and Games] defcomg:
what picture formats are supported by your device?

https://play.google.com/store/apps/...edium=organic&utm_term=mediatek+engineer+mode

worth a try

xdaforums.com/showthread.php?t=2433569
[Android Apps and Games] starbase64:
[MENTION=377973]defcomg[/MENTION]

i have a m8 with InsertCoin Rom and Nubia with zsl off works fine, but doesn't work for my friends with stock Rom :(

edit: here is a log from a m8 with stock rom

---- 22.05.2014 08:58:47 ----

05-22 08:46:51.058 1229 1388 W PackageManager: Unknown permission com.qihoo360.mobilesafe.permission.strongbox.service.PrivacyFileService in package cn.nubia.camera

05-22 08:46:51.058 1229 1388 W PackageManager: Unknown permission com.ztemt.launcher.permission.READ_SETTINGS in package cn.nubia.camera

05-22 08:53:04.898 1229 1692 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=cn.nubia.camera/.CameraLauncher} from pid 2047

05-22 08:53:04.948 1229 1242 I ActivityManager: Start proc cn.nubia.camera for activity cn.nubia.camera/.CameraLauncher: pid=32044 uid=10159 gids={50159, 3003, 5012, 1028, 1015, 1023}

05-22 08:53:05.848 1229 2120 I ActivityManager: START u0 {cmp=cn.nubia.camera/com.android.camera.CameraWelcome (has extras)} from pid 32044

05-22 08:53:42.468 1229 2321 I ActivityManager: START u0 {cmp=cn.nubia.camera/com.android.camera.Camera} from pid 32044

05-22 08:53:43.058 32044 32107 E AndroidRuntime: Process: cn.nubia.camera, PID: 32044

05-22 08:53:43.058 1229 1433 W ActivityManager: Force finishing activity cn.nubia.camera/com.android.camera.Camera

05-22 08:53:43.578 1229 1373 W ActivityManager: Activity pause timeout for ActivityRecord{425f4580 u0 cn.nubia.camera/com.android.camera.Camera t40 f}

05-22 08:53:45.008 1229 1692 I ActivityManager: Process cn.nubia.camera (pid 32044) has died.

05-22 08:53:45.058 1229 1242 I WindowState: WIN DEATH: Window{425be598 u0 cn.nubia.camera/com.android.camera.CameraWelcome}

05-22 08:53:45.058 1229 14770 I WindowState: WIN DEATH: Window{4260d218 u0 cn.nubia.camera/com.android.camera.Camera}

---- 22.05.2014 08:58:47 ----
[Android Apps and Games] itzsnookums:
Starbase, were you able to get the stock camera to take raws?
[Android Apps and Games] defcomg:
could you attach framework. jar from the stock rom
[Android Apps and Games] starbase64:
Hi,

i reflashed insertcoin and now nubia also doesn't work :(

log is attached.

framework download: https://www.dropbox.com/s/mrb4mp4bkjommg5/framework.7z

regards

starbase64

---------- Post added at 03:40 PM ---------- Previous post was at 03:39 PM ----------

i don't know
[Android Apps and Games] PcFish:
Is there any reason Nubia can't read my MicroSD? When I try to save to external storage in settings it won't let me. EDIT: On T-Mo stock, unrooted. (I can take raws, which is awesome, but I can't use my SD, which sucks if I'm bursting lol)
[Android Apps and Games] defcomg:
What device and android version?

is the sd option unavailable or it refuses to save to sd?
[Android Apps and Games] defcomg:
this error seems to have something to do with getNumbetOfCameras method HTC seems to have changed it to _getNumberOfCamera and put in there own method think it might causing the out of bounds error did you. red lash the same version or updated not sure what changed
[Android Apps and Games] PcFish:
Sorry I thought I was on the M8 forums.

Yeah, T-Mobile US HTC One M8, latest update. All stock, Sense 6 unrooted.

I choose SD Card in the options and when I try to take a pic it says storage unavailable.
[Android Apps and Games] defcomg:
logcat it
[Android Apps and Games] starbase64:
[MENTION=377973]defcomg[/MENTION]

What can we do now?

Can you fix it?

edit: that helps? > https://www.htcdev.com/devcenter/opensense-sdk/htc-dual-lens-api

edit 2: i've contacted the dev of nubia camera and hope he update the app.

edit 3: [MENTION=377973]defcomg[/MENTION] can you upload the first version of nubia camera?
[Android Apps and Games] starbase64:
[MENTION=377973]defcomg[/MENTION]

Nubia camera works!!!! The trick is system language must be english!!!

possible to fix that for all languages?

regards

starbase64
[Android Apps and Games] defcomg:
lol I would have never guessed, I think it needs translation in res folder will upload files needed then who ever has fc can translate then will recompile do you have any raw samples checked your flickr stream pretty awesome pics even on stock camera and is dcraw working correctly for you?
[Android Apps and Games] starbase64:
yes, dcraw works without problems. but a compatible format for raw decoder or other android apps would be great.

dcraw -v -q 3 -m 5 -o 4 -S 1024 -H 6 -4 -a -T *.draw
[Android Apps and Games] TheEndHK:
I'm on HTC One S(z520e - Qualcomm S4 CPU), running on stock 4.1.1 with stock kernel. My picture format is a bit weird, it said support raw?

picture-format-values=jpeg,raw

I can install the apk but got FC on open. I use catlog app and just let it to start recording everything, hope it will help.
[Android Apps and Games] TheEndHK:
Do you have camera mod for Sony Z1 shutter speed as well? lol ... I've a friend got Z1 who is running on 4.4.2 now.

http://www.sendspace.com/file/axd7up

Here is my One S of everything you might need. From camera.apk to camera.msm8960.so and all files in system/framework
[Android Apps and Games] defcomg:
I think it's just raw in the one s case just have to take one raw image and figure out the bayer order do you know how to modify apk's?

if yes search for the const-string value bayer-mipi-10bbgr you should get three results replace them with raw
[Android Apps and Games] defcomg:
I just saw the parameters but never enabled anything but I remember seeing the source for focal and it has the options for manual shutter speed give focal a try on play store
[Android Apps and Games] defcomg:
HTC one m8 camera mod raw test http://www.mediafire.com/?7twdbkapxbn7ddc
[Android Apps and Games] starbase64:
testing, but looks good. the first file has 4,87MB, dcraw now to tiff. moment please... :D:D:D:D:D:D

---------- Post added at 10:09 PM ---------- Previous post was at 10:02 PM ----------

here ist the first from camera.apk

Auto Mode

draw: https://www.dropbox.com/s/8e2maw5ijxlmnoq/IMAG0001.draw

tiff: https://www.dropbox.com/s/dg7epak343gqvs1/IMAG0001.tiff

HDR Mode

draw: https://www.dropbox.com/s/9oz2r9bt8c45k1x/IMAG0003.draw

tiff: https://www.dropbox.com/s/q5bajtk9gdv6m4k/IMAG0003.tiff

---------- Post added at 10:17 PM ---------- Previous post was at 10:09 PM ----------

possible to rename the camera.apk to RAW Camera in App drawer, and the original camera.apk as Camera.

raw doesn't work in manual mode, here is log > https://www.dropbox.com/s/t2op6793y56q2x0/logcat_and_device_info.zip
[Android Apps and Games] JacK_Sparr0W:
I've got FCs on Galaxy Note 3 stock firmware rooted 4.4.2…

Want to test the RAW capture…*:D
[Android Apps and Games] defcomg:
logcat
[Android Apps and Games] defcomg:
logcat not detailed enough need the android run time part
[Android Apps and Games] starbase64:
Hi,

here is a complete log with all messages: https://www.dropbox.com/s/j4wdnp1t8oj3wn6/logcat.zip

regards

starbase64

---------- Post added at 03:43 AM ---------- Previous post was at 03:27 AM ----------

Xposed modul xSuite is a good solution for this...
[Android Apps and Games] defcomg:
does it fc after you click shutter button?
[Android Apps and Games] starbase64:
No, no fc.
[Android Apps and Games] turko9999:
i use stock rom, force closes, so any verison to work fine with htc one m8 stock rom?
[Android Apps and Games] defcomg:
Try this http://www.mediafire.com/?2jv2b6vtf1y3q49
[Android Apps and Games] defcomg:
Give this one a try http://www.mediafire.com/?zrble36j8k1p9br
[Android Apps and Games] starbase64:
I test it later, I have to work now (night shift).

regards

starbase64
[Android Apps and Games] defcomg:
This should produce raw on mediatek devices
[Android Apps and Games] defcomg:
Try this www.mediafire.com/?2jv2b6vtf1y3q49 picture format is raw
[Android Apps and Games] starbase64:
Hi,

manuel mode works now, but the result is jpg and not raw.

regards

starbase64

---------- Post added at 10:31 PM ---------- Previous post was at 10:25 PM ----------

Hi,

manuel mode works only temporarily, log is here:

https://www.dropbox.com/s/jscbm82ll6hr4wy/camera.txt

regards

starbase64
[Android Apps and Games] TheEndHK:
This APK works. REALLY Thanks. I've tried to take two raw pic in different lighting condition and both images appeared to be the same 10.28MB size.

But I have a question now. How to convert .draw to jpeg/tiff on Android and Windows platform other than the paid ver of Raw Decoder on PlayStore? I want freeware.
[Android Apps and Games] defcomg:
I would recommend to use dcraw on Windows or Linux can you give the file size in bytes will patch dcraw to support your device I can try port dcraw to android just need to download and setup ndk or perhaps this http://fcam.garage.maemo.org/apiDocs/_d_n_g_8cpp_source.html
[Android Apps and Games] defcomg:
S5 exynos test http://www.mediafire.com/?b86nd8s908q7ajk

Found this on the exynos s5 capture-mode raw-save

For other devices change picture format in quality settings an alternative to Nubia cam more simple will try add manual controls from m8 into it
[Android Apps and Games] TheEndHK:
10,782,464.00 bytes

Thanks again :good:
[Android Apps and Games] starbase64:
Yes please....
[Android Apps and Games] defcomg:
here we go you need to run it on 64bit windows
[Android Apps and Games] TheEndHK:
Thanks, I'm on win7 64bit but it seems doesn't work, the TIFF is just not right, I see nothing in the image. Not sure the problem comes from camera.apk or dcraw.

c:\>dcraw -v -4 -T -q 3 -m 15 -k 50 -S 1024 -H 5 -r 2.132483 1 1.480864 1 test1.draw

Here I attached the raw image file.
[Android Apps and Games] defcomg:
fixed

some raw samples imx135 http://d-h.st/iN0
[Android Apps and Games] starbase64:
[MENTION=377973]defcomg[/MENTION]

i have much artefacts in htc camera raw, possible to reduce this?
[Android Apps and Games] defcomg:
freedcam for nubia
[Android Apps and Games] starbase64:
[MENTION=377973]defcomg[/MENTION]

standard from first post > dcraw -v -q 3 -m 5 -o 4 -S 1024 -H 6 -4 -a -T *.draw

---------- Post added at 04:04 AM ---------- Previous post was at 03:56 AM ----------

[MENTION=377973]defcomg[/MENTION]

thanks for your work here and some help, here is a little donation for you 5KC312464E4828344

edit: I now have early shift, see you later
[Android Apps and Games] defcomg:
try increasing the median filter passes -m param

try dcraw -v -j -f -m 15 -o 4 -r 2.132483 1

1.480864 1 -4 -T

I replaced auto white balance with day wb from canon

Default (D65 lamp): multipliers 2.395443 1.000000

1.253807

Tungsten: multipliers 1.392498 1.000000 2.375114

Daylight: multipliers 2.132483 1.000000 1.480864

Fluorescent: multipliers 1.783446 1.000000 1.997113

Shade: multipliers 2.531894 1.000000 1.223749

Flash: multipliers 2.429833 1.000000 1.284593

Cloudy: multipliers 2.336605 1.000000 1.334642
[Android Apps and Games] starbase64:
[MENTION=377973]defcomg[/MENTION]

that's much better, thanks ;)
[Android Apps and Games] TheEndHK:
Thanks, it works now. I will try to take some outdoor photo and test it again. :good:
[Android Apps and Games] defcomg:
happy testing share some samples when done lol
[Android Apps and Games] jancarlos1597:
Not working on Xperia Z1 4.4.2 rooted, it's force closing...

I'm using the OP apk...

:((( I want to test that
[Android Apps and Games] defcomg:
give this a try added manual focus and manual shutter for the m8

In Manual Option tick the last Exposure and Focus the First exposure is exposure compensation I was just lazy to make another icon in settings > quality settings you can select picture format grgb mipi for raw there's also zsl switch .
[Android Apps and Games] defcomg:
try com.troop.freecam-2.apk.zip check in the picture quality settings picture formats but I think Sony disabled raw in the hal attach camera.msm8974.so from /system/lib/hw and libcameraclient from the lib dir
[Android Apps and Games] toussaintjames:
hey the app is not workin :(

Hi gud day ..the nubia camera app doesnt work on my note 3..is starts up but as i pass the screens n reach to the camera it force closes..can u fix that please..i wud really like this app..also i saw nubia has a music player that looks great..i dont kno if u can port it cuz i dont kno much abt porting porting ..but if u can that wud be great also
[Android Apps and Games] defcomg:
logcat ? did u try xdaforums.com/showpost.php?p=53168801&postcount=115
[Android Apps and Games] gypsy214:
I dont understand how to work this. I take picture and i get that raw folder with it the pictures are black (grey like no image) their format is .draw what do I need to do next? Do i need a software for pc?
[Android Apps and Games] defcomg:
you need to use dcraw

copy it to where all the .draw file open cmd CD into that dir

type

dcraw -v -4 -T -q 3 -m 5 -k 50 -S 1024 -r 2.132483 1

1.480864 1 *.draw should give you a 75mb 16bit tiff then process it how you like it will update first post later with images and maybe dcraw with an ui
[Android Apps and Games] gypsy214:
This is what I get when I do that command. Also dcraw -e filename.draw doesnt work either.

Do you have any suggestions? Device is LG G2 and looking at the cinedroid file it have one you said I needed.

Maybe something wrong as raw decoder apk doesnt want to convert the files either
[Android Apps and Games] flatronics:
I tried this camera on my SAMSUNG GALAXY NOTE 2 with moded build.prop to apear as S5 and it‘s working. I am able to preview the images as jpeg and I also have the .draw file. But I don‘t understand the second requirement in the OP.

I don't see the line image-format-values in cameraparameters.text
[Android Apps and Games] defcomg:
attach a sample raw and which apk are you using there's a bunch in this thread I know its messy by the way I tested a raw from a g2 worked fine since it has the same image sensor as my device pm OptimusRs from g2 sub forum he gave me the test raw
[Android Apps and Games] defcomg:
try attaching libcameraclient and libcameraexynos it seems the picture format method does not fly with the exynos soc camera half instead based on what I gathered from my cousins s5 it uses capture mode instead to switch to raw capture so with those libs I could check if the note 2 allows it
[Android Apps and Games] flatronics:
I dont have the libcameraexynos. But see if these lib files will be useful to you.
[Android Apps and Games] imboy25:
has anyone tried this with xperia z?

and what should i do with binary.7zip?
[Android Apps and Games] defcomg:
http://xdaforums.com/showpost.php?p=53168801&postcount=115

Download That

Settings > Select Camera 2D > Quality Settings > Picture Format

If you see anything other than jpeg and yuv422 select it take a picture upload the sample I will add it to dcraw decode table
[Android Apps and Games] defcomg:
got it added capture mode switch for raw save will upload it a bit later just googling exynos camera APIs
[Android Apps and Games] Bitti09:
Can i use it with my MI3 ?

code from CineDroid:

picture-format-values=jpeg,bayer-mipi-10rggb,bayer-ideal-qcom-10rggb,bayer-qcom-10rggb,yuv422sp
[Android Apps and Games] defcomg:
yes you can bayer-mipi-10rggb on post #127 follow the link download the apk install follow post 127 then in picture format select bayer-mipi-10rggb then upload the resulting .jpg should be about 16mb will patch dcraw for will add manual shutter and focus for mi3 later
[Android Apps and Games] Bitti09:
Ok

I've atached the jpg

Size: 16,424,960.00 Bytes

Thanks
[Android Apps and Games] indycar:
Fc Xperia z stock kk ncb. 230
[Android Apps and Games] OptimusRs:
Good Job Bro :cool:
[Android Apps and Games] defcomg:
Check Op you will find dcraw to decode it
[Android Apps and Games] defcomg:
Added Freedcam try it out look in setthings then turn on exynos raw if it fc or nothing happens logcat it

added some images
[Android Apps and Games] xarive:
The settings only show jpeg for this freecam. However, I tried the Freedcam from op and still it shows two mode of yuv422 only. Nothing other than that..
[Android Apps and Games] imboy25:
I have installed freedcam from that link and the one from the op. both apps don't show other format aside from jpeg. the nubia camera app also force closes. how can i provide a logcat? hehe, still a noobie here. sorry.
[Android Apps and Games] turko9999:
It needed root for m8? i really want to try raw on m8.

HTC One_M8 cihazımdan gönderildi
[Android Apps and Games] MafiaManV:
logcat from sony XZ

https://copy.com/LrdrLTJ41RN6bUkQ
[Android Apps and Games] defcomg:
FreedCam + Nubia No root Required

Stock You will need Root
[Android Apps and Games] turko9999:
Ok, i got it, but i dont get it the dcraw codes, im noob on them, what is for this codes? Do i need to use them for my M8, if yes how can i? And the other thing, i try to download test *.draw s, but when i try to open with CS6, i see only grey screen, thanks for your help again.

HTC One_M8 cihazımdan gönderildi
[Android Apps and Games] defcomg:
Basically dcraw converts the draw file from your device into 16bit linear tiff that can be used in CS6

1 capture draw

2 copy to PC

3 decode with dcraw.exe output tiff

4 TIFF to use with whatever image editor you like

Check out Starbase64's Thread http://xdaforums.com/showthread.php?t=2760705
[Android Apps and Games] Ashray_Vk:
Hi, I use the Xperia Z1, can anyone help me with the next step? I have installed the freedcam app. *Noob Alert*

Edit: I don't see other options than jpeg
[Android Apps and Games] defcomg:
Sony Seems to have disabled other picture formats try attaching camera.msm8974.so found in system/lib/hw perhaps forcing a Bayer format not on picture formats may work reason is on my device bayer-mipi-10grgb does not appears in the picture format but it still worked
[Android Apps and Games] guddu2011:
here u go
[Android Apps and Games] imboy25:
What are we going to do with the ".so" file?

Edit:

Sorry, i read again your reply and now i know what to do. Hehe, thanks!

2nd edit:

This file is for the Xperia Z1. Maybe you can also create one for Xperia Z with snapdragon s4 pro chipset? Thanks again!
[Android Apps and Games] X-Ray-S:
Hello,

Can you make an Apk for the htc one M7? I've tried alot of times Nubia Raw, FreeDcam, Htc Raw Camera Apk, but nothing works one of them. Running 4.4.2 with Sense 6 Official, everytime i got a Force Close...
[Android Apps and Games] defcomg:
logcat the fc on freedcam