yashsingh1/xdaforums huggingface dataset:
[Philips, Sony, TCL Android TV] BertProesmans:
I noticed the same.

I tested the same update procedure, this time with the official Youtube app dated at July 3, 2022 (https://www.apkmirror.com/apk/googl...":["armeabi-v7a"],"minapi_slug":"minapi-21"}/). Command; adb.exe install -r youtube.apk

The app works as expected;

* The old/previous version Youtube app is removed from the home screen

* The tile of the new version is displayed on the home screen

* App startup is a bit slow (15 seconds)

* Login didn't automatically happen with the system-bound Google account, but the google account is present in the account selector. Had to do select this account once manually

* Video playback works, full HD works, subtitles work

* Google casting from smartphone works (startup time ~5 seconds)

The app basically works as expected. I suppose an error has been made in the play store listing, effectively hiding the app from our play store.
[Philips, Sony, TCL Android TV] misko89:
dal znači da modeli PHILIPS-a nisu isti, pa se razlikuju u smislu prijavljivanja na google nalog. Pratio sam sve najave za Android TV i pitao sam se da li je neko imao problema sa prijavljivanjem na Play Store. Ovo je e-mail TV PHILIPS Android TV model 40PFT6550/12 TV 2016 Android 5.1.1
[Philips, Sony, TCL Android TV] B4lukapit4ny:
I have the same problem with my puk6400. I don't have a PC so I downloaded the Google play apk for my phone. When I connect it to the tv, the tv doesn't see the apk file on my phone's folder. I tried to download the file with my tv's internet browser, but it's just processed and didn't happen anything.

How can I setup the store with my phone? Pls. describe it step by step if it is possible.
[Philips, Sony, TCL Android TV] BertProesmans:
This is a tooling question, the steps on the TV itself remain the same.

You want to wirelessly connect to your TV using the android debugging program (adb). Install a command prompt on your android phone, i'd suggest Termux, and download the adb program (https://github.com/shakalaca/fastboot-adb-android/releases), and run adb from Termux to connect wirelessly to your television from your phone.

This is possible, ad explained in this StackOverflow answer (that answer isn't a 100% match with your situation and requires filtering/adapting); https://android.stackexchange.com/a/216474

Good luck
[Philips, Sony, TCL Android TV] starac12:
Zdravo. Nemam blage veze o svemu ovome, imam istu situaciju kao svi ovdje, nikad ne gledam tv, nego imam dvoje male djece i ajde kupim neki polovan Philips od 150 eura, i isto kao i kod svih, google racun.

Na mobilnom je 2 fact autent ON ali nikad mi ne dodje da odobrim logovanje.

Pa sam pokusao s ovim, ali sam dobio na cmd ovo: no connection could be made because the target machine actively refused it. (10061).

Toliko sam isfrustriran, ljut, i sta sve ne. Pomagajte molim vas, na pragu sam samoubistva
[Philips, Sony, TCL Android TV] BertProesmans:
Restart the television by pulling the power cord and putting it back in. Then go over the procedure again.

This is assuming you tried with the television powered on and the adb framework is misbehaving.

It's not supposed to work like that, you have to create an "app password" for your television login. See some posts above.

---

If that didn't work find someone knowledgeable in your surrounding that could help you, or answer the questions below;

1. What is the serial number (product type) of your television?

-- Check the label on the back of the television

2. Can your television access the internet?

-- Check this by opening the internet app and browse to website google.com, it should load the google homepage without error

3. Did you get a message "Success" after installing the Play Services apk through ADB?

4. Did you setup an App Password under your Google Account?

5. Is your google account e-mail address and App Password correctly spelled out into the login form on the TV?

6. Did you skip a step or think a step did not execute properly?
[Philips, Sony, TCL Android TV] starac12:
Uspio sam !!!

Zelim da se zahvalim svakome ko mi je pomogao, i ako jos neko treba pomoc vrlo rado cu pomoci. Veliko hvala. Stari Philips je u zivotu.
[Philips, Sony, TCL Android TV] misko89:
please if you can tell me how you succeeded can you tell me in detail how you did it?
[Philips, Sony, TCL Android TV] misko89:
Da, probao sam sve po redu kako je BertpProesmans napisao ali ne radi, da li vam je ova metoda uspjela kao što je bertproesmans napisao?
[Philips, Sony, TCL Android TV] starac12:
naravno, cekao sam malo duze na Success poruku na cmd, ali cim se pojavila poruka odradio sam reboot, tv se ugasio, onda na mobilnom odradim app password dio, i onda logovanje na tv-u, poslije skidas aplikacije ili apdejtujes..
[Philips, Sony, TCL Android TV] misko89:
na mobilnom kako ste odradili app pasword dio?
[Philips, Sony, TCL Android TV] starac12:
tu opciju imas na google racunu preko kojeg planiras da se logujes na tv, nije komplikovano, mozes vidjeti neki yt video, u dva tri poteza se odradi to, dobijes jedinstveni pasword koji ces kucati na tv logovanju umjesto onog koji ti je trenutno na tom racunu.
[Philips, Sony, TCL Android TV] misko89:
Napravio sam lozinku za aplikaciju na računu i pokušao je koristiti za prijavu na svoju e-poštu i lozinka se neće prikazati

Uspješno poruka na cmd, šta je reboot, da li treba nešto podesiti na TV-u

Mod translation:

I created an app password on the account and tried to use it to sign in to my email and the password won't show

Successful message on cmd, what is a reboot, do you need to adjust something on the TV
[Philips, Sony, TCL Android TV] Badger50:
@misko89 A friendly reminder about XDA Rule #4:

Spoiler content hidden.

Thank you: Badger50
[Philips, Sony, TCL Android TV] Winappdev:
Guys i need help i cant connecting ADB Error code (10061) i searched the net but all fixes not worked for me my android tv version is 5.1.1 and i using latest adb
[Philips, Sony, TCL Android TV] Toengel:
Hi,

did you activate the Developer Options?

Toengel@Alex
[Philips, Sony, TCL Android TV] Frakambush:
Hi, I also have this problem but where do I write the code ?
[Philips, Sony, TCL Android TV] Toengel:
HI,

you need to install "Minimal ADB" on your PC and then you start ADB in a command line on your PC... then you can type in the command to connect to your TV and to install the APK file.

Toengel@Alex
[Philips, Sony, TCL Android TV] Frakambush:
I tried the adb code but the error says UNRECOGNIZED INTERNAL OR EXTERNAL COMMAND
[Philips, Sony, TCL Android TV] Winappdev:
Yes but not works
[Philips, Sony, TCL Android TV] KEHT_UA:
The correct command in step 5 is:

adb install -r C:\path\to\your\file.apk

And do not forget -r parameter, it overwrites the existing program with newer one, otherwise ADB will return an error: "The programm is already exists"

Still, no luck. Yes, I managed to login to my Google account, but I can't install any app - Google Play crashes. What did I miss?
[Philips, Sony, TCL Android TV] BertProesmans:
If the ADB install command said "success", then you should be good to go.

The store crashing first time you open it is normal because its dependencies are ripped from its address space, retry opening it. Get logged in on the store, then it's best to leave the TV on for a while (maybe 30 minutes) to let it work in the background. (You could just watch TV through the hdmi app, just don't put an android app in the foreground). Then do a clean reboot through ADB after those 30 minutes.

If the store keeps crashing multiple times, we need more details from adb logcat. It could be anything from bad APK install, bad OS package, faulty storage chip, connectivity issues... You'll have to experiment, the first thing to try is adb rebooting and leaving the TV on for a while. Retry downloading the play-services apk and re-installing it. Try installing the latest Google Play apk. But most importantly we need a logcat dump to pinpoint the problem.
[Philips, Sony, TCL Android TV] IdrissIDK:
Hello, I have the 2FA enabled on my account and I even downloaded the lastest Google services with the "adb install xxxxxxx.apk" command. But I still receive an error stating my username/password combination is incorrect, what can I do else?
[Philips, Sony, TCL Android TV] BertProesmans:
Try logging in with app passwords. See earlier post in this thread;
[Philips, Sony, TCL Android TV] cagataytorun:
thanks this is working I made it
[Philips, Sony, TCL Android TV] Medjar113:
i have the same issue , I was able to connect th TV through ADB an i downloaded the Google Play Services APK but when I try to install it , it didn't go through

check the pic below :
[Philips, Sony, TCL Android TV] cagataytorun:
adb install -r c:\user\lenovo\downloads\google.apk

pay attention to the spaces
[Philips, Sony, TCL Android TV] Medjar113:
I checked the spaces plenty of times , I am sure it is correct .

I even checked the path of the app and I edited it and nothing new
[Philips, Sony, TCL Android TV] cagataytorun:
Move google.apk to adb folder and edit the command like

adb install -r google.apk or adb install -r \google.apk
[Philips, Sony, TCL Android TV] Medjar113:
Solved . Thank you so much
[Philips, Sony, TCL Android TV] Floralix:
Hi, I have the same problem with the old smart tv. I get to this step, but I honestly have no idea what to do there. Sorry for being technologically challenged, but what does "open terminal in the platform tools folder" mean? There are several files there, you open adb.exe for example, it lists a bunch of operations, ends with process completed and you can't write any command in the terminal. If you open a new tab to write the code, it just doesn't recognize the command. So I cant connect the tv to the macbook, there is no popup etc etc. Please help...
[Philips, Sony, TCL Android TV] BertProesmans:
"Open terminal" means start the program cmd.exe, you can search this program from your start menu or use (on windows) key combination [Windows] + [R].

"in the platform tools folder" means changing the current directory within the cmd.exe to the folder holding your adb.exe. within the window

1. type; cd "C:\adb\tools"

1.1 Replace C:\adb\tools with your folder path, you can copy paste it from your folder window. If you downloaded the zip and unpacked within the downloads folder the path is similar to C:\Users\[your_username]\Downloads\adb\tools.

1.2 The double quotes before and after the path are required, there is a single space in that line between cd and "C[..]

2. press enter

3. then continue with the next step in the original post

3.1 You have correctly changed directory (cd'ing) if typing `adb.exe` followed by enter, lists the same bunch of operations you mention. If the cmd.exe writes out "program not found" then you have not correctly changed into the tools directory
[Philips, Sony, TCL Android TV] kraaxeN:
Well i mean it didnt work but that doesnt matter i downloaded like smarttube on my tv and was able to sign into it with a qr code but the issue i am having is that now i am getting bombarded with "google services stopped working" and everytimg i close it like 2 seconds after new one appers any solutions? thank you

Edit: i tried to reinstall a bit older version now with the command_

C:\Users\meowg\OneDrive\Desktop\donbsad>adb.exe install -r "C:\Users\meowg\OneDrive\Desktop\donbsad\plaiservices.apk"

but all i got back is Failure [INSTALL_FAILED_VERSION_DOWNGRADE]

**Edit**

Nvm i solved it with the following code

C:\Users\meowg\OneDrive\Desktop\donbsad>adb uninstall com.google.android.gms
Success

and then installed it again with

C:\Users\meowg\OneDrive\Desktop\donbsad>adb.exe install -r "C:\Users\meowg\OneDrive\Desktop\donbsad\plaiservices.apk"
Performing Push Install
C:\Users\meowg\OneDrive\Desktop\donbsad\plaiservices.apk: 1 file pushed, 0 skipped. 1.1 MB/s (38940224 bytes in 33.637s)
pkg: /data/local/tmp/plaiservices.apk
Success

C:\Users\meowg\OneDrive\Desktop\donbsad>adb.exe reboot
[Philips, Sony, TCL Android TV] mvladdd:
i have the problem where the pop up won t appear after i tried to connect, any tips ?
[Philips, Sony, TCL Android TV] Palex13:
Hi guys,

I have the same problem with my Phillips smart tv TV40PUT6400/12 .

I did all steps as recommended. Every single command was Success. I did my log in on TV and i have account on google. But problem is that my Google play store crashed as you guys mentioned. Then i did everything as said gave command for Push install and that was success. I did reeboot but google play store wont open it says Server error . please help
[Philips, Sony, TCL Android TV] marefcik:
Zrobiłem to samo, ale nadal wyskakuje ten sam błąd :/
[Philips, Sony, TCL Android TV] marefcik:
I installed the latest version of Google Play, but when I want to download the application, an error appears and the application crashes
[Philips, Sony, TCL Android TV] kylicek:
Thanks for taking the time to write this all out!

I've followed these instructions carefully (and repeated them a few times, just to be sure) and I still can't log in to my Google account. It's still saying that my username and password don't match.

I noticed that you had a list of questions for people to answer in order to move things along, so here are my answers:

1. Model/Serial number: 50PUT6400/12 & FZ1A1536009004

2. Yes, I was able to navigate to google.com in the Internet app.

3. Yes, it took a couple of tries before I found the right APK for my TV, but once I found it, I've gotten a SUCCESS message after each install.

4. Yes. Several, actually, just to be sure.

5. I've had three people in my family confirm that all the info is correct and I've even re-entered all of it multiple times.

6. The only thing I can think of is when I was connecting ADB to my TV, one line said "failed to authenticate to (my IP):5555". That said, when I run "adb devices", I see my device listed as attached. I don't have a USB-to-USB cable to initiate a handshake and authenticate, so I just proceeded with the process anyways and still got the SUCCESS message after install (but not after login).

I'd appreciate any help you can offer here.

Thanks!
[Philips, Sony, TCL Android TV] kylicek:
Yes, it restarts when I execute the reboot command. For this reason, I was fairly certain that this wasn't an issue, but I figured that it couldn't hurt to mention it. :)

I'm not concerned at all about leaking information since this all started when I did a TV reinstall to try and troubleshoot some bluetooth issues my TV was having with my headphones. After running into this login issue, I didn't bother customizing the rest of the TV, since there was a good chance I would have to reinstall again. Correct me if I'm wrong, but a reinstall wipes all potentially sensitive information from the TV, right? If that's the case, then the only potentially sensitive bit would be the App password. Will that be included in the logs, as well?
[Philips, Sony, TCL Android TV] BertProesmans:
The TV will not leak information you have not provided. Examples of sensitive information that could leak are MAC-address, IP-address, e-mail address, username, full name, wifi ssid, opened apps, surfed websites. If this TV is recently reset and not configured there is little to leak that could do any harm.

I'd expect Google to be working on a high enough level that they wouldn't leak the entered app password into the logs, but not many people can confirm this with 100% certainty.

If you want to be certain the password is not leaked, do a search [CONTROL] + [ F] through the logfile and replace the password with [REDACTED] before sending it in. Only replace specific data with redacted, do not remove words/lines to prevent the possibility of misinterpreting the log.
[Philips, Sony, TCL Android TV] kylicek:
Alright, so I followed your instructions and created a log file. The problem is that while the file has a LOT of text in it, I don't see any timestamps whatsoever. I searched for the email address that I used to try and log in and couldn't find it anywhere either. As far as I can tell, if there is any sensitive information in the log, none of it is labeled in a way that would make it easy to identify.

Did something go wrong when making the log? Should I be using something other than Notepad to open it?
[Philips, Sony, TCL Android TV] BertProesmans:
I expect something to see like below, but haven't dumped anything from my TV so don't know exactly what logcat will print.

I'm not sure what is the most probable cause in this case. It could be the TV, or something configured on the TV or your adb installation.

Try to force logcat to dump the time format with `adb.exe logcat --format=threadtime > log-format.txt` or specifically filter messages after your attempt to login on the TV `adb.exe logcat -T "2024-04-02 20:19:00.000" > log-filter.txt`. The date-time is in format YEAR-MONTH-DAY 24hour:minutes:seconds.milliseconds. Round seconds and milliseconds to 0 to make it easy.

Logcat by default always dumps all logs from the device (give or take) so you could run the logcat command after trying to login. Subtract at least a minute from the time you noted down and put that inside the command, in order to not halfway capture logs.

If logcat really cannot get the date-time information it probably won't remove any log lines through filtering, and i'll take a look at the entire log file.

Spoiler content hidden.
[Philips, Sony, TCL Android TV] kylicek:
I think I figured out how to get the formatting fixed. The commands you provided kicked back errors, but after a half hour of trying to make sense of what the TV was printing, I was able to piece together a command that I THINK will give us what we want. I had to combine the time format command with the filter and had to use a slightly different time format than what you instructed. All's well that ends well, though :)

So here is the log for the 63 second window in which I tried to log in using my app password. Let me know if you need me to capture anything else in the log for your reference.

Thanks again!
[Philips, Sony, TCL Android TV] BertProesmans:
OK, remove that app-password you used from your account ASAP, if you haven't already. Something that looks very much like an app password is encoded in the log file. Since none have lead to succesful login so far, I suggest to delete all the app passwords you created for this TV.

On first scan nothing jumps out that looks critical. There is one call out to the com.google.android.gms apk that fails and might lead to the culprit. I need to cross reference with a dump from another TV. I have access to the working TV of my parents tomorrow night and/or the day after tomorrow. Keep you posted.
[Philips, Sony, TCL Android TV] kylicek:
Understood. Just removed them all. Thanks for the heads up :)
[Philips, Sony, TCL Android TV] BertProesmans:
Can you tell me the full name of the APK you downloaded to install on your TV? I need all details that apk mirror advertises for the file (all in the filename by default).

I dug into the code of the version I used and the latest version and the PING service is there in both. The log line, if actually pointing to an issue, highlevel says something is wrong with the installed package. This might be it not running, or not starting up correctly, or it crashing.

More details about the current state of the package are easily queried using adb. Execute `adb.exe shell dumpsys package com.google.android.gms > gms-package.txt`. Upload the gms-package text file, it contains version numbers, which listeners and services it registered, permissions on the system, under which user the package is running, its dependencies etc.

For future reference; you have an Arm Cortex-A9 32-bit v7-ABI system running lollipop 5.

If I'd do the manual APK upgrade procedure again I'd choose the first APK download from this page; https://www.apkmirror.com/apk/googl...le-play-services-android-tv-24-09-14-release/

I checked for signature differences between now and two years ago and also other stuff that would make old TV's incompatible with the latest APK releases but can't find anything. So it should normally just work™️
[Philips, Sony, TCL Android TV] kylicek:
This info was crucial for me. I was working under the assumption that I just needed the latest Lollipop 5-compatible APK for this fix. Backtracking to an earlier APK solved the problem and I was finally able to log in. That said, none of the apps that were previously downloaded under this account are listed on the TV anymore and when I try to install them, Google Services crashes.

Do I need to give it time to update itself?
[Philips, Sony, TCL Android TV] BertProesmans:
Yes, your tv was basically dehydrated and now you've opened the faucet. give it a couple of hours before everything stabilizes**. You have to have opened the google play app, accepted the Terms of Service (ToS) and check that your account is visible in there. Modern apps designed for Android 11+ (like youtube, youtube music, and possibly store now too) require a manual login once. It's semi-seamless, you'll be asked to login (if not already) which opens up your system menu where you only have to select the account you just attached to your TV. No need to pass in your app password a second/third time (from my memory).

