microg / microg/GmsCore

Can't sign in with com.google.android.youtube.tv

Open
#983 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Hi dear,
Signature spoofing patch is done and self check is all OK. What can it be the reason can not login com.google.android.youtube.tv?
thx

[2019-12-04 20:18:15]  12-04 18:03:13.835  7907  7907 I AppLifecycleTracker: App transition to foreground
[2019-12-04 20:18:15]  12-04 18:03:13.836  4292  4305 W InputMethodManagerService: Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@ab3c82a (uid=10021 pid=4792)
[2019-12-04 20:18:15]  12-04 18:03:13.838  7907  7907 I AppLifecycleTracker: App transition to foreground
[2019-12-04 20:18:15]  12-04 18:03:13.839  7907  7907 I AppLifecycleTracker: App transition to foreground
[2019-12-04 20:18:15]  12-04 18:03:13.840  7907  7907 I AppLifecycleTracker: App transition to foreground
[2019-12-04 20:18:15]  12-04 18:03:13.849  7907  7907 E starboard_media: Video surface changed; decoding may break
[2019-12-04 20:18:15]  12-04 18:03:13.858  7907  7977 I starboard: Prepare to resume
[2019-12-04 20:18:15]  12-04 18:03:13.863  7907  7907 I starboard_media: Media focus: none
[2019-12-04 20:18:15]  

12-04 18:03:13.866  4292  6071 I MediaFocusControl:  AudioFocus  abandonAudioFocus() from uid/pid 10030/7907 clientId=android.media.AudioManager@6aac8ecdev.cobalt.media.CobaltMediaSession@277a4b5
[2019-12-04 20:18:15]  

12-04 18:03:13.906  4792  4792 D GmsFeedbackSvc: onBind: Intent { act=com.google.android.gms.feedback.internal.IFeedbackService pkg=com.google.android.gms }
[2019-12-04 20:18:15]  12-04 18:03:13.911  4792  4837 D GmsAuthManagerSvc: getToken: account:xxxxx@gmail.com scope:oauth2:https://www.googleapis.com/auth/identity.lateimpersonation https://www.googleapis.com/auth/youtube https:/
[2019-12-04 20:18:15]  /www.googleapis.com/auth/youtube.force-ssl extras:Bundle[{androidPackageName=com.google.android.youtube.tv, clientPackageName=com.google.android.youtube.tv, service_connection_start_time_millis=3161815, handl
[2019-12-04 20:18:15]  e_notification=true}], notify: true
[2019-12-04 20:18:15]  12-04 18:03:13.918  4792  4806 D SafeParcel: Unknown field num 10 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
[2019-12-04 20:18:15]  12-04 18:03:13.918  4792  4806 D SafeParcel: Unknown field num 11 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
[2019-12-04 20:18:15]  12-04 18:03:13.918  4792  4806 D SafeParcel: Unknown field num 12 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
[2019-12-04 20:18:15]  12-04 18:03:13.918  4792  4806 D GmsFeedbackSvc: bound by: GetServiceRequest{serviceId=FEEDBACK, gmsVersion=13280000, packageName='com.google.android.youtube.tv', extras=Bundle[{}]}
[2019-12-04 20:18:15]  

12-04 18:03:13.929  4792  4837 D GmsAuthManager: token present, but expired
[2019-12-04 20:18:15]  12-04 18:03:13.938  4792  4837 D NetworkSecurityConfig: No Network Security Config specified, using platform default
[2019-12-04 20:18:15]  12-04 18:03:13.946  4792  4837 D GmsHttpFormClient: -- Request --
[2019-12-04 20:18:15]  12-04 18:03:13.946  4792  4837 D GmsHttpFormClient: androidId=0&app=com.google.android.youtube.tv&client_sig=61226bdb57cc32c8a2a9ef71f7bc9548e95dcc0b&callerPkg=com.google.android.youtube.tv&callerSig=61226bdb
[2019-12-04 20:18:15]  57cc32c8a2a9ef71f7bc9548e95dcc0b&device_country=us&Email=xxxxx%40gmail.com&google_play_services_version=19420000&lang=en_US&operatorCountry=us&sdk_version=25&service=oauth2%3Ahttps%3A%2F%2Fwww.googleapis.c
[2019-12-04 20:18:15]  om%2Fauth%2Fidentity.lateimpersonation%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fyoutube%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fyoutube.force-ssl&source=android&Token=aas_et%2FAKppINY-_zRtPRBHNJQeBaYiA
[2019-12-04 20:18:15]  rPtSVAYHVYcYVHShgB3FXPhhBC9N2Y20JHA3nyw3BxM_M-JVDHnZkUwK77KIzOo9oD2VwG2QTvDq6vt8X_Zs-t14Dwh8hAdYm2HNmZZRlvleObwp3Ap98u71KwKYK0zo3JvmcD15kPzZ0OJvofd__G_FottI_EiCN7ESdaT2valMdBhyoCuhmnjBvqgEo0%3D
[2019-12-04 20:18:15]  

