nitoTV + HelloWorld on your (jailbroken) Apple TV2

Discussion in 'Apple TV and Home Theater' started by wodeh, Oct 22, 2010.

  1. wodeh
    Expand Collapse
    macrumors regular

    Joined:
    Nov 18, 2007
    Location:
    Norwich
    #1
    nitoTV is burning the midnight oil and has tweeted a new repository from which you can grab the first GUI-based AppleTV2 app (technically a Lowtide plugin), which currently has weather and RSS functionality.

    To use it, do the following:

    1) SSH into your Apple TV2, the default password is "alpine"
    2) Type "passwd" and enter a new password (if you haven't already)
    3) Type: echo "deb http://apt.awkwardtv.org ./" > /etc/apt/sources.list.d/awkwardtv.list
    4) Type: apt-get update
    5) Type: apt-get install com.nito.nitoTV
    6) Type: killall Lowtide
    7) Enjoy ;)

    Source: http://twitter.com/#!/nitotv


    UPDATE Hello World 2 Guide:

    (Disclaimer: This is a guide written as I worked these steps out for myself, It worked for me and it should hopefully work for you! but I can't make any promises something wont screw up along the way.)

    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.

    13) Enjoy your stock hello world app. And please now make something great for the rest of us!
     
  2. nigelquest
    Expand Collapse
    macrumors member

    Joined:
    Jan 30, 2008
    #2
    Thanks for consolidation the steps. I'm going to give this a try tonight.
     
  3. maturola
    Expand Collapse
    macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #3
    I want to add that developer also got a "sample" project "helloworld" so if anyone want to venture to develop plugings for lowtide, they got a good starting point.

    http://nitosoft.com/ATV2/helloWorld.zip
     
  4. dhy8386
    Expand Collapse
    macrumors 6502a

    Joined:
    Aug 13, 2008
    #4
    Sweeeeett!!!!

    My jailbroken atv2 running its first JB app, NitoTv!
     

    Attached Files:

  5. mrbuckaroo
    Expand Collapse
    macrumors newbie

    Joined:
    Oct 22, 2010
    #5
    I JB using Greenpois0n but can't seem to connect to SSH using MAC Terminal or Cyberduck? Can someone explain the procedure to me?
     
  6. maturola
    Expand Collapse
    macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #6
    I don't think the current version of GP install OpenSSH by default. you need to use Pwange tool and build a custom .ipws to restore that already have OpenSSH (and maybe apt-get).
     
  7. dhy8386
    Expand Collapse
    macrumors 6502a

    Joined:
    Aug 13, 2008
    #7
    Yup. What he said.
     
  8. goobot
    Expand Collapse
    macrumors 601

    goobot

    Joined:
    Jun 26, 2009
    Location:
    long island NY
    #8
    How do you find the ip of your apple tv to ssh into it?
     
  9. NEBaghead
    Expand Collapse
    macrumors member

    NEBaghead

    Joined:
    Oct 21, 2009
    Location:
    Omaha, NE
    #9
    You can use appletv.local in most cases.
     
  10. ismailoe
    Expand Collapse
    macrumors member

    Joined:
    Aug 24, 2010
  11. jlluna
    Expand Collapse
    macrumors 6502

    Joined:
    Apr 21, 2010
    Location:
    Holly Michigan
    #11
    Ok, I just jailbroke my apple tv using pawnage tool, Great! but how do i shsh into it to install nito tv, i tried cyber duck and it seems to work, but where do i type the commands to install nito. Thanks!:(
     
  12. svega3
    Expand Collapse
    macrumors newbie

    Joined:
    Sep 29, 2010
    #12
    SSH using terminal. open terminal and type " ssh root@ipnumber " . then follow the instructions above.
     
  13. jlluna
    Expand Collapse
    macrumors 6502

    Joined:
    Apr 21, 2010
    Location:
    Holly Michigan
  14. Shanewilliams
    Expand Collapse
    macrumors 6502a

    Joined:
    Apr 3, 2010
    #14
    Can someone look this over and tell me what I'm doing wrong. I ssh into my apple tv, go through the steps, yet I get nothing....


    Apple-TV:~ root# echo "deb http://apt.awkwardtv.org ./" > /etc/apt/sources.list.d/awkwardtv.list
    Apple-TV:~ root# apt-get update
    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.modmyi.com stable Release.gpg [189B]
    Ign http://repo666.ultrasn0w.com ./ Release.gpg
    Get:4 http://apt.saurik.com tangelo-3.7 Release [639B]
    Ign http://apt.awkwardtv.org ./ Release.gpg
    Get:5 http://cydia.zodttd.com stable Release [1619B]
    Get:6 http://apt.modmyi.com stable Release [1325B]
    Get:7 http://apt.awkwardtv.org ./ Release [169B]
    Get:8 http://apt.awkwardtv.org ./ Packages [570B]
    Ign http://repo666.ultrasn0w.com ./ Release
    Get:9 http://apt.saurik.com tangelo-3.7/main Packages [22.8kB]
    Get:10 http://cydia.zodttd.com stable/main Packages [1070kB]
    Get:11 http://apt.modmyi.com stable/main Packages [971kB]
    Get:12 http://repo666.ultrasn0w.com ./ Packages [594B]
    Get:13 http://apt.thebigboss.org stable Release.gpg [197B]
    Get:14 http://apt.thebigboss.org stable Release [188kB]
    Get:15 http://apt.thebigboss.org stable/main Packages [634kB]
    Fetched 2891kB in 11s (252kB/s)
    Reading package lists... Done
    Apple-TV:~ root# apt-get install com.nito.nitoTV
    Reading package lists... Done
    Building dependency tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    com.nito.nitoTV: Depends: beigelist but it is not going to be installed
    libxml2-lib: Depends: firmware (>= 3.0) but it is not installable or
    libxml2-dylib but it is not going to be installed
    sqlite3-lib: Depends: firmware (>= 3.0) but it is not installable or
    sqlite3-dylib but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    Apple-TV:~ root# killall Lowtide
    Apple-TV:~ root# apt-get install com.nito.nitoTV
    Reading package lists... Done
    Building dependency tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    com.nito.nitoTV: Depends: beigelist but it is not going to be installed
    libxml2-lib: Depends: firmware (>= 3.0) but it is not installable or
    libxml2-dylib but it is not going to be installed
    sqlite3-lib: Depends: firmware (>= 3.0) but it is not installable or
    sqlite3-dylib but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    Apple-TV:~ root# killall Lowtide
    Apple-TV:~ root#
     
  15. jlluna
    Expand Collapse
    macrumors 6502

    Joined:
    Apr 21, 2010
    Location:
    Holly Michigan
    #15
    Worked for me, i had to restart my apple tv, after i finished, just unplugged it and plugged it back in, and when it rebooted there was nito tv. Thanks svega3
     
  16. nitosoft
    Expand Collapse
    macrumors newbie

    Joined:
    Oct 22, 2010
    #16
    According to DHowett (he knows more about this apt stuff than me) you need to reboot your appletv or re-jailbreak.
     
  17. Shanewilliams
    Expand Collapse
    macrumors 6502a

    Joined:
    Apr 3, 2010
    #17
    I tried a reboot, no luck. I guess its time to jailbreak it again.
     
  18. zepica
    Expand Collapse
    macrumors regular

    Joined:
    Jun 4, 2010
    #18
    Can someone post custom apple tv firmware, and can I use it to restore my apple tv? I don't have Mac, that's why I can't make myself custom firmware.
     
  19. jlluna
    Expand Collapse
    macrumors 6502

    Joined:
    Apr 21, 2010
    Location:
    Holly Michigan
    #19
    Man i have it on my desktop, but i think you need pwnage tool, To get the apple tv in dfu mode, For some reason this version of pwnage tool has to put your device in dfu mode or itunes wont restore it.
     
  20. zepica
    Expand Collapse
    macrumors regular

    Joined:
    Jun 4, 2010
    #20

    I can put apple tv in dfu manually.

    http://www.dkszone.net/put-apple-tv-2g-dfu-mode

    I just found some custom ios 4.1 for apple tv.
    Size of ipsw is 247.4mb. Can you confirm me that this is correct size?
     
  21. jlluna
    Expand Collapse
    macrumors 6502

    Joined:
    Apr 21, 2010
    Location:
    Holly Michigan
    #21
    My apple tv custom file is 259.2 mb, I am trying to upload it to Mega Upload, I will see if it works.
     
  22. maturola
    Expand Collapse
    macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #22
    DID you tried what apt-get is telling you?>>:confused:
     
  23. Shanewilliams
    Expand Collapse
    macrumors 6502a

    Joined:
    Apr 3, 2010
    #23
    I did and it came back with type "Yes, do as I say" if you wish to continue. I typed it and it said "abort"
     
  24. maturola
    Expand Collapse
    macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #24
    Did you type

    Code:
    apt-get -f install libxml2-lib
    ?
     
  25. Shanewilliams
    Expand Collapse
    macrumors 6502a

    Joined:
    Apr 3, 2010
    #25
    I hate to admit it, but I now see what I was doing wrong. Thanks for pointing it out!
     

Share This Page