I've posted about it in the wiki already, so if you want to see that information, it's at http://screenplayprohd.wikia.com/wiki/Detecting_drive_identity
But my blog is for documenting how I did it.
I started out as I do with many of my ventures by going to google. In looking up how to read the disk drive serial number, I came across the linux IOCTL command, which is for direct device communication. May come in handy in the future. In trying to find a working example of how to use it, I found somebody opening the /proc/something else (I don't recall what it was) and I started thinking that maybe there was something for the drive.
So I looked in proc and found ide, found ide0 inside of it, and several files inside of that.
cat them all out and I could see tons of hexadecimal. So my first thought was to convert the hexadecimal to character format. I went to my favorite hex editor "HxD" (freeware, works really nice) and manually entered the codes. Sure enough, I saw the "SD15" code appear and then the drive model number.
Great, but I can't explain that process to non-programmers very easily. So I figured I'd see if there was some way to do it on the command line. Got as far as awk and decided it would be easier to do this in a simple C program. That would enable me to use my toolchain that I spent so long trying to build.
So the program is simple enough. It uses the built in ability of C to convert a hex string to decimal using strtol command, which is then echoed out as a character.
In other news...I think I've made some progress deciphering the memory dump I took of the machine. I was able to reconstruct a view of the screen that was on the TV at the time I took the screenshot. Don't have time to tell about it now, but details will come.
Hacking devices can/will void your warranty and can turn your expensive consumer electronics into worthless trash if you don't know what you're doing. This blog is for information purposes only, and if you try to hack into your own consumer electronics, you do so at your own risk. The device I'm currently hacking is the Canon SX10 IS camera.
Wednesday, January 28, 2009
Subscribe to:
Post Comments (Atom)
Hi,
ReplyDeleteI am one of the "lucky" ones to purchase the Screenplay Pro HD. Is there any way to upgrade it with a different firmware so it will support .h264 without re-encoding and streaming it over a PC? Very nice blog. Thanks a lot!
The short answer: No. If you need h.264, go get a popcorn hour, istar, WD TV, etc. etc. or reencode the videos to mpeg-4.
ReplyDeleteThe long answer: The RTD 1262 does not support the H.264 protocol and the upcoming RTD 1263 does. So odds are pretty much against RealTek ever adding that capability to their RTD 1262 microcode, which is what would allow the iomega device to use it.
(Translated by Google-Translate)
ReplyDeleteHello, I am your findings with passion. I myself am trying to decrypt the firmware r1. My intention is to do something similar to what they have done in MHDWold (see http://www.mhdworld.com/modules/newbb/viewtopic.php?topic_id=415&forum=10). At the moment he pulled the files upgrade.bin, from which this install.img which in turn contains another 4 files that have already been removed as well. The latter are supposed to be the image of Linux and the file system that contains our unity, but I can not see how this ride.
Well, we are in contact and by forgiving the language issue.
Super
Thank you for your answer on the reencoding etc.
ReplyDeleteI will return mine and get a Popcorn Hour instead. Will probably spend some time fiddling with it but at least I know it will be able to watch all HD content.