New hack: running the PlexConnect python script on your jailbroken ATV2

General: See /support/aTV_jailbroken. The readme there describes the process in short words. With this quick overview through the given guide, I think it is somewhat outdated...

1: Don't use a "*_daemon" plist... use the files supplied with PlexConnect in /support/... And yes, it should restart after an aTV boot. Worked fine for me- last time I tested.

2: That should work as well...

3: reset aTV's DNS setting to automatic.

Thanks for the quick reply. I spotted the /support/aTV_jailbroken folder and readme after my post. Tried running the commands but couldn't get the App icon to show and not everything executed smoothly. I think this may be due to the tinkering I've done following the outdated instructions. I'm gonna restore to a fresh 5.3 and then re-jailbreak. Start from scratch the the updated instructions and hopefully it'll work. 

I'll let you know how it goes. Thanks again!

Excellent! Fresh JB, fresh install. Just followed your instructions from scratch and everything is working perfectly! 

Thanks a bunch. Donation coming your way!

I like to hear that!

Only a happy customer is one to count on... :-D

Hi. Here is a small script to help preparing the device, starting from a fresh 5.3 jailbreak.

Prior to launch this script (like this: setup.sh 192.168.10.34), you can upload your public ssh key to avoid pwd requests.

Hope this will help

#!/bin/bash
ssh root@$1 -C "apt-get update"
ssh root@$1 -C "apt-get upgrade"
ssh root@$1 -C "apt-get remove sqlite3-lib"
ssh root@$1 -C "apt-get install -f cydia"
ssh root@$1 -C "apt-get update"
ssh root@$1 -C "apt-get install python"
cp trailers.* PlexConnect/assets/certificates/
cp PlexConnect/support/aTV_jailbreak/Settings.cfg PlexConnect/Settings.cfg
scp -r PlexConnect root@$1:/Applications/PlexConnect
scp python_2.7.3-3_iphoneos-arm.deb root@$1:/var/root/
ssh root@$1 -C "dpkg -i python_2.7.3-3_iphoneos-arm.deb"
ssh root@$1 -C "cd /Applications/PlexConnect;./support/aTV_jailbreak/install.bash"
ssh root@$1 -C "cd /Applications/PlexConnect;./support/aTV_jailbreak/install_button.bash"
ssh root@$1 -C "cd /Applications/PlexConnect;cat support/aTV_jailbreak/hosts_addon_PreventATVUpdate >> /etc/hosts"

You might want to post this in the newer thread: https://forums.plex.tv/index.php?/topic/88905-PlexConnect-on-aTV2-jailbroken–%3E-launchctl

Hi. Here is a small script to help preparing the device, starting from a fresh 5.3 jailbreak.

Prior to launch this script (like this: setup.sh 192.168.10.34), you can upload your public ssh key to avoid pwd requests.

Hope this will help

#!/bin/bash
ssh root@$1 -C "apt-get update"
ssh root@$1 -C "apt-get upgrade"
ssh root@$1 -C "apt-get remove sqlite3-lib"
ssh root@$1 -C "apt-get install -f cydia"
ssh root@$1 -C "apt-get update"
ssh root@$1 -C "apt-get install python"
cp trailers.* PlexConnect/assets/certificates/
cp PlexConnect/support/aTV_jailbreak/Settings.cfg PlexConnect/Settings.cfg
scp -r PlexConnect root@$1:/Applications/PlexConnect
scp python_2.7.3-3_iphoneos-arm.deb root@$1:/var/root/
ssh root@$1 -C "dpkg -i python_2.7.3-3_iphoneos-arm.deb"
ssh root@$1 -C "cd /Applications/PlexConnect;./support/aTV_jailbreak/install.bash"
ssh root@$1 -C "cd /Applications/PlexConnect;./support/aTV_jailbreak/install_button.bash"
ssh root@$1 -C "cd /Applications/PlexConnect;cat support/aTV_jailbreak/hosts_addon_PreventATVUpdate >> /etc/hosts"

Sometimes I noticed that python doesn't install properly as in it not saying python installed which causes user input which is a pain. I would love to have a way to automate some scripts into fewer deb's/steps otherwise you cannot install other 3rd party apps like from atv flash black. I made a few here, maybe it could be done or if you gave me a good script I could make into just a few deb's here is the link on pst 231 if you think you can trim down some of the steps to properly install the app. Im looking to use the button as well without hijacking any apps.

https://forums.plex.tv/topic/88905-plexconnect-on-atv2jailbroken-launchctl/page-12

I can make .deb's all day

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.