tvOS Jailbreaked Apple TV 4K can't install via dpkg
#16
(2020-09-02, 16:15)sy6sy2 Wrote: Can you try this one? https://we.tl/t-IRTYGorDuG

I builded it with my own certificate, so all binaries should be real signed with my certificate EXCEPT the main Kodi binary that I have fake signed with ldid utility.
It seems that JoshTV deb file is exactly like that (if I don't miss anything....).

Thank you very munch for your help finding what is wrong!

PS: Because this version do not use official Kodi bundle id (org.xbmc.kodi-tvos) but mine (fr.cecchetto.kodi-tvos) you will maybe need to remove other Kodi installation before, dpkg will tell you if needed

Edit: It seems that unc0ver works differently than other jailbreak (see https://github.com/pwn20wndstuff/Undecimus/issues/339 or https://www.reddit.com/r/jailbreak/comme...xecutable/), If deb file from JoshTV works on unc0ver we need to find the correct fake-signing combination...
Sorry for the late reply. Your build is installed and opening with no problem. So official debs never works on Unc0ver Jailbreak? Because Kodi team need to sign the real certificate :/
Reply
#17
No problem for the delay, you are currently our only tvOS Unc0ver tester so thank you very munch for what you do!

Yeah it's a good news that the last build works for you!
Quote:So official debs never works on Unc0ver Jailbreak? Because Kodi team need to sign the real certificate :/ 
Not sure because in the last build all binaries are real signed except the main kodi binary that is fake signed/pseudo signed (see http://www.saurik.com/id/8 if you need more details).

I think I found what's issue with Unc0ver but I need to be sure. If you have time, can you try these builds and tell me which one are working for you?

Thank you for your help!

* kodi_tvos_test_build_uncover_1 --> https://we.tl/t-OOzkJJEo16
* kodi_tvos_test_build_uncover_2 --> https://we.tl/t-Geuprcbeig
* kodi_tvos_test_build_uncover_3 --> https://we.tl/t-2e6OkiAnrp

My two suspicions are:

1. Unc0ver want ALL binaries in the app to be fake signed (kodi, kodi-topshelf, dylibs files, ...). At the moment we only apply fake sign on two binaries (kodi and kodi-topshelf) but not on dylib files
2. Unc0ver want kodi-topshelf binary to be fake signed with a correct entitlements. At the moment only kodi binary is fake signed with its entitlements, kodi-topshelf is simply fake signed without entitlements
3. Suspicion 1. + Suspicion 2.
4. Something else...
Trying to keep Kodi working on tvOS on free time — Former developer of Catch-up TV & More video add-on (GitHub repoWebsite)
Reply
#18
In addition to your tests..... https://github.com/pwn20wndstuff/Undecimus/issues/2125
Trying to keep Kodi working on tvOS on free time — Former developer of Catch-up TV & More video add-on (GitHub repoWebsite)
Reply
#19
(2020-09-03, 00:13)sy6sy2 Wrote: I think I found what's issue with Unc0ver but I need to be sure. If you have time, can you try these builds and tell me which one are working for you?

Removed all Kodi apps then I installed and removed them then respring one by one. ALL works!! All 3 installed and opened with no problem.
Reply
#20
Oh yeah! You rock, thank you!

I made this 3 builds by hand. In our continuous integration chain we have a script that fake sign binaries, build the deb then upload the deb file on http://mirrors.kodi.tv.
I will now try to fix the script according to what I made by hand. At the end, future deb files on mirrors should works on both Unc0verTV and checkra1n (I hope!).

Edit: Do you use the TopShelf feature of Kodi? Did you try it on the different builds?
Trying to keep Kodi working on tvOS on free time — Former developer of Catch-up TV & More video add-on (GitHub repoWebsite)
Reply
#21
(2020-09-03, 09:04)sy6sy2 Wrote: Oh yeah! You rock, thank you!

I made this 3 builds by hand. In our continuous integration chain we have a script that fake sign binaries, build the deb then upload the deb file on http://mirrors.kodi.tv.
I will now try to fix the script according to what I made by hand. At the end, future deb files on mirrors should works on both Unc0verTV and checkra1n (I hope!).

Actually you rock! Thanks for your works! Checkra1n is a very good jailbreak tool but for Apple TV 4K you know there is no USB-C port on it. So peoples need special cables or breakout cables and some solder skills. Not everyone has these options.

After the fixing building script, I am waiting here for a test.

(2020-09-03, 09:04)sy6sy2 Wrote: Edit: Do you use the TopShelf feature of Kodi? Did you try it on the different builds?

Actually I wanted to try and looked interface settings, skin settings, and system settings to find top-shelf options but I can't found anything. Also, I changed the settings level to expert but I can't found.
Reply
#22
Normally TopShelf feature should work out of the box without any settings, the only thing that you need to do is:
  1. Create a folder somewhere on your NAS with 2 or 3 movies
  2. Put Kodi icon on the top line of your Apple TV home screen
  3. Open Kodi and add your freshly created folder as a Movies source
  4. Wait for Kodi to analyse your folder, after that you should notice a "Recently added movies" section in the Movies tab (see my screenshot here https://ibb.co/b7WntkZ)
  5. Wait a little until Kodi create your TopShelf dictionary
  6. Go back to the Apple TV screen and move on the Kodi icon
  7. Wait some seconds and you should notice a dynamic top shelf with your recent movies instead of the static Kodi image fanart (at the moment movies logo are broken, but anyway...) (see my second screenshot here https://user-images.githubusercontent.co...1bb505.png)
At step 7, if you still have the static image it means that the Kodi top shelf feature is broken...

If you have time, this I what I suppose you to try:
  1. Install Kodi 19 from JoshTV repo (NitoTV app) just to be sure that TopShelf is working on your device with this build (we assume this build to be our working reference here :-P)
  2. Try TopShelf with "kodi_tvos_test_build_uncover_1" build (I am not sure if this one will works ...)
  3. Try TopShelf with "kodi_tvos_test_build_uncover_3" build (I expect this one to work!)

Sorry, I should have tell you this test before Undecided
Trying to keep Kodi working on tvOS on free time — Former developer of Catch-up TV & More video add-on (GitHub repoWebsite)
Reply
#23
(2020-09-03, 09:54)sy6sy2 Wrote: If you have time, this I what I suppose you to try:

We have some problems. All tests did not work for me.(included josh build)

I removed all Kodi's and var/mobile/library/preferences/Kodi folder before every new install.
I created a movies folder with some movies under documents on apple tv and I selected this folder to add the library every time.
Every time library scanned successfully I can see movie names, posters in the main screen recently added movies.
Every time I moved Kodi to the first line. And waited for some magic.
But nothing happened. I still see static Kodi image.
Reply
#24
Arf, I guess I have to more investigate :-P

I just think about it, but NitoTV app also have a TopShelf feature (at least it works on checkra1n...), if you put it on the top line you should see featured packages of NitoTV on the TopShelf, is it working for you?
Something like that: https://twitter.com/nitotv/status/944879150040367104
Trying to keep Kodi working on tvOS on free time — Former developer of Catch-up TV & More video add-on (GitHub repoWebsite)
Reply
#25
(2020-09-03, 12:31)sy6sy2 Wrote: Arf, I guess I have to more investigate :-P

I just think about it, but NitoTV app also have a TopShelf feature (at least it works on checkra1n...), if you put it on the top line you should see featured packages of NitoTV on the TopShelf, is it working for you?
Something like that: https://twitter.com/nitotv/status/944879150040367104
Yeap. Nito tv top-shelf feature is working.
Reply
#26
Good news, at least we are sure that TopShelf feature is working on fake-signed app with Unc0verTV. Now I have to find the correct combination to have the same result with Kodi :-P
Thank you!
Trying to keep Kodi working on tvOS on free time — Former developer of Catch-up TV & More video add-on (GitHub repoWebsite)
Reply
#27
Hi @BTopbas,
If you still have some courage and time, are you ok to try another build (again) :-P :-D

This build "should" works on Unc0verTV (install AND run). (If not, I do not understand anything :-P) 
Also, and this is what I want to try, this build has a special "fake" top shelf that should works out of the box, I mean, you do not have to do anything in Kodi, the top shelf should works before you run Kodi for the first time (and also after, of course).
Of course this TopShelf is useless, I just want to try if this fake-signed topShelf works with Uncover ...

This what you should obtain: https://ibb.co/SmfHz4p

I tested this deb on my device (checkra1n) after a dpkg install and Kodi + "Hello world" Topshelf works for me.

Thank you very munch!

Link to the deb : https://we.tl/t-NoZnXjtBjP
Trying to keep Kodi working on tvOS on free time — Former developer of Catch-up TV & More video add-on (GitHub repoWebsite)
Reply
#28
(2020-09-04, 19:39)sy6sy2 Wrote: If you still have some courage and time, are you ok to try another build (again) :-P :-D

Installed and opening but the top-shelf not working. Still static Kodi image. Maybe nito help us how to sign properly for working top-shelf? And top-shelf is not a big problem when compare the crashed Kodi. You succeeded to install and open Kodi on Unc0verTV jailbreak. Firstly need PR and merge this into the master branch.

And I am always here for special tests Tongue If you want, you can create more of hello word top-shelf sign combinations and I will try one by one until which one is working under Unc0verTV.
Reply
#29
Thank you for your test!
Yes I will update the current PR to include the Uncover fix ;-)

Since today I'm in contact with JoshTV, I will try to resolve this TopShelf problem with him ;-)

Than you for your proposition! I will try another one later :-P
Trying to keep Kodi working on tvOS on free time — Former developer of Catch-up TV & More video add-on (GitHub repoWebsite)
Reply
#30
If you still have the last "fake top shelf" build installed, can you send me the Apple TV log that you have when you stay "focused" on the Kodi logo while waiting to see the Hello World TopShelf?
Trying to keep Kodi working on tvOS on free time — Former developer of Catch-up TV & More video add-on (GitHub repoWebsite)
Reply

Logout Mark Read Team Forum Stats Members Help
Jailbreaked Apple TV 4K can't install via dpkg0