Forgot Password
Pentax Camera Forums Home
 

Closed Thread
Show Printable Version 230 Likes Search this Thread
01-06-2015, 07:24 AM   #391
Veteran Member




Join Date: Feb 2009
Photos: Albums
Posts: 621
For gcc, throw it a "-std=c99"
viz......\gcc -std=c99 [myfile.c] -o [outfile.exe


let me see this in IDA/ hexeditor for what i am looking or will it give garbled as of frmcrypt of pentax hack

01-06-2015, 07:26 AM   #392
Banned




Join Date: Oct 2014
Posts: 93
Why don't you read carefully my post above
01-06-2015, 07:45 AM   #393
Junior Member




Join Date: Mar 2011
Location: Germany
Posts: 46
@Shodan: Can you edit the first post and insert links to:
and maybe to your PDF: https://www.dropbox.com/s/ogez7sb4b0cw92g/hacking_pentax_k30.pdf ?

One question: Does anybody compare the K-30 with K-50 (and/or K-500)... Are the hardware 100% the same?!?
01-06-2015, 07:52 AM   #394
Veteran Member




Join Date: Feb 2009
Photos: Albums
Posts: 621
still garbled


Last edited by uttam.hathi; 02-05-2016 at 10:36 AM.
01-07-2015, 12:34 AM   #395
Banned




Join Date: Oct 2014
Posts: 93
Last picture looks correct begining of firmware file. I can't say exactly, because I work on another model (K-5).
01-07-2015, 02:10 AM   #396
Veteran Member




Join Date: Feb 2009
Photos: Albums
Posts: 621
let me then check with k-5 firmware and see if it works
01-07-2015, 08:24 AM   #397
Veteran Member




Join Date: Feb 2009
Photos: Albums
Posts: 621
running pfwtool on k5 firmware garbled thus is not the key


Last edited by uttam.hathi; 02-05-2016 at 10:36 AM.
01-07-2015, 08:46 AM   #398
Banned




Join Date: Oct 2014
Posts: 93
QuoteOriginally posted by uttam.hathi Quote
running pfwtool on k5 firmware garbled thus is not the key
This output is correct. Do not know what do you expect.
01-07-2015, 08:53 AM   #399
Veteran Member




Join Date: Feb 2009
Photos: Albums
Posts: 621
its FF FF across
01-07-2015, 09:03 AM   #400
Banned




Join Date: Oct 2014
Posts: 93
QuoteOriginally posted by uttam.hathi Quote
its FF FF across
FF in unused areas of flash is normal. But the header with A5 5A and 00s is correct. Just scroll further.
01-07-2015, 09:07 AM   #401
Junior Member




Join Date: Mar 2011
Location: Germany
Posts: 46
can anyone run pfwtoolwith K-30 and K-50 firmware and make a diff?
01-07-2015, 06:21 PM   #402
Veteran Member




Join Date: Feb 2009
Photos: Albums
Posts: 621
QuoteOriginally posted by bootcoder Quote
FF in unused areas of flash is normal. But the header with A5 5A and 00s is correct. Just scroll further.
scrolled across but could not put the snapshot
Hex FF to decimal explained: The value of HEX FF in decimal is 255. The value of HEX FF in binary is 11111111. F, 15 X 160 = 15. F, 15 X 161 = 240. HEX FF = ...
01-08-2015, 03:10 AM   #403
Forum Member




Join Date: Feb 2014
Posts: 86
>uttam.hathi
Just search for some string like "DEBUG MODE" and you'll find it (with many other interesting strings around) if properly decrypted
01-08-2015, 10:17 AM   #404
Veteran Member




Join Date: Feb 2009
Photos: Albums
Posts: 621
it has garbled in the XoR process thus no effective strings
anyway debug mode i know, namely
K7: MODSET.474
K20D: MODSET.442
K200D: MODSET.445
Km : MODSET.464
Kx: MODSET.492



[OPEN_DEBUG_MENU]

K10D with firmware v1.10: MODSET.421

K10D with firmware v1.20 -v1.30: MODSET.TXT

GX10 with firmware v1.10: MODSET.429

GX10 with firmware v1.20-v1.30:MODSET.TXT

GX20 v1.01, v1.03:MODSET.454

K20D v1.03:MODSET.442

K200D v1.00.00.03 :MODSET.445

K7 v1.01: MODSET.474

Km v1.10: MODSET.464 press "Delete" during turn-on

K2000 v1.10: MODSET.482 press "Delete" during turn-on
k-5 MODSET.505
____________________________________

Dumping

Now you can dump any firmware from most PENTAX DSLR models.
How to do it?
Make two MODSET.xxx files

First MODSET.xxx file
[CPU_ROM_STORE]

Second MODSET.xxx file
[DSP_ROM_STORE]

Copy first file to root of your flash card.
Turn on your camera. Wait before dumping is completed. Turn camera off.
Copy second file to root of your flash card.
Turn on your camera. Wait before dumping is completed.

You'll have two files on flash card now.
__________________________
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.
01-09-2015, 01:37 AM   #405
Banned




Join Date: Oct 2014
Posts: 93
First strings come in K-5 firm at offset 0x3000 (that is a part of update code).
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

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 03:00 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