yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] supak111:
Our biggest problem is that IF xfin developers have found this thread, no matter what anyone ends up doing to make it work again I suspect from now on they will be on top of it and patch it right after again and again. I sure hope I'm wrong tho but Ive see this happen with some other apps like getting free premium membership in VPN apps...
[Android Apps and Games] lemora:
the best thing to do would be to write a generic patcher that scans the apk for the checks and removes them.

that way it will work on any version of xfinity stream apk until they change the checks.
[Android Apps and Games] supak111:
Not bad idea.

I was thinking just a patch or a mod for android OS to not report when the hdmi cable is plugged in. Should be easy to do on rooted devices and a lot of android tv boxes are rooted. There might be something already out here I haven't looked much
[Android Apps and Games] coaster13:
Simple fix

If you know how to decompile, edit and recompile and sign an APK file, here is all you have to do and unless they significantly change the code, this should work for future versions also. I got 6.2.2.002 working on a FireTV Box with this simple hack.

First I used "ApkTool" to decompile and that will create a folder full of files from the APK. Then I used "IntelliJ IDEA" to edit "SecondaryDisplayPlaybackLock.smali" located in this path which is in the decompiled folder. Here is the path.

smalli.classes2/com/xfinity/cloudtvr/model/video/locks/SecondaryDisplayPlaybackLock.smali

search for this string "android.intent.action.HDMI_PLUGGED". in the "theSecondaryDisplayPlaybackLock.smali" file.

Just change one character and it will mess up the HDMI check code, I used "android.intent.action.HDMI_XLUGGED".

Recompile and sign it and that's it.

The hardest part is getting all the software configured and set up. After that I was surprised it was this simple.

It's not glamorous but it works.
[Android Apps and Games] lyndaj65:
If you got it working why didn't you post the APK for the rest of us ?
[Android Apps and Games] AmlogicMan:
Xfinity Stream 6.2.2.002-HDMI-Patched

Here you go, Patched and working with HDMI

https://mega.nz/file/4AR32IRT#PJ4Ex6y_tJLyzQEMPLqtjuQBccOOj-KzYsl0_wxALCo
[Android Apps and Games] Frunple:
Thanks!

It's working but it's slow as hell!
[Android Apps and Games] TheWombat:
Awesome! Works wonderful. Thank you for compiling that.

---------- Post added at 01:21 PM ---------- Previous post was at 01:20 PM ----------

Try rebooting your set top box. I'm on Fire Cube and it's giving me 0 issues. Better than the old patches.
[Android Apps and Games] dirtyreturn:
Thanks SO much for giving a rundown on what to edit!
[Android Apps and Games] coaster13:
Looks like that file is using what I used. It works fine on a FireTV box (Same as the stick just in a separate box) and a Nvidia Shield. Your mileage could vary on other boxes and sticks. Maybe one of the better coders can refine what I did. What I used was really just breaking the code and not really rewriting it if you know what I mean.

Update: I just installed the file above and it works fine here. It's must be a box issue.

---------- Post added at 02:15 PM ---------- Previous post was at 01:56 PM ----------

Thank the OP, he was the one that found the original parts to alter and posted the info early in this thread. I just took what he did and applied what I could with that. I was surprised it worked because what I did you would think would have crashed the App.
[Android Apps and Games] dmdeen:
It's very slow for me as well and local channels not playing. T95Z Box
[Android Apps and Games] AtoZ0to9:
Local channels work for me by manually allowing the location permission, but it may be worth adding that those channels are included in the plan im signed in with, but I'm not at that location, using a VPN.
[Android Apps and Games] Twotems:
Thanks. Works great on my A95x Android box. Slow to load but smoother and steady FHD unlike the old one.

Edit: Also working well on my TX9 box.

You're a star. :good:
[Android Apps and Games] AmlogicMan:
All channels I pay for are working on my Nvidia Shield Pro and my Himedia Q10 Pro, Do not see anything slow about it on my end, In fact it is much faster then 5.3.3 was
[Android Apps and Games] Finst3r:
No audio out

First off, thank you for your work ?

The app works well except I'm thinking that it checks for audio out (optical & analog) as well as HDMI out.

All other apps on my T95Q box running Android 8.1 work, but no sound from this one specific app.

I've checked & rechecked my hardware and software setup & software.

