Forgot Password
Pentax Camera Forums Home
 

Closed Thread
Show Printable Version Search this Thread
04-20-2015, 01:40 AM   #466
Veteran Member




Join Date: Jan 2012
Location: Slovenia
Photos: Gallery
Posts: 2,182
QuoteOriginally posted by niceshot Quote
Its a shame so much effort has been put into this and ???? No valid RESULTS its a real shame. Seems completely pointless. As the hack that doesn't hack.
You better be trolling. I know practically nothing about this and I can still understand how bloody difficult it is.


Last edited by Giklab; 04-20-2015 at 12:22 PM.
04-20-2015, 10:59 AM   #467
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
@niceshot

Have you seen my work on GitHub? Do you know that you can write arbitrary code for the K30?

You sir are an idiot. I'll also PM you to mention the last bit again. I suggest others do the same...
04-20-2015, 11:42 AM   #468
Site Supporter
Site Supporter




Join Date: Mar 2014
Location: NY
Photos: Gallery
Posts: 1,559
. Alright Shodan I didn't mean to say that you didn't put a lot of effort, all I meant is it is a shame more didn't come of it. That does not mean I don't appreciate your effort, I do so plz accept this as an apology ok?
04-20-2015, 02:52 PM   #469
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
Fair play. You don't generally get an apology on the Internet

04-22-2015, 05:04 PM   #470
Site Supporter
Site Supporter




Join Date: Mar 2014
Location: NY
Photos: Gallery
Posts: 1,559
This message is for Shodan. Shodan I was able to use the debug to by pass an sd corridor problem there by allowing me to make useful a brand new k-30 with no actuations into a usable camera . S o thanks is in order.
04-29-2015, 08:34 AM   #471
Banned




Join Date: Oct 2014
Posts: 93
K-S1 can do RAW video ?
Attached Images
 
04-29-2015, 10:30 AM   #472
Veteran Member
aurele's Avatar

Join Date: Jan 2011
Location: Paris, France
Photos: Albums
Posts: 3,217
that could be very interesting

05-04-2015, 12:18 PM   #473
Banned




Join Date: Oct 2014
Posts: 93
One of serial ports on K-30 is at base address 0xC0000040. Registers are similar for example to those described in CM71-10147-2E.pdf: 0xC0000044 - data register (16-bit), 0xC000004C - FIFO Control Register 1 (byte).
05-07-2015, 05:21 PM   #474
Banned




Join Date: Oct 2014
Posts: 93
QuoteOriginally posted by marabella Quote
I have tried to access the debug menu on my K-S1 (see #383) with files from 00077850.400 to 00077850.900. No luck.
I have decompressed part of firmware. Debug menus are present. Last part of filename is .558, should try 00077850.558.
05-08-2015, 04:22 AM   #475
Forum Member




Join Date: Jan 2015
Posts: 58
QuoteOriginally posted by bootcoder Quote
I have decompressed part of firmware. Debug menus are present. Last part of filename is .558, should try 00077850.558.


That's great news. Brilliant work.


Sad to say that I can't get it to open the debug menu. I have tried all the previously mentioned combinations for the .558 file. ANSI- [OPEN_DEBUG_MENU]/[DEBUG_MODE EN] - with/without CR plus the DEVELOP.MOD. Card door open/closed, ON in combination with menu button.

I can't test all possible permutations (20922789888000) between 16 buttons
.


Have you tried it yourself? Do you own a K-S1?
05-08-2015, 10:28 AM   #476
Site Supporter
Site Supporter
bobbotron's Avatar

Join Date: Jan 2015
Location: Ottawa, ON
Photos: Gallery
Posts: 3,347
This is pretty neat, very cool to see people working on this kind of project!

It would be amazing if Pentax created some kind of plugin architecture for their cameras, or open sourced part/all of the code. One can dream.
05-08-2015, 12:15 PM   #477
Banned




Join Date: Oct 2014
Posts: 93
QuoteOriginally posted by marabella Quote
Sad to say that I can't get it to open the debug menu. I have tried all the previously mentioned combinations for the .558 file. ANSI- [OPEN_DEBUG_MENU]/[DEBUG_MODE EN] - with/without CR plus the DEVELOP.MOD. Card door open/closed, ON in combination with menu button.
I have read here that you need to create file 00077850.558 with following content:
[DEBUG_MODE EN]
[SW_DEBUG_MENU EN]
[OPEN_DEBUG_MENU]
[VLENS_CONTROL]
[SCRIPT_EN_MODE EN]
with CR LF (or 0x0D 0x0A !) as end-of-line. Then create DEVELOP.MOD file (upper case is important! UPDATE: how to prepare file). Then power off camera, open card door and finally press-and-hold "menu" button and power on camera. Keep pressing "menu" until it shows menu.

I am not sure what model number K-S1 has, because it is not seen in firmware ?
QuoteQuote:
Have you tried it yourself? Do you own a K-S1?
No, because I do not have K-S1.

I decompressed only first 10MB out of 16MB firmware image, so missing important parts still. Somehow my tool gets messed up from 10MB...

Last edited by bootcoder; 05-25-2015 at 08:24 AM.
05-08-2015, 01:52 PM   #478
Forum Member




Join Date: Jan 2015
Posts: 58
Thank you for these hints - didn't expect this.

Have double checked everything. 77850 must be correct. It's the Hex to Dez value (0x1301a from ExifTool) for PentaxModel ID Value plus 000. I have crosschecked this with K3, K30 and K-5.
Thanks to: Pentax Tags

[DEBUG_MODE EN] or [OPEN_DEBUG_MENU] should work. Notepad should be good to create both files when deleting txt extension. Works with my K20D.

So far we have done everything that has worked with previous cameras. I can feel the faint smile of a Pentaxcoder over my shoulder while writing this:-).

