Jump to content


Welcome to DBSTalk


Sign In 

Create Account
Welcome to DBSTalk. Our community covers all aspects of video delivery solutions including: Direct Broadcast Satellite (DBS), Cable Television, and Internet Protocol Television (IPTV). We also have forums to discuss popular television programs, home theater equipment, and internet streaming service providers. Members of our community include experts who can help you solve technical problems, industry professionals, company representatives, and novices who are here to learn.

Like most online communities you must register to view or post in our community. Sign-up is a free and simple process that requires minimal information. Be a part of our community by signing in or creating an account. The Digital Bit Stream starts here!
  • Reply to existing topics or start a discussion of your own
  • Subscribe to topics and forums and get email updates
  • Send private personal messages (PM) to other forum members
  • Customize your profile page and make new friends
 
Guest Message by DevFuse

Photo
- - - - -

Using HR21 for other purposes...?


  • Please log in to reply
3 replies to this topic

#1 OFFLINE   fire219

fire219

    New Member

  • Registered
  • 4 posts
  • LocationArmpit of Hell
Joined: Aug 04, 2014

Posted 05 August 2014 - 10:53 AM

Before I get started...... 

 

Disclaimer:

First of all, I am new around here, so I may have put this in the wrong place (though this seems like the best spot, since there is more technical talk in here than the other sections). It may not even be welcome here on DBSTalk at all, due to the potentially sensitive subject at hand. I am not attempting to decrypt the transmissions/recordings from DirecTV, simply reuse this hardware. If you do choose to participate, I am not responsible if you incur the full wraith of DirecTV upon yourself.

 

 

Now let's get started. :)

 

A few months ago, one of our HD DVRs (HR21-700) started to act up (intermittently lock up and refuse to boot). It has been replaced by one of it's -100 brethren. However, DirecTV has not asked for this old box back (nor the access card, for that matter...), and has not incurred a non-return fee. I presume they have decided these machines are too old to continue reusing, and do not want them back. This means I have a rather capable computerized system to play with.

 

My end mission here is to get a new operating system on this box. I decided start my quest by dissecting the contents of the hard drive inside. Maybe it will give clues into the inner workings of this secretive box.

 

 

 

Reading contents of the HDD: (This happened a few months ago, so technical details may not be 100% accurate, until I gain the motivation to try this again)

 

After booting my computer into Ubuntu (I correctly doubted that the hard drive would be in NTFS or FAT32!), and several hours of trial, error, and profanity, I found that the hard drive has three partitions: the main XFS filesystem, a realtime (journaling) section, and swap space.

 

The swap space seems like it would be the easiest to pick apart, so I started there. I dumped it to a file (which I would share, but it was several hundred MB, and I seem to have lost it! :( ), and started reading. Right off the bat, I found boot logs, debug lines that confirmed that the HR2x boxes run Linux, RSA keys (no idea if it's the public or private one) and most interestingly, Java stacktraces! This gave me a lot of interesting info, but didn't help too much. Time to dive into the XFS filesystem.

 

After more hours of the above three stages, I finally got the XFS system mounted and readable. This is what greeted me.

 

Screenshot%202014-08-05%2011.29.14%20thu

(click for full screen)

 

Oooh, I see Linux root folders (lib and etc)!

...

Unfortunately, they don't contain much.

Screenshot%202014-08-05%2011.33.22%20thu

(click for full screen)

 

Well, lets look at the other stuff... ooooh more java logs... can't find the actual jar files though :/

Screenshot%202014-08-05%2011.37.12%20thu

 

(Continue exploring and not finding much. I did find the recording files, but I'm not going to cover that. I'm already likely on thin ice legally... I eventually get bored, and give up project for a few months.)

...2 months later...

Yea, lets see if I can get further this time!

...

Squashfs images! Maybe I can find something in these!

Screenshot%202014-08-05%2011.42.38%20thu

 

Or maybe not, after two hours of working, I can only get linux utilities to recognize them as LZMA1-compressed squashfs images. Nothing will mount them or extract them. Not even let me see the file tree inside.

to be continued.

 

So... what now?

 

Has anyone else experimented like this? If so, what have you found? 

 

One of my current projects on this is to try to find a working serial port on the main board. So far, that has failed as well.

 

If someone thinks they could help, but don't have a sacrificial HD DVR, I could also send some of the files (such as squashfs images).

 

Thanks for reading. :)


Edited by fire219, 05 August 2014 - 10:54 AM.


...Ads Help To Support This SIte...

#2 OFFLINE   litzdog911

litzdog911

    Hall Of Fame

  • Registered
  • 11,711 posts
  • LocationMill Creek, WA
Joined: Jun 23, 2004

Posted 05 August 2014 - 11:22 AM

Interesting stuff.  Keep probing.   So far, I've seen no reports where anyone has successfully done much of anything with a DVR hard drive or its contents. 


HD DVRs: HR34-700; HR24-500; (2) HR20-700 + WD eSATA 1TB drive/Antec MX1 case; HR21-700; HR21-200 w/AM21
Receivers: H25-500 HD Receiver; H21-100 HD Receiver
Mobile Devices: Nomad

Additional equipment configuration details

Sun & moon help site your satellite dish


#3 OFFLINE   fire219

fire219

    New Member

  • Topic Starter
  • Registered
  • 4 posts
  • LocationArmpit of Hell
Joined: Aug 04, 2014

Posted 05 August 2014 - 11:57 AM

Interesting stuff.  Keep probing.   So far, I've seen no reports where anyone has successfully done much of anything with a DVR hard drive or its contents. 

Thanks. :)

 

I've gotten file trees to output off one of the squashfs files. They do indeed contain interesting stuff. Still no extraction yet. Will update again soon.

 

EDIT:

 

https://dl.dropbox.c...05 13.05.44.png

 

Too lazy to make a thumbnail this time, so here's a link.

 

Got it extracted. :)

 

Time to explore.


Edited by fire219, 05 August 2014 - 12:07 PM.


#4 OFFLINE   fire219

fire219

    New Member

  • Topic Starter
  • Registered
  • 4 posts
  • LocationArmpit of Hell
Joined: Aug 04, 2014

Posted 05 August 2014 - 01:12 PM

Alright, new chapter here. Going to be a bit more informational and less story-tell-y.

 

The squashfs files.

 

These files are stored in the XFS partition, at /network/plugins.

 

The files are organized by three statistics: asset ID, asset version, and minimum stack version.

 

ID table:

 

7 - aac_mp4 (libraries and binaries for AAC, MP4, and "drmmanager")

13 - youtube (libs/bins for Youtube)

17 - AdInsertion (no idea, has bin "plgwrapper" and lib "libdtvport.so")

19 - itvwebkit (I assume it is for rendering of web content...)

21 - pgwsclient (some sort of administration tool(s)? contains stuff for cURL and lots of bash scripts...)

23 - hd_assets (all of the UI and sound elements)

 

 

Therefore, 7_2129_2129.squashfs is version 2129 of the libraries for AAC and MP4 files.

 

 

Also in the /network/plugins directory, is the signature files for the squashfs files.

 

For example, the sig file for 23_139_2100 is:

 


IMAGE = /var/network/plugins/23_139_2100.squashfs
SIGNATURE = 27124C37F3CE01D45674E797D752D13BAF520B1E413A226ECCCDA0F9008B4ABE4A3270CC3869AB56
SIZE = 11436032
 
And here is the image for the screensaver. :)
 
FpJ9MmX.png

Edited by fire219, 05 August 2014 - 01:14 PM.





Protected By... spam firewall...And...