KillerInk / FreeDcam

FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs
GNU General Public License v2.0
298 stars 44 forks source link

Cannot identify the proper settings for Redmi 6A #197

Open KianaKaslana638 opened 2 years ago

KianaKaslana638 commented 2 years ago

Describe the bug FreeDcam can take pure raw sensor data from Redmi 6A, but it's too fiddly to get the Bayer data to be converted into DNG. Plus the Raw to DNG converter crashes too often whenever I try to convert with invalid parameters. mtk1651589879798pure__4224x3136_10_0.zip

To Reproduce Steps to reproduce the behavior:

  1. Take a photo and save it as Bayer
  2. Open the FreeDcam Gallery, and open the Bayer file to the DNG converter

Expected behavior Raw Bayer data converted into usable DNG mtk1651589879798pure__4224x3136_10_0.zip

Smartphone (please complete the following information): Xiaomi Redmi 6A EU

KillerInk commented 2 years ago

Screenshot_2022-05-04-14-42-21-981_troop com freedcam

not sure whats your problem. its working as it should. cannot realy say if the colors are correct or red blue is switched, or if its the matrix. that stuff you have to find out by yourself. but bggr looks more correct to me

maybe you are lucky and one is already added that works with your raw if not you have to create on your own or extract it from chromatix libs for color matrix read this https://github.com/KillerInk/FreeDcam#how-to-create-a-custom-matrix

KianaKaslana638 commented 2 years ago

FreeDcam is still crashing on my phone. Is there any way to convert that in dcraw?

On Wed, May 4, 2022 at 8:54 PM KillerInk @.***> wrote:

[image: Screenshot_2022-05-04-14-42-21-981_troop com freedcam] https://user-images.githubusercontent.com/30864229/166683408-7e0228ec-90ce-4d51-b3f9-cb6fd3ade5af.jpg

not sure whats your problem. its working as it should. cannot realy say if the colors are correct or red blue is switched, or if its the matrix. that stuff you have to find out by yourself. but bggr looks more correct to me

maybe you are lucky and one is already added that works with your raw if not you have to create on your own or extract it from chromatix libs for color matrix read this https://github.com/KillerInk/FreeDcam#how-to-create-a-custom-matrix

— Reply to this email directly, view it on GitHub https://github.com/KillerInk/FreeDcam/issues/197#issuecomment-1117278941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJV6UGMHEQAD5WKMQIRKQ7LVIJXP5ANCNFSM5VA3ZZTA . You are receiving this because you authored the thread.Message ID: @.***>

KillerInk commented 2 years ago

You can manually add a dngprofiles.xml with that content into sdcard/Android/data/troop.com.freedcam/files

<devices>
<device name = "">
<opcodes>
</opcodes>
<filesize size= "0">
<blacklvl>64</blacklvl>
<whitelvl>1023</whitelvl>
<width>4224</width>
<height>3136</height>
<rawtype>6</rawtype>
<colorpattern>bggr</colorpattern>
<rowsize>0</rowsize>
<matrixset>Nexus6</matrixset>
</filesize>
</device>
</devices>