Hacking the iPod Touch – Jailbreak to 1.1.3 w/ extra apps


General info:

How to put an ipod touch into restore mode: Plug it into your computer, and turn on iTunes, then: hold the power and home buttons down until it resets. Release the power button, but keep the home button held until it enters recovery mode.

How to restore to a specific version of the firmware that you have downloaded to your computer: Use iTunes but instead of just clicking the "Restore" button, you hold the shift key down and then clicking the "Restore" button. This gives you a file selecton dialog that you can select a specific firmware file on your local hard drive. NOTE: You can also "upgrade" to a specific firmware version in the same way, but shift-clicking on the "Upgrade" button. At some points the difference between a Restore and an Upgrade is very important! (e.g. after jailbreaking a 1.1.1 and running OktoPrep, you should UPGRADE to 1.1.2, not restore!)

VERY IMPORTANT: Turn off "Auto-Lock" in the General->Auto Lock control panel!!! You will have to do this every time you upgrade/restore to a new firmware. Nothing messes up a firmware upgrade like the ipod locking halfway through it and turning off!

Here are a few guides that I found to be the most useful for jailbreaking/hacking the ipod Touch:

Continue reading

Mythtv gotchas when upgrading from Ubuntu 7.04 (Feisty) to 7.10 (Gutsy)

I upgraded my Mythtv server from Feisty to Gutsy for no good reason (other than I like the pain).

Gotchas I ran into when trying to get MythTV working again:

1. The upgrade lost/removed the libqt3-mysql support from my computer. This resulted in the MythTV applications (frontend and backend) giving "unable to connect to database" errors. As the upgrade had also upgraded my MySQL install, I spent a good amount of time checking that the mythtv user still existed and had the proper permissions before I figured out it was a QT database library problem.
  apt-get install libqt3-mt-mysql fixed it.

2. LIRCD stopped receiving commands from my HDHomeRun receiver from SiliconDust. Turns out you have to change the LIRCD_ARGS="-d 5000" line in the /etc/lirc/hardware.conf file to LIRCD_ARGS="-H udp -d 5000".  After this, typing irw showed that LIRCD was now receiving the command codes as it was supposed to.

3. The module name for my D-Link GWL-G122 usb wifi-adaptor have changed, so I had to change entry in the /etc/modprobe.d/blacklist  file to reflect the new name(s) of: rt2x00usb and rt2500usb.

Riced Dynamo flashlight

On our van trip across the country my aunt and uncle gave us two hand crank (dynamo) LED flashlights which are really useful to keep in the van. The self-charging nature of the flashlights are very nice, in that we can leave them in the van and just wind them up when we need light. Unfortunately, one of the flashlights started to dim and refused to hold a charge. When I got home and opened it up, I found that the rechargeable Li-Ion coin cell inside had died. It originally used a 2032 coin cell rated at 40mAh

Dynamo flashlight opened

Once I had it open, I decided I may as well fix it, and if I was going to be replacing the battery I may as well buy a bigger one (or two) and give the flashlight Continue reading

MythTV to phone (.3gp) transcoder script and Bluetooth transfer

I built a perl script that can be used as a "User Job" from within mythtv to convert a recorded TV program into a cell phone (.3gp) movie. It makes uses of mythname.pl to get the show and title (for the filename) and mplayer/mencoder and ffmpeg to do the actual transcoding.

Unless you want to drop your files off in the /var/lib/mythtv/for_phone directory, you will need to edit the output directory.  I've found that 35 minutes of TV gets shrunken down to 24-30megs when in .3gp format when transcoded at a generous 80/16 (video/audio bitrate).

Script to transcode from mythtv files to .3gp files

I wrote a second script to transfer any files in this directory to my phone via bluetooth OBEX push every night. I use cron to start the phoneTransfer.pl script up each night, and it looks for any .3gp files in the directory and tries to copy them to my phone. If successful, it removes them from the directory.  Note that my Motorola V3xx has an annoying feature where it will receive OBEX bluetooth files into phone memory, and NOT to the default download location (which can be set to the memory card). If your phone is similar, you will have to copy files from the phone's memory to the memory card so that your phone's memory doesn't get full. If your phone's memory gets full, it will refuse further bluetooth transfers until you move the files over to a memory card. 

Script that does a bluetooth transfer to phone

Note that to use this script you will have to find your phone's bluetooth mac address (using "hcitool scan") and put it in the script. Also, you should pair your phone with your computer, and set your phone up to automatically accept OBEX push/FTP transfers unless you want to manually approve each video transfer.

Freeing my V3xx phone from Cingular

After getting ATT/Cingular to take the subsidy lock off my phone, I decided to flash it with the generic International Motorola firmware. The advantages:

  • The Motorola firmware is not “branded” and gets rid of all of the “Shop Cingular” links, menu items, etc.
  • The quadband firmware claims to support all 4 GSM bands (instead of the 3 that the Cingular firmware supports).

The downsides:

  • The Motorola firmware is not “branded”, and I had to re-configure any Cingular specific settings that I like, such as the MediaNet connectivity settings and Cingular Video bookmarks.
  • The Cingular version of the phone has a slightly different button layout than the Motorola generic version (the Clear key is swapped with the Cingular Video key) and I had to remap those keys back to match the custom key layout.
  • Because I flashed the phone, all of my previous SEEM edits and java fixes were lost, so I had to repeat them.

As daunting as the downside list is, I have to say that getting rid of all of the Cingular branding was like a breath of fresh air. You really don’t notice how bad the branding was until it’s gone. Then you just notice all of the extra room in the menus, bookmark lists, etc.

Continue reading

Screen Scraping Amazon Album Art for MythTV

mythtv icon

I wanted to get Album Art for all of my (newly ripped) songs on my MythTV box. 

Thierry has a nice perl script which finds album art on Amazon and automatically downloads it, but unfortunately for me the music plugin for MythTV has upgraded their database schema and the script no longer worked.  I am using the trunk SVN code, so it's a bit more up-to-date than the latest packaged release, but this means that scripts designed for the packaged versions may not work. (This specific script had a problem finding the correct directory to store the album art, so all the album art was stored in the root directory, overwriting itself with each album.)

Luckily, I know just enough SQL and Perl to be dangerous, so I whipped up a few changes to his code that fixed my problem (after exploring the new database format). The updated script is here if anybody needs it.

UPDATE: I also added features that allow you to run the script multiple times (if an albumart.jpg file already exists, it will skip that album) and improved the searching (if "album by artist" is not found, it will try searching by "album" name only).

Updated New File: amazon_album_art_scraper.txt (Thanks to Mike Wilson for updates to Amazon’s HTML!)

OLD FILE: Amazon Album Art Scraper Script

Parts for a MythTV box

I've built a MythTV home media PC, attempting to keep the costs down. It's already cost $539, which is more than a Tivo HD ($299), and very close to a Tivo Series 3 ($575). The advantages over buying a TVIO include:

  1. DVD / CD playback and archiving to HD.
  2. Cheaper subscription costs (Free over the air, or 20-40$ a year from Schedules Direct).
  3. Automatic commercial detection.
  4. Open Platform, which allows for easy network mounting of file-systems, administration, and customization.

Continue reading

Wedding Guestbook Pages

 Guests filling out guestbook pages Filling out guestbook pages
At our wedding, my wife and I provided blank guest-book pages at each table, along with a glass of colored markers. The guests really enjoyed filling in the open-ended blanks. After the wedding, we sorted the pages and then had them bound to make a personalized keepsake.

At the bottom of the page I have included an image of each side of the guest-book page, as well as the original SVG source files. Continue reading

Homemade Bokashi (Kitchen composter)

Laser cut 1/8 inch acrylic support trayBokashi is a Japanese name referring to intensive composting. This Bokashi bucket was made from a Target brand generic cat litter container, a $5 Coleman igloo spout, and some laser cut 1/8 inch acrylic left over from a picture frame. Similar units sell for over $60, and since we were going to buy the cat litter and acrylic anyways, building our own saved quite a bit of money that my wife promptly spent on 3 containers of special Bokashi starter mix. (I argued that we should just throw in some moldy cheese that we also had laying around.) Continue reading

Tinfoiling an entire office

Tinfoiled Office My adviser received a promotion to full professor, so my group tinfoiled his office. It took 12 of us six hours, and almost 3000 square feet of aluminum foil. We individually wrapped books, computer cables, ceiling tiles, etc. The effect is best seen via this Quicktime VR panorama. I really recommend you take a look at the Quicktime VR view of the office, it really captured the ambiance wonderfully. Also, when the sun goes down in the late afternoon, the office gets to be painfully bright.

We also installed a new Port-a-Potty door and a congratulating plaque. Continue reading