PowerShot SX210 IS - Porting Thread - page 40 - General Discussion and Assistance - CHDK Forum  

PowerShot SX210 IS - Porting Thread

  • 589 Replies
  • 299898 Views
Re: PowerShot SX210 IS - Porting Thread
« Reply #390 on: 06 / January / 2011, 18:16:47 »
Advertisements
@fe50
Thanks for the download link. However, I have tried the DngGetMatrix program to check the embedded matrix, and it didn't work, (Maybe the CHDK DNGs from SX210is are not supported? ). So, I have used exiftool again.
I'll read the color profiles thread to the end, thanks (I had already seen it, and partially read before).

@asm1989
That was exactly the problem. I've used exiftool with those values and the pictures look good now. Thanks. :)

However, to be honest, I am not 100% sure now, if the new matrix looks better than the prior one, when comparing to the camera jpg colors (they are very similar). However, I'm probably wrong, as it's highly possible that I am doing something bad, or it could be something related to my setup. (I'm using Rawtherapee on ubuntu 10.10).
Edit. Forget this. Pictures look good.
« Last Edit: 07 / January / 2011, 17:45:47 by mike2k8 »

Re: PowerShot SX210 IS - Porting Thread
« Reply #391 on: 07 / January / 2011, 19:00:00 »
@asm1989 The bracketing features still don't work if you shoot with the "Custom Timer" option.

Strange, because they work if you shoot with the "Drive Mode" set in continuous, but that is not wanted in some cases because you must have your finger in the shutter.

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: PowerShot SX210 IS - Porting Thread
« Reply #392 on: 08 / January / 2011, 12:45:17 »
@mike2k8,
where you able to batch apply the new color matrix to the older dngs?

@sironitomas
Will take a look, you mean through script or through the chdk menu?

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: PowerShot SX210 IS - Porting Thread
« Reply #393 on: 09 / January / 2011, 08:28:20 »
New Version 1.4
-Updated some stuff for braketing needs testing
-Compiled with latest chdk 1038

Binaries
http://www.4shared.com/file/Zo9MjtuR/CHDK1023-sx210is-ASM1989-RCv14.html

Source
http://www.4shared.com/file/HfWk9tD4/sx210-ixus1000asm1989trunk1038.html

Comments welcome.


Re: PowerShot SX210 IS - Porting Thread
« Reply #394 on: 09 / January / 2011, 11:10:50 »
@mike2k8,
where you able to batch apply the new color matrix to the older dngs?

Yes, you only have to use wildcards in the file name. For example (assuming you have all the DNGs and exiftool.exe on the same folder, and you are located in that folder at the command prompt:
Code: [Select]
exiftool.exe -ColorMatrix1="1.026340 -0.412992 -0.158934 -0.059169 0.421214 0.023459 0.028948 0.010693 0.127339" *.DNG

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: PowerShot SX210 IS - Porting Thread
« Reply #395 on: 09 / January / 2011, 11:45:03 »
Thanks mike2k8

Re: PowerShot SX210 IS - Porting Thread
« Reply #396 on: 10 / January / 2011, 23:26:08 »
Hi all, I appreciate your work a much. Bought camera, CHDK works,
then I tried to compile the source and got stuck.
I probably have wrong Key,Iv (just guessing).


Tried both versions 1023,1038, and after "make fir":
-> PS.FI2
Saving ./bin/PS.FI2
Done
dance -> DISKBOOT.BIN ver 4
**** Firmware creation completed successfully

I turn on the camera, then look for menu entry "[>]/Firm Update..." (it's there),
enter it and got:
        * Firm Update
        * ---------------------
        * Update File Error!!!
        *      [OK]

Here's my way of finding key,iv:

I've read both threads 2995,5045 many times back and forth and I feel like I don't understand a thing,
nor key,iv neither dancing bits.

According to post 73 in 2995:
> ve found the key/iv for the Ixus 130 (SD 1400 IS), it's probably the same for all 2010 cameras.
I extracted something from that PRIMARY.BIN and offsets and used them.

However my camera is sx210 P-ID:31F6 PAL D, Firmware:GM1.00C  Build:Feb 5 2010.
Did I missed somewhere offsets againsts sx210is/sub/100c/PRIMARY.BIN ?

Am I too verbose or too little ? I guess everyone had figured it right,
so please forgive me... you know lack of...

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: PowerShot SX210 IS - Porting Thread
« Reply #397 on: 11 / January / 2011, 16:33:15 »
@v3as4k

You will probably have the keys wrong, anyway use chdkshell for easy compile operation

This cam uses:

ifeq ($(KEYSYS), d4a)
FI2KEY=
FI2IV =
endif

You need to look for the keys on the  firmware dump:

fi2key  look for  an unk for aHelpHHelpDAdrS at the end of the firmware

and fi2IV look for an unk just above the first use of :
Code: [Select]
ADREQ   R0, aWbfa_c     ; "WBFa.c"



Re: PowerShot SX210 IS - Porting Thread
« Reply #398 on: 11 / January / 2011, 17:41:48 »
@asm1989

Sorry it took me so long to answer. I'll try to explain myself better. I didn't tried any scripts, just bracketing through the CHDK menu. The thing is, the bracketing is working depending the situation.

1) If you take photos continuously (burst) bracketing works.

2) If you use custom timer (so you don't need to press the shuter), bracketing doesn't work (it used to work in some previous versions).

I'll try now if it works in the last version.
Thanks for the great work!

EDIT

After testing, I can say this feature doesn't work in the latest version either.

So, I tracked down in which version it stopped to work. It was working in v1.2.4 and in v1.2.5 and later, it doesn't work.
I hope you can find the problem.

Regards!
« Last Edit: 11 / January / 2011, 18:09:01 by sironitomas »

Re: PowerShot SX210 IS - Porting Thread
« Reply #399 on: 12 / January / 2011, 11:21:04 »
@asm1989

Thanks for hints, but that's still too heavy task for me. I didn't mention I have linux and
don't have IDA pro.

key value from ixus130 is exactly the same in sx210 at offset 0x7e3570 ??

iv value without luck. Tried to search for 0x028f0... and variants (as adreq is pseudoinstruction),
but nothing seems to point to 0x342944=="WBFa.c" ( but the machine code disasm by hand
is not that easy as I thought )

At least its clear, that without that IDA I'm pretty useless.
Just praying for the offsets or at least some hard-to-miss hint :-)



 

Related Topics