Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When installing the Minimal module, MicroG disappears after a restart, and reappears after another restart. #64

Open
BlueFox964 opened this issue Feb 17, 2024 · 7 comments

Comments

@BlueFox964
Copy link

Title describes it. I've tried both the NoGoolag module, and the Minimal module, and it only happens with the Minimal module. I've asked people in the MicroG telegram, but they've never seen something like it before. I'm on RealmeUI 5, and using Magisk Kitsune.

@mahe8186
Copy link

Without logcat, the Dev can understand nothing

@BlueFox964
Copy link
Author

The Magisk logs?

@FriendlyNeighborhoodShane
Copy link
Owner

Hi @BlueFox964,

Is MinMicroG installed in system mode or magisk mode (i.e. does it appear in your magisk modules)? And how do you flash it, from recovery or from inside magisk manager? The recommended method is to flash it through the recovery (if magisk is installed and data decrypted it'll still install itself as a magisk module).

When you say you tried both nogoolag and minimal, are you sure they didn't get any conflicts between them? The different variants can replace each other, but only if they're installed in the same "mode". If one was installed in magisk mode and the other in system mode, then they might have had conflicts between them.

@BlueFox964
Copy link
Author

I've installed them both as Magisk modules, as my device doesn't have a TWRP build.

@HPsaucii
Copy link

Heya, the reason why this happens is because shane's module(s) dont remove certain apps that are known to uninstall microG, and reinstall stock GMS. I just made an issue that fixes this

@pegelf
Copy link

pegelf commented Dec 26, 2024

Hi. I have the same problem on my Sony Xperia 1 VI with a debloated Android 15 stock Rom. So every time I reboot, I have to reboot a second time to have the Google Play Services disabled and microG enabled again. Also microG looses all it's settings, because there was a boot where it haven't existed.

I'm using the latest automated build:
https://github.com/FriendlyNeighborhoodShane/MinMicroG-abuse-CI

I also saw the commit by @HPsaucii which removes even more Google Play Services. I can confirm that at least these folders exists on my Sony Device:
/system/product/priv-app/GmsCore
/system/product/priv-app/Phonesky:
/system/system_ext/priv-app
/system/system_ext/priv-app/GoogleServicesFramework

Because I was lazy, I haven't rebuilt the whole module and instead downloaded the latest automatic build, extracted the zip, added the lines to the defconf file, repacked it and flashed it using Magisk.

But now my device is in a bootloop. I already had that problem when I tried to remove those Apps using the De-Bloater App from F-Droid.

During the bootloop, I started a logcat, maybe that helps with debugging?
bootloop.txt

With the unmodified latest automatic version, at least microG works every second time :D. I'd be really thankful if someone of you have an idea how to fix that problem.

@HPsaucii
Copy link

@pegelf unfortuantly just modifying shane's zip wont work. You do need to perform a rebuild, as the actual autobuild is malformed due to a dead link in the original project. That should fix the double boot issue, but without access to a sony device, my testing is limited. Build the module properly from my source and lmk if you have any more issues

In the meantime, ill look at getting auto-builds setup this side of new years, no promises though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants