Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Maybe the problem is that my apple tv is not in dfu mode, its say recovery mode instead of dfu... is there some other windows software that will put my device in dfu mode?
 
No folks, The error is at the beginning of the restore, After it verifies restore with apple, There is no other way around it, Pwnage tool is needed to put apple tv in dfu mode, As long as i use Pwnage tool on my mac to put the apple tv into dfu mode, It Works. Is the only way i can restore,
 
My apple tv is now stucked in dfu or recovery mode. How can I get out? I tried turning off and on, but still the same.

edit: I restored it to stock firmware and its ok now.
 
My apple tv is now stucked in dfu or recovery mode. How can I get out? I tried turning off and on, but still the same.

edit: I restored it to stock firmware and its ok now.

Just curious what about putting a atv in dfu on Mac disconnecting USB and hooking up to pc to do the restore? No point other than curiosity.
 
Just curious what about putting a atv in dfu on Mac disconnecting USB and hooking up to pc to do the restore? No point other than curiosity.

I think it will work. Im trying to do this on virtual machine, but its so slow...
 
Tried it again all on osx. Made the firmware, let pwnage put in dfu and try to restore but get error 21. I can restore the apple firmware no problem so I don't think its the cable. He only thing is pwnage never confirms it is in dfu mode. Itunes jus pops up at a certain point and shows that I need to restore the atv. Is it possible I'm not getting in to dfu or in be right way?
 
Guide posted here: http://wiki.awkwardtv.org/wiki/NitoTV_Take_3

Shiny new Wiki Page, and probably the best place to follow the NitoTV development, next to Twitter, of course.

A pre-prepared firmware will probably not restore from a Windows computer. I may be wrong, but I believe Pwnagetool executes the exploit after it's guided you into DFU mode- "regular" DFU mode doesn't seem to work.

As for the Hello World project, you need the latest version of XCode then do this:

0) Make sure your Apple TV is turned on and connected to the network!!! It should be named the default "Apple TV" for convenience, resulting in a hostname of: apple-tv.local

1) Change the drop-down build menu to "Release | atvTwo | x86_64"

2) Fire up Terminal (On your local machine)

3) Type: "cd /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/"

4) Type: "sudo ln -s iPhoneOS4.1.sdk/ iPhoneOS4.0.sdk"

5) Enter your password, as prompted and close Terminal

6) Expand the "Targets" node in the left-hand pane of XCode

-- In theory this step should work:
7) Right click "thePlugin" and choose "Build"

-- But I had to:
8) Open up Terminal again

9) "cd ~/Downloads/helloWorld/" (This step may vary for you)

8) "sh build.sh"

-- At this point the script will SSH into your AppleTV and attempt to install the frappliance - Frontrow/Lowtide plugin.

9) Wheee! If you are prompted to continue connecting, answer "yes"

10) Enter your AppleTV password (Default is "alpine")

11) Wheee! Enter your password again.

12) If you're watching your AppleTV on a display, the screen should go blank as Lowtide gets killed and begins to restart. If it hangs on "waiting for network services" for a while, just hammer some keys on your remote- seemed to work for me.

Thanks Wodeh, I got it working (from Terminal, not from Xcode).

For other's trying this... make sure to update the IP in "build.sh" to reflect the correct IP and just run the run the build.sh from Terminal.

Alright, time to start coding :)
 
Help

