revanced-cli icon indicating copy to clipboard operation
revanced-cli copied to clipboard

Regarding support for rooted phones without Google components

Open Codename-Texas opened this issue 2 years ago • 6 comments

Hey, great project.

I'm running a Xiaomi phone with CrDroid ROM (Android 12, based on LineageOS) with Magisk for root access & the official MicroG project installed and configured instead of Google services,

Installing ReVanced somewhat works, though the --mount option is required, along with an existing unpatched YouTube app (downloaded from ApkMirror) for the installation to succeed, else nothing happens after the command on the desktop finishes.

I compiled without excluding MicroG support, and the app does work somewhat. It tends to crash on opening it often. My concern in this case is that the patched ReVanced app doesn't allow me to log into my Google account. I've tried using the old Vanced MicroG app which is opened through the MicroG option in RV's settings, and also logging in natively through my system's MicroG installation, though the accounts list remains empty no matter what.

So, I'd like to know whether this is intentional (lack of support for this kind of configuration) or some new bug. I imagine there's plenty of rooted phone users using this app, just not too many of those that don't have Google services.

Codename-Texas avatar Jun 27 '22 14:06 Codename-Texas

Just install the root variant. (exclude microg-support) It should work

microg-support patch only works with Vanced MicroG

Canny1913 avatar Jun 27 '22 14:06 Canny1913

If I install it excluding microg-support then whenever I start RV I get the YouTube won't run without Google Play services, which are not supported by your device. message, which just closes the app once you press OK.

ghost avatar Jun 27 '22 14:06 ghost

If I install it excluding microg-support then whenever I start RV I get the YouTube won't run without Google Play services, which are not supported by your device. message, which just closes the app once you press OK.

Same issue here, i had to end up using vanced microg... it doesnt hook to the normal microg

polkaulfield avatar Jun 29 '22 02:06 polkaulfield

I recall this being an issue with legacy Vanced as well, as the root version never worked. However, in their case, using Vanced MicroG alongside it in non-root mode had mitigated the problem.

I suspect the culprit here is MicroG itself. During my time using it I noticed that not all of my apps would use its messaging service (for use with push notifications). Notably, messaging platforms like Element and Signal would prompt that no GMS is found and that they will rely on websockets and similar for similar functionality. Why this happens - I'm not sure. But it would be great to get some developer input on this, as there is certainly a minority of people who refuse to use Google apps for well-defined reasons.

ghost avatar Jun 29 '22 07:06 ghost

I have the same issue, my phone is Poco x3 pro with CrDroid 12.1, rooted, magisk and microG installed from magisk package

The YouTube ReVanced don't recognize my Google account devices added from my navite MicroG, and when I try to add the account, it said that already exits. (And my Google account is correctly configured to be visible to all apps in account settings)

image

Only works when i keep the microg-support but then i must install the external app vanced MicroG, when i have installed the native MicroG

Screenshot_20220702-145112_microG Services Core.png

Any one solution guys?? Thank you very much to all for this project!!

Milor123 avatar Jul 02 '22 19:07 Milor123

Recuerdo que esto también fue un problema con el legado de Vanced, ya que la versión raíz nunca funcionó. Sin embargo, en su caso, el uso de Vanced MicroG junto con él en modo no root había mitigado el problema.

Sospecho que el culpable aquí es el propio MicroG. Durante el tiempo que lo usé, noté que no todas mis aplicaciones usarían su servicio de mensajería (para usar con notificaciones automáticas). En particular, las plataformas de mensajería como Element y Signal indicarán que no se encuentra ningún GMS y que se basarán en websockets y similares para una funcionalidad similar. ¿Por qué sucede esto? No estoy seguro. Pero sería genial obtener la opinión de los desarrolladores sobre esto, ya que ciertamente hay una minoría de personas que se niegan a usar las aplicaciones de Google por razones bien definidas.

In my case, I Can use Vanced or YouTube (stock APK) and stay logged in my Google apps using Native MicroG, it maybe was an old problem in vanced, but it is not problem now in vanced, and in ReVanced the problem returns!

Milor123 avatar Jul 03 '22 13:07 Milor123

Not a CLI issue.

oSumAtrIX avatar Nov 23 '22 21:11 oSumAtrIX