Ohh well.
[Android Apps and Games] AmlogicMan:
Doing some digging now but I really see nothing related to audio out checks in the apk
[Android Apps and Games] AtoZ0to9:
So I used TV app repo to create a Leanback shortcut in the past, but it doesn't work for this one. Any other way besides sideload launcher?
[Android Apps and Games] Finst3r:
Thank you again for your time and effort.

I'll keep checking at my end, I also will install it on a spare older box I have & another T95Q I have in my travel trailer to see if it's box-specific.

Update, same issue on 2nd T95Q, on this box I'm using hdmi for audio & video.

On the 1st box I mentioned I tried both analog & optical out.
[Android Apps and Games] AtoZ0to9:
I can report that HDMI-ARC is working for me. Samsung TV, SHIELD TV Pro 2019, Polk sound bar.
[Android Apps and Games] Satman714:
This will only work on actual android TV. No sound on old buzz tV or a95x.

Works perfect on Tivo stream 4k.

Hope this helps. Thanks for getting this out so fast. I really appreciate it.
[Android Apps and Games] coaster13:
I'm sure there are other checks in there and other code that may depend on those strings working a certain way. I also saw a string referencing FireTV in there for something but I am not sure what that is for. It may be doing some kind of checks on specific boxes for all I know. The smali code that APKtool generated is something I am not all that familiar with. I mostly decompile and look for conditional statements like "If" or Variables related to what I am looking for and I just mess with the associated code and see what happens. I'll dig deeper and see if I can make the code more functionally normal as opposed to just sabotaging it. It's interesting stuff to tinker with.

---------- Post added at 04:52 PM ---------- Previous post was at 04:05 PM ----------

I'm thinking the App may completely disable all analog out also. I have no way of checking this as my boxes only have HDMI. I'm curious has anyone tried the unaltered APP with only analog video and audio? If so what happens? Like I said I can't test this as the only box I have that has analog outputs is an old Roku 1 and that's completely different.
[Android Apps and Games] supak111:
Thanks for explaining the path to the file needing editing. Ill have a look when I get some time

For people who's app is slow or audio not working. Did you just upgrade from the old v5xxx moded APK to new modded APK? If you did try deleting whole app even restart the box after and then try doing a fresh reinstall of the new v6xxx apk.
[Android Apps and Games] Twotems:
It could be your box. I previously had 3 different boxes all running Nougat but one of them would only run a particular version of the OP's modded app (I forget which version). There was no issue with the other boxes. You may want to try downloading a newer firmware version for your T95Q.

Not true. It runs perfectly on my A95x on Pie and my TX9 on Nougat.
[Android Apps and Games] FusilliJerry:
Where can one DL those utility tools?

Apktool and IntelliJ IDEA

Guessing these are window apps? Or are they also android mobile based too...I don't touch a pc much anymore

And thanks o'plenty for this...ya know Comcast is gonna spit out new versions every 2 weeks probably, since that's a typical sprint duration

On a side note, would be good to have an app that blends the convienence of xfinity stream 1 stop shop with something like JustWatch or Reelgood that shows what's playing on that TVE live stream for the app (for those that offer like Showtime) and just in general the VOD options and uses your TVE credentials to login into that app and play the VOD ...like say History channel to play s1e1 Ancient Aliens, vs just being redirected to the app...

Plus like Stream, seaching for say "alien" will show Ancient Aliens on History and also the Alien movies if any are available on the TVE you subscribe to...I find having to hop and jump not fun, spend more time looking

Any takers? 👍
[Android Apps and Games] dirtyreturn:
https://play.google.com/store/apps/details?id=com.aide.ui

Apk tool is on xda intelliJ you can get from their site . Just type into the search bar.

https://xdaforums.com/showthread.php?t=1755243&page=592

https://www.jetbrains.com/idea/

Or, if on mobile and play store , searching for AIDE or java IDE will provide results.

---------- Post added at 09:41 PM ---------- Previous post was at 09:39 PM ----------

The newly posted modded apk has a different signing key. Unable to just install over previous versions.
[Android Apps and Games] supak111:
Oh ok, I didn't have both on my box so I wasn't sure.
[Android Apps and Games] FusilliJerry:
Ya don't really need to "update", just uninstall previous one and install this mod (thank you modder)...coz all your watched shows etc are stored within Comcast, and hopefully when you logged in you set the keep me logged in checkbox, coz it'll just being up chrome/puffin and login ya in automatically, or if ya have chrome remember credentials will log u in and back to Stream app