Apple-TV:~ root# echo "deb http://apt.awkwardtv.org ./" > /etc/apt/sources.list.d/awkwardtv.list
Apple-TV:~ root# apt-get update
Ign http://apt.awkwardtv.org ./ Release.gpg
Get:1 http://apt.saurik.com tangelo-3.7 Release.gpg [189B]
Get:2 http://cydia.zodttd.com stable Release.gpg [189B]
Get:3 http://apt.thebigboss.org stable Release.gpg [197B]
Get:4 http://apt.awkwardtv.org ./ Release [169B]
Get:5 http://cydia.zodttd.com stable Release [1619B]
Get:6 http://apt.modmyi.com stable Release.gpg [189B]
Get:7 http://apt.saurik.com tangelo-3.7 Release [639B]
Get:8 http://apt.thebigboss.org stable Release [2023B]
Get:9 http://apt.awkwardtv.org ./ Packages [890B]
Get:10 http://cydia.zodttd.com stable/main Packages [1070kB]
Get:11 http://apt.modmyi.com stable Release [1325B]
Get:12 http://apt.saurik.com tangelo-3.7/main Packages [22.8kB]
Get:13 http://apt.modmyi.com stable/main Packages [971kB]
Get:14 http://apt.thebigboss.org stable/main Packages [635kB]
Fetched 2706kB in 10s (251kB/s)
Reading package lists... Done
Apple-TV:~ root# apt-get install com.nito.nitoTV
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
beigelist mobilesubstrate
The following NEW packages will be installed:
beigelist com.nito.nitoTV mobilesubstrate
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 3996kB of archives.
After this operation, 4157kB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
mobilesubstrate beigelist com.nito.nitoTV
Install these packages without verification [y/N]?
E: Some packages could not be authenticated
Apple-TV:~ root# killall Lowtide
 
both of them wont work

Helloworld

Making all for bundle HW...
make[2]: Nothing to be done for `internal-bundle-compile'.
Making stage for bundle HW...
Copying resource directories into the bundle wrapper...
Make Install...
Making all for bundle HW...
make[2]: Nothing to be done for `internal-bundle-compile'.
Making stage for bundle HW...
Copying resource directories into the bundle wrapper...
install.mergeDir "/Users/JustinShulman/Downloads/helloWorld/_" "/"
The authenticity of host 'apple-tv.local (fe80::5a55:caff:fe0a:484e%en1)' can't be established.
RSA key fingerprint is ac:dc:d6:70:57:82:7b:39:dc:1c:44:18:0b:84:ed:1a.
Are you sure you want to continue connecting (yes/no)?

Host key verification failed.
make: *** [internal-install] Error 255
 
both of them wont work

Helloworld

Making all for bundle HW...
make[2]: Nothing to be done for `internal-bundle-compile'.
Making stage for bundle HW...
Copying resource directories into the bundle wrapper...
Make Install...
Making all for bundle HW...
make[2]: Nothing to be done for `internal-bundle-compile'.
Making stage for bundle HW...
Copying resource directories into the bundle wrapper...
install.mergeDir "/Users/JustinShulman/Downloads/helloWorld/_" "/"
The authenticity of host 'apple-tv.local (fe80::5a55:caff:fe0a:484e%en1)' can't be established.
RSA key fingerprint is ac:dc:d6:70:57:82:7b:39:dc:1c:44:18:0b:84:ed:1a.
Are you sure you want to continue connecting (yes/no)?

Host key verification failed.
make: *** [internal-install] Error 255

I imagine you typed "yes" after the prompt to connect, right?

If that didn't work you can try this, as written by Shanewilliams earlier:

"If you go to ~/.ssh and delete the file "known hosts" it will go away. You know what the device is, so the warning doesn't apply in this case.

https://forums.macrumors.com/threads/354258/
in case you have any more questions"

It may prompt you to type the root password for the Apple TV twice (remember the default password is "alpine"). Then "Lowtide" will restart and when it is brought back up, you'll see "Hello World" on the menu.
 
I imagine you typed "yes" after the prompt to connect, right?

If that didn't work you can try this, as written by Shanewilliams earlier:

"If you go to ~/.ssh and delete the file "known hosts" it will go away. You know what the device is, so the warning doesn't apply in this case.

https://forums.macrumors.com/threads/354258/
in case you have any more questions"

It may prompt you to type the root password for the Apple TV twice (remember the default password is "alpine"). Then "Lowtide" will restart and when it is brought back up, you'll see "Hello World" on the menu.

