Installing a new app on AppleTV -- without hijacking Trailers

I don't blame you. did you happen to figure out how to get add site to work for 6.0 as well?

I think so once its jailbroken i think we should be good to go on ios 6 :slight_smile:


I think so once its jailbroken i think we should be good to go on ios 6 :)


Once it's jail broken! I thought the idea was to have a solution that did not require a jailbreak. I appreciate the work you are putting in wahlman, but that is a bit disappointing.

wahlman.j

My congratulations!

Did my link help you?

You give us a hope!!!

Lets just say I stumbled across something :D

I wish there was another way besides jailbreaking but we need file system access to do my new method. Maybe someone else can get it another way, im trying everything I can to get something working now that they decided we cant have addsite options. I think this can work on all atv2/3 and rev a aka atv3 2013 when they get JB. The good thing is we have options even if addsite didnt work there is other ways to add apps. Such as frappliance, we can develope our own apps just like nitotv and atv flash black does.

Once it's jail broken! I thought the idea was to have a solution that did not require a jailbreak. I appreciate the work you are putting in wahlman, but that it is a bit disappointing.

+1

If jailbreak needed, we didn't really do anything here ..

+1
If jailbreak needed, we didn't really do anything here ..

Wow thx guy, glad im trying something here, what have you done to fix it? You can thank apple for locking your device and removing addsite, not my fault. You didnt save your .shsh also not my fault.

Like I said before this is my device and I plan on keeping it that way, maybe you should start thinking the same way and start saving your .shsh's

The only reason I have been able to get as far as I have is because I have root access to my apple tv.

Wow thx guy, glad im trying something here, what have you done to fix it? You can thank apple for locking your device and removing addsite, not my fault. You didnt save your .shsh also not my fault.

Man, i'm not here to say you did something bad, like the one i did +1 to, your work is very appreciated but if jailbreak needed we can never get anywhere here. I didn't say you did bad job or something, i have no knowledge at this. And what does this have to do with that? I didn't say it's your fault that apple is locking the atv, and didn't say it's your fault i didn't save .shsh (didn't want to, and it can't help me so much (atv 3, and don't want to go back anyway)). So calm down please, i just said what i think. Your work is very appreciated and i don't know how you understood it's your fault that i didn't save .shsh

Man its halarious everytime this gets blown open we have a bunch of guests, wonder who that could be. Gotta love adding apps without addsite, auto ip & dns, no trailers.pem, plexconnect’s own app, trailers works as it should, life is good :slight_smile:


Looks like we have bypassed the overlord again.

http://www.saurik.com/id/12


@tomer749 its all good, i was like man really i do all this and its not good enough what the heck lol.

Maybe this is what they are afriad of :open_mouth:


If they only left it alone, I never would of even tried to do any of this lol. When you push people you might not like when they push back. Leave our project alone!


I cannot stress enough how well Plexconnect now works on my atv, FLAWLESS!

So, we've figured out how Apple disabled the Add Site feature, but don't yet have a way (other than on a jailbroken device) of bringing it back. There's one last thing I want to try, but I'm not positive it'll work. And it'll have to wait until I get home (where my ATV is :) ). 

And we still don't have any info on ATV 6.0...but we haven't given up hope. not just yet, anyway.

I thought I'd throw out a quick high-level overview of how things work, just to clear up a few things:

* There's only one real "app" on apple tv: AppleTV.app. 

* When that app launches, it populates a menu with just two items: Computers and Settings. This is your home screen

* It then reaches out to Apple and gets a list of other apps. These are, well, everything else.

* That list includes (for each app) an internal name (called "merchant-id"), screen name like "Netflix"), home URLs, icons, etc. Basically, a bag.plist entry for each app

* When Apple rolls out new apps, they simply add them to this list -- no software update required. Most new channels are "installed" this way

* Occasionally, apps are built to a new OS revision -- they're using features not present in previous AppleTV binaries (new screen formats, or like the "standings" page for MLB, etc.)

