Forgot Password
Pentax Camera Forums Home
 

Closed Thread
Show Printable Version Search this Thread
02-04-2014, 03:20 PM - 1 Like   #16
Veteran Member




Join Date: Jun 2009
Posts: 11,913
You mention pktether, but have you had a look at pktriggercord ['Remote control for Pentax DSLR cameras']? It's pretty mature and actively maintained.

pkTriggerCord

There is source available there and several varieties of binary.

02-04-2014, 03:50 PM - 1 Like   #17
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
QuoteOriginally posted by rawr Quote
You mention pktether, but have you had a look at pktriggercord ['Remote control for Pentax DSLR cameras']? It's pretty mature and actively maintained.

pkTriggerCord

There is source available there and several varieties of binary.
No I hadn't, but that's really useful. The idea i've got is to try and trace some of the functionality from the app to the camera. Then i'll know how to control things like the ISO etc etc
02-04-2014, 04:55 PM   #18
Veteran Member




Join Date: Aug 2012
Location: Bremen, Germany
Photos: Gallery
Posts: 674
I have no skills or knowledge to contribute but if there are other ways to help... It's a worthy cause for sure.


regards
Jan
02-04-2014, 05:42 PM   #19
Veteran Member
vladimiroltean's Avatar

Join Date: Dec 2010
Location: Bucharest, Romania
Photos: Gallery
Posts: 1,465
QuoteOriginally posted by jcdoss Quote
Pardon my ignorance, but what can be gained through this endeavor? Any gain of function for my K-30 and K/M lenses would be welcome, but what specific expectations do you have?
It's called FUN.

02-04-2014, 05:47 PM - 1 Like   #20
Veteran Member




Join Date: Aug 2012
Location: Bremen, Germany
Photos: Gallery
Posts: 674
QuoteOriginally posted by jcdoss Quote
Pardon my ignorance, but what can be gained through this endeavor? Any gain of function for my K-30 and K/M lenses would be welcome, but what specific expectations do you have?
FÜR DIE LULZ natürlich!
02-04-2014, 11:30 PM   #21
Inactive Account




Join Date: Apr 2010
Location: New Orleans
Photos: Gallery
Posts: 3,053
QuoteOriginally posted by rawr Quote
You mention pktether, but have you had a look at pktriggercord ['Remote control for Pentax DSLR cameras']? It's pretty mature and actively maintained.

pkTriggerCord

There is source available there and several varieties of binary.
Nice find, thanks for the link.
02-06-2014, 10:38 PM   #22
Veteran Member




Join Date: Oct 2009
Location: Far North Qld
Posts: 3,301
What happened to Vitaliy Kiselev? I read on his blog around the time he was talking about the K-01 that he wanted to hack the firmware and open up new possibilities. I think he wrote the Pentax Tool (firmware hacking tool) yes? He seemed to like the K-01 very much.
pentax-tool [Personal View FAQs Wiki]

02-11-2014, 02:13 AM - 2 Likes   #23
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
Quick update.

I continue to work on getting Debug mode activated. I think the camera checks for the presents of another file based on the original debug filename but ran through some obfuscation routines. I found the routine last night - I'll write an unobfuscator and tell you what happens.
Attached Images
 
02-11-2014, 05:30 AM - 3 Likes   #24
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
Ran the code below, a new filename popped out! C:\DEVELOP.MOD
I'll check this later as I don't have my camera on me.


Code:
        static void Main(string[] args)
{
byte[] obfuscationKey = { 0x6A, 0x13, 0x75, 0x6D, 0x6C,
0x7F, 0x6C, 0x65, 0x66, 0x79,
0x7, 0x64, 0x66, 0x6D, 0x29 };

string filename = "C:\\00077650.524";
byte[] filenameBytes = Encoding.ASCII.GetBytes(filename);
int counter = 0;

do
{
byte magicValue = (byte) ~obfuscationKey[counter];
filenameBytes[counter] = magicValue;
filenameBytes[counter++] = (byte) (magicValue ^ 0xd6);
}
while (counter < 15);

string newFilename = Encoding.ASCII.GetString(filenameBytes);
}
02-11-2014, 02:19 PM - 5 Likes   #25
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
Debug mode found. Pics and howto to come.

Last edited by Shodan; 02-12-2014 at 02:28 AM.
02-12-2014, 02:28 AM - 9 Likes   #26
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
How to enter debug mode on the K30

Create two files on the root of your SD card:
  • 00077650.524
  • DEVELOP.MOD

Open the 00077650.524 in notepad and add the line:
[OPEN_DEBUG_MENU]

Put SD card in Camera but leave the door open.
Turn on.

Beware, some of the functionality in the menu may affect the operation of your camera! Back up your SD card as well!
Attached Images
 

Last edited by Shodan; 02-12-2014 at 09:16 AM. Reason: Got the wrong filename :(
02-12-2014, 06:28 AM   #27
Veteran Member




Join Date: Jun 2009
Posts: 11,913
Well done. Very promising. I wonder what the 'Release Aging' does.
If the K-30 has so much lurking within it's debug menu, the K-3 probably has double that.

But this menu doesn't seem to lead to many adjustment options for the AF, SR, video etc etc, just information and tests. There is probably a 'service and adjust' set of menus lurking somewhere else in the firmware.
02-12-2014, 07:07 AM   #28
Veteran Member
mrNewt's Avatar

Join Date: Nov 2011
Location: ON, RH
Posts: 2,181
Just subscribing to this... looks interesting .
02-12-2014, 08:23 AM   #29
Veteran Member




Join Date: Feb 2010
Location: East Bay Area
Photos: Gallery
Posts: 811
This is great development... that means K-30 can be used to disable SDM too... Is it possible to help without the tools you got? Would love to access the menu on K3/K5 as well.
02-12-2014, 08:52 AM - 1 Like   #30
Veteran Member




Join Date: Jan 2012
Location: Slovenia
Photos: Gallery
Posts: 2,182
I can confirm this DOES NOT work on a K-5 II. However, it also doesn't brick your camera :P
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 01:34 AM. | 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