Got it working well on Sony android tv, and Android box ...thanks again
[Android Apps and Games] bdwall:
Audio out

Tested on T95Z Plus 3/32 and GooBang ABOX A5 2/16. Both running atvxperience firmware. Having same issue with no audio. Agree that there must be something buried in the code somewhere affecting audio. Might be a similar check for HDMI but for audio.

The 5.3 version worked for a long time even though the app was constantly updated.
[Android Apps and Games] AmlogicMan:
I am a firm believer in giving credit where it is due ! ( coaster13 ) Is the kaka, Without his input this app would not be here for you, I had done this years ago and had forgotten the how and where, I just wanted to let you know (

coaster13 ) is a genius, Tweak of the code by changing a letter from ( HDMI_PLUGGED ) to HDMI_XLUGGED, Yes I even used his X when any letter could be used, DO NOT give me credit where credit is due, ( coaster13 ) Deserves all the credit for this one, I am just happy this thread has some serious input now, I am a Firmware dev. My bottleneck has always been apps, I have no clue and rely on the coaster13,s I can find online, Much Love coaster13......

Here is what I used to edit the app https://mega.nz/file/sRpGVRYR#9h2BNzDt95LpRrRDVSpQjxpH44aYmT7QZm6JpMUz-EM
[Android Apps and Games] supak111:
Just tested it on a MINI MX running rooted 51.1 and everything works :)

Also tested it on M8S PRO with a s912 processor running android 7.1.1, NO SOUND. I'm guessing the issues is android 7.1.1 compared to the other cheaper box which is only running 5.1.1 on which the app works fine

PS forgot to mention that on both boxes I ONLY tested the audio through an audio cable, NOT HDMI cable for audio. I run my boxes on a project so I have to route sound from the android box to my sound system via an audio cable since the projector doesn't have speakers.
[Android Apps and Games] Twotems:
Again. I don't think that's the issue. It works perfectly on my boxes however HBO Max behaves the same way you describe on my A95x on Pie but not my TX9 on Nougat. I think it's a firmware issue.
[Android Apps and Games] ctkidz:
Thank You man
[Android Apps and Games] AmlogicMan:
My father has a Probox 2 Air Plus as well as a Vorke Z6 Plus, Both very similar based on the Amlogic S912, App is working fine on both boxes, Has to be some issue with the firmware itself, If I had a box that it worked with no Audio I would try to fix for you but currently I do not.
[Android Apps and Games] Satman714:
I guess you're lucky. I've tried it on three different A95X's(all new and fully updated) no sound on any live channels,works fine on everything else,recordings,on demand etc.

Works perfect on both tivo streams. Actually very fast on those.
[Android Apps and Games] FusilliJerry:
Great minds think alike, I too have provided my retired father w an android box for his quarantine entertainment...
[Android Apps and Games] Twotems:
My apologies, mine is the A95x F3 with the strobe light effect thingy. https://androidpctv.com/review-a95x-f3-opinion/

The other one is a TX9 pro.

I guess yours is the other, squareish, version?
[Android Apps and Games] gate1975mlm:
Thanks so much!!!

Working great on my Shield TV Pro and also my Sony X800D TV :)
[Android Apps and Games] FusilliJerry:
Apologies in advance that this post is not entirely on topic, but figure be able to grab ppls attention while this thread is hot and can spawn off thread if needed.

Using the same method for circumvent hdmi, can it be faked to look as if on home network? Apply hard code home IP, subnet, etc when it's requested by server? It's probably very involved but at some point the app provides that info either at start or upon some event or ping.

Same would be asked for Cablevison Optimum app... though that app compared to Xfin stream is old dated and fairly awful it's all a Cablevison subscriber has though

Thoughts anyone?
[Android Apps and Games] Satman714:
I'm wrong also. They're theA95X F3 air. I got a great deal on them.

They've been excellent boxes up until this. Extremely fast for IPTV.
[Android Apps and Games] coaster13:
It's probably only one byte that needs changed but the thing is, you have to find where that byte is.

---------- Post added at 11:40 PM ---------- Previous post was at 11:35 PM ----------

I only used what the original poster posted on this thread quite a while back. I think it's around the 4th page of this thread. I knew how to do this quite a while back but forgot it also. I had to relearn it all the other day also. LoL
[Android Apps and Games] Markeee:
Is this update good to go and working on the Nvidia Shield original version from a couple of years ago ?
[Android Apps and Games] Twotems:
The best way to do that would be to set up a Raspberry Pi home VPN and connect to it remotely when you're away.

