[Issue]: Detects microG on a deGoogled CalyxOS device
Hi, after updating to 2.1.0 the issue is still present.
Originally posted by @CristianKerr in #46
TL;DR:
- Device has deGoogled main profile
- microG is installed in work profile
- App detects the device as microG on main profile
@CristianKerr was v2.0.7 working fine for you?
I think I never had 2.0.7, I first installed the day I reported/commented the issue an it was already not working. I am not sure which version was it.
I just installed 2.0.7 and it is not working either.
I'm pretty sure it's not an issue with the app (it could be, but I'm pretty sure it's not). Could you please check if microG is somehow present but disabled in the main profile?
https://gitlab.com/CalyxOS/calyxos/-/issues/2972
Also, meant to send these replies: https://github.com/techlore/Plexus-app/issues/46#issuecomment-2608454149 here, not there
Yeah so it's still installed but disabled and therefore it will always be detected by other apps.
Could the check be changed to checked if it's disabled or not?
@StellarSand sorry I am away I will look into the packages as soon as possible.
This is why I think there could be somewhere option to change this, maybe even a little bit hidden (or with a text "I solemnly swear..." if you are afraid people would misuse this. I think that some trust in the community would be fine, we are people who install custom roms I think nobody has an interest in malicious acting. (Please don't take me wrong, I respect your choice ๐ I am just trying to argument a little bit here.)
The issue is if I send my reports now, it will be misrepresented. And I so want to share my experience with the application ๐
Could the check be changed to checked if it's disabled or not?
Yes I can make an exception for CalyxOS and treat disabled microG as deGoogled, but I'll wait for someone from CalyxOS team to reply to your issue first. Based on their response I'll make further changes in the app.
This is why I think there could be somewhere option to change this, maybe even a little bit hidden (or with a text "I solemnly swear..." if you are afraid people would misuse this. I think that some trust in the community would be fine, we are people who install custom roms I think nobody has an interest in malicious acting.
The reason Iโve stuck with auto-detection is that it has worked well across all ROMs (with the occasional times where it was incorrectly detecting due to my code mistakes, but was fixed as they happened), and this specific case with CalyxOS is the first time something like this has popped up.
I agree that the community is trustworthy, and I value that, but I believe itโs important to keep things as seamless, accurate & consistent as possible for everyone using the app. There could be other ways to handle this specific edge case (like treating disabled microG as deGoogled on CalyxOS), and Iโm definitely open to exploring them. If I hit a point where thereโs no better way to handle it, I will definitely consider adding an option to let users manually select the config.
Iโd appreciate your help in testing a theory. If both Plexus and APK Explorer & Editor are detecting microG in the main profile, itโs possible that other apps might also detect it, unless they specifically filter out disabled apps (microG apps in this case).
Could you try testing a few apps you know have issues on degoogled devices but work well with microG? Iโll test them on an actual degoogled device, and you can test on CalyxOS. Then, we can compare our results.
@StellarSand Ah yes, I am back, sorry forgot about it. Can you please tell me what exactly to do and check? Maybe write down your steps and I will copy them on my device.
I agree that the community is trustworthy, and I value that, but I believe itโs important to keep things as seamless, accurate & consistent as possible for everyone using the app. There could...
I understand, thank you for explanation ๐ I hope we will manage to find good solution ๐
btw these are all my disabled packages:
package:com.google.android.gsf package:com.android.vending package:app.seamlessupdate.client package:com.google.android.gms package:com.android.messaging
(which you already probably expected, but I wanted to confirm)
package:app.seamlessupdate.client
did you mean to disable the updater, you won't be getting updates
I didn't change this (not manually). And I am actually getting updates. But what I have (and its probably that) is that I don't have them auto install/restart. I always have notification about a new update and I click on a button there when I want to apply/restart.
It's really weird to me that it is disabled. This is the system updater and it isn't disabled on my install.
You should be able to enable automatic restarts on Settings > System > System updates > Automatic restart
But I don't want that, I want to have a control over when I apply the update. I did set it in that menu. What I wanted to say is that I didn't change it via adb.
That's fine, but still it shouldn't be disabled. I just tested and it's possible to disable it without ADB, anyway, it seems that disabling it hides that menu with those options.
@lucasmz-dev any news on this? Could you maybe include a workaround, maybe sone action hidden in settings if you are worried people would misuse it? And people can find about it from the issue. Or maybe if user tries to switch in ui you can show popup that would ask if they are sure... Maybe you can limit the option for calyxos users since you know it doesn't happen anywhere else? Thank you ๐
@CristianKerr that's more for stellar to decide, the bug I reported it seems like they're looking into it but it's a bit unclear what the plan is on the Calyx side, I can't quite tell Apparently completely hiding microG would cause some apps that would work not to
I see, got it, thank you. @StellarSand what do you think? ๐
Note: if you go in each microG component and manually Hide them, Plexus considers the device degoogled. I did notice that in the rollout of Android Auto, Calyx decided to go with hiding the app instead of the regular disable which seems nice. It seems that's what they're talking about in the issue.
It does leave a bit of a hole though, like on devices like the no longer supported Pixel 3s, shiftphone 6, etc. I'm also unsure what happens to people who had microG disabled beforehand, are they gonna migrate that, or...? I guess we'll have to wait and see
@lucasmz-dev what do you mean by hiding them? If I go to apps, I don't see any microG component there to be hidden. Or is it something that has to be done with adb? Thank you
It's complicated if you can't open their app info page in settings, but apps in CalyxOS can be hidden which is similar to disabling, and you do it on the app info page
What name of the apps am I looking for? "micro"(G) or "goog"(le) found nothing, I show all apps including the system apps:
Thank you
Unfortunately when you have a profile with microG disabled on the SetupWizard, they aren't shown.
Aha, ok, thank you.
I'll make an exception for CalyxOS & treat disabled microG as deGoogled. I have been preoccupied with some stuff of my own, so I'll resume development by the end of this month.
Hi @StellarSand, that is a good news, thank you! And thanks in general for working on such an amazing app ๐
Please test this APK and let me know if the issue is fixed now.
Just tried on another profile and it seems to result in it still thinking it has microG