yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] kurtn:
Open a terminal, type "su" "nperm"
[Android Apps and Games] Shumafuk:
/system/bin/sh: nperm: inaccessible or not found - this is what terminal writes after nperm
[Android Apps and Games] kurtn:
Oops its npem
[Android Apps and Games] Shumafuk:
Thanks. That fix Phonesky signature, but not permission for location access on background.
[Android Apps and Games] lebr0n:
i lost microg while updating from havoc os 3.8 to 3.9.. the app is gone, but the nanodroid module is still displayed as installed in magisk..

how come? only thing i forgot before update was to uninstall substratum theme, but i can't imagine it being the reason for microg settings app to be missing
[Android Apps and Games] kurtn:
I don't think this is a GmsCore issues. Please ask in nanodroid thread, if simple re-flashing of nanodroid doesn't work.
[Android Apps and Games] lebr0n:
check this out:

https://xdaforums.com/showpost.php?p=81853337&postcount=6249

edit:

sorry, actually it's here:

https://xdaforums.com/showpost.php?p=83151045&postcount=6596
[Android Apps and Games] Setialpha:
It is. In certain occasions the launcher icon disappears, it's listed as bug on microG repo.

I'll provide a fix upstream, soon™.
[Android Apps and Games] starbright_:
Modded my 8.0 stock android to use microG. That seems to work in general. Cell tower based location is set up. In SatStat the behaviour is as follow:

nothing happened for around 30s, than the blue position is shown (cell tower) for 5 seconds, then it gets grey and after 30s again blue for another 5 sec.. Ok so far - but why the initial 30s? Cell tower based position doesn't need time to fix, am I right?

But the bigger problem: if I open another app as "clever tanken" it is not able to get/use this position.

Core is 0.2.12.203315 and Location service is set to Energy save(No GPS). What is the problem with that. The old Oreo imho should have no problems with location stuff. Some limit come with Q, right?

A different device with same microG core (but LOS 17.1) doesn't have this issue. Bad luck that other LOS has some other bugs, so I can't use this. So its likely not an microG issue, but here are the experts that might help debugging it and maybe solve it.

Later in log was:

FusesLocationApi: Location remove f1eb508 from de.mobilesoftwareag.clevertanken.

Edit: This is even the case I have a GPS position and set location to accurate, which is strange. Some system problem? Permission to location service is granted.
[Android Apps and Games] Mynacol:
What does the self-check from MicroG say? Especially those under Network-based location? Which are not ticked?
[Android Apps and Games] starbright_:
All is checked. The strange this it is so inconsistent. In SatStat it is shown (even if it just a 5s interval with 30s pause), but for some reason not CleverTanken or another App using location. This is what I don't understand.
[Android Apps and Games] Janfi_FR:
Hi,

It's my first time with MicroG. I hope I will not be off-topic. I installed all MicroG components from the F-droid repository on top of Crdroid 6.9 (whyred). I'm using Aurora too. Everything that I use daily seems to work perfectly except one app : Strava. When I'm launching it, there is a message that says that strava cannot work without Google play services.

I tried to change some settings, like with and without Google Cloud Messaging activated on MicroG settings but it had no effect. Strava is identified as a problematic app on https://github.com/microg/android_packages_apps_GmsCore/wiki/Problem-Apps . There is a workaround suggested (put a widget on home screen) but it not works for me. I searched on the forum but I was not able to find a solution or a clear statement for this app.

Is someone as an advice to make it work ? Or Strava app is ATM definitively not usable without official Google Play services ?

Thank you.
[Android Apps and Games] kurtn:
Maybe that's your place to go

https://support.strava.com/hc/en/community/posts/360043138191-Google-Play-Services
[Android Apps and Games] starbright_:
I do have a strange problem with location. I don't exactly know the dependencies, maybe someone can enlighten me:

I have few apps that access to location (here, osmand, statstat, clevertanken, benzinpreis-blitz ..). All have been permissions to access location but only the first 3 work. Looking at settings/location these other apps seems not to have requested the location !?! How can this be? Why these app behave different? No firewall, even deleted and reistalled. I know from another phone this apps usually work.

Even Firefox can find location in Browser.

(It is a debloated Stock ROM 8.0 and pimped with microG).
[Android Apps and Games] Janfi_FR:
Thanks.