---------- Post added at 04:54 AM ---------- Previous post was at 04:46 AM ----------

Hmmmm. That's really strange. As I said before there's no audio for HBO Max on my A95x just like you describe for Xfinity but it works fine on my TX9.

I like the box but the lack of a fully interactive drop down menu is infuriating.

I've also switched off those silly lights. :)
[Android Apps and Games] FusilliJerry:
Modding the app is waay easier, it's set and done for all and no single point of failure with the vpn going bad , computer not working, the Internet at home being down, power at home going out, plus major lag especially with everyone home during quarantine.
[Android Apps and Games] Satman714:
It gets weirder. HBOmax works fine on my A95X F3 air. I got the tivostream 4k for $39 with a coupon and added 128gb storage it works incredible for me. Very fast and remote works well even on xfinity. I do have a keyboard hooked up also. I got rid of all the bloat and changed the launcher and it's worked well for me so far with every apk I've loaded.
[Android Apps and Games] Twotems:
In the unlikely event your ISP gives you a static IP it may indeed be easier. However it's more likely you're using DHCP at home so you'd have to mod the app every time your IP changed. A Raspberry Pi is your best bet.
[Android Apps and Games] supak111:
Can anyone confirm that no sound issue is an android 7.1 issue like on one of my s912 processor box?

My s905 processor box running 5.1.1 sound works fine

I'm tempted to buy more older s905 running 5.1.1 boxes, they are cheap and with 2gb or more ram run fast

Also anyone try it on a box running Android 8, 9, or 10??

If so which one? and is it rooted?
[Android Apps and Games] vitogor:
Thank you. Works great on my shield 2015.

Can you mod peacocktv app so it works on shield tv 2015 code name "foster"?

Thanks
[Android Apps and Games] HashTagHell:
This is my exact issue. How do I create a shortcut on Nvidia Shield?
[Android Apps and Games] Twotems:
Runs well on my TX9 Pro with Android 7.1 and s912. Also runs well on my A95x F3 on Android 9 and s905x3.

Seems to be a firmware issue. Two of us have identical boxes and he has no sound on Xfinity whilst I do. But I have no sound on HBO Max and he does. It's a crapshoot.
[Android Apps and Games] AmlogicMan:
I have a Shield TV Pro 2019, I have never used the default launcher I hate the damn thing, I am using ATV Launcher https://play.google.com/store/apps/details?id=ca.dstudio.atvlauncher.free&hl=en&gl=US

I have the paid version, When I find the time I will take a video of my Shield and post it here
[Android Apps and Games] AtoZ0to9:
Ok, so I found this, which works a charm and even produces full size shortcuts. Be sure to use .png and put it in both spots (logo, banner). You can get the app name in settings, click on the app, it's at the top.

It made much better shortcuts than tv repo so I redid them all using this tool.

http://atvlauncher.trekgonewild.de/
[Android Apps and Games] kawi23:
i have 7.1 no sound for live tv but getting sound for tvgo channels? any ideas?
[Android Apps and Games] supak111:
Yea this is interesting. When I get home I'll check if my s912 7.1 has sound though hdmi cable on my tv. I know it does not have sound though audio cable connected to an audio system and hdmi video to projector.
[Android Apps and Games] mikeregister:
Thank you! I was playing around with this a couple months ago and could never figure it out. De-compiled, re-compiled and signed myself. Works great.

It is working fine on my Nvidia Shield 2017 version. I think someone else posted that it's working fine on the 2015 version too.

How did I never know about this? Worked good for my Shield without having to download a new launcher.
[Android Apps and Games] HashTagHell:
Thanks. I'll give this a spin.
[Android Apps and Games] ytsejam1138:
I have attached my apk that will install an icon for Xfinity Stream v6. I used the site mentioned above and thought I would share.
[Android Apps and Games] gate1975mlm:
First of all I am very thankfull that the Comcast app is working again :)

But Is it just me or is there no way to skip hours in the future to see what is going to be on later in the guide?

Also I noticed the guide time does not update unless you close and restart the app. So for example if I was watching a show at 12PM-2PM and then go to my home screen or switch to another app when I open comcast app again say 6 hours later the program guide will still be show what was on at 12PM
[Android Apps and Games] FusilliJerry:
I tried searching for the Peacock app that does not crash on the Android box, but have not found anything that works. I tried App Cloner to change to Android TV setting but no luck.

