Jailbreak the Apple TV 4 on tvOS 9.0 or 9.0.1 with PanGu

PanGu has recently brought us the Apple TV 4 jailbreak which is very exciting because it’s been many years since we were last able to do anything jailbreak wise to an Apple TV device. It has been out for almost a week now, and unfortunately won’t work on anything past tvOS 9.0.1 at the current time, so if you’ve already upgraded the device firmware you’re still out of luck for the time being, but expect it new versions to come in the near future. Once jailbroken, nothing will really change on your device, except SSH access will be granted, so don’t worry about anything, all your standard functionality will still work as normal.

In case you aren’t aware of what a jailbreak is, it is a sort of hack that allows you to install third party applications to the Apple TV 4 device which are not officially available through the tvOS App Store. This means that once jailbroken, you’ll be able to install stuff like nitoTV and Kodi directly to your jailbroken Apple TV 4 box. Unlike other jailbreaks for devices like the iPad or iPhone, this jailbreak takes a little bit more effort and requires that you signup for a free developer account with Apple.

Please Note: This process is not for the faint of heart, if you do not feel comfortable around the computer, don’t bother attempting this procedure. If you’re confident around your Mac, it should be a breeze.

atv

Required: Mac Computer with Latest Version of Xcode and a USB-C to USB-A Cable

Step 1: Download and Install the latest version of Xcode from the Mac App Store.

Step 2: Download and Unzip the PanGu Apple TV 4 Jailbreak to your Desktop.

Step 3: Download and Unzip the iOS App Signer application to your Desktop.

Step 4: Login to the Apple Developer Member Center with your Apple ID.

Please Note: If you don’t already have one you can also Create an Apple ID at this point.

Step 5: Check the “Agreement” box at the bottom of the Apple Developer Agreement, then Press the blue “Submit” button.

Step 6:  You can now “Exit” your Web Browser at this point.

Step 7: Connect the Apple TV 4 device on your television for the first time and go through the initial on-screen setup process.

Step 8: Go to the “Settings” menu button.

Step 9: Choose the “System” tab.

Step 10: Select the “Software Update” menu.

Step 11: Disable the “Automatic Update” field.

Step 12: Keep the Apple TV 4 device connected to your Television throughout the jailbreak process.

Step 13: Using a USB-C to USB-A cable, Connect the Apple TV 4 device to your Computer.

Step 14: Launch the “Xcode” application at this point.

Step 15: Click on the “Xcode” application menu to the left of the horizontal menu bar at the top of your screen.

Step 16: Select the “Preferences” tab at this point.

Step 17: Choose the “Accounts” menu icon.

Step 18: Click on the little “+” symbol at the bottom left of the window, then Choose the “Add Apple ID” function.

Step 19: Enter your Apple ID login details, then Click on the “Sign In” button to continue.

Step 20: Choose the “Create a new Xcode project” function.

Step 21: Choose the “Application” tab under the “tvOS” heading.

Step 22: Select the “Single View Application” option, then Click the “Next” button.

Step 23: Set the “Product Name” field to show the word “Jailbreak” displayed.

Step 24: Under the “Organization Name” field, go ahead and input your own name.

Step 25: Under the “Organization Identifier” field, input the “com.jailbreak.atv” (without quotations) file name.

Step 26: Under the “Language” field, set it to show “Swift” displayed, then Press the “Next” button to continue.

Step 27: Choose your Desktop within the “File Location” window, then Click on the “Create” button.

Step 28: Click on the “Product” menu within the horizontal menu at the top of your screen.

Step 29: Choose the “Destination” submenu tab.

Step 30: Select your “Apple TV” device from the menu options, it may say “(OS version lower than deployment target)” which is fine for now.

Step 31: Under the “Team” field, Select the Apple ID which you already setup a developer account for in “Step 4” of this guide.

Step 32: Under the “Deployment Target” field, Select the “9.0” option.

Step 33: Click on the “Fix Issue” button to resolve code signing issues (if any) at this point.

Please Note: If you’re experiencing weird issues with your provisioning profile at this point, you might want to try slightly altering the “Bundle Identifier” field.

Step 34: Launch the “iOS App Signer” application that you already downloaded in “Step 3” of this guide.

Step 35: If prompted, Click on the “Open” button to confirm that you wish to launch an application from downloaded from the internet.

