- Mac Computer
- AppleTV 4 (ver 9.0)
- USB-Type C cable
Certificate common name “iPhone Developer: test (ALI766JXB5)”
Apple TV 4 UDID e5e2c931d4a94ecf71e12a88b0b4579b
Launch Xcode, navigate to Windows->Device, Choose your connected apple TV device.
Find the device UDID (a long hexadecimal string) and record it. You will need to it for the next step, which registers your device with Apple and creates a provisioning profile.
Login to your account on apple developer center, and register your device udid (obtained in the previous step) to Devices by open the following URL: https://developer.apple.com/account/ios/device/tvOS/create If you have multiple apple tv devices, you will need to register all devices.
Open the following URL to register a new App ID for the TV device: https://developer.apple.com/account/ios/identifier/bundle/create
The sample ID is com.sample.tvjb
Visit the url: https://developer.apple.com/account/ios/profile/limited/create
Choose tvOS App Development, click next, and choose your developer certificate.
On the device selection page, choose all your Apple TVs you want to jailbreak.
Download the file and save to the atvjb folder, renaming it to embedded.mobileprovision.
Open Keychain Access app, select “Certificates” in the Category section, and open the property page of your developer certificate.
In the figure, A will be your common name iPhone Developer: test (ALI766JXB5) , B will be your team ID 93AA45BBCC.
You're now ready to install! You may either use Xcode's Windows->Device, by creating an ipa from the application folder, and then pressing "+" and selecting the newly created IPA.
Alternatively, use our script, which expects the following syntax:
Install_atv_jb.sh <udid> <bundleid> <team id> <common name id>
Install_atv_jb.sh e5e2c931d4a94ecf71e12a88b0b4579b com.sample.tvjb 93AA45BBCC "iPhone Developer: test (ALI766JXB5)"
The jailbreak app will install to your Apple TV.
Click PANGU app to launch jailbreak, wait a few seconds.. and your device will be jailbroken!
Now, you can connect your device by ssh (port 22), which will launch dropbear (an SSHd clone) on the TV. It’s a good idea to change the default password (alpine), and/or add a host key to /var/root/.ssh/authorized_keys.
If you have multiple Apple TV devices, please register all device in step 2 and choose all device to prepare provision file in step 4.
After step 6, the script will generate an IPA file in order to install. Remember you can always deploy the IPA files using XCode, or iFunBox (Windows)