12-04 18:03:14.203  4792  4837 D GmsHttpFormClient: -- Response --
[2019-12-04 20:18:15]  12-04 18:03:14.203  4792  4837 D GmsHttpFormClient: Auth=ya29.ItcBswfo5sNsEtKfswj48GslcF5O9HldwRWa_j9pBbl_lj_ZcNDdtagnP-SZa_BrRSS6NQniqDRRMO-IyrE3NujUXxrEuRymg38pCfT7WYULv_U18QN6TR3zIAQpBf0O9tgq2FvMiblCMaAiJA
[2019-12-04 20:18:15]  ImBU3ZdphMAtCBowu8aKaC_lzhQjs3wS3dD2XzwiDQxzz937v12iPmrh6zd71dPwWdl3jF0IdGA1rQERVi5xUPOao2UzsHYMuF77scjIGx08ZJletjm7wqZg46S6eW8z5HgcQ8Zm_UBv76Pm4
[2019-12-04 20:18:15]  12-04 18:03:14.203  4792  4837 D GmsHttpFormClient: issueAdvice=auto
[2019-12-04 20:18:15]  12-04 18:03:14.203  4792  4837 D GmsHttpFormClient: Expiry=1575472153
[2019-12-04 20:18:15]  12-04 18:03:14.203  4792  4837 D GmsHttpFormClient: storeConsentRemotely=0
[2019-12-04 20:18:15]  12-04 18:03:14.203  4792  4837 D GmsHttpFormClient: isTokenSnowballed=0
[2019-12-04 20:18:15]  

12-04 18:03:14.252  4792  4837 D GmsAuthManagerSvc: getToken: AuthResponse{auth='ya29.ItcBswfo5sNsEtKfswj48GslcF5O9HldwRWa_j9pBbl_lj_ZcNDdtagnP-SZa_BrRSS6NQniqDRRMO-IyrE3NujUXxrEuRymg38pCfT7WYULv_U18QN6TR3zIA
[2019-12-04 20:18:15]  QpBf0O9tgq2FvMiblCMaAiJAImBU3ZdphMAtCBowu8aKaC_lzhQjs3wS3dD2XzwiDQxzz937v12iPmrh6zd71dPwWdl3jF0IdGA1rQERVi5xUPOao2UzsHYMuF77scjIGx08ZJletjm7wqZg46S6eW8z5HgcQ8Zm_UBv76Pm4', issueAdvice='auto', expiry=157547215
[2019-12-04 20:18:15]  3, storeConsentRemotely=false}
[2019-12-04 20:18:15]  

12-04 18:03:14.493  4792  4837 D GmsAuthProvider: Call from com.google.android.youtube.tv
[2019-12-04 20:18:15]  12-04 18:03:14.502  4792  4809 D GmsAuthManagerSvc: clearToken: token:null extras:Bundle[{androidPackageName=com.google.android.youtube.tv, clientPackageName=com.google.android.youtube.tv}]
[2019-12-04 20:18:15]  12-04 18:03:14.502  7907  8010 W Auth    : [GoogleAuthUtil] GoogleAuthUtil
[2019-12-04 20:18:15]  12-04 18:03:14.504  7907  8010 E starboard: Error getting OAuth token
[2019-12-04 20:18:15]  12-04 18:03:14.504  7907  8010 E starboard: java.io.IOException: Service unavailable.
[2019-12-04 20:18:15]  12-04 18:03:14.504  7907  8010 E starboard:     at acw.a(SourceFile:30)
[2019-12-04 20:18:15]  12-04 18:03:14.504  7907  8010 E starboard:     at ade.a(SourceFile:4)
[2019-12-04 20:18:15]  12-04 18:03:14.504  7907  8010 E starboard:     at acw.a(SourceFile:39)
[2019-12-04 20:18:15]  12-04 18:03:14.504  7907  8010 E starboard:     at azd.a(SourceFile:30)
[2019-12-04 20:18:15]  12-04 18:03:14.504  7907  8010 E starboard:     at com.google.android.libraries.youtube.tv.account.TvUserAuthorizer.c(SourceFile:32)
[2019-12-04 20:18:15]  12-04 18:03:14.504  7907  8010 E starboard:     at com.google.android.libraries.youtube.tv.account.TvUserAuthorizer.authorizeUser(SourceFile:7)
[2019-12-04 20:18:15]  ```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the OAuth request in the log from GmsAuthManagerSvc.getToken through GmsAuthProvider and TvUserAuthorizer.authorizeUser. Reproduce the com.google.android.youtube.tv sign-in failure and determine why the token is cleared after the service-unavailable response. Done means the cause is documented and sign-in succeeds or the limitation is clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.