GmsCore: recently updated google apps break

Affected apps Name: YouTube v16+ Package id: com.google.android.youtube

Name: Youtube Music v4.10+ Package id: com.google.android.apps.youtube.music

Describe the bug

As described in the title, Google apps that were recently updated break. YouTube loads indefinitely, YouTube Music simply does not let you login.

To Reproduce

  • Install YouTube/Youtube Music (or probably any other newly updated Google app)

Expected behavior

Apps work regularly

Screenshots image

System Android Version: 10 Custom ROM: Havoc-OS 3.12

microG microG Core version: 0.2.16.204713 (I updated to v0.2.17.204714 after realising i wasnt on latest, still broken) microG Self-Check results: All ticked

Additional context

01-23 19:45:49.984 10608 10630 W GooglePlayServicesUtil: Google Play services out of date for com.google.android.youtube.  Requires 210290000 but found 204713032

Hardcoding the version to the required one doesnt fix it, so there seems to be more to it than just bumping the version number

There is also this logcat output which might also be related to it:
01-23 19:45:51.338 10608 10635 W Auth    : [GoogleAuthUtil] Service call returned null.
01-23 19:45:51.389 10608 10629 W Auth    : [GoogleAuthUtil] Service call returned null.
01-23 19:45:51.392 10608 10629 W Auth    : [GoogleAuthUtil] Service call returned null.
01-23 19:45:51.406 10608 10608 W View    : requestLayout() improperly called by android.widget.FrameLayout{bbcf7f V.E...... ......I. 0,126-1080,1857 #7f0b0a50 app:id/pane_fragment_container} during layout:
running second layout pass
01-23 19:45:51.536 10608 10658 W Auth    : [GoogleAuthUtil] Service call returned null.
01-23 19:45:51.539 10608 10658 W Auth    : [GoogleAuthUtil] Service call returned null.
And some more
01-23 19:55:45.063 10608 10608 W ProtoDataStoreFlagStore: Unable to retrieve flag snapshot for com.google.android.libraries.performance.primes#com.google.android.youtube, using defaults.
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore: Unable to update local snapshot for com.google.android.libraries.performance.primes#com.google.android.youtube, may result in stale flags.
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass
()' on a null object reference
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at athg.s(PG:6)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at athg.get(PG:4)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at atlf.b(PG:1)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at atki.u(PG:2)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at yjz.c(Unknown Source:0)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at yjx.run(Unknown Source:4)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at java.lang.Thread.run(Thread.java:919)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at yho.a(Unknown Source:6)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at vos.run(PG:2)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at atio.execute(PG:1)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at vot.a(PG:1)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at vpp.b(PG:5)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at vpu.p(PG:3)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at vpq.a(PG:1)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at ugm.b(PG:2)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at vnn.e(PG:1)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at vnp.dispatchTransaction(PG:34)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at dlg.onTransact(PG:2)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at android.os.Binder.execTransactInternal(Binder.java:1021)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at android.os.Binder.execTransact(Binder.java:994)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at android.os.BinderProxy.transactNative(Native Method)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at android.os.BinderProxy.transact(BinderProxy.java:511)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at dlf.nT(PG:2)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at vnr.f(PG:6)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at vnk.a(Unknown Source:3)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at ugi.a(PG:1)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at ucq.f(PG:1)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at ueu.r(PG:2)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at ueu.q(PG:5)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at ueu.g(PG:3)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at ueu.d(PG:13)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at ueu.oE(PG:2)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at uib.a(PG:1)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at uhi.a(PG:9)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at uha.d(Unknown Source:6)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at uhd.handleMessage(PG:37)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at android.os.Handler.dispatchMessage(Handler.java:107)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at android.os.Looper.loop(Looper.java:214)
01-23 19:55:45.176 10608 10913 W ProtoDataStoreFlagStore:       at android.os.HandlerThread.run(HandlerThread.java:67)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 39
  • Comments: 19

Most upvoted comments

Team Vanced has now opened a €100 worth of Basic Attention Token bounty for anyone who manages to resolve this issue as it has been open for close to two months now.

@mar-v-in This is really a terrible bug. 😕

Fixed in Youtube 16.08 and Music 4.18.

@BlackXS @X0Predator Can you guys plz stop talking here, this is not for Vanced support. Plz don’t talk here unless you are giving a way to patch this particular bug in MicroG from MicroG Project.

I can confirm the issue is not related to version code, bumping it does not fix the issue, also if you update from for example 15.50 or earlier to 16.X then the infinite loading issue will not occur.

I’m not sure why you guys think this is the right place to get help with Vanced related things. This is the upstream microg repository and has nothing to do with Vanced. Please stop turning this into some sort of support thread and stay on topic

Le 12 mars 2021 06:54:24 UTC, AboAzzh @.***> a écrit :

Don’t download or update the app to the last version just use the older version Keep trying in the older version until it’s work in your phone

– You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/microg/GmsCore/issues/1373#issuecomment-797278758

I’m not sure why you guys think this is the right place to get help with Vanced related things. This is the upstream microg repository and has nothing to do with Vanced. Please stop turning this into some sort of support thread and stay on topic Le 12 mars 2021 06:54:24 UTC, AboAzzh @.***> a écrit : Don’t download or update the app to the last version just use the older version Keep trying in the older version until it’s work in your phone – You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: #1373 (comment)

This is because the issue is not with vanced but with microg.

Workaround:

Install an older Version of Youtube Vanced. I also installed an older version of MicroG but i dont know if this was necessary, bud i did it anyways.

https://www.apkmirror.com/apk/team-vanced/youtube-vanced/youtube-vanced-15-43-32-release/youtube-vanced-15-43-32-android-apk-download/download/

I tried this method but it is doesn’t allow to swich account. This can be a real bummer for those who have more than 1 account.

Don’t download or update the app to the new version just use the older version Keep trying in the older version until it’s work in your phone

Workaround:

Install an older Version of Youtube Vanced. I also installed an older version of MicroG but i dont know if this was necessary, bud i did it anyways.

https://www.apkmirror.com/apk/team-vanced/youtube-vanced/youtube-vanced-15-43-32-release/youtube-vanced-15-43-32-android-apk-download/download/