Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
02-04-2014, 03:20 PM - 1 Like   #16
Pentaxian




Join Date: Jun 2009
Location: GMT +10
Photos: Albums
Posts: 10,597
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
Pentaxian
Boris_Akunin's Avatar

Join Date: Aug 2012
Location: Bremen, Germany
Photos: Gallery
Posts: 609
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
kcobain1992's Avatar

Join Date: Dec 2010
Location: Bucharest, Romania
Photos: Gallery
Posts: 1,409
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
Pentaxian
Boris_Akunin's Avatar

Join Date: Aug 2012
Location: Bremen, Germany
Photos: Gallery
Posts: 609
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
Veteran Member




Join Date: Apr 2010
Location: New Orleans
Photos: Gallery
Posts: 3,054
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
Pentaxian




Join Date: Oct 2009
Location: Far North Qld
Posts: 3,250
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
Pentaxian




Join Date: Jun 2009
Location: GMT +10
Photos: Albums
Posts: 10,597
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,170
Just subscribing to this... looks interesting .
02-12-2014, 08:23 AM   #29
Pentaxian




Join Date: Feb 2010
Location: East Bay Area
Photos: Gallery
Posts: 775
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   #30
Pentaxian




Join Date: Jan 2012
Location: Slovenia
Posts: 2,141
I can confirm this DOES NOT work on a K-5 II. However, it also doesn't brick your camera :P
Reply

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 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 Pentax Film SLR Discussion 4 09-27-2011 02:55 PM



All times are GMT -7. The time now is 06:29 PM. | See also: NikonForums.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