-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Location database bug #2635
Comments
Do you use the official version (from the microG F-Droid repository) or some other version? Did you upgrade from 0.3.2 to 0.3.4 or did you use any other version before? |
Yes I use the official from fdroid repo. |
@Pitoucol |
No idea. How do I check this? |
Can you try to see if the location works in "Satstat" or "my location" apps from Fdroid?. Those are the 2 that actually displays network location. The bug is resolved for me on Crdroid android 15. You can export the database from Microg settings>location>3 dots menu |
Since the paste link may disappear I will post his error here just to be sure:
|
I can get location with osm, or satstats and my location, but only with GPS. |
Hello Can I get you some data to help you resolve this bug? |
The simplest way is to reset microG Services app data, but you will also reset microG settings and all GCM registrations. |
As I'm affected by the same bug, is there another (non simple) way to reset the database without loosing all microG settings and (more importantly) GCM registrations? |
If you have root you can run this command: It will delete the gms data from all apps forcing them to re-register GCM (other app data are left intact). |
This is unrelated since this ticket is about an issue with the location database. |
No, directly related because OP wants to reset microg data but is worried about losing GCM registrations. If GCM is lost from microg, most apps wont re-register without the mentioned trick or deleting all app data. So, helping OP with the location bug by allowing them to reset microg without resetting the whole phone. Thanks |
It fix the problem of GCM registrations but it need root (the OP hasn't specified this). |
Hi! I have the same problem as the OP. My device is an FP4 with LineageOS for microg 22.1 GmsCore is 0.3.6.244735. Is there anything I could do? Thank you! |
If you have LineageOS, the easiest way to solve this issue is to delete the location database file from
The root cause of this issue is a failed migration leading to a broken database state. This can happen if at the time of migration the system is low on available storage or the process is stopped mid-migration for another reason. |
@mar-v-in |
This is using the migration logic in Android's |
Thank you! This was helpful so far and there are no issues until now. Exporting the database is also working as expected now. |
@mar-v-in
In this way by querying the status table if we find a table name we know that this table is corrupted. PS: Maybe some devices just have a dummy support for database transactions or it is also possible that it doesn't work when RAM is full. |
@mar-v-in Thank you very much for this solution. I'm rooted so removing the database file was no problem an one reboot later the problem seems to be solved! |
It is probably a left over, it shouldn't cause any problem but I suggest to go in the Android settings and uninstall Mozilla UnifiedNlp Backend (if not possible just disable it).
It isn't possible that it doesn't show up at all, maybe system apps are hidden by default; in this case there should be an option to show system apps. |
Thanks. It was my fault as I forgot to list system apps. I was able to disable it. |
Hello
I still have the location bug, even after latest version.
I'm on 0.3.4.240913.
Before this update, I had the bug, but only when opening some particular apps.
But now, after the update, it's more more frequent. With many apps, like brave or Firefox...
To Reproduce
Steps to reproduce the behavior:
Just open brave or Firefox but may other apps
Wait about 20-30 seconds.
Information that microg just crashed appears.
Here is a log if you can deal with it...
https://paste.crdroid.net/a0d4PK
Android 14.
Rom crdroid base on lineage os.
Thanks
The text was updated successfully, but these errors were encountered: