Esato

Forum > Sony Ericsson / Sony > Software, Firmware and Drivers > AutoChrome Camdriver for K850

123  Next
Author AutoChrome Camdriver for K850
Autochrome
Model not set
Joined: Jun 13, 2009
Posts: 24
PM
Posted: 2009-06-13 18:04
Reply with quoteEdit/Delete This PostPrint this post
This camdriver is basically an attempt to put together good features of various modded camdrivers around esato and se-nse forums, which one camdriver has but another lacks.

First of all, I am profoundly indebted to people like Raiderski, Strong, Brazzuka, ta_power, Witchking, and many others. I could learn a lot from these people’s codes.

Let me confess that I am not a modder basically, but I can understand the camdriver code. I know some assembly language as well as high-level programming languages like C and VB.

I took the “icing on the cake” of these people’s camdrivers and made this camdriver based on the original K850 v3.7 camdriver and I currently use it. So, I thought I would share with those who are interested in it. Blessings as well as curses are welcome.

Features are:
For still camera mode:
1. Forced flash in RER
2. 4 flashes instead of 3 for RER.
3. Default sharpness 7 instead of 0 for non-doc mode scenes.

For video camera mode:
1. Video size 352 x 288
2. Night mode video fps 25
3. Manual focus in video mode

To use manual focus in video mode, switch camera into night mode. Then, EV buttons (D pad up/down) work as focus keys rather than exposure.

In non-night mode, the EV buttons work as exposure control. So, if you want to control exposure in video mode, you can first set the focus in the night mode, then turn off the night mode, and then control the exposure.

Now the video is minimally pixelated and blocky. I will post some samples of video too


NB: No another application running error, focusing difficulty, or flash firing inconsistencies

Here is the link:

Driver:
http://www.4shared.com/file/1[....]Autochrome_Camdriver_K850.html

Sample video:
http://www.4shared.com/file/111588154/7792178f/MOV03776.html

Sample Photos:
http://www.esato.com/phonephotos/viewphotos.php?pid=20634

http://www.esato.com/phonephotos/viewphotos.php?pid=20635

http://www.esato.com/phonephotos/viewphotos.php?pid=20636

http://www.esato.com/phonephotos/viewphotos.php?pid=20637


AutoChrome Camdriver for K850 Version 4.0
New feature: Manual focus in photo mode

To use manual focus in photo mode:
a) switch camera into infinity focus mode.
b) Zoom in a little (1x, 2x, etc.).
c) Press EV buttons to focus in or out.
d) After the focus is set, zoom out back to zero and click the photo

So, to sum up, if you press EV buttons when zoomed in, it works as manual focus
If you press EV buttons without zooming in, it works as exposure function.

This method serves as zoom preview also like we used to have in Raiderski camdriver for K800

Note: Always use manual focus only when infinite focus is selected or in scene modes like landscape. Otherwise, manual focus will be lost when you half-press the shutter button.

Bugfix:
Previously, exposure below zeroth level (ie. -0.2 to 0) would not work (did anybody notice that??) - Now fixed.

Improvement:
Previously, sometimes exposure found to be interfering with the manual focus by sudden brightness changes while pressing EV buttons in manual focus mode - Rewrote code to avoid this inteference

New link (version 4.0):
http://www.4shared.com/file/1[....]river_for_K850_Version_40.html
[ This Message was edited by: Autochrome on 2009-06-17 15:12 ]
APR
Xperia Arc Silver
Joined: Feb 14, 2009
Posts: > 500
From: malaysia
PM, WWW
Posted: 2009-06-13 18:11
Reply with quoteEdit/Delete This PostPrint this post
Sounds good,but so pity i don't got a K850i
ROCKNROLLA
M600 white
Joined: Jun 13, 2009
Posts: 6
From: Russia
PM
Posted: 2009-06-13 18:28
Reply with quoteEdit/Delete This PostPrint this post
Autochrome, thats a good idea to take all the best camdriver code in one driver) if you want, i can help with testing your driver and it's next versions to improve it))
Autochrome
Model not set
Joined: Jun 13, 2009
Posts: 24
PM
Posted: 2009-06-13 18:31
Reply with quoteEdit/Delete This PostPrint this post

On 2009-06-13 18:28:40, ROCKNROLLA wrote:
Autochrome, thats a good idea to take all the best camdriver code in one driver) if you want, i can help with testing your driver and it's next versions to improve it))


ROCKNROLLA, you are most welcome.... People like u are my encouragement
rsdsgd
C905 Black
Joined: Nov 14, 2006
Posts: 140
From: Pakistan
PM
Posted: 2009-06-13 19:39
Reply with quoteEdit/Delete This PostPrint this post
U deserve a warm welcome here ....
I was so conscious about the manual settings for my k850i... I almost changed everything
but thanx for awaited camdriver...
[ This Message was edited by: rsdsgd on 2009-06-13 18:40 ]
K750,K800,K810,K850 & now:
C905 + 8GB Card + Fully customized, patched, elf packs, Vivaz fully hacked now
Autochrome
Model not set
Joined: Jun 13, 2009
Posts: 24
PM
Posted: 2009-06-14 03:58
Reply with quoteEdit/Delete This PostPrint this post

On 2009-06-13 19:39:12, rsdsgd wrote:
U deserve a warm welcome here ....
I was so conscious about the manual settings for my k850i... I almost changed everything
but thanx for awaited camdriver...
[ This Message was edited by: rsdsgd on 2009-06-13 18:40 ]



