Installing/Updating Kodi on jailbroken ATV4 without NitoTV?

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Memphiz Offline
Kodi MVP
Posts: 15,915
Joined: Feb 2011
Reputation: 219
Location: germany
Post: #46
They are deleted automagically no exceptions. There is no benefit for me as developer when you use something that works for you because it stalls the development. Also if you found a version you like - how hard could it be to just save that deb file somewhere?

AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
find quote
underwriter Offline
Member
Posts: 58
Joined: Jan 2016
Reputation: 0
Post: #47
(2016-12-21 08:40)Memphiz Wrote:  They are deleted automagically no exceptions. There is no benefit for me as developer when you use something that works for you because it stalls the development. Also if you found a version you like - how hard could it be to just save that deb file somewhere?

Memphiz, my seconding the request was neither a challenge nor a complain. We all do appreciate your work. It's just that previous versions have always been kept in your repository in the past. As a result, one never thought of downloading and keeping for later usage.
I personally have 4 different versions installed (including the latest one) I do this for comparing reason and easier bug referencing and tracking. That way I can comfortably be sure of an issue before I report it.
(This post was last modified: 2016-12-21 17:01 by underwriter.)
find quote
kuzn Offline
Junior Member
Posts: 29
Joined: Aug 2016
Reputation: 2
Post: #48
Using Appsync unified from nitoTV Kodi stays past the 7 day limit for me its been working for years now and never has disappeared.

when using wget to get the latest copy of Kodi it will download wherever you are on your aTV4 filesystem. Normally this would be the root directory which is the same as typing this after you ssh in:

cd ~

So it will always be there unless you have changed directory somewhere else:

cd

You can also type this to see where you are and the current directories files:

ls

These are basic unix commands, come on guys! If you want to remove old copies of Kodi just type this for example (just change the Kodi build(s) you have found using ls):

rm ~/kodi-20170115-adec49a-yab-tvos.deb

If its says file is to big either the Kodi version was corrupt or your aTV4 doesn't have any more space because you have to much on it...duh, so delete some stuff from your /Applications directory such as packages from nitoTV to clear up space in your root partition.

More kodi backup deb's for tvOS:

http://ftp.igh.cnrs.fr/pub/xbmc/test-bui...rwin/tvos/
(This post was last modified: 2017-01-30 11:34 by kuzn.)
find quote
Memphiz Offline
Kodi MVP
Posts: 15,915
Joined: Feb 2011
Reputation: 219
Location: germany
Post: #49
Your atv4 is jailbroken - 7days limitation isn't in effect then of course...

AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
find quote
kuzn Offline
Junior Member
Posts: 29
Joined: Aug 2016
Reputation: 2
Post: #50
I apologize to many in advance. My old method of updating/downgrading Kodi using a unmodifed .deb was quite simply wrong but the good news is I was able to figure out how to properly upgrade/downgrade Kodi on jailbroken aTV4's. Here is how I came to this conclusion (if you were wondering) and a full tutorial:

I opened a current deb from nitoTV's source here:

http://nitosoft.com/ATV4/packages/

in particular this one:

http://nitosoft.com/ATV4/packages/kodi-2...b-tvos.deb

and noticed it was very different in file size (about 65mb I think) and structure from the current deb hosted here:

http://mirrors.kodi.tv/test-builds/darwi...b-tvos.deb

So then on my Mac I opened the .deb from nitoTV and explored using this command:

ar vx kodi-20170115-adec49a-yab-tvos.deb

and guess what nitoTV uses appinst to install kodi at the end of the postinst within the .deb file!

So with this information I quickly came up with sure way to upgrade/downgrade kodi using a similar method. I grab the kodi I want to downgrade (or upgrade) to for example:

http://ftp.igh.cnrs.fr/pub/xbmc/test-bui...b-tvos.deb

In particular this one:

kodi-20160101-65d0b90-yab-tvos.deb

I open it the same then I grab the desired kodi.app within the .lama & .tar after I extract/unzip the .deb using this:

ar vx kodi-20160101-65d0b90-yab-tvos.deb