I'm kidding. But I'm pretty sure they are watching this thread since it's start. May be that's why this way could lead to a dead end.

Good luck with the remaining parts and please email for testing. Not to forget thanks to shodan who did the initial and most valuable work.
05-08-2015, 03:34 PM   #479
Banned




Join Date: Oct 2014
Posts: 93
What firmware version do you use ? Filename is 'C:\%08ld.%03ld' that is 00077850.558 for 1.10 K-S1 firm. After file C:\00077850.558 is found, it looks for C:\DEVELOP.MOD.

P.S. In addition to steps above, DEVELOP.MOD file must be 10 bytes long for K-S1 and have one of 2 possible contents (hex bytes):
Type 1: bytes 07 01 2C 1F 10 03 1E 16 05 2D

or
Type 2: bytes 07 1A 02 0A 19 18 1B 1C 05 11

I have no idea what the difference will be.

UPDATE:
Type 1: Development Menu 7 with firmware update is disabled
Type 2: Development Menu 7 is enabled

Last edited by bootcoder; 05-25-2015 at 08:25 AM.
05-09-2015, 12:18 PM   #480
Forum Member




Join Date: Jan 2015
Posts: 58
Hello bootcoder


Better to check but of course I'm using v.1.10.
Hmm, DEVELOP.MOD intentionally has no content and in Windows Explorer it's shown with 0 bytes.
It's the .558-file that has content.
Should I write the hex bytes into the .MOD? As ASCII? Makes no sense IMHO as all hex values starting with 0/1 are control codes.


BTW: I have tried [DEBUG_MODE EN] and or [OPEN_DEBUG_MENU] with CR or LF.


I exactly followed the instructions from all previously mentioned methods (K30, K5, K5II and K3).
Closed Thread

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
bit, camera, card, chdk, code, data, debug, dslr, file, firmware, flash, fp, gps, instruction, k-30, k-50, k30, love, magic, module, notes, pentax, photography, pin, pins, sd, text
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
NY area SDM Hacking dappercorpmonkey Troubleshooting and Beginner Help 11 07-26-2013 04:15 PM
Nature Resurrecting some old images - Angry Birds! Julie Post Your Photos! 4 03-07-2013 10:41 AM
k-5 firmware hacking anyone? secateurs Pentax K-5 & K-5 II 33 10-05-2012 03:05 PM
Hacking lens' memory plis Visitors' Center 6 11-28-2011 10:58 PM
Resurrecting a MX and Super ME LiMPiNg Film SLRs and Compact Film Cameras 4 09-27-2011 02:55 PM



All times are GMT -7. The time now is 02:27 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top