Thank you. I await your feedback
norbi1988
K850 Green
Joined: Nov 20, 2008
Posts: 144
From: Poland
PM
Posted: 2009-06-14 09:30
Reply with quoteEdit/Delete This PostPrint this post
I'm gonna try this
ROCKNROLLA
M600 white
Joined: Jun 13, 2009
Posts: 6
From: Russia
PM
Posted: 2009-06-14 09:45
Reply with quoteEdit/Delete This PostPrint this post
here is some photos:









can you realize some more sharpness?)
[ This Message was edited by: ROCKNROLLA on 2009-06-14 08:45 ]
fpxf
K850 Blue
Joined: Jun 14, 2009
Posts: 5
From: China
PM
Posted: 2009-06-14 10:07
Reply with quoteEdit/Delete This PostPrint this post
Manual focus in video mode so strong!!! it is the truth?? I wanna this driver.... u have the code for Manual focus.Would u share it to me?? I'll very thankful.
strong
K850 Blue
Joined: May 18, 2007
Posts: > 500
From: Greece
PM
Posted: 2009-06-14 10:23
Reply with quoteEdit/Delete This PostPrint this post
@Autochrome
welcome and good start to camdrive modding world
[ This Message was edited by: strong on 2009-06-14 09:24 ]
Samsung GT-i8910 Omnia HD
K850 R1FA035 modded camdriver
modded acoustic drivers
www.camdrivers.wz.
Autochrome
Model not set
Joined: Jun 13, 2009
Posts: 24
PM
Posted: 2009-06-14 10:46
Reply with quoteEdit/Delete This PostPrint this post
@Strong
Thank u Strong,

But seriously, we need more documentation as to the hardware registers in A2 phone cameras.

Do you know of any good documenation on this matter, just like we have for intel microprocessors?

@RockNRola
Thank u for testing the driver, but I do not think your photos represent the best of the driver's abilities...

ISO 100 for the close shots would not have made the the mouse picture overexposed with flash.

But thank u for trying my driver, friend

fpxf
Sure, I am happy to do so:
First of all, define a macro:
MANUAL_FOCUS =
$c8 01 //if in video mode?
$p1 07 //put current value of property 7 (night mode) in register 1
$c1 01 //if night mode turned on
#COM_EVENT(06,00) //reset exposure. Otherwise, pressing EV buttons will change the exposure rather than focus
$s4 %0 //put the current ev position index in register 4
$-4 03
$*4 08
#COM_EVENT(43,$w4) //send current value in register 4 to hardware. register 43 controls the focus.
$cx
$cx
#COM_EVENT(72,00);

Then change the code in exposure section to:
seq_set_prop_0 =
#TO_DRAFT
$s5 %0 $ma 5 $-5 09
#COM_EVENT(06,$w5)
#MANUAL_FOCUS //calls the this macro every time the ev keys are pressed.
;
[ This Message was edited by: Autochrome on 2009-06-14 10:02 ]
strong
K850 Blue
Joined: May 18, 2007
Posts: > 500
From: Greece
PM
Posted: 2009-06-14 11:10
Reply with quoteEdit/Delete This PostPrint this post
if i discover some think good i will tell you
i think Bruzzuka knows much more about that

EDIT: about k850 CMOS sensor module check this pdf
http://www.sony.net/Products/SC-HP/cx_news/vol48/pdf/imx020.pdf
[ This Message was edited by: strong on 2009-06-14 11:05 ]
Samsung GT-i8910 Omnia HD
K850 R1FA035 modded camdriver
modded acoustic drivers
www.camdrivers.wz.
Autochrome
Model not set
Joined: Jun 13, 2009
Posts: 24
PM
Posted: 2009-06-14 12:40
Reply with quoteEdit/Delete This PostPrint this post

On 2009-06-14 11:10:02, strong wrote:
if i discover some think good i will tell you
i think Bruzzuka knows much more about that

EDIT: about k850 CMOS sensor module check this pdf
http://www.sony.net/Products/SC-HP/cx_news/vol48/pdf/imx020.pdf
[ This Message was edited by: strong on 2009-06-14 11:05 ]



Wow, great, thanks for the quick reply...

BTW, do u already know a method to check which of the infinite/auto/macro focus is currently selected through the code in driver? I have tried some, but no success

I think if we get the datasheet for IMX020, it may be of some benefit
[ This Message was edited by: Autochrome on 2009-06-14 11:52 ]
strong
K850 Blue
Joined: May 18, 2007
Posts: > 500
From: Greece
PM
Posted: 2009-06-14 13:08
Reply with quoteEdit/Delete This PostPrint this post
#COM_EVENT(43,00) MANUAL_FOCUS = 00, Infinity
auto focus defined by seq_set_prop_a and seq_get_prop_a properties
for macro you have to add flags:

seq_set_prop_9_0 = #TO_DRAFT
$sf.09 0 // Focus flag normal range
#SET_REG(6A,00); // Normal range

seq_set_prop_9_1 = #TO_DRAFT
$sf.09 1 // Focus flag full range
#SET_REG(6A,01); // Full range

flags are very useful for modding
if i am wrong somebody correct me
[ This Message was edited by: strong on 2009-06-14 12:10 ]
Samsung GT-i8910 Omnia HD
K850 R1FA035 modded camdriver
modded acoustic drivers
www.camdrivers.wz.
deepster08
K850 Green
Joined: Nov 24, 2008
Posts: 39
PM
Posted: 2009-06-14 16:47
Reply with quoteEdit/Delete This PostPrint this post
good job brother! great driver!
THANKS!
Access the forum with a mobile phone via esato.mobi