Step 35: Click on the “Browse” button then Select the folder to which you extracted the Pangu Jailbreak Files to in “Step 2” of this guide.

Step 36: Choose the “Payload” folder within the extracted Pangu Jailbreak directory.

Step 37: Select the “atvipa.app” file, then Click on the “Open” button.

Step 38: Next to the “Signing Certificate” field, Select your Apple ID.

Step 39: Next to the “Provisioning Profile” field, Select the “tvOS Team Provisioning Profile: com.jailbreak.atv.Jailbreak” that you just created.

Step 40: Click on the “Start” button at this point.

Step 41: Set the “Where” field to your Desktop folder.

Step 42: Click on the “Save” button, then Wait a few seconds for the process to complete.

Step 43: Return to your Xcode application window at this point.

Step 44: Click on the “Window” menu from the horizontal menu bar at the very top of your screen.

Step 45: Choose the “Devices” submenu tab.

Step 46: Click on your “Apple TV” under the “Devices” tab at the left hand side of the window.

Step 47: Click on the little “+” button at the lower right hand side of the window.

Step 48: Choose the code-signed “atvipa.ipa” file that you previously saved to your Desktop in “Step 42” of this guide, then Press the “Open” button, then Wait a few seconds for the process to complete.

Step 49: Back on your Television, Launch the “PANGU” app on your Apple TV 4 device to initiate the actual jailbreak process.

Step 50: You’ll now have to wait for the jailbreak process to complete, don’t touch anything until you see the “Jailbreak successful” messaged displayed on your television screen.

Step 51: You may now go ahead and Unplug the Apple TV 4 device from your computer.

Step 52: Now that you’re jailbroken, you’ll want to connect to it via SSH terminal so that you can change the device’s root password, for security reasons.

Step 53: On your Apple TV 4 device, Navigate to the “Settings” tab.

Step 54: Select the “General” settings menu.

Step 55: Click on the “About” menu option.

Step 56: You’ll now want to take note of the “IP Address” listed on the page, write it down because you’ll need it shortly.

Step 57: Click on your computer’s “Finder” icon at this point.

Step 58: Select the “Applications” tab on the left side of the window.

Step 59: You’ll now want to open the “Utilities” folder on the right side of the window.

Step 60: Launch the “Terminal.app” application.

Step 61: You’ll now want to input the following command in your Terminal window in order to connect to your Apple TV 4 device. Once you’ve entered the command, Press the “Enter” button on your keyboard.

Replace the “<Apple TV IP Address>” placeholder below with your device’s IP Address, which you should have marked down in “Step 56” of this guide.

ssh root@<Apple TV IP Address>

Step 62: If prompted to confirm that you wish to continue connecting, simply Input the word “yes” (without quotations) then Press the Enter button.

Step 63: When prompted for a “password”, type the following password, then Press the “Enter” button on your keyboard.

alpine

Step 64: Input the following command in your Terminal window in order to change your device’s root password. Once you’ve entered the command, Press the “Enter” button on your keyboard.

passwd

Step 65: When prompted to enter a “New password” go ahead and Input your desired root password, then Press the “Enter” button on your keyboard.

Please Note: Be sure to use something that you’ll remember, because if you forget it you’ll be locked out of your device.

Step 66: Input your new password again when prompted to “Retype new password” then once again Press the “Enter” button on your keyboard.

Step 67: Input the following commands one by one in your Terminal window in order to fix a potential black screen reboot loop issue. After inputting each command, Press the “Enter” button on your keyboard.

wget http://nitosoft.com/ATV4/fixBoot.sh

chmod +x fixBoot.sh

./fixBoot.sh

Step 68: You’ll now want to input the following command to end the terminal session, then Press the “Enter” button on your keyboard.

exit

Step 67: You did it, your Apple TV 4 device is now jailbroken! At this point you’ll probably want to go ahead and install nitoTV and Kodi of course.

Congratulations! It wasn’t that bad, was it? If you enjoyed this guide (we honestly tried to make it as short as possible) please take time to share it with your friends, family, coworkers or whoever else on Facebook or Twitter, so they too can jailbreak their Apple TV 4 at some point in the near future. If you need help with your Apple TV 4 device, we encourage you to visit the CABLE CUTTERS discussion forums at your convenience.