Hacking Pentax Debug mode

Started 8 months ago | Discussions
bootcoder New Member • Posts: 9
Hacking Pentax Debug mode
8

I have found how to enter Debug Mode on Pentax K-1 Mark II:

  1. Create on SD card file "00078400.597" with "[OPEN_DEBUG_MENU]" and LF char.
  2. Create on SD card file "DEVELOP.MOD" exact 10 bytes long with binary content:
    For Development Menu 1-6: 07 01 2C 1F 10 03 1E 16 05 2D
    For Development Menu 1-7: 07 1A 02 0A 19 18 1B 1C 05 11
    Use hexeditor to enter these bytes.
  3. Turn off camera, plugin this SD card. Leave card door open. Hold "menu" button and turn camera on.

I have also found how to enter Debug Mode on other Pentax cameras. I would like to discuss about what is possible in debug mode.

PLEASE: do not post messages "debug mode can't this or can't that". This topic is all what debug mode "can".

How can we use it for further hacking?

Pentax K-1 II
If you believe there are incorrect tags, please send us this post using our feedback form.
MightyMike Forum Pro • Posts: 39,489
Re: Hacking Pentax Debug mode
1

Looking forward to seeing where this might go, the only warning is fiddling with values in debug mode could potentially cripple the camera so be careful.

-- hide signature --

Mike from Canada
"I am not a great photographer! God is a great creator! All I do is capture His creation with the tools He has provided me."
'I like to think so far outside the box that it would require a telephoto lens just to see the box!' ~ 'My Quote :)'
http://www.michaelfastphotography.com/galleries/VP-BDI_3a.jpg
http://www.airliners.net/user/SpeEedy/profile/photos?sortBy=photoFavoriteCount

DougOB
DougOB Senior Member • Posts: 1,119
Re: Hacking Pentax Debug mode

bootcoder wrote:

I have found how to enter Debug Mode on Pentax K-1 Mark II:

  1. Create on SD card file "00078400.597" with "[OPEN_DEBUG_MENU]" and LF char.
  2. Create on SD card file "DEVELOP.MOD" exact 10 bytes long with binary content:
    For Development Menu 1-6: 07 01 2C 1F 10 03 1E 16 05 2D
    For Development Menu 1-7: 07 1A 02 0A 19 18 1B 1C 05 11
    Use hexeditor to enter these bytes.
  3. Turn off camera, plugin this SD card. Leave card door open. Hold "menu" button and turn camera on.

I have also found how to enter Debug Mode on other Pentax cameras. I would like to discuss about what is possible in debug mode.

PLEASE: do not post messages "debug mode can't this or can't that". This topic is all what debug mode "can".

How can we use it for further hacking?

Do you mean "For Development Menu" twice?  Or should one be a different option.

Doug

 DougOB's gear list:DougOB's gear list
Pentax K-01 Pentax K-3 Pentax Q-S1 Pentax KP Pentax 01 Standard Prime +30 more
OP bootcoder New Member • Posts: 9
Re: Hacking Pentax Debug mode

There are 2 ways to get in there. One way you see only pages 1-6, another way you get to see one more page. Not sure why it is so.

dpreviewblog Regular Member • Posts: 418
Re: Hacking Pentax Debug mode

bootcoder wrote:

I have found how to enter Debug Mode on Pentax K-1 Mark II:

  1. Create on SD card file "00078400.597" with "[OPEN_DEBUG_MENU]" and LF char.
  2. Create on SD card file "DEVELOP.MOD" exact 10 bytes long with binary content:
    For Development Menu 1-6: 07 01 2C 1F 10 03 1E 16 05 2D
    For Development Menu 1-7: 07 1A 02 0A 19 18 1B 1C 05 11
    Use hexeditor to enter these bytes.
  3. Turn off camera, plugin this SD card. Leave card door open. Hold "menu" button and turn camera on.

I have also found how to enter Debug Mode on other Pentax cameras. I would like to discuss about what is possible in debug mode.

PLEASE: do not post messages "debug mode can't this or can't that". This topic is all what debug mode "can".

How can we use it for further hacking?

Please, can you create 00078400.597 and DEVELOP.MOD files for us and share these files to google disk or any ... ? Because I d't understand what you mean the exact 10 bytes long and what is the difference between For Development Menu 1-6 and For Development Menu 1-7

 dpreviewblog's gear list:dpreviewblog's gear list
Pentax smc FA 31mm F1.8 AL Limited Sigma DP3 Merrill Sigma dp0 Quattro Sigma sd Quattro H Pentax K-1 II +8 more
OP bootcoder New Member • Posts: 9
Re: Hacking Pentax Debug mode
1