Everything 'google' will be updated first, both user and system apps. The hardware platform is ~20 years old and the storage performance is below any reasonable expectation, that doesn't help this update-everything-cycle either.

I cannot say for sure if your old apps will reappear installed. I have only ever installed Plex through TV google play. If the behaviour is anything similar to the mobile versions, you should be able to access the store pages of your bought apps even if they are now hidden for any reason. This won't guarantee that you can effectively reinstall however, the app developers decide which systems are compatible and play store will be very stubborn about it and not give you an easy install method.

Sideloading (an older version) is always an option, if you find the APK on a trustworthy location. Shoutout to the homies _really_ owning their hardware!

So you got a login succesful message, which APK did you use? Other people can use this as a jumping off point, because my post is already two years old.

EDIT; ** you can ofcourse just watch TV through one of the input channels. Just don't use the android system, or any android apps, since that will slow down everything until all updates are finished.
[Philips, Sony, TCL Android TV] flo333:
I did this way:

1 opened cmd or powershell runned as administrator

2 runned adb connect xxxxx (IP address of TV)

3 accepted on the TV pop-up the connection

4 downloaded google service apk from apk mirror

5 used "adb install -r xxxxx (location googleservic.apk dowloaded)

It worked! I tried in first attempt "adb sideload -r but didn't worked. You have to use the command "install -r" to reinstall google service. Wait until finish message
[Philips, Sony, TCL Android TV] TheStar01:
You are a godsend, sir. Thank you.
[Philips, Sony, TCL Android TV] beykius:
Hi. I've tried to connect to my TV using adb connect code, but I always get No connection could be made because the target machine actively refused it. (10061) error. I've tried turning off the firewall, killing off the server and creating inbound rule.

P.S. debugging is enabled (I even turned it off and on a couple of times, still didn't work), unknown sources are also enabled.

I don't know what else to do. Can someone please help, I really want to fix my TV. 😭😭
[Philips, Sony, TCL Android TV] BertProesmans:
The software sometimes hangs or crashes, you'll have to disconnect the power cord to do a "guaranteed restart" and try again.

If you're stuck, read everything posted earlier. There are more tips spread accross those posts.