Skip to content

Instantly share code, notes, and snippets.

@frazei
Last active February 23, 2024 11:22
Show Gist options
  • Save frazei/928b101694a5cc475a6108c2c32e2ec5 to your computer and use it in GitHub Desktop.
Save frazei/928b101694a5cc475a6108c2c32e2ec5 to your computer and use it in GitHub Desktop.
Bonjour mDNS Apple TV Airplay

Reference: https://discussions.apple.com/thread/253467325?sortBy=best

Apple TV 3 activation failed

After a million tries.... the following process worked! This is using all legitimate tools, so no drama!

To fix failed activation, and therefore restore AirPlay capability, on a Mac, install Apple Configurator 2 from the app store.

Plug in your Apple TV 3rd Gen to power and to a Mac using a micro USB cable from the Apple TV to the Mac.

In the configurator, perform an Apple TV OS "Restore" using the "Prepare" gear icon in the top menu bar (it should prompt you that you must do this anyway).

Once it has been restored using the configurator, do what the prompts say: "Unplug USB cable and power."

Then, "Power it back on" and wait for it to boot.

When the status light is solid (booted), plug in the USB cable connected to your Mac again. You will then see a "mirrored" display of a TV and Apple TV icon with the setup screen as if it were plugged into a TV.

Click on it, and it will then display the Apple TV home screen and version info, etc. on the right. A menu of 4 items will now be available in the left-hand column of the configurator app.

Click on the second item "Apps". You will see a message "Apple TV not activated".

Click the button that says "Activate".

Bam!

Unplug from Mac and power, plug into the TV you would like it on, and carry on with a normal, activated setup!

Hope this helps - let Apple know that they should use this method. IT WORKS!

Il comando da usare per creare un proxy del servizio è:

dns-sd -P <Name> <Type> <Domain> <Port> <Host> <IP> [<TXT>...] (Register Proxy)

Questi comandi creano i due servizi che in realtà sono richiesti per comparire nel menu di condivisione schermo ma.. non funzionano

dns-sd -P "Apple TV v3" _airplay._tcp local 7000 Apple-TV-v3.local 172.31.90.86 fe80::4e6:1387:89fe:54da "deviceid=5C:F9:38:CA:8B:0C" "features=0x4A7FFFF7,0xE" "flags=0x44" "model=AppleTV3,1" "pk=11d79dee2f1e4044c32bc78b6886a2724b00584b23ea2542278e054778297980" "srcvers=200.54" "vv=2"
dns-sd -P "5CF938CA8B0C@Apple TV v3" _raop._tcp local 5000 Apple-TV-v3.local 172.31.90.86 fe80::4e6:1387:89fe:54da "cn=0,1,2,3" "da=true" "et=0,3,5" "ft=0x4A7FFFF7,0xE" "md=0,1,2" "am=AppleTV3,1" "pk=11d79dee2f1e4044c32bc78b6886a2724b00584b23ea2542278e054778297980" "sf=0x44" "tp=UDP" "vn=65537" "vs=200.54" "vv=2"

Documentazione utile: https://openairplay.github.io/airplay-spec/introduction.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment