yashsingh1/xdaforums huggingface dataset:
[Fire TV Android Development] puppinoo:
Thanks,

But how risky is the process?

Consider the Cube 3th is not fully unlocked and has no custom recovery so a brick could be fatal.

BTW I could recover the needed files. What folder do you need?

Cheers.
[Fire TV Android Development] hasobist:
Hello @puppinoo !

@dom019 meant the following files in

/system/framework/services and fosservices.jar files

And also

/system/framework/oat/arm/services and fosservices.odex files

Thank you.......

Cheers!
[Fire TV Android Development] puppinoo:
Can I upload them here or they contain private data (I know it's probably a stupid question...)?

P.S.: the 2 odex files ae in /system/framework/oat/arm/ and not in /system/framework/oat/. Not sure if this is relevant (probably not).
[Fire TV Android Development] hasobist:
Hello @puppinoo !

Oh yeah ,missed the sub-path:)....../arm/........

Edited the post.

It contains all the requisites of framework dependencies the apps relys on,your /data is safe.

You can PM @dom019 the requisites,as specified by him.

Thank you.......

Cheers!
[Fire TV Android Development] puppinoo:
Sent.

Let me know how I can help.

Cheers.
[Fire TV Android Development] hasobist:
Hello!

Dom will look into the files as he is well versed with patches for skygo and as a user as well and you can test it on the 3rd gen cube,if it works.

Thank you........

Cheers!
[Fire TV Android Development] puppinoo:
Thanks but I have to ask again.

Is that dangerous?

As I said the device has no unlocked bootloader and no custom recovery so a brick could be fatal.
[Fire TV Android Development] hasobist:
Hello @puppinoo !

There's a temporary root for 3rd gen cube.

A good rule of thumb is to backup the stock files ,in an event of bootloop can replace with stock using adb push and chmod with proper permissions.

It's risky without a permanent root.

Good to refrain from messing up with the /system especially without permanent root ,unless you know what your doing.

Cheers!
[Fire TV Android Development] SweenWolf:
Implementing dm-verity | Android Open Source Project

source.android.com

dm-verity — The Linux Kernel documentation

An Introduction to Dm-verity in Embedded Device Security — Star Lab Software

Most security mechanisms in Linux are focused on protecting users while the system is powered on. This makes sense, since most computing happens while the computer is powered on, but there is an entire class of attacks that can occur while the system is off. Imagine an attacker removes the hard driv

www.starlab.io
[Fire TV Android Development] puppinoo:
Not expert. Is this related to the fact that bootloader will check if the system has been tampered with and it so the firmware will not boot?

Thanks for headup.
[Fire TV Android Development] johnny_cage:
Nice job man, sorry but I can't find link to download rom
[Fire TV Android Development] TB-303:
I used this version on my rooted Android box and it worked fine for some time.

now I get the error message "no internet connection" but that is not true.

everything else is working fine and can access internet.

I cleaned data/cache and reinstalled it - did not help.

do you have any idea what could cause this?
[Fire TV Android Development] tombraga:
I got the same problem with same message.

[MENTION=7632282]rainman74[/MENTION] - Please help, worldcup is coming soon...
[Fire TV Android Development] tombraga:
The app works again, i think there was a server problem, as Sky made assistance yesterday and today, i saw it on Twitter. https://twitter.com/Sky_Service
[Fire TV Android Development] rainman74:
Yes, I've also just tried the app and it works fine.
[Fire TV Android Development] TB-303:
that was an easy solution! works fine again! Thnx for this great work! :)
[Fire TV Android Development] Bobb79:
Hi folks,

thx for the apk.

Tried this on a Sony Android TV because since the update nothing works.

This apk is starting with no problems but when I try to move to the movie section the app crashes and starts again. (only movie section)

Last version running correctly was 1.59 or something I guess.

Is it possible to do this for any version of the skygo app (german)?

Thank you
[Fire TV Android Development] rainman74:
Perhaps [MENTION=9130741]Benman2785[/MENTION] may be able to deliver such an old version... ;)
[Fire TV Android Development] Benman2785:
1.59? never heared of it

i can provide german versions 1.5.2; 1.6.0; 1.7.0; 1.71; 1.8.0; 1.8.1; 1.9.0 and 1.9.2 - most of them run fine on firetv and android - only slight fixes needed to "avoid" the update ;)
[Fire TV Android Development] Bobb79:
Ok my bad.....the version was 1.5.3

This runs on my Sony Android TV, together with a skygolauncher app perfectly.

Maybe I can test the 1.5.2 version of yours, I think there is no big difference to the 1.5.3.