I create a folder called Payload on my desktop making sure I use a capitol P then I drop the kodi.app in it from the desired .deb we found earlier. I then zip up the Payload folder calling it Payload.zip then rename the zip to kodi.ipa (I guess you can drag the kodi.app to iTunes also but I am a terminal kinda guy).

I resign the kodi.ipa using the latest iresign form here (now with Sierra support) otherwise Kodi won't open if unsigned:

https://github.com/lechium/iReSign/releases

using the ATVCERT755 method from here:

http://www.sinfuliphone.com/showthread.php?t=10085710

I then scp the file to my atv4 like so:

scp ~/Desktop/kodi-resigned.ipa [email protected]:~

then I ssh in:

ssh [email protected]

then I install:

appinst kodi-resigned.ipa

and boom, no more bullshit ass errors about space. Thanks kb for schooling my ass once again to get around the root limited space limitation using appinst, nice!

Here is my resigned ipa for those who want to use it to downgrade (I use this version to run the heavier themes till Krypton is stable):

https://www.sendspace.com/file/m92rgb

There is more kodi ipa's are here as well on page 1 (note these have a different bundle identifier so they will install as a new additional kodi.app):

http://www.sinfuliphone.com/showthread.php?t=10086865

Also very big thanks to @Memphiz for making this all possible to begin with!

----------------------------------------------------------------------------------------------------------------------

I started to upload resigned tvOS kodi ipa's. You can click the links below then copy the link from the download button on the media fire page to then paste it into your Apple TV via ssh using wget for example after I copy the link (without the quotes) I type this into my aTV4:

wget "REPLACE ME WITH DOWNLOAD LINK FROM MediaFire"

After its on your Apple TV simply use appinst to upgrade or downgrade kodi for example this version on tvOS:

appinst kodi-20161008-93b237c-yab-tvos.ipa

once your done with the ipa you can remove it if desired from your Apple TV root:

cd ~
rm kodi-20161008-93b237c-yab-tvos.ipa

Here are all the tvOS ipa's that I am aware of resigned & ready to install:

kodi tvOS ipa's

kodi krypton 17.0 was just added on 2/8/17 build kodi-20170206-04876e8-yab-tvos.ipa

So far in my testing 20160114 builds and lower are the only ones that can run custom builds at this time, hopefully newer builds will work in the future for tvOS.

I know this is a crude way to do this but unless these files are uploaded to a non https web server or permanent links are available there is not another way that I am aware of since curl and wget do not support https downloads currently. I may change these to a deb that have a post install script to install the ipa's within the deb's eventually to save space so they can be installed via nitoInstaller maybe.
(This post was last modified: 2017-02-08 22:39 by kuzn.)
find quote
mskx4 Offline
Junior Member
Posts: 2
Joined: Mar 2017
Reputation: 0
Post: #51
Is there a way to do this without appinst? I'm saying this because NitoTV isn't available for tvOS 10.x
find quote
robappleby Offline
Junior Member
Posts: 25
Joined: Feb 2016
Reputation: 0
Post: #52
It will be in the next few days
find quote
mskx4 Offline
Junior Member
Posts: 2
Joined: Mar 2017
Reputation: 0
Post: #53
Seems like it will take forever...
find quote
kuzn Offline
Junior Member
Posts: 29
Joined: Aug 2016
Reputation: 2
Post: #54
You can easily install the kodi ipa from the link above using cydia impactor for now until nitoTV is released. Only downfall is you are under the same restrictions as if it were not jailbroken (free apple account 7 days, paid 1 year). Once it is released we will be able to install it permanently using appinst with appsync installed of course. Once the aTV reboots you will need to rejailbreak to use it again.
(This post was last modified: 2017-03-17 00:43 by kuzn.)
find quote
j0k3r Offline
Member
Posts: 53
Joined: Mar 2012
Reputation: 0
Post: #55
Hi atv4 jailbreakers Wink

I have the same prob as a few others in here, maybe someone can help me out.

http://forum.kodi.tv/showthread.php?tid=...pid2553046
find quote
kuzn Offline
Junior Member
Posts: 29
Joined: Aug 2016
Reputation: 2
Post: #56
Read post 50.
find quote
Post Reply