dpreviewblog wrote:

Please, can you create 00078400.597 and DEVELOP.MOD files for us and share these files to google disk or any ... ?

Here we go

Should enable all pages (second way: 1-7)

dpreviewblog Regular Member • Posts: 418
Re: Hacking Pentax Debug mode

bootcoder wrote:

dpreviewblog wrote:

Please, can you create 00078400.597 and DEVELOP.MOD files for us and share these files to google disk or any ... ?

Here we go

Should enable all pages (second way: 1-7)

Thank you! Will try...
---------------------------------
https://500px.com/my-shots and etc.
http://lightinspired.deviantart.com/ > Founder
http://lightinspired.deviantart.com/gallery/

 dpreviewblog's gear list:dpreviewblog's gear list
Pentax smc FA 31mm F1.8 AL Limited Sigma DP3 Merrill Sigma dp0 Quattro Sigma sd Quattro H Pentax K-1 II +8 more
DougOB
DougOB Senior Member • Posts: 1,119
Re: Hacking Pentax Debug mode

Do you have how to enter debug mode for a KP?

Doug

 DougOB's gear list:DougOB's gear list
Pentax K-01 Pentax K-3 Pentax Q-S1 Pentax KP Pentax 01 Standard Prime +30 more
bclaff Veteran Member • Posts: 8,735
Re: Hacking Pentax Debug mode

bootcoder wrote:

... I have also found how to enter Debug Mode on other Pentax cameras.

Can you prepare a list with the "recipe" for each one?

I would like to discuss about what is possible in debug mode.

Sure. What items are on these pages of "developer" items?

...

How can we use it for further hacking?

Hard to know without knowing more.

-- hide signature --

Bill ( Your trusted source for independent sensor data at PhotonsToPhotos )

OP bootcoder New Member • Posts: 9
Re: Hacking Pentax Debug mode
3

bclaff wrote:

I would like to discuss about what is possible in debug mode.

Sure. What items are on these pages of "developer" items?

Have a look at screenshots for K-1 here There also instructions for other Pentax cameras there.

OP bootcoder New Member • Posts: 9
Re: Hacking Pentax Debug mode
1

DougOB wrote:

Do you have how to enter debug mode for a KP?

Use files from dbmode.zip that I provided in another post, but rename file 00078400.597 to 00078380.581. Good luck!

DougOB
DougOB Senior Member • Posts: 1,119
Re: Hacking Pentax Debug mode

bootcoder wrote:

DougOB wrote:

Do you have how to enter debug mode for a KP?

Use files from dbmode.zip that I provided in another post, but rename file 00078400.597 to 00078380.581. Good luck!

Thanks.  By any chance is the filename dependent on firmware version?

Doug

 DougOB's gear list:DougOB's gear list
Pentax K-01 Pentax K-3 Pentax Q-S1 Pentax KP Pentax 01 Standard Prime +30 more
flektogon
flektogon Veteran Member • Posts: 3,893
Re: Hacking Pentax Debug mode

DougOB wrote:

bootcoder wrote:

DougOB wrote:

Do you have how to enter debug mode for a KP?

Use files from dbmode.zip that I provided in another post, but rename file 00078400.597 to 00078380.581. Good luck!

Thanks. By any chance is the filename dependent on firmware version?

Doug

Doug, what good is it for? I can't imagine what I would need to change in my camera(s). Maybe, if I had one of those lenses with failing SDM. But then I would prefer to disable the SDM "presence" in the lens itself, not in the camera.

-- hide signature --

Regards,
Peter

DougOB
DougOB Senior Member • Posts: 1,119
Re: Hacking Pentax Debug mode

flektogon wrote:

DougOB wrote:

bootcoder wrote:

DougOB wrote:

Do you have how to enter debug mode for a KP?

Use files from dbmode.zip that I provided in another post, but rename file 00078400.597 to 00078380.581. Good luck!

Thanks. By any chance is the filename dependent on firmware version?

Doug

Doug, what good is it for? I can't imagine what I would need to change in my camera(s). Maybe, if I had one of those lenses with failing SDM. But then I would prefer to disable the SDM "presence" in the lens itself, not in the camera.

Been there, done that.  To disable the SDM in the lens you must put the camera in debug mode so that you can download, modify then upload the lens bios info.   At the time I needed to borrow an older K-5 to do it since I couldn't get my newer cameras into debug mode.

I can't remember what else is there, but it might be worth a look.

