-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Correct way of installing microG as system-app #2844
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
Comments
Premise: it is almost impossible to install microG manually in the system partition and set everything correctly. microG Services need privileged permissions so it must be in /system/priv-app (not app) and you should create the xml files in /system/etc/permissions to grant them. If you want you can also use my installer (https://github.com/micro5k/microg-unofficial-installer). |
Thank you for your fast reply. Wow, that sounds complicated (until you’ve done it once or twice). I thought that would be much easier. Thank you for the hint with the /priv-app/ folder. Thank you for the link to your installer, too. I’ll give it a shot. I used this one so far (Magisk module) until I tried to update. I also read something about setting up a xml-file. I think when the xml-file is correctly configured it is not even necessary to move micorG into the /system/priv-app/ folder. Do you know if that is true and if that might be an easier way? Installing microG as user app using F-Droid, setting up a xml-file with privileged permission, reboot and done? |
I don't know where you read it but it is wrong.
All installers should work more or less unfortunately most installers include an old version of microG, and to replace the apk with the new one you also need a different xml (my installer already included the latest microG). |
Probably. |
you don't need |
Also you don't need to move all of 3 apps to /system/app, only moving GmsCore.apk to /system/priv-app and xmls are enough |
In the next version it may be required also for microG Companion (maybe not on all Android versions). |
@meinintelligenterfreund |
can I ask why it may be required in the next version? What will be changed? |
In this PR microG Companion may install apps: #2553 |
This makes sense, thank you. |
Hello everyone,
I know that there are modules for Magisk that do the installation for you and I also know about LineageOS for microG. I tried those an they work great. I only got into problems when trying to update to a newer microG version. But I think I screwed this up.
But my question is not about the above its about how to correctly install microG on Android 15 from scratch. I installed it out of F-Droid but because it installs microG as an user app the phone won’t wake up when a push message comes in. At least that’s what I read. The installation instructions describe the process with the footnote to use adb push but without any further explanation.
Is this the correct procedure?
adb root
adb remount
(makes /system/ write-able)adb push com.google.android.gms-244735012.apk /system/app/
adb shell chmod 644 /system/app/com.google.android.gms-244735012.apk
adb push com.google.android.gsf-8.apk /system/app/
adb shell chmod 644 /system/app/com.google.android.gsf-8.apk
adb push com.android.vending-84022612.apk /system/app/
(optional)adb shell chmod 644 /system/app com.android.vending-84022612.apk
(optional)adb reboot
I would like to understand the correct way and would appreciate any help.
Thanks in advance.
The text was updated successfully, but these errors were encountered: