Arduino sketch to try all 10,000 Pin Numbers against a TiVo HD.
The TiVo Series 3 / HD unit was sold in Australia and New Zealand from 2008 until approximately 2013. The Electronic Program Guide information was provided until October 2017, when the service was closed down.
Darren King spearheaded a volunteer effort to maintain service through the OzTiVo community - with many users coming from the Whirlpool forum.
I discovered that I had lost the Passcode for the KidZone functionality, and the TiVo unit was stuck in the KidZone.
The accompanying Arduino Sketch and Fritzing model are a basic circuit I created to brute force all the possible Passcodes.
These instructions assume some basic familiarity with electronic circuits and Arduino programming. This is a fairly simple circuit and should be able to be constructed with only minimal experience.
- TiVo HD / Series 3 - Australian / New Zealand model.
- Arduino Uno or similar. I tested using an Arduino Uno Rev 1 and also a SparkFun MicroView.
- USB cable to suit your Arduino.
- IR Transmitter Module or similar. I used a Jaycar IR Transmitter Module however a KY-005 or plain IR LED (taking note of the polarity of the LED) will also work.
- 330Ω 125mW Through Hole Resistor (a 220Ω or 100Ω resistor should also work).
- Prototyping Breadboard.
- Breadboard Jumper Wire.
- USB Power Pack / Charger (Optional) if you cannot connect your Arduino to your computer within reach of your TiVo.
The following software and library modules are all free to use, and are required for the sketch to work.
- Arduino IDE - I used the "Download" version. The sketch is fairly simple, so the Web Editor will probably work too.
- IRLib2 - After running the Arduino IDE, download the IRLib2 and extract into the
...Documents\Arduino\libraries
folder.
- Overview of IRLib2 on the AdaFruit website, written by the library author, Chris Young.
- The TiVo_IR_Codes.txt file contains a list of all the IR hex codes captured using AnalysIR from the TiVo Remote. These can be used with the IRLib2 library for replay.
- Darren King for helping many many people continue using their TiVo's after the EPG service ended.
- The OzTivo community for hosting the new EPG, Forum, and supporting all the new users.
- Chris from AnalysIR for some great IR analysis code and hardware modules, and some excellent advice.
- Install the Arduino IDE.
- Run the Arduino IDE (to create your local library folders).
- Download the IRLib2 library packages and extract under your
...Documents\Arduino\libraries
folder - noting that the contained folders should go directly underlibraries
- there should be no intermediate folders. - Plug your Arduino Uno into the USB Cable and then into your computer.
- If you have not previously used an Arduino, I suggest trying to run the Arduino Blink Tutorial - note that if you have an Arduino Uno, you do not need any extra components as there is a built in LED on the Arduino Uno board.
- Assemble the Arduino, IR Module, and Resister as per the Fritzing diagram.
- Arduino Pin 3 connects to the S Pin on the IR Transmitter.
- The -ve Pin on the IR Transmitter connects to the 330Ω Resistor.
- The other end of the 330Ω Resistor connects to the GND Power Pin on the Arduino.
- Open the TivoBruteForce sketch in the Arduino IDE.
- Compile the sketch.
- Upload the sketch.
- Open the Serial Monitor window
Tools - Serial Monitor
. - Look for the status logs as it runs. The current passcode will be shown. Note that the first digit represents the "10,000" passcode batch that is processing. "1" indicates that this is the first time that the number has been attempted.
00:10:14.020 -> Number: 10000 00:10:14.052 -> Digit 0 A10C8C03 00:10:14.638 -> Digit 0 A10C8C03 00:10:15.257 -> Digit 0 A10C8C03 00:10:15.875 -> Digit 0 A10C8C03 00:10:16.458 -> Number: 10001 00:10:16.491 -> Digit 0 A10C8C03 00:10:17.073 -> Digit 0 A10C8C03 00:10:17.686 -> Digit 0 A10C8C03 00:10:18.302 -> Digit 1 A10C140B 00:10:18.919 -> Number: 10002 00:10:18.919 -> Digit 0 A10C8C03 00:10:19.533 -> Digit 0 A10C8C03 00:10:20.150 -> Digit 0 A10C8C03 00:10:20.730 -> Digit 2 A10C940B
- Once you have confirmed the sketch is working, unplug the USB Cable and relocate the Arduino Uno and Breadboard with IR Transmitter Module so that the IR module is pointing at the TiVo, and is 5-10 centimetres away - approximately pointing to the middle of the front panel.
- In the
KidZone Now Playing
screen, highlight theExit TiVo KidZone
menu entry. - Press
Select
on your remote control. - The Four Passcode boxes will be displayed.
- Plug the USB Cable into the Arduino.
- You will see the TiVo logo appear in the passcode boxes.
- Leave the Arduino / Transmitter plugged in and running overnight. It will take 8-13 hours to find the correct combination.
- Note that this will only unlock the KidZone. You will have to repeat this process if you want to change the password, or remove KidZone completely.
- You can speed up the submission by reducing the number of milliseconds the sketch pauses between each digit. I have tested down to 300 milliseconds - however you may start to receive errors in transmission. You should ensure the transmitter is reasonably close to the TiVo.
Modify the number in the line
delay(500);
to reflect your desired value. - Increase the Serial speed. Find the line
Serial.begin(9600);
and change the number to115200
giving youSerial.begin(115200);
. In the Serial Monitor, change the speed (bottom right status bar) from9600 baud
to115200 baud
. Do not go higher than 115200. The Serial rate MUST match between the sketch code and the Serial Monitor.
- Use a 4 Digit, 7 Segment Display for output.
- Investigate lower delay times between digits. The lowest attempted value was 300 milliseconds. Perhaps make this configurable using microswitches.
- Document the sketch used with the MicroView for recording the current Passcode attempt. This was left out to provide the simplest solution for people.
- Investigate using SSH direct to the TiVo to find if the Passcode is stored somewhere, or see if the Network Control is an option.
- It would be lovely to determine some way of knowing when the Passcode works, however I don't believe the Tivo HD sends any IR signal out. One thought would be to look for colour changes in the screen however this would be complex to implement.