Refering to this link it sounds bad for this app :crying:

A miracle maybe...
[Android Apps and Games] Oswald Boelcke:
Seeing the log from here on:

09-23 13:40:50.004 E/AndroidRuntime(29990): FATAL EXCEPTION: main

clevertanken has no location permission. Don't know if µG can be blamed.

And I didn't find benzinpreis.blitz in the log.
[Android Apps and Games] starbright_:
Yeah, log was just from this app to keep it shorter. Don't misunderstand me, I am not blaming microG for it. It is just I am desperate and don't understand. I gave the app the permission. In settings/app I see that it has the permission. But calling it I can't see in settings/location that the app has asked for location. It seems some mess here and I don't know what do do?

It is like there is another blocking mechanism? After first attemp clevertanken has a force close, that is probably what you have seen.

Here the log for the other app benzinpreis.blitz, that doesn't have FC. (log-level i): Once i read

09-23 16:54:13.781 W/ContextImpl(4760): Failed to ensure /data/user/0/com.google.android.gms/shared_prefs: mkdir failed: EACCES (Permission denied)
...
09-23 16:54:13.915 E/RequestManager_FLP(4085): [FusedLocationApi] Location request a4534f PRIORITY_HIGH_ACCURACY interval=1000 from de.mwwebwork.benzinpreisblitz

Not sure what kind of messages I have to focus .. to many for me.

The app recognises proberly if location is disabled at all and request a change in setting. But at the same setting page I don't see the request from this apps. That is crazy. As nanodroid patcher is not working for that 8.0 vdex service (?) I spoofed with smalipatcher. Anything wrong there? I remember it has some settings... ROM is spoofed, that is proven by microG selfcheck (all checked there)

Edit: That EACCES error is also visible if all is working - so that can't be the reason.
[Android Apps and Games] Oswald Boelcke:
You only mention that everything seems to be right under Settings => Apps.

For the following, please refer to attached screenshots; I apologise to all users that I didn't switch system language before - and I'm on LOS 16.0; no experiences with Q or higher. How does it look via Security and Location => Trust => Privacy? My example are for a similar app like yours. Maybe you can enable "precise/fine location" there?

Another option: Check with Warden. Screenshots also attached.
[Android Apps and Games] starbright_:
Thanks for your help. I checked with warden - the permissions look ok. The other settings (thanks Samsung!) look totally different to me. I checked that again and again, but couldn't found something like that.

Starting apps as clevertanken I can see in status us location symbol, but it is not punched through to the system/location. This app is not seen there.

I guess I have to go back to stock, starting again. Maybe something went wrong with either debloating or spoofing. I am completly out of ideas.
[Android Apps and Games] Woelkchen80:
I like microg very much and use it for quite a while. But the newest version doesn't work for me. Don't know why. On version 0.2.11.202414 everything works fine. When I update it, some apps the location does not work anymore or even crash everytime I try to start (mehr-tanken app). Don't know where the problem is. So I will stay on 0.2.11.202414
[Android Apps and Games] Oswald Boelcke:
[MENTION=2492996]starbright_[/MENTION] also reported issues here and following posts (just a few above yours) regarding issues with some German language gas station apps. The one and only I use is working fine on the latest µG version with Corona app support.
[Android Apps and Games] neuimnetz:
Update cycle for klte on download.lineage.microg.org?

Hello to everybody,

I love microG on my klte phone, it works perfect!

The last version on download.lineage.microg.org > klte is lineage-16.0-20200816-microG-klte.zip

On the lineage site the last version is lineage-16.0-20200920-nightly-klte-signed.zip

What is the current update cycle on download.lineage.microg.org? :confused:

Thank you!
[Android Apps and Games] kurtn:
There is an extra thread for the lineageOS fork

https://xdaforums.com/android/software/lineageos-microg-t3700997

At the moment there is no fixed update cycle. 17.1 are just being built and i guess 16.0 will be next.
[Android Apps and Games] neuimnetz:
Thank you for the help :cool:
[Android Apps and Games] starbright_:
[MENTION=7408621]Oswald Boelcke[/MENTION]:

I found also an older Version working. I did go back to latest archived nandroid 20.8 (core 0.2.6.15181-79). Bad luck I couldn't find any version inbetween archived somewhere.

