microg/GmsCore

[com.google.android.youtube] YouTube is not working

Closed this issue · 14 comments

Affected app
Name: YouTube
Package id: [com.google.android.youtube]

Describe the bug
When you open YouTube, it immediately closes with the message
"Get Google Play services
YouTube won't run without Google Play services, which are missing from your device."

To Reproduce
Steps to reproduce the behavior:
Just open YouTube

Screenshots
Screenshot_20240412-095148_crDroid Home

System
Android Version: 13
Custom ROM: CrDroid 9.8

microG
microG Core version: v0.3.1.240913
microG Self-Check results:
Screenshot_20240412-093659_microG Services

Additional context
A similar problem with YouTube music, but without a message (closes immediately). Although Google Camera, Google Photos and Google Maps work fine.

just switch to ReVanced. They use a fork of microG, which installs next to this one. Also it has adblocking, returned dislikes, etc. Go to revanced.app to download their manager. Here is documentation for it: https://github.com/revanced/revanced-manager/tree/main/docs

works fine here

Screenshot_20240413-113051_microG Services

Screenshot_20240413-113034_YouTube

Answer by Wojtaz0w
At the moment, I use both microGs to be able to use YouTube and Google Camera. But it would be good to run everything on one microG. So I wanted to know if it is possible and if it will work in the future? Could this be a problem on my end?

Answer by cuynu
What version of microG and YouTube are you using?

Answer by cuynu What version of microG and YouTube are you using?

YouTube : 19.14.38
microG Services Core : 0.3.1.240913

Answer by cuynu What version of microG and YouTube are you using?

YouTube : 19.14.38 microG Services Core : 0.3.1.240913

Interesting
I still have "Get Google Play services..."
Did you just install and it worked?

Answer by Wojtaz0w
At the moment, I use both microGs to be able to use YouTube and Google Camera. But it would be good to run everything on one microG. So I wanted to know if it is possible and if it will work in the future? Could this be a problem on my end?

If your device is rooted, which I assume is true, since microG installation is very common with modules for KSU/Magisk, then you can install a magisk module installing ReVanced YT over normal YT. Please note that you need to be on a specific version of YT (19.11.38) to make the module work. Here you can find it along with instructions: https://t.me/rvx_lite/1648

Answer by cuynu What version of microG and YouTube are you using?

YouTube : 19.14.38 microG Services Core : 0.3.1.240913

Interesting I still have "Get Google Play services..." Did you just install and it worked?

yes

Answer by Wojtaz0w
At the moment, I use both microGs to be able to use YouTube and Google Camera. But it would be good to run everything on one microG. So I wanted to know if it is possible and if it will work in the future? Could this be a problem on my end?

If your device is rooted, which I assume is true, since microG installation is very common with modules for KSU/Magisk, then you can install a magisk module installing ReVanced YT over normal YT. Please note that you need to be on a specific version of YT (19.11.38) to make the module work. Here you can find it along with instructions: https://t.me/rvx_lite/1648

this issue are completely unrelated to revanced, dont bring it in here

Answer by Wojtaz0w
At the moment, I use both microGs to be able to use YouTube and Google Camera. But it would be good to run everything on one microG. So I wanted to know if it is possible and if it will work in the future? Could this be a problem on my end?

If your device is rooted, which I assume is true, since microG installation is very common with modules for KSU/Magisk, then you can install a magisk module installing ReVanced YT over normal YT. Please note that you need to be on a specific version of YT (19.11.38) to make the module work. Here you can find it along with instructions: https://t.me/rvx_lite/1648

this issue are completely unrelated to revanced, dont bring it in here

I know, but I had similar problem and rvx module fixed it... but it might be just for me

Sorry.
My fault.
With the help of the Lucky Patcher, I made the MicroG Services a system application and now everything works. (Missed or couldn't find this step in the instructions that the application must be installed as system)
But I wonder why some apps work even though GSMCORE is not a system app and some don't?

Yeah, that is weird. I used to have the same issue quite some time ago, and now it just doesn't happen at all.

Understandably
Thank you all for your help

The issue is caused by GmsCore being installed incorrectly. Google apps expect GmsCore to be installed under priv-app (where System apps are apparently installed). To install GmsCore correctly, refer to the wiki.