* When that happens, Apple has to push a full new OS upgrade to the device, not just add something to the list

* The "Add Site" app comes through that app list from apple, just like any other app (this is how they added the icon a couple weeks ago)

* Wednesday night / Thursday morning, Apple added a new parameter for Add Site: "minimum-version: 6.0". This made the app disappear from 5.2 and 5.3 devices.

* They did *not* change your device in any way. There was no remote kill switch, no stealth update, nothing like that. 

* They can change the initial URL for an app in this site listing, too -- that's how the trailers app went to https a few weeks back.

* When you add sites using the Add Site button, they get stored on the filesystem. Users with a jailbroken device can edit that file (details in my blog post) and still add any site they like...

* As far as I know the only way to remove *that* facility is to do an OS update.

So, as before:

* If you have a jailbroken device, you can manually add a site and avoid the whole DNS thing. You should be good until you decide to update the device (which kills the jailbreak, etc.). So don't update.

* If you don't have a jailbroken device, you're (currently) still out of luck, and need the original DNS trick, which should continue to work as before (with obvious caveats if the root URL you're hijacking changes)

* If you've updated to ATV 6.0: No idea still. Fingers crossed. May have to wait for a jailbreak (at which point, you should still be able to use the manual method just like on jailbroken devices today.

It's all fun, this cat-and-mouse game... :)

Maybe this is what they are afriad of :o

If they only left it alone, I never would of even tried to do any of this lol. When you push people you might not like when they push back. Leave our project alone!

*speechless* 

*stands up and applauds loudly*

Is there a way to tell apple that the atv is at 6.0 without actually being on 6.0?

So, we've figured out how Apple disabled the Add Site feature, but don't yet have a way (other than on a jailbroken device) of bringing it back. There's one last thing I want to try, but I'm not positive it'll work. And it'll have to wait until I get home (where my ATV is :) ). 

And we still don't have any info on ATV 6.0...but we haven't given up hope. not just yet, anyway.

I thought I'd throw out a quick high-level overview of how things work, just to clear up a few things:

* There's only one real "app" on apple tv: AppleTV.app. 

* When that app launches, it populates a menu with just two items: Computers and Settings. This is your home screen

* It then reaches out to Apple and gets a list of other apps. These are, well, everything else.

* That list includes (for each app) an internal name (called "merchant-id"), screen name like "Netflix"), home URLs, icons, etc. Basically, a bag.plist entry for each app

* When Apple rolls out new apps, they simply add them to this list -- no software update required. Most new channels are "installed" this way

* Occasionally, apps are built to a new OS revision -- they're using features not present in previous AppleTV binaries (new screen formats, or like the "standings" page for MLB, etc.)

* When that happens, Apple has to push a full new OS upgrade to the device, not just add something to the list

* The "Add Site" app comes through that app list from apple, just like any other app (this is how they added the icon a couple weeks ago)

* Wednesday night / Thursday morning, Apple added a new parameter for Add Site: "minimum-version: 6.0". This made the app disappear from 5.2 and 5.3 devices.

* They did *not* change your device in any way. There was no remote kill switch, no stealth update, nothing like that. 

* They can change the initial URL for an app in this site listing, too -- that's how the trailers app went to https a few weeks back.

* When you add sites using the Add Site button, they get stored on the filesystem. Users with a jailbroken device can edit that file (details in my blog post) and still add any site they like...

* As far as I know the only way to remove *that* facility is to do an OS update.

So, as before:

* If you have a jailbroken device, you can manually add a site and avoid the whole DNS thing. You should be good until you decide to update the device (which kills the jailbreak, etc.). So don't update.

* If you don't have a jailbroken device, you're (currently) still out of luck, and need the original DNS trick, which should continue to work as before (with obvious caveats if the root URL you're hijacking changes)

* If you've updated to ATV 6.0: No idea still. Fingers crossed. May have to wait for a jailbreak (at which point, you should still be able to use the manual method just like on jailbroken devices today.

It's all fun, this cat-and-mouse game... :)

If the new iPhone jailbreak will come soon they maybe will be busy with them ;)