I would like to step up via FDroid (added microG repo) but always get failure while installing. How to do so? It offers a lot version, so that would be perfect to test.

Even more strange. Going to TWRP, mount system and copied a newer GmsCore.apk into the /system/priv-app/GmsCore folder -it doesn't change anything. The older one seems to be restored from some other place. Is this any Magisk-or Samsung-Magic?

Definitely the older GsmCore works better in terms of location. With the new one I get a cell-location delayed after 30s and with the other device (as mentioned) not at all.

I could leave it as it is, but would like to understand how to update GsmCore, just in case. Am I right that others (Proxy, Fakestore, Guard) keeps same or might an inconsistency of version be the reason and update doesn't work.

BTW: My first attempt was to wipe/debloat in TWRP and install them after booting via FDroid. But it seems that while booting Playstore/G-service is reinstalled by the Samung system, so that FDroid seems not to be able to replace them.

To all:

How do you install your microG? I would like to be more independent from nanodroid but installing it manually isn't as easy. Dealing with location, permission and god knows what else.
[Android Apps and Games] Woelkchen80:
You can try

https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases
[Android Apps and Games] starbright_:
I just found this why try to update while TWRP is running:

adb install Downloads/GmsCore-v0.2.11.202414.apk
Downloads/GmsCore-v0.2.11.202414.apk: 1 file pushed. 7.4 MB/s (32548017 bytes in 4.176s)
CANNOT LINK EXECUTABLE "app_process": "/sbin/libcutils.so" is 64-bit instead of 32-bit
libc: CANNOT LINK EXECUTABLE "app_process": "/sbin/libcutils.so" is 64-bit instead of 32-bit
libc: Fatal signal 6 (SIGABRT), code -6 in tid 2409 (app_process)

Maybe this is reason why i can't install newer GmsCore ?!?

And this is the error message while try that at a running system:

adb install Downloads/GmsCore-v0.2.11.202414.apk
adb: failed to install Downloads/GmsCore-v0.2.11.202414.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.google.android.gms signatures do not match the previously installed version; ignoring!]

---------- Post added at 01:14 PM ---------- Previous post was at 12:54 PM ----------

That was good hint, thank you. It installes core 0.2.11 but this one I could update to 0.2.12 with FDroid. :)

Seems Nanodroid has other signatures and not uses "orginal builds".

The behaviour in SatStat with cell-location is same strange - 30s wait, position for 5 s and then again 30s wait. But - and this is good news: also my "clevertanken" app is working now.

As I did have a mixed installation with nanodroid first and the minmicrog-minimal I think I have do redo installation from scratch to proof a reproducable way.

Edit: That doesn't work. Flashing minmicroG minimal in TWRP install it to /data/adb/... ?!? WTF?

