HA-Firemote icon indicating copy to clipboard operation
HA-Firemote copied to clipboard

[New App Shortcut]: Xfinity Stream (modded)

Open lentinoz opened this issue 1 year ago • 14 comments

App Name

Xfinity Stream (modded)

Device Platform

NVIDIA Shield

App Store Link and/or URL to .apk file if sideloaded

https://app.box.com/s/mez14psqk4z3hd9v3jbq3eg4ftzbe3gk

Required Information

app_name: com.xfinity.cloudtvr source: com.xfinity.cloudtvr adb_response: mSurface=Surface(name=com.xfinity.cloudtvr/com.xfinity.cloudtvr.view.BrowseActivity)/@0x25d84bd mSurface=Surface(name=com.android.systemui.ImageWallpaper)/@0x7befa8 mInputMethodTarget in display# 0 Window{573ab1e u0 com.xfinity.cloudtvr/com.xfinity.cloudtvr.view.BrowseActivity}

Optional Comments

I'm currently running the modded Xfinity Stream on an Nvidia Shield. The included Xfinity Stream button doesn't seem to work.

I'm also curious as to how exactly these app shortcuts are created. I've created my own as home assistant buttons already, it'd be interesting if we could add custom ones ourselves to your card.

Thanks for everything you do!

lentinoz avatar Oct 31 '24 02:10 lentinoz

Here's the XDA page forum where new updates are posted. https://xdaforums.com/t/xfinity-tv-mod-android-box-hdmi-output.3535881/page-118

lentinoz avatar Oct 31 '24 02:10 lentinoz

@lentinoz ~

Congrats on opening your first issue! It's great to have you here!

I'm currently running the modded Xfinity Stream on an Nvidia Shield. The included Xfinity Stream button doesn't seem to work.

A modded app likely would not work with the official app launcher, so what you've described isn't surprising. Since I already have an app launcher for the official app, I will not be adding one for a modded/suspiciously altered version.

I'm also curious as to how exactly these app shortcuts are created. I've created my own as home assistant buttons already, it'd be interesting if we could add custom ones ourselves to your card.

You're in luck! In the Firemote Wiki, I wrote a section called Create a Custom Button for Yourself which describes how you can make a button, and program the button to execute a Home Assistant action.

For help figuring out how to write the command that will launch your version of the app, I have also written a wiki article titled How to write an ADB command to launch an app.

Using these two things together, you should be able to accomplish what you are asking. If you run into trouble, or something seems unclear, I can help you out. For now though, I won't be officially adding a modded app like this to the launcher list. I hope that you understand.

-Doug

PRProd avatar Oct 31 '24 02:10 PRProd

@lentinoz ~

My sincerest apologies. I know that this used to work on my Shield, but after looking again today I can clearly see that this app is not available through the normal means (Google Play Store), so it has to be sideloaded.

That being said, I've tried downloads from APK Mirror and from the link you provided, but my silly Shield responds with "App not installed"

I'm not giving up yet, just admitting that I was wrong. If I can't get it installed on my end, I will use the data you provided above and publish that in the next release. Most of the time, making launchers based off of that data will work. Either way, I'll let you know.

Sorry about that!

-Doug

PRProd avatar Oct 31 '24 15:10 PRProd

No worries! I started building a custom button last night but haven't finished it yet. image I'll most likely have it up tonight for myself, but if you get one added, I'll switch to it. Let me know if I can help in any other way!

lentinoz avatar Oct 31 '24 20:10 lentinoz

Since I can't run that app on my Shield because... who knows why... I'd be interested to know the ADB command that works in your environment. I'll use whatever you find.

PRProd avatar Oct 31 '24 20:10 PRProd

I wasn't able to play around with this too much last night, but for some reason, no ADB commands were working for me (even when I tried launching an app like Netflix instead). I may need to reconfigure some things within my HA environment. If I can get it working, I'll let you know.

lentinoz avatar Nov 01 '24 14:11 lentinoz

@lentinoz ~

I have just published Firemote version v4.1.2 which contains a modified version of the Xfinity launcher for the NVIDIA Shield. As soon as you get the ADB business worked out with your system, please give this new version a try and let me know if it's working as expected.

Enjoy!

-Doug


To see a complete list of all Firemote launchers visit this link After updating to the newest version, if you are unable to see the new updates on your Firemote card, visit this link for help.

PRProd avatar Nov 05 '24 00:11 PRProd

Do you have any updates on this @lentinoz?

PRProd avatar Nov 06 '24 16:11 PRProd

@PRProd The new version and new launcher didn't seem to fix it unless I'm missing something. Is it still just called Xfinity Stream in the list of App Launch Buttons?

lentinoz avatar Nov 10 '24 18:11 lentinoz

@lentinoz ~

Yes, it is still the same one. The reason that it's not working is likely because I didn't include an ADB command. Since I hadn't heard back from you on a command that worked, I omitted the ADB command which sometimes causes failure.

code change: image

Assuming you have your system working properly again, can I ask again for you to take a crack at writing an adb launch command? When you come up with one that works, I can add it.

-Doug

PRProd avatar Nov 11 '24 17:11 PRProd

Do you have any updates on this @lentinoz?

PRProd avatar Nov 20 '24 16:11 PRProd

@lentinoz ~

I'm still hoping to hear back from you on this. Please let me know. If I don't hear back within a few days, I will need to close this issue.

-Doug

PRProd avatar Dec 02 '24 15:12 PRProd

Hi @PRProd! Sorry for the delay. I found the following ADB command launched the Xfinity Stream app for me: adb shell am start -n com.xfinity.cloudtvr/com.xfinity.common.view.LaunchActivity

However, I could only get this working on a computer running adb. For some reason, I couldn't get a Firemore custom launcher to send this command or get it to work. I'm not sure why. Hopefully this helps you.

lentinoz avatar Dec 16 '24 03:12 lentinoz

@lentinoz ~

Apologies for the delay - holidays and family are important to me. 😄

Can you share the custom launcher YAML that you've written that isn't working? I'm hoping there is a simple explanation.

PRProd avatar Dec 31 '24 16:12 PRProd