i still dont understand what to do
 
i still dont understand what to do

when this is shown on the screen:

The authenticity of host 'apple-tv.local (fe80::5a55:caff:fe0a:484e%en1)' can't be established.
RSA key fingerprint is ac:dc:d6:70:57:82:7b:39:dc:1c:44:18:0b:84:ed:1a.
Are you sure you want to continue connecting (yes/no)?

type yes and hit return.
 
it might have been a bad idea, but i just did
'apt-get -f install'

and typed 'Yes, do as I say!'

once that finished, i did apt-get install com.nito.nitoTV and it installed.


I tried a reboot, no luck. I guess its time to jailbreak it again.
 
After the JB with Pwnage 4.1 and SSHing NitoTV, I notice that when I put it to sleep and turn it back on after a short period, I need to reconnect to my WiFi network each time. After that, everything seems to work fine until the next time I shut down and power up.

Anyone else having this problem?
 
I have a post about that issue. It is a known issue with the JB and they are working on it. That is about all I know at the moment.
 
So is the idea of this that people'll be able to write apps for it such as BBC iPlayer? or are they making cydia apps work on the apple tv?
 
As for the Hello World project, you need the latest version of XCode then do this:

0) Make sure your Apple TV is turned on and connected to the network!!! It should be named the default "Apple TV" for convenience, resulting in a hostname of: apple-tv.local

1) Change the drop-down build menu to "Release | atvTwo | x86_64"

2) Fire up Terminal (On your local machine)

3) Type: "cd /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/"

4) Type: "sudo ln -s iPhoneOS4.1.sdk/ iPhoneOS4.0.sdk"

5) Enter your password, as prompted and close Terminal

6) Expand the "Targets" node in the left-hand pane of XCode

-- In theory this step should work:
7) Right click "thePlugin" and choose "Build"

-- But I had to:
8) Open up Terminal again

9) "cd ~/Downloads/helloWorld/" (This step may vary for you)

8) "sh build.sh"

-- At this point the script will SSH into your AppleTV and attempt to install the frappliance - Frontrow/Lowtide plugin.

9) Wheee! If you are prompted to continue connecting, answer "yes"

10) Enter your AppleTV password (Default is "alpine")

11) Wheee! Enter your password again.

12) If you're watching your AppleTV on a display, the screen should go blank as Lowtide gets killed and begins to restart. If it hangs on "waiting for network services" for a while, just hammer some keys on your remote- seemed to work for me.
Are you saying to run 8) "sh build.sh" on your local machine or the Apple TV?

When I do this on the local machine, I get an error:

Making...

Making all for bundle HW...
Compiling Classes/HWAppliance.mm...
Compiling Classes/HWBasicMenu.m...
Linking bundle HW...
Stripping HW...
Signing HW...
/bin/sh: ldid: command not found
make[2]: *** [obj/HW] Error 127
make[1]: *** [internal-bundle-all_] Error 2
make: *** [HW.all.bundle.variables] Error 2


So I looked up ldid and it looks like a signing tool that should be installed on the iOS device. Kind of confusing. So should I be making this on the Apple TV?

Mike
 
OK. I got it figured out. Since I have not previously developed iOS apps for jailbroken devices, I didn't already have the Link Identity Editor installed on my Mac.

For anyone attempting to build the HelloWorld frappliance example from the OS X command line, you will need to install Link Identity Editor. Instructions: http://pimpmiphone.info/howto/install-ldid-osx.html.

instead of moving ldid to /usr/bin as the above instructions indicate, move it to /bin as that is where build script expects to find it.

A couple more tips:

1) There seems to be a bug in the build script. You are not allowed spaces in the directory names that contain the helloWorld folder. If there are spaces, the make will fail.

2) If you get an error during the make saying it can't find apple-tv.local, open the Makefile file and change the FW_DEVICE_IP from apple-tv.local to the actual IP address of the Apple TV.

Good luck and post your creations! :)

Mike
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.