Google play does not being up Peacock as an installable app, so even though the Android box is basically a phone, guess it's 100% like a phone.

Anyway, anyone have any ideas or a known working mod?

Thanks
[Android Apps and Games] supak111:
That's actually a feature, not the app working wrong. It's the way they design the app. Most ppl woul like it to stay where they left off not resfresh all the time. Just click live tv again to refresh it, you don't have to restart

But about hours in the future I've never tried. I've only gone a few hours and it works. It does load the guide on mine slow thought

How many gb or ram does you box have?
[Android Apps and Games] FusilliJerry:
On the non-mod phone Stream I can jump ahead, usually a week, in the guide to see what football games will/will not be aired in my area...never tried on the modded since I don't use it, it's for elder family member on fixed income
[Android Apps and Games] supak111:
Yea like I said the guide on the moded awesome app def loads slow, not sure if thats everyone elses experience too? Wish more ppl would chime in on that

Haha doesn't have to be for fix income. I'm paying for com.c.ast... alot... and I refuse to pay $10 for a box in each room, it's a scam... At least for internet you can buy your own and not rent
[Android Apps and Games] FusilliJerry:
The slowness of the app happens for the non modded as well, though not all the time...I think my pixel 3 is just more powerful than the Android box...but yes in general the modded app seems to be always slower in bringing up the guide info, home page etc

I have a bulk deal w Comcast, just saying that this mod is great for my senior father...I set up for him a WISP router that logs into Comcast hotspot and then use this app for him, so it's like he gets internet and TV for nothing, even though I pay for it but i have to pay anyway

Just saying, if anyone has a senior parent and want to help them save $, getting the Android box with this mod along with OTA antenna makes them happy.

Sorry for the side chat....
[Android Apps and Games] supak111:
It's alright to chat a bit and I am 100% with you for helping a senior and hope more ppl do

Im thinking the mod probably slows down the app to some extent... On the back end it has to be logging crap ton of errors... and the more powerful cpu and more RAM you have the better to deal with it all. But amazingly I ran it on a old dual core with only 1gb of ram box and it still didn't crash. Slow as heck tho
[Android Apps and Games] Twotems:
Here's another one for you. Live tv works fine but I have no audio in the On Demand section with my A95x. I don't mind that too much as I have multiple apps to watch anything on demand.

---------- Post added at 05:59 PM ---------- Previous post was at 05:48 PM ----------

Mine works on my A95x but there's no sound and a black screen on full screen. I'll try it on my TX9 later. I downloaded it from Malavida. Version 1.2.3 I think.
[Android Apps and Games] Satman714:
Wow, mine's the exact opposite, Fine on recordings and on demand but no audio on live channels.

I know a lot of people don't like the tivo stream 4k but I've yet to find an apk it doesn't play flawlessly, regular or modded.
[Android Apps and Games] FusilliJerry:
Hey thanks for the post...went to the site, DLed that version (only one they have) and works well...I tried a bunch of other versions out there and they all crashed, so not sure what's diff with this one but I'll take it...thanks again ?
[Android Apps and Games] AmlogicMan:
For those of you wondering Peacock TV requires a Google certified device, If it is not it will not work, This also applies to the Nvidia Shield if you are running a Hotfix it will not work until the next full release
[Android Apps and Games] tonepinballwiz2:
Big Thanks to coaster13 & AmlogicMan! (and all those who contributed in the past aiemassfiria,buggine with modding instructions p10, etc).

We are all lucky that people like this step up, to help everyone out. It works great for live tv channels on my 3 year old sammix Android 6 generic android box, and it also works on my old ftv2 box and ftv2 stick.

Lets hope it works for another 2 years atleast. :)
[Android Apps and Games] urbanman2004:
Unfortunately, it's not working like the modded version 4.3.0.020 used to on my Fire TV 4K. After entering in my email address and password I get "Webpage not available". I tried exiting the app then accessing it again which brings me to a page that says "You're already signed in as:" but when I mouse over to click "Continue" it leads me right back to "Webpage not available" again. Anyone else experience the same issue as me?
[Android Apps and Games] supak111:
Which browse does your box use?

Go into the browser and force quit it, then: storage -> clear all data.

Force quit the xfin app too and storage clear all data on it as well. Than try again using the app again.
[Android Apps and Games] urbanman2004:
Firefox for FireTV

---Edit---

Just tried your advice, but issue is still recurring.