So, we've figured out how Apple disabled the Add Site feature, but don't yet have a way (other than on a jailbroken device) of bringing it back. There's one last thing I want to try, but I'm not positive it'll work. And it'll have to wait until I get home (where my ATV is :) ).

...

It's all fun, this cat-and-mouse game... :)

Amazing...

I was able to add the AddSite and PlexConnect app before Apple removed the AddSite.
AddSite button is now gone, but PlexConnect remains on my ATV. Touch wood, I can use this awesome method until my ATV crashes and I am forced to update... or someone else update by mistake ;(

In the original PlexConnect a DNS server is used to intercept and hijack the trailed app. Do you think is there any chance to use a similar method to intercept the bag.plist sent by apple to temporarily enable the AddSite? You say yourself that once an up is on the ATV it can only be removed by an update. So this should be a one time only hack. Unless https is involved?

Amazing...

I was able to add the AddSite and PlexConnect app before Apple removed the AddSite.
AddSite button is now gone, but PlexConnect remains on my ATV. Touch wood, I can use this awesome method until my ATV crashes and I am forced to update... or someone else update by mistake ;(

In the original PlexConnect a DNS server is used to intercept and hijack the trailed app. Do you think is there any chance to use a similar method to intercept the bag.plist sent by apple to temporarily enable the AddSite? You say yourself that once an up is on the ATV it can only be removed by an update. So this should be a one time only hack. Unless https is involved?

Great idea to have the home server act as apple to allow the add site without the 6.0 requirement.  Kind of like what tiny umbrella does with shsh blobs. Time to try and make it work...

So, we've figured out how Apple disabled the Add Site feature, but don't yet have a way (other than on a jailbroken device) of bringing it back. There's one last thing I want to try, but I'm not positive it'll work. And it'll have to wait until I get home (where my ATV is :) ).

......

It's all fun, this cat-and-mouse game... :)


Nice breakdown and glad you are still in the game :)
 

This is a far out idea and I'm gonna dream big here.

What if my.plexapp.com hosted PlexConnect for PlexPass users and simply adding the url for the app would allow you to input your myPlex credentials and it would talk to your Plex Server without any major complications like setting up PlexConnect locally. PlexConnect would be running off my.plexapp.com and sending you back to the local Plex server address for transcoding and playing videos. It would take some work and would probably be only worth it if Apple opened up the process so that we don't have to play cat and mouse. That way my.plexapp.com/bag.plist would be the url to point to.

The skys the limit, if its wrote properly in js and xml I dont see anything being an issue. This is in its infancy so bare with us while we get this going, if you figure anything out or want me to test an app please let me know. So far my new apps are working 100% so far just need more apps to test :slight_smile:

I see some snark directed at the people who are frustrated with this hack requiring jailbreak and I think it's unwarranted.

Don't get me wrong, I completely appreciate the work being done here and any kind of intrusion/penetration testing on the ATV is good for the community, but the whole point of plexconnect is that it runs well on non-jailbroken atvs.

Once you jailbreak an ATV, you can just add apps anyways using SSH, so it's kind of moot to go through a convoluted hack to re-enable add site when you can just install a package manager and "apt-get plexapp" (or whatever package manager is on the atv - I don't own an exploitable one)

I echo the disappointment - from a jailbreak perspective, add site is not the easiest way to jam something on the atv, SSH is. from a non-exploitable perspective, we're literally back at the same square 1 that we've been at since the ATV3 came out and that sucks. Don't take it personally. As I said, I'm glad there are people trying to understand the core ATV stuff and I think you should continue on this path, but to be fair, the value of add site was that non-jailbroken devices finally had their day in the sun. And now that's done and some of us are sad.