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

PowerShot SX210 IS - Porting Thread

  • 589 Replies
  • 307883 Views
*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: PowerShot SX210 IS - Porting Thread
« Reply #70 on: 08 / July / 2010, 14:31:38 »
Advertisements
Looks like, we may have a starting point ,
A new downloadble firmware for the EOS Rebel T2i has come out,
and due to the timeline (Feb-2010)  is very close to the sx210,
so they may share something in common.

What do you think?

*

Offline reyalp

  • ******
  • 14098
Re: PowerShot SX210 IS - Porting Thread
« Reply #71 on: 09 / July / 2010, 00:25:02 »
Looks like, we may have a starting point ,
A new downloadble firmware for the EOS Rebel T2i has come out,
and due to the timeline (Feb-2010)  is very close to the sx210,
so they may share something in common.

What do you think?
Up to now, DSLRs have been very different.
Don't forget what the H stands for.

Re: PowerShot SX210 IS - Porting Thread
« Reply #72 on: 15 / July / 2010, 16:54:16 »
I'm not here to ask anything, but to wish you guys luck with the current generation of cameras. I hope you manage to Hack it soon.

regards,

Re: PowerShot SX210 IS - Porting Thread
« Reply #73 on: 23 / July / 2010, 11:05:08 »
Well, not so much activities by now huh?

I got a SD1300 in my hands. When and "if" there is anything I could put on the SD card to test the cam, I'm available to do it. Unfortunately I can not help with programming right now.

I believe the SD1300 is the same generation as SX210, so let's hope someone find an exploit in any of the new models and then everyone may benefit.

good luck guys.


Re: PowerShot SX210 IS - Porting Thread
« Reply #74 on: 23 / July / 2010, 16:54:45 »
I've been able to reliably "crash" my SX210IS when trying to display images from a Kodak DX7630.  It seems there is something in the EXIF data for the images the SX210 isn't happy with.  Upon entering review mode, the LED will blink and the camera will shut down without retracting the lens.  I have no idea if this flaw would be exploitable to help with the porting activities, but wanted to share this just in case.

Example Image:  http://www.thtech.net/downloads/100_1000.JPG  (contains EXIF data copied from a DX7630 image)

*

Offline reyalp

  • ******
  • 14098
Re: PowerShot SX210 IS - Porting Thread
« Reply #75 on: 23 / July / 2010, 23:23:16 »
I've been able to reliably "crash" my SX210IS when trying to display images from a Kodak DX7630.  It seems there is something in the EXIF data for the images the SX210 isn't happy with.  Upon entering review mode, the LED will blink and the camera will shut down without retracting the lens.  I have no idea if this flaw would be exploitable to help with the porting activities, but wanted to share this just in case.

Example Image:  http://www.thtech.net/downloads/100_1000.JPG  (contains EXIF data copied from a DX7630 image)
Very interesting.

My D10 says "incompatible JPEG" but does not crash. It does show an image, looks like some grass and trees by a road. I guess this is the thumbnail embedded in the jpeg. If I try to zoom, it says "cannot magnify".  If I look at it on PC, it just and image with the text "IMAGE" on it.

Can someone try on one of the CAM_DRYOS_2_3_R39 cams, and if it crashes, get a ROMLOG ?
Don't forget what the H stands for.

*

Offline emlyn

  • **
  • 88
Re: PowerShot SX210 IS - Porting Thread
« Reply #76 on: 24 / July / 2010, 10:19:08 »
I've been able to reliably "crash" my SX210IS when trying to display images from a Kodak DX7630.  It seems there is something in the EXIF data for the images the SX210 isn't happy with.  Upon entering review mode, the LED will blink and the camera will shut down without retracting the lens.  I have no idea if this flaw would be exploitable to help with the porting activities, but wanted to share this just in case.

Example Image:  http://www.thtech.net/downloads/100_1000.JPG  (contains EXIF data copied from a DX7630 image)

I tried it on my IXUS 130 (SD 1400 IS), and I think I get the same result.
When I go into playback mode, the SD card LED flashes, and then the screen goes dark, but the lens stays out. However, it is not completely locked up (like it does with DISKBOOT.BIN files), because the power button still does something - when I press it, the lens retracts and then goes out as the camera switches on again.

Re: PowerShot SX210 IS - Porting Thread
« Reply #77 on: 10 / August / 2010, 04:18:42 »
I tried this bug on A3100 and result was the same as at sx210is.
Then I changed EXIF data bytes to fix this bug & I found that kodak jpeg files doesn't crash camera only if 4th byte in file is E1h (in test jpeg it's E0h) or SOI (start of image) marker is broken (FF00h for example). In this case camera just says that image is incompatible.


*

Offline reyalp

  • ******
  • 14098
Re: PowerShot SX210 IS - Porting Thread
« Reply #78 on: 13 / August / 2010, 23:09:12 »
http://chdk.setepontos.com/index.php/topic,5549.0.html may of interest ;)

edit:
New udumper. Prepare the script disk as described, with the following in extend.m. This appears to give a full dump on my d10

Code: [Select]
dim f,a

private sub Initialize()
UI.CreatePublic()
a=LCDMsg_Create()
LCDMsg_SetStr(a,"Running")
System.Create()
f=Fopen_Fut("A/DUMP.BIN","w")
Fwrite_Fut(0xFF810000,0x7EFFFC,1,f)
Fclose_Fut(f)
LCDMsg_SetStr(a,"done")
end sub

private sub Terminate()
end sub
Start with the play button, press SET, wait for the message to turn to "done", shut down and enjoy your new dump.

I've noticed the language is very sensitive to syntax. It is case sensitive, and if you have a syntax error it will just display "failed" on the screen for a second and then shut the camera down.

Note that the SCRIPT string does not go at the same offset as bootdisk, so you should be able to use this simultaneously with CHDK.

Not also that with some clever use of Poke you should be able to run arbitrary arm code without diskboot or ps.fi2


edit:
and I was quite wrong about the script needing to be encoded  :-[
« Last Edit: 13 / August / 2010, 23:55:26 by reyalp »
Don't forget what the H stands for.

Re: PowerShot SX210 IS - Porting Thread
« Reply #79 on: 14 / August / 2010, 00:40:03 »
Wow this is such exciting revelation.

I'm going to run it on SX210 immediately.

http://chdk.setepontos.com/index.php/topic,5549.0.html may of interest ;)

edit:
New udumper. Prepare the script disk as described, with the following in extend.m. This appears to give a full dump on my d10

Code: [Select]
dim f,a

private sub Initialize()
UI.CreatePublic()
a=LCDMsg_Create()
LCDMsg_SetStr(a,"Running")
System.Create()
f=Fopen_Fut("A/DUMP.BIN","w")
Fwrite_Fut(0xFF810000,0x7EFFFC,1,f)
Fclose_Fut(f)
LCDMsg_SetStr(a,"done")
end sub

private sub Terminate()
end sub
Start with the play button, press SET, wait for the message to turn to "done", shut down and enjoy your new dump.

I've noticed the language is very sensitive to syntax. It is case sensitive, and if you have a syntax error it will just display "failed" on the screen for a second and then shut the camera down.

Note that the SCRIPT string does not go at the same offset as bootdisk, so you should be able to use this simultaneously with CHDK.

Not also that with some clever use of Poke you should be able to run arbitrary arm code without diskboot or ps.fi2


edit:
and I was quite wrong about the script needing to be encoded  :-[

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal