Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
09-14-2015, 12:55 PM   #526
New Member




Join Date: Apr 2014
Posts: 3
Is there any hacking being done in the video side of things? Because it would be epic to at least have focus peaking enabled while filming. And Congrats to all the progress everyone involved in this has made.

10-08-2015, 06:38 AM - 2 Likes   #527
Forum Member




Join Date: Oct 2014
Posts: 75
I have extended svenpeter tool for unpacking new firmware binary types.
Attached Files
File Type: txt ptxfwtool.txt (8.4 KB, 58 views)

Last edited by bootcoder; 10-23-2015 at 01:34 PM.
10-09-2015, 04:38 AM - 1 Like   #528
New Member




Join Date: Jun 2015
Posts: 12
source code for linux

great effort! Thanks @svenpeter and @bootcoder.
To make it compile under linux had to make just a few edits because of type warnings in printf statements and the lack of the /sys/types.h header file import. Without it it doesn't know the off_t types.
Attached Files
File Type: txt ptxfwtool_linux.txt (8.4 KB, 38 views)
10-09-2015, 05:38 AM   #529
Forum Member




Join Date: Oct 2014
Posts: 75
@wwortel
My fault, you should change "#define DEBUG" to "#define noDEBUG". This define is only need for someone debuging decompressor and most people do not need.

EDIT: you changes might work for 64-bit Linux, but produces warnings for 32-bit. Also using once %lu and at another place %l is confusing. So multiplatform solution need.


Last edited by bootcoder; 10-11-2015 at 01:59 PM.
10-20-2015, 12:44 AM   #530
New Member




Join Date: Jul 2015
Posts: 1
Hey guys;

I have K5 with firmware version 1.16. I have tried 00077430.505 but coud'n enable debug menu. Any help? Thanks!
10-20-2015, 12:23 PM   #531
Forum Member




Join Date: Feb 2014
Photos: Gallery
Posts: 54
that file is correct, but you need a file named DEVELOP.MOD too,
then leave storage door open and turn on you camera.

....have a look in the link (Lensrom Database) in my signature, there is a how-to
10-20-2015, 01:37 PM   #532
Pentaxian
richandfleur's Avatar

Join Date: Mar 2014
Location: Palmerston North, New Zealand
Photos: Albums
Posts: 1,003
QuoteOriginally posted by BorisAngelis Quote
Is there any hacking being done in the video side of things? Because it would be epic to at least have focus peaking enabled while filming.
It seems several K-3 users are reporting that this is happening already, though unfortunately the focus peaking is being written to their files and not displayed on the screen
As always it would be nice if Pentax actually addressed these firmware requests themselves...




QuoteOriginally posted by BorisAngelis Quote
Congrats to all the progress everyone involved in this has made.
Fully agree, top marks all round
10-23-2015, 10:30 AM   #533
Forum Member




Join Date: Aug 2015
Location: Virginia
Photos: Gallery
Posts: 83
QuoteOriginally posted by bootcoder Quote
@wwortel
My fault, you should change "#define DEBUG" to "#define noDEBUG". This define is only need for someone debuging decompressor and most people do not need.

EDIT: you changes might work for 64-bit Linux, but produces warnings for 32-bit. Also using once %lu and at another place %l is confusing. So multiplatform solution need.
Something weird is definitely going on. I compiled it and tried running it on a K-01 firmware file under 64-bit Arch and it segfaulted. If I have time later, I might poke at this with a debugger, but figured you should know.

10-23-2015, 12:57 PM   #534
Forum Member




Join Date: Oct 2014
Posts: 75
It was not supported yet. I have updated my source in post above for this issue.

Last edited by bootcoder; 10-23-2015 at 05:11 PM.
10-23-2015, 07:22 PM   #535
Veteran Member
madbrain's Avatar

Join Date: May 2008
Location: San Jose, CA
Posts: 789
What I really want is get rid of the 25-30 minute limit on video clips . Do one of the hackers here think it's possible ?
10-28-2015, 04:28 PM - 1 Like   #536
Forum Member




Join Date: Oct 2014
Posts: 75
String resources found in firmware and decoded.
Attached Images
 
10-29-2015, 08:45 AM   #537
Junior Member




Join Date: Feb 2014
Posts: 44
Hehe, seems to be simply shifted by 0x1e (30) lower against standard ASCII code. Is it some specific string or you just pick a random? So if we shift entire FW we coul find much more strings? Maybe that only GUI strings are encoded this way, AFAIK there are also normal coded strings.
10-29-2015, 12:58 PM   #538
Forum Member




Join Date: Oct 2014
Posts: 75
QuoteOriginally posted by RayeR Quote
Hehe, seems to be simply shifted by 0x1e (30) lower against standard ASCII code. Is it some specific string or you just pick a random?
What means "specific" ? There are two huge areas containing such strings in many languages. Font of latine languages starts with character '_' (or ASCII 0x1E) that explains encoding.
QuoteQuote:
So if we shift entire FW we coul find much more strings?
Sure, but these strings are not referenced directly in firmware code.

Last edited by bootcoder; 10-29-2015 at 02:11 PM.
10-30-2015, 08:00 AM   #539
Junior Member




Join Date: Feb 2014
Posts: 44
QuoteOriginally posted by bootcoder Quote
Sure, but these strings are not referenced directly in firmware code.
Yes, back in time when I localized firmware of Canon Powershot A70 and A95 there was also block of language strings (normal ASCII) and at the beginning of block there was a pointer table to each string. So if you make some mesage longer and the following was shifted a few bytes further then you have to fix also the pointer in the table (that was pretty anoying to keep track both). I guess it may be similar here - the strings would be referenced by some intex that is then translated to selected language...
10-30-2015, 10:35 AM   #540
Forum Member




Join Date: Oct 2014
Posts: 75
QuoteOriginally posted by RayeR Quote
So if you make some mesage longer and the following was shifted a few bytes further then you have to fix also the pointer in the table (that was pretty anoying to keep track both).
Unfortunately, strings are here part of data segement and in the middle of other constants. So you can't insert something. But there is already support for many languages.
QuoteQuote:
the strings would be referenced by some intex that is then translated to selected language...
GUI component resource embed pointer into string table that in turn contain pointers to string (english). I suppose different "language" is coded by constant offset to "english" string in a table. But not interested for me.

Last edited by bootcoder; 10-30-2015 at 11:50 AM.
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 05:40 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