Doug

 DougOB's gear list:DougOB's gear list
Pentax K-01 Pentax K-3 Pentax Q-S1 Pentax KP Pentax 01 Standard Prime +30 more
flektogon
flektogon Veteran Member • Posts: 3,893
Re: Hacking Pentax Debug mode

DougOB wrote:

flektogon wrote:

DougOB wrote:

bootcoder wrote:

DougOB wrote:

Do you have how to enter debug mode for a KP?

Use files from dbmode.zip that I provided in another post, but rename file 00078400.597 to 00078380.581. Good luck!

Thanks. By any chance is the filename dependent on firmware version?

Doug

Doug, what good is it for? I can't imagine what I would need to change in my camera(s). Maybe, if I had one of those lenses with failing SDM. But then I would prefer to disable the SDM "presence" in the lens itself, not in the camera.

Been there, done that. To disable the SDM in the lens you must put the camera in debug mode so that you can download, modify then upload the lens bios info. At the time I needed to borrow an older K-5 to do it since I couldn't get my newer cameras into debug mode.

I can't remember what else is there, but it might be worth a look.

Doug

Oh, so I nailed it. And which lens did you need to "fix"? Have you succeeded?

-- hide signature --

Regards,
Peter

DougOB
DougOB Senior Member • Posts: 1,119
Re: Hacking Pentax Debug mode
1

flektogon wrote:

DougOB wrote:

flektogon wrote:

DougOB wrote:

bootcoder wrote:

DougOB wrote:

Do you have how to enter debug mode for a KP?

Use files from dbmode.zip that I provided in another post, but rename file 00078400.597 to 00078380.581. Good luck!

Thanks. By any chance is the filename dependent on firmware version?

Doug

Doug, what good is it for? I can't imagine what I would need to change in my camera(s). Maybe, if I had one of those lenses with failing SDM. But then I would prefer to disable the SDM "presence" in the lens itself, not in the camera.

Been there, done that. To disable the SDM in the lens you must put the camera in debug mode so that you can download, modify then upload the lens bios info. At the time I needed to borrow an older K-5 to do it since I couldn't get my newer cameras into debug mode.

I can't remember what else is there, but it might be worth a look.

Doug

Oh, so I nailed it. And which lens did you need to "fix"? Have you succeeded?

My one and only SDM lens - the DA* 50-135 after its second SDM failure.  It works perfectly fine now.  It is one of those special lenses worth the effort!

Doug

 DougOB's gear list:DougOB's gear list
Pentax K-01 Pentax K-3 Pentax Q-S1 Pentax KP Pentax 01 Standard Prime +30 more
tosiva Regular Member • Posts: 161
Re: Hacking Pentax Debug mode
1

There was once, for my Bigma, even with AFA set to -10, there was some back (or front, I forget) focus issue. Through debug mode, I was able to set default of -5 and was able to get sharp focus at -12 (camera set to -7). I know, the correct way to fix is to send it to service but since this worked, I was using it like that

 tosiva's gear list:tosiva's gear list
Pentax K-5 IIs Pentax K-x Pentax K-70 Pentax smc D-FA 100mm F2.8 Macro WR Pentax HD DA 560mm F5.6 ED AW +1 more
Rod Herdman Senior Member • Posts: 2,952
Re: Hacking Pentax Debug mode

Interested if any extra function can be added to my K5ii-S . . .

-- hide signature --

All I want is a digital back for my trusty K1000 . . .

 Rod Herdman's gear list:Rod Herdman's gear list
Pentax *ist D Pentax smc DA 50-200mm F4-5.6 ED Pentax smc DA 18-55mm F3.5-5.6 AL +12 more
KRG1953
KRG1953 Regular Member • Posts: 273
Re: Hacking Pentax Debug mode

What is the debugcode for the K-S2 ?

 KRG1953's gear list:KRG1953's gear list
Pentax K-S2 Pentax K-x Pentax smc DA 55-300mm F4.0-5.8 ED Pentax 18-50mm F4.5-5.6 Pentax smc DA 18-55mm F3.5-5.6 ED AL II (IF) +3 more
Pontoneer Senior Member • Posts: 2,999
Re: Hacking Pentax Debug mode

This is such a DANGEROUS thing to mess about with - real danger of turning your camera into a brick .

-- hide signature --

With kind regards
Derek.

 Pontoneer's gear list:Pontoneer's gear list
Pentax K-3 Pentax K-01 Pentax *ist D Pentax K-1 Pentax K-1 II +39 more
Keyboard shortcuts:
FForum MMy threads