Installing microG via Magisk Module (revived) works, but I can't change Core via FDroid. It reports an "Unknown error". That drives me crazy.
[Android Apps and Games] starbright_:
This topic is more complex than I thought. Taking into account that I have same device with different OS (LOS17) and a debloated Stock 8.0 : with same microG it behaves very different. I installed minmicrog-nogoolag 2.6 (GsmCore 0.2.10) that works for me at Oreo. Newer versions of microG seem to have problems with this old Android version. Probably some issues with newer Android versions have been addressed and forget about side effects for older versions.
[Android Apps and Games] Setialpha:
Using an old ND build is a bad idea. You miss all bug fixes and compat with Android 10, respectively 11 with next release. ND used a custom uG build back when mar-v-in wasn't active, but that's no longer the case since more than a year (ND installer auto migrates between builds, so users wouldn't even notice, except when reading the ChangeLog).

/datab/adb is absolutely correct, that's there Magisk Modules are installed, ND installs there, too.

If something doesn't work in uG you should collect logs and report them upstream: https://github.com/microg/android_packages_apps_GmsCore
[Android Apps and Games] starbright_:
Thanks. I am aware that fixes has been happened, but maybe older versions seems to suffer from that. For me this is important so I have to miss this (for me less important fixes). I have been always using your packages that work great, but this time I have to go back in time. In your archive are only bigger steps to go back. Do you know how to manually downgrade the GmsCore? My attemps to change the file in /system/priv-app/GmsCore are not succesfull. I need more flexibility to test.

I do really have strange (to me not explainable) location issues (more above). Some apps work, others not. Permissions are set. And the cell tower location is heavily delayed now, needs 30s to come up. Ok, will report that.

One important question:

How to up/downgrade GmsCore.apk? Maybe this depends on whether this is a Magisk Module (nanodroid/minmicrog) or system. I have Magisk installed.

But either up/downgrade via FDroid or doing it with "adb install " fail. I guess I need next for testing more than once an easy going paths to changes this part - without all the other firmware is affected.
[Android Apps and Games] starbright_:
Wow, did I killed the thread? No answer .. not even a post in a week?
[Android Apps and Games] Oswald Boelcke:
My suggested attempt would be (as I did that with GmsCore and Play Store years ago):

Download ServicesCore (current version 0.2.12.203315) from µG download.

Rename the apk to GmsCore.

With any root explorer (I always and only use MiXplorer) navigate to /system/priv-app/GmsCore and move the current GmsCore.apk out of the folder to somewhere else - just as backup.

Now move the downloaded and renamed apk to /system/priv-app/GmsCore.

Ensure that the folder "GmsCore" has permissions 755 and that the apk that you moved to there permissions 644.

Reboot into system (mandatory).

Check if it works.
[Android Apps and Games] starbright_:
For the GmsCore I know this kind of procedure. But this is not the only think to install. Proxy, Fakestore, mapsv1 are at least required to. Looking at the scripts of nanodroid I found there seems to be a lot of magic with permissions too. That is why my attempt is to initial install a package like that. Just to be more flexible I would like to use FDroid (or the mentioned manual approach) to change the core. BUT - and that is what makes me crazy. I can change the app in /system/priv-app, but that has no effect ?!?
[Android Apps and Games] 9Lukas5:
I didn't follow your conversation to this point, so sorry if I say something already said by someone or everyone is aware of.

If you want something to be a system app for whatever reason, SOME version of it has to be in the system partition.

(permissions 644 for folders/755 for files)

Newer versions of this app can be installed from some store or manually just fine and end up in the data partition.

The app still counts as system app, as long as the originally installed version is in the system partition.

So, if you have updated a system installed once, then remove the apk from the system partition, the app isn't gone, it's just no longer a system app^^

L

P.S. I've a few devices here, I have installed all microG components from the FDroid repo as normal user apps and it's working just fine.

Whats the drawback for you microG core not being a system app?

Gesendet von meinem MI 8 Lite mit Tapatalk
[Android Apps and Games] Setialpha:
That in most cases you won't get working location Nougat onwards, as normaly AOSP only allows location providers from priv-apps.

Also fake package signature is limited to priv-apps in all pre-patched ROMs since November 2019.

tl;dr: because it won't work otherwise.

If it's not like that in your case your ROM either isn't Nougat+ or specificall modified to work like that.
[Android Apps and Games] jonathan240196:
https://microg.org/ is down and f-droid repo too.

EDIT : It's work
[Android Apps and Games] 9Lukas5:
Oh I see.

I don't have a pre-patched rom, I'm using Magisk, EdXposed + FakeGapps for signature spoofing.

And I'm not interested in using location providers other than raw satellite signals.

My main usage purpose for MicroG is the GCM/FCM service [emoji1360]

Thanks for telling me though, could save a few hours of research if I once want some of this things and wonder why it's not working [emoji851]

L

Gesendet von meinem MI 8 Lite mit Tapatalk
[Android Apps and Games] Setialpha:
Ah, yes, if you use Xposed modules instead of native support or manual patching, you won't have to priv-app uG.
[Android Apps and Games] starbright_:
Sounds like you have a stock rom instead of a custom rom? I am fighting to debloat it. De-Google of a stock rom seems to be a challenge.

Anyone here has experience? Custom Roms are to buggy for my Galaxy A3.

In microG-howto are mentioned some apps that has to be removed, but ROM is not booting anymore after that procedure.
[Android Apps and Games] 9Lukas5:
No I'm using LineageOS16, but it's not pre-patched.

L

Gesendet von meinem MI 8 Lite mit Tapatalk
[Android Apps and Games] starbright_:
That make things easier for you. I have to get rid of that google stuff first and take care stock ROM is still working.

I come to bootloop if I remove

GoogleExtServices:

GooglePackageInstaller:

as recommended.

What I can successfully remove are

GoogleFeedback, GoogleBackupTransport, GoogleOneTimeInitializer, GooglePartnerSetup, Phonesky and Velvet.
[Android Apps and Games] Setialpha:
Don't! remove GooglePackageInstaller! Then there will be no package installer left and your device can't install/update apk.

Also GoogleExtServices is often a hard requirement for a working device. Both packages don't conflict with microG.
[Android Apps and Games] starbright_:
Thanks for explaining that.

I think I found one more thing. Putting GsmCore initial to /system/priv-app I could do an update with FDroid. A downgrade (or probably another update fail). Changing the file in /system/priv-app gain doesn't help. It seems that the current app is under /data/data .... deleting that gives me the original version back. Good to know that. Why up/downgrade sometimes work and sometimes not and how to get the version back was one of the biggest riddles to me and drived me nuts.

Proxy doesn't need do be a system app, right? What does the DroidGuard helper is for? The description in FDroid results in more questions than answers. ;)
[Android Apps and Games] kurtn:
Droid guard is broken. It was intended to provide safetynet attestation for apps that don't wanna run on rooted devices.

The system app thing is only for NLP feature of gmsCore.
[Android Apps and Games] Punkiderma:
Hello, I have an app that suddenly stopped working, and when I asked the devs they told me that to work it needs the play services minimum version to be 20.33.15.

Since the app always worked well under microg and suddenly began to crash, I was thinking: is microg "emulating" play services up to this version?

Thanks
[Android Apps and Games] kurtn:
V0.2.12.203315 or Microg.org/DL/core-en.apk has that version code. Or you wait for next release

https://github.com/microg/android_p...mmit/f10214ef8ab64e8d1fd896d97e7d3dd3e1a8ad64
[Android Apps and Games] Punkiderma:
It seems that I already have this version of microg (I installed it using nanodroid) but still the same issue... Very strange.
[Android Apps and Games] kurtn:
You can always download an older version of an app from apkmirror
[Android Apps and Games] Punkiderma:
First thing tried, sadly there are no APKs for this app on apkmirror :(
[Android Apps and Games] Oswald Boelcke:
At least for me, quite a few microG versions are published on apkmirror: https://www.apkmirror.com/apk/microg-team/microg-services-core/

However, they are also available via the microG github: https://github.com/microg/android_packages_apps_GmsCore/releases
[Android Apps and Games] Punkiderma:
Sorry, I was talking about the app that is not working on my phone, not to microg! :D
[Android Apps and Games] Georgeswebster:
Hello everyone. I'm new to microg so this may seem like a dumb question. I recently installed lineageos 17 with microg on my oneplus 6t. I would like to also install google play store for paid apps. How can I do that. I searched the forum bit was unable to find the answer. Thank you for your time.
[Android Apps and Games] amg314:
Study https://downloads.nanolx.org/NanoDroid/Stable/

You need:

https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-Google-22.9.20200910.zip

You can also use F-droid with https://microg.org/fdroid/repo?fing...EB6DAB39B73157451582CBD138E86C468ACC395D14165
[Android Apps and Games] kurtn:
#microG Services Core v0.2.13.203915 is now available. ?

- Support for Firebase Authentication

- Fixes and improvements for Exposure Notification API

- Bugfixes for Maps and Cloud Messaging

Download from the microG F-Droid repository (see https://microg.org/download.html for instructions) or GitHub (see https://github.com/microg/android_packages_apps_GmsCore/releases/tag/v0.2.13.203915). Verify Self-Check status after upgrade.
[Android Apps and Games] Master One:
Can someone please tell, if it is possible to upgrade the microG components from the microG F-Droid when using LOS (16) for microG?

If I remember correctly, I once tried and it failed for some reason, and I never tried again after that incident.
[Android Apps and Games] kurtn:
Maybe you have to disable f-droid repository in f-droid settings. There is a name collision of several apps trying to be gmsCore
[Android Apps and Games] Oswald Boelcke:
Thanks very much for the heads-up. Just downloaded and installed from the µG download page. No issues at all! Just after a few minutes of observation, seems to work great. It requests a new permission to read SMS. Granted. I assume it's in conjunction with the Exposure Notification.