All others I've tried, most of them don't start or crashes later.

Thank you
[Fire TV Android Development] jonnyhardaker:
Does this work with UK skygo accounts?
[Fire TV Android Development] tombraga:
No
[Fire TV Android Development] JuRii8:
How do you use Sky Go with root? I get the error code 38830
[Fire TV Android Development] rainman74:
I use SuperSu on devices and on some Magisk. I have not yet received this error message for either of them. Which SuperSU or Magisk version do you use and which SkyGo app? Have you already hidden SkyGo with MagiskHide?
[Fire TV Android Development] JuRii8:
I use Magisk v16.3.1 and Sky go v PR13.2.3-510. I enabled Magisk Hide and tried almost everything but it doesnt work.
[Fire TV Android Development] rainman74:
Please use my Sky-Go-2018.04.12 from OP instead. It works with root.
[Fire TV Android Development] JuRii8:
Thanks oder auch danke :)
[Fire TV Android Development] rainman74:
Gerne! ;)
[Fire TV Android Development] JuRii8:
Is it possible to download movies or series with this version of sky go?
[Fire TV Android Development] rainman74:
I haven't tried that yet :confused:
[Fire TV Android Development] mozn:
info: doesnt work in xiaomi mi android tv Box (8.0) for me.
[Fire TV Android Development] rainman74:
SkyGo for Fire TV ;)
[Fire TV Android Development] romskii:
I'll test it later on my Fire TV and also on my x96 Mini. Hopefully it works :)
[Fire TV Android Development] WaLLy7557:
Works great in my Alfawise H96 Mini Android TVBox
[Fire TV Android Development] langer_hans:
Funktioniert wunderbar auf meinem Oneplus 6.

Works great on my Oneplus 6.

Thanks!
[Fire TV Android Development] maximil_98:
Does this not work with Italian skygo accounts, my phone is rooted and Italian sky go It does not even work with magisk hide
[Fire TV Android Development] rainman74:
unfortunately no...
[Fire TV Android Development] rainman74:
Tested and app is fully functional today on 09/02/2018 :D
[Fire TV Android Development] Mike-DH:
Can you make the new Sky Ticket App (German) for Fire TV or Nvidia Shield?

Sideload Ticket App not work. Get error that Hdmi streaming not work on TV

And the Picture Resolution does not fit
[Fire TV Android Development] mcflyle:
Sky Ticket should be usable for bigger screens normally.

---------- Post added at 07:22 AM ---------- Previous post was at 07:15 AM ----------

For sky ticket on fire tv you need also play-services etc.

Google Account Manager

Google Service Framework

Google Play Services

Sky Ticket App

Do you have all installed?
[Fire TV Android Development] KoltesPunti:
I cant navigate in the app :/ is there a solution for this?

Edit: sky go is working perfectly in the silk browser! No need for an app :)
[Fire TV Android Development] rainman74:
https://play.google.com/store/apps/details?id=com.fluxii.android.mousetoggleforfiretv&hl=de
[Fire TV Android Development] KoltesPunti:
Installed it and it works perfectly! Sadly the conference stopps after a few seconds in the silk browser!

In this app it works - but not smooth :/ is there a setting for this?
[Fire TV Android Development] rainman74:
buy a faster Android device ;)
[Fire TV Android Development] KoltesPunti:
The device is not the problem (silk browser sky go works fast, dazn works perfect, eurosportplayer perfect)!

Seems like the app has a tiny problem!
[Fire TV Android Development] rainman74:
a really badly programmed app as SkyGo can only be accelerated by more CPU power :rolleyes:
[Fire TV Android Development] rainman74:
Could it have been Sky's fault yesterday and not the app's, they had a lot of streaming failures during the game...
[Fire TV Android Development] op-two:
Hi rainman74,

thanks for providing the app. All works fine for me, except that the picture freezes after about 10-30 seconds but the sounds keeps on working perfectly. I have a fire tv stick 1. gen. Any idea why this happens or how I can fix it?

edit: interestingly, sky news works perfectly, but all other streams do not (sport) - the stream itself works though. Checked via Sky Go App on my iPhone. I have the feeling the problem is somehow connected to commercials. There is also often a pop-up on the site of the event asking whether I want to open a certain website with firefox or silk-browser. The pop-up disappears then within seconds and I can start the stream (which does not work properly as indicated above).

thanks a lot,

jan
[Fire TV Android Development] errut:
I am using above app on my AFTV2 (rooted). Afterstart the app is asking if i want to open with chrome or firetv app. Can i somehow get rid of this message?
[Fire TV Android Development] rainman74:
You need to uninstall the browsers.
[Fire TV Android Development] rainman74:
Ask [MENTION=9130741]Benman2785[/MENTION], he has created a version without commercials...
[Fire TV Android Development] errut:
i uninstalled chrome but get message that aftv cannot open any Browder-Links.Hitting ok the app works.
[Fire TV Android Development] rainman74:
I can take the opportunity to see if I can remove the dialogue, but I can't invest much time.
[Fire TV Android Development] AndRe5575:
Hi all,

tried to use the modified App but just got problems with it. I use a Shield TV and installed the APP. So far so good. I can open and log In but the aspect ratio seems to be wrong so that the Pictures of the programs seems a little bit distorted. I also tried to open the box sets of Walking dead. I can scroll from the left to the right to Chose which Season I want to see, but I can´t activate them because ist bot possible to click there. Some series or movies I can start and watch with a correct aspect ratio but sometimes I just get a black screen.

Hope someone can help me with this Problem or knows another way to use SkyGo on a Nvidia Shield.
[Fire TV Android Development] romskii:
Looks like the app is not working anymore, content not available.
[Fire TV Android Development] rainman74:
Can other users also confirm this, then I shut the thread?

I don't have a Sky subscription anymore.
[Fire TV Android Development] WaLLy7557:
App is still working for me on an androidTVBox. Thanks to OP cause the option of using silkbrowser is no longer an option.
[Fire TV Android Development] rainman74:
Can this even more confirm that the app still works on a Fire TV?
[Fire TV Android Development] Sorsanx:
Hello

the app is still running well on my Fire TV stick. :)

greetings Sorsanx
[Fire TV Android Development] rainman74:
thx :good:
[Fire TV Android Development] LATINORAMON:
Thx. Works perfekt, but Sky go guide not work. App crashes, restart.
[Fire TV Android Development] rainman74:
I can't do anything about that. Probably Sky tries in vain to destroy the app with all means. At Sky the customer is still king ;)
[Fire TV Android Development] LATINORAMON:
Okay, thx. ? you can watch movies, series and sports. Or box sets.
[Fire TV Android Development] Fastjoy:
Italian version of sky go no longer works

it always requires updating

:(
[Fire TV Android Development] sschmutte:
The app still works respect!
[Fire TV Android Development] joormi:
Is it still working? Since two days the app doesn't work anymore. Fire TV 4k
[Fire TV Android Development] sschmutte:
Series and Film still works live tv and live Sport events don't works fire tv stick 4k.
[Fire TV Android Development] mind.inc:
how do you control the 4k? for me remote mouse apps don't work anymore
[Fire TV Android Development] sschmutte:
With a older mouse toggle version for fire tv 4k Stick for the version number Google please.
[Fire TV Android Development] sschmutte:
Here is the link to the Youtube Video to get mouse Toggle working on Fire TV Stick 4K https://www.youtube.com/watch?v=5TsMt5IpidI

---------- Post added at 04:04 PM ---------- Previous post was at 04:01 PM ----------

Incidentally, the app still works only the Live TV Guide does not work. Movies, series, series boxing sets and live sports works.
[Fire TV Android Development] tombraga:
Dont work more, comes the message: no Internet connection, too Bad.

[MENTION=7632282]rainman74[/MENTION] please help!
[Fire TV Android Development] art_rufus:
Same here
[Fire TV Android Development] errut:
same here, since 2 days. rooted
[Fire TV Android Development] yarmando:
Same :(
[Fire TV Android Development] Vince1706:
seit einigen Tagen funktioniert die App nicht mehr. Bitte update! Danke!
[Fire TV Android Development] LATINORAMON:
Connection error!
[Fire TV Android Development] Sketch85:
Erwartet keine Lösung in nächster Zeit. Sky hat ihr System umgestellt und unterbindet gerade erfolgreich die Nutzung ihrer App auf Headless Android Geräten. Einzige Alternative ist das Kodi AddOn. Aber auch hier ist es eine Frage der Zeit bis das nicht mehr läuft.
[Fire TV Android Development] memphis77:
Stupid question. How to install this on the fire 4k Stick step by step. I can't find a guide.
[Fire TV Android Development] Sus_i:
Forget about this ****. ^^

Go won´t work at all. Same with the kody plugin, dosen´t work with the 4k stick.
[Fire TV Android Development] gaebler:
Just in case, don't try to install the latest google play services, they get the fire stick 4k into a boot loop and then it is bricked, since there is no known way out of this boot loop. The usual reset ways (pressing two keys on the remote or keys with an attached keyboard and OTG cable) do not work. I did this, since the latest sky go apk requires version 51.0.1 or higher for the play services.
[Fire TV Android Development] Sus_i:
Since there is a new exploid for all mtk media devices, you can flash the emmc and debrick your device soon (first the exploid needs to be ported to the device). Take a look at:

https://xdaforums.com/fire-tv/help/potential-fire-stick-2-root-t3901433
[Fire TV Android Development] UsPdSr:
I assume this requires a legit Account, or is it some Mod which let's the app run effortlessly?

I just thought to dig one of my Raspberry's out and give LibreELEC another shot.

Is it against the rules to post infos regarding this Add-on?

The content is synchronized as I remember correctly and therefore rather uninteresting, but I'd like it shot anyway.

PS

It's pretty difficult to restrict Kodi, mate.

One goes to hell another respawns.
[Fire TV Android Development] phizzmail:
thanks
[Fire TV Android Development] MysteryMan1:
I got all exited when i saw threads with instructions on how to install Sky Go app to a Fire Stick, but, having followed carefully it doesn't work.

I have a legitimate Sky account and works fine on my tablet, but, on Stick it appeared to have installed fine. However, when i launch then it goes blank for few seconds and then stops.

Am i flogging a dead horse here and wasting my time trying to get it working or should it be ok?
[Fire TV Android Development] Sus_i:
Yeah, only time wasting, the android apks won't work at all, since the app checks multiple things at startup, i.e. checks for an external display (hdmi) so the app won't play anything.
[Fire TV Android Development] MysteryMan1:
Thanks.....and a shame!
[Fire TV Android Development] gaebler:
I had a look at the sky app, as mentioned there are multiple checks. One of the checks is for manufacturer=Amazon, which can be fixed by using Magisk.

Another thing is that the sky app asks the UI manager what type it is and if UI_MODE_TYPE_TELEVISION (4) it returns TV and quits with error 20190005 device not supported.

Does anyone have an idea if the return value of class android.app.UiModeManager and method getCurrentModeType() can be tweaked with Magisk?

The UiModeManager comes from a typecast from what method getSystemService(Context.UI_MODE_SERVICE) of class android.content.Context returns.

There is also a check for ro.platform.has.tvuimode, but I have not found that being set in the firetv stick 4k.
[Fire TV Android Development] Sus_i:
Interesting. Keep investigating/reporting, please ;) :good:

One thing I know from my tablet is that Magisk hide is necessary... and the magisk manager needs to be repacked/renamed to manager, easy to do as there is an option for that in settings.

Can't remember in detail, I think without gapps the app won't play too, but I haven't tried it for a year or so, idk.
[Fire TV Android Development] vendo:
Do you need an paying account to watch this?

Do you need German IP?
[Fire TV Android Development] Sus_i:
1. Yes

2. Don't know, probably any european IP works
[Fire TV Android Development] gaebler:
Since Kindle/Fire Tablets are supported by Sky Go App these days, spoofing the manufacturer is probably not neccessary as well as installing play services (gms and gsf), there is code that builds the URL to query either amazon store or playstore (depending if manufacturer is Amazon it returns either one as default and the other as backup). There is probably a check (I have not found it yet) if the sky package is available in either of the stores and if its not, then the app is probably throwing an error message.

The URL could possibly be used to compare the installed version vs. the available versions in the store to make things more difficult.

Not to mention the check if /sys/devices/virtual/switch/hdmi/state contains anything other than 0. Which is also done in libvgc.so. I need to check if the 0 can be injected without harm to the running fireos. In addition sky registers a listener to get notified if the state changes (plug/unplug).

So in theory the app should run on fire os, but making it pass the checks is the challenge.

And yes, I am talking about using the app with a valid payed Sky account, just on the device of my choice (Fire TV Stick 4k). If the Apps on the Sky boxes weren't that limited (no Eurosport Player, no Amazon, almost all other streaming vendors missing except Netflix), I would save the efforts. The sky mini box is too big, limited in apps too and I still would need the fire tv stick and switch hdmi ports on the TV and use two remotes, which is a pain.
[Fire TV Android Development] gaebler:
I got around the 20190005 error by bypassing the check for TV mode and the Sky logo started blinking as with the app on the tablet. Then it stopped with 20190000 error. It turned out this is some kind of generic error for a lot of things. I added a printstacktrace to display the exception in the log and it seems to be a cisco drm error that is not documented.

Essentially the exception is this:

DrmDeaktivationException(errorCode=INITIALIZATION_ERROR_UNKNOWN_ERROR, thirdPartyErrorCode=-35651509)

If that is translated into an unsigned DWORD its 0xFDE0004B which is unfortunately not documented - I have attached a PDF with error codes I found at a cisco web page.

I don't know if that error is related to earlier messages in the log related to HDCP, while the fire stick supports it, there is an api call, that returns 0x0 (HDCP_NONE) or maybe thats just the return code of the call with the result elsewhere, while the call before returns active 0x1 (HDCP_V1) and max 0x4 (HDCP_V2_2):

I WVCdm : CdmEngine::QueryStatus
E MTKTEEClient: [MTKTEEClient::GetHDCPCapability()],get current is 1, max is 4
D OEMCryptoCENC: OEMCrypto_GetHDCPCapability result = 0x0
W de.sky.bw: type=1400 audit(0.0:41): avc: denied { create } for scontext=u:r:untrusted_app:s0:c512,c768 tcontext...permissive=0
I WVCdm : CdmEngine::QueryStatus
E MTKTEEClient: [MTKTEEClient::GetHDCPCapability()],get current is 1, max is 4
D OEMCryptoCENC: OEMCrypto_GetHDCPCapability result = 0x0

I wonder if there is an API call to switch HDCP to a higher level.

Anyway, since Magisk hide and rename is active, there is not much I can do about this error. But interesting stuff.

I will give the liboemcrypto disabler for Magisk a try and see what the result it.
[Fire TV Android Development] gaebler:
The liboemcrypto disablers only result was that Netflix did not work anymore so I removed it.

Trying to add debugging output to VGDrmBaseService.smali did not work either, then the VGDrmBaseService Threads do not start and you get a TimeOutException. My guess is, that this is started from the libvgc.so and the size/checksum/contents of the class is checked, because even changing one constant from 0x04 to 0x02 led to that behaviour, reverting the smali back to what it was fixed the problem.
[Fire TV Android Development] traversone:
Hello Gaebler, any update from your side?
[Fire TV Android Development] sherpya:
-35651509 is 0xfde0004b unfortunately not documented in the pdf (perhaps 0xfde is the prefix for DRM_CRED_ messages), I've tried to change all parts that do ui mode detection code (instead of skipping the check), also in vgdrm service, but same error, definitively something inside libvgc.so

---------- Post added at 07:18 PM ---------- Previous post was at 06:40 PM ----------

it's the apk signature, resigning the apk breaks the drm, I'm not sure magisk can fake the call to UiModeManager()->getCurrentModeType() but there is a shared pref that you can try to change if you have root, device_is_tv, set it to false with the original apk (after a first run)
[Fire TV Android Development] gaebler:
Thanks sherpya, yep, changing device_is_tv to false did the trick, the app starts now, but it looks awful and you need a mouse to click on something.

Now I need to check if there is a way to tell the app a meaningful resolution or screen size it actually starts with. I have not tried logging on to play something.
[Fire TV Android Development] gaebler:
When using the wm command to set size to 1024x768 and density to 160 dpi, it looks good now and after logging on with my sky germany credentials I get error 36620 when trying to play something. So stuck again.
[Fire TV Android Development] fosseperme:
I have same problem with sky go italy app and take this error from logcat

BufferQuequeProducer [it.sky.anywhere/com.bskyb.skygo.MainActivity] connect: already connected cur=1 req=1

Pratically the player of app see how if the display is already connected to reproduce the image, while is not connect yet.

See here for major details

A modify of android manifest, adding the value "TextureView.isAvailable()=True" should resolve the error, but actually modyfing the manifest change the signature of apk and the sky go app not recognized others signatures instead of the original.
[Fire TV Android Development] I_did_it_just_tmrrow:
I had the same error on my nvidia ShieldTV Pro (foster aka 2015 model).

To bring my app to this step I used TitaniumBackup. I installed it on my Pie phone and the I do a backup off the app and restored it on my Pie-TV.

It feels very close. But I got now the 36620 error too. [MENTION=2245972]fosseperme[/MENTION] isnt there a chance to alter the manifest afterwards with Magisk or something similar?
[Fire TV Android Development] I_did_it_just_tmrrow:
okay, I try a lot now too.

I thought my 36620 error could be caused by a attached hdmi on my AndroidTV device. I found this here to solve this:

chmod 000 /sys/class/switch/hdmi/state
chmod 000 /sys/devices/virtual/switch/hdmi/state

Source was this freaktab post

But somebody should check this on a fireTV stick.

Can I get more logs from the app with this module?

https://repo.xposed.info/module/tw.idv.palatis.xappdebug

Is there something special I need to do or is after enabling it in my logcat's?