Philips Android TV component

Installed the official addon today and so far it works flawless.
I was only wondering if it could also download channel images?
Currently when selecting channels i just get blank tiles (not even names).

Is this a know issue or just not possible?

Is there anyone with Philips ambilight android tv that can control color / modes using the official integration or Philips tv remote app and that can run adb and get me some logs? Considering how Philips dropped the api completely on newer models 2021-2022, I’m trying to recreate some of the functionality to control ambilight using HA on those models. So far I’ve managed to get all the color codes from my tv 7906 model, and identify ambilight activities. Next step is actually sending an intent to change color and for that I need your help.

Connect your tv and your laptop or phone using adb, then launch

adb shell logcat > output.txt

While that command is running, using HA change ambilight colors and modes on your tv. Once you’ve changed colors and modes a few times, go back to the computer / phone that has been running the logcat command and press ctrl c to stop the command.

After all that is done, the output.txt that was just created will be filled with tons of logs, in which I hope to find the actual way this integration initiated the color change on android side of the TV. PM me the logs. I’d be really grateful for anyones help

Wow slow down :sweat_smile: First of all, how do i connect from a laptop/phone trhough ADB?
Then, you said to use HA to change ambilight colors and mode? Maybe you ment to change it with the remote? How am I supposed to do it in HA since the point is to make it work from HA itself?

Connect following these steps https://www.xda-developers.com/install-adb-windows-macos-linux/amp/ also don’t forget to enable usb debugging on your tv in settings/developer mode. Once you connected your phone/laptop to tv using adb shell , run the log command and then go for colors and modes. For colors and modes use HA Philips integration , as in use the integration buttons and services or the remote app for your phone.

The goal is to record what android does when those buttons are pressed on the phone remote app or in the ha Philips integration. That will give me the clue on what and which activities and intents I need for us to be able to change colors and modes using simple and shell command

I’ve been able to enable the ADB debug.
But, as I already told you, the problem is that I’m not able to communicate with the TV neither with the HA Philips TV integration (TV not responding on its ip on both V1, V5 and V6), nor with the Philips TV remote app (network research of the TV failed)! Of course, the network address is the right one.

So I don’t know what kind of data I should be able to transmit to the TV apart from the classic and boring IR remote

If you can’t use the Philips tv integration nor their android iOS app to control it and control color modes, then you can’t help me out with the logs. The whole point of my question was anyone with an Philips android tv that can already use the integration or the iOS android app to send me the logs that they recorded through adb integration while they changed the color modes using the app or Philips integration.

Those logs I need to find out exactly what joint space runs on android side of the tv so I can make adb Shell commands so we can change led color and rest on newer Philips android tv whose jointspace api was drooped

This is definitely going to be helpful. While you are at it, could you extract xtv.apk from your tv and send it over, that apk is responsible for JointSpace so that would be also helpful

Can you advise the process to do this - I don’t normally use ADB!

1st to get the list of packages. There you will get the name of the xtv apk ( it will be org.droidtv.xtv )

adb shell pm list packages

2nd
Get the full path name of the APK file

adb shell pm path com.example.app

Example wise

adb shell pm path org.droidtv.xtv

The output will look something like
package:/data/app/com.example.someapp-2.apk
or
package:/data/app/com.example.someapp-nfFSVxn_CTafgra3Fr_rXQ==/base.apk

  1. Using the full path name from Step 2, pull the APK file from the Android device to your pc or phone.
adb pull /data/app/com.example.someapp-2.apk path/to/desired/destination

if you get stuck just ask

As I’ve suspected the whole ambilight is controlled by xtv.apk and that app is responsible for all the calls to change everything ambilight related and remote app/integration in android part of the tv. They did change a bit on how calls for ambilight work on newer tvs and on top of that it seems that whole jointspace api is both controlled and emulated by it the same apk.

It might be possible to use it on newer tvs if it gets extracted and it ends up being installed on a newer tv. Newer tvs lack the xtv.apk and by missing it they dropped the Jointspace api, but this might work if it’s installed in newer ones by using that xtv.apk. -Not possible due missing library on newer tvs, to port that, root is needed and it’s not possible to root newer tv models at this time

As for the log, it showed that all jointspace is basically coming from xtv.apk, and it’s in really readable format so decompiling the app should give out all the commands that are available to jointspace

@ajoyce delete that log link for security reasons, if you need help extracting xtv.apk let me know

Hello,
I have a Philips TV with API v6. According to the documentation (Philips TV - Home Assistant) Source Detect is not possible.
Are there other ways of detecting the source?
Thanks in advance!

I also use the 2021 version 55pus7956/60 but all attempts to connect via the JSON API are hopeless, I had to set up Android TV integration, there is no functionality, but at least something … maybe there are smart guys who figured out what the problem is, why Phillips did it and is it possible to return the API…

I just bought a Philips 55" TV 55PUS8106/12 and it does not respond to any WEB browser queries on:
http(s)://“ip”:1925(6)/1(6)/system. Guess that means jointSpace is not supported?

Tried a few integrations, but they all seems to expect a 4 digit pairing code.
Tried the Android TV Remote App from my phone, and that works fine. When pairing it I had to provide a 6 digit pairing code:

Can anyone point me to any integrations/info working for these new TVs?
Thanks

If the iOS/android Philips remote app doesn’t work with your tv (2020-2021-2022) models, then jointspace is no longer supported with those models. From what Philips support told me, only some 2020 models have jointspace support, everything after that they took it out completely ( the library and app needed to for jointspace are missing). Workaround is to use android tv integration

I am new to using home assistant,
Is it possible to retrieve the TV channels and apps that are available in the multimedia tab and put them in the dashboard?
I would like to avoid having to go through the multimedia page

Thank you in advance,

Thank you in advance, Sincerely,

thanks for sharing

Hi there have you obtained this xtv.apk app already? I’ve extracted it from my miniled9636 today. If you want it let me know. I’ve disabled the component, als it seems to slow down my tv.

I did, and I’ve already tried adding it to the newer model, unfortunately it’s not just the apk that they removed but also a lot of libraries, so porting it to newer models is not possible. You can send it by dm to me, maybe newer xtv.apk has some changes. Decompiling the apk that I had gave the list of all commands used with jointspace, but those are already all known. Besides using the physical remote, at the moment there is no other way of controlling ambilight on newer models.

If you find the jointspace integration a bit slow, installing https://play.google.com/store/apps/details?id=com.aktuna.tv.keyboard&hl=en&gl=US
On your tv and then using rest command integration in home assistant definitely speeds things up, the response time on sending commands to your tv is instant.

Hi, did you manage to get it working on the PUS7906? Tried all urls, debugger settings on TV, nothing helped.