Hi I'm new to this forum and this is my first post :),

I uninstalled syncthing fork, but now it is still visible in the setting -> apps list as com.github.catfriend1.syncthingandroid - but only when showing system apps - and it says 'not installed for this user'.
I have only the owner user profile. I wanted to reinstall syncthing, but can't, since it is give me the error 'conflict [syncthing-android]', which means that it is already installed I guess.
when I open the app Info Page, everything is grayed out.
I use Obtanium for managing this app, if thats of any relevance.

Also I think I had problems updating the app which is why I uninstalled it in the first place, so maybe there was a problem already before the uninstall, but I'm not sure about this. I only realized the problem, once I was trying to reinstall the app.

Does anyone have an Idea how to get rid of this leftover, so I can reinstall the app?
Or has anyone every experienced a similar problem?

Thanks in advance for your suggestions

    doublefree You mean in the app info page? I don't see any a three dot menu there in the upper right corner in any of the apps.

      doublefree There should be an three dot menu in the upper right corner with the option to uninstall for all users.

      Berzog says they only have owner profile. This won't apply to them.

      berzog
      Have you restarted your phone since uninstalling the app?

        berzog Do you have a work profile or are you using private space? If so, have you removed the app from either or both of those?

        I do neither have a work profile nor am I using private space,

        8 days later

        I'm in a similar boat with these two apps. (Obtainium & Syncthing-Fork)
        https://discuss.grapheneos.org/d/18359-cant-remove-app

        I was directed here and tried this remedy by reinstalling my f-droid version (via obtainium) to the owner and user profiles like I had it originally, then used the "uninstall for all users" method.
        Then rebooted.
        Still no joy.

        I originally uninstalled from my user profile, then removed from owner profile using obtainium's options to remove from obtainium and device. That of course didn't work.

        I can't find any leftover references to synchthing in the filesystem, so I wonder if it's an obtainium issue?

        In the code I found this, but I'm not a programmer to follow through it all. Does this indicate that the default is to not allow an ID change? I didn't see anything in the settings concerning it.

            var isTempIdBool = isTempId(app);
            if (app.id != newInfo.packageName) {
              if (apps[app.id] != null && !isTempIdBool && !app.allowIdChange) {
                throw IDChangedError(newInfo.packageName!);
              }
              var idChangeWasAllowed = app.allowIdChange;
              app.allowIdChange = false;

        Thanks for any help!

          berzog
          No, not there.
          Please go to the preferences menu and select “Apps”.
          Or use the search field on top of that and type in “Apps”.
          Then you get listed all apps, select the problematic app and then tap on the dot menu in the upper right corner.
          Select “Uninstall for all users”.
          It may take a minute for the app list to refresh.
          Thereafter the unwanted app will disappear.

          Otherwise: reboot your GrapheneOS and check again.
          Good luck!

            Does anyone have any clues for me since I've already followed the instructions given to @berzog ?

            Eagle_Owl

            Thank you for you explanation.
            But if I follow your instruction I end up in the app info page and there is no dot menu.

            gaffka

            in settings -> apps, have you tried "show system" in the three dot menu or using the search function?
            For me the left over app only shows than, it is not visible in the normal app list.

            If I remember correctly, i uninstalled syncthing-fork also with obtanium. Interesting that we end up with a similar issue especially with this app though I can't think of a reason for this.

            But also I don't understand the error you get. It says the package id of the downloaded version is not the same as the existing id: I thought the id is the identifier for apps, so how is it possible for the system to think it is the same app, but not the same id?

            Partially answering my own question:
            in a comment above the code you postet it sais:
            // If the APK package ID is different from the App ID, it is either new (using a placeholder ID) or the ID has changed
            // The former case should be handled (give the App its real ID), the latter is a security issue

            though i don't know how this placeholder id works and for what purpose it may be used.

              berzog
              Thanks for the reply.
              I had not shown system apps (completely forgot about that option), but still no joy.

              I had started my fresh GOS install using the fdroid app before learning about obtainium. Syncthing-fork was one of many apps I had installed via fdroid into my owner profile, and then shared into my user profile. I went down the list one by one uninstalling my fdroid version, then installing via obtainium. As far as I know, syncthing has been the only one with this issue.

              While I had tried uninstalling by various means (through obtainium, app menu/all users, etc..), yesterday I even tried reinstalling fdroid and syncthing via f-droid, and uninstalled via fdroid this time, but had the same result.

              I've been holding up any further work on migrating to GOS until I had this fixed, but it seems I may be stuck using the fdroid version without any further help.

                Eagle_Owl
                I guess you're never how you are coming off until you have some replies, but I was never angry. The entire point of my post was so I could move away from fdroid, which seems to be the intent of those videos.

                Unfortunately without any support on how to fix the issue, I've had to use the fdroid repository via obtainium so I could continue to onboard GOS. Syncthing-fork is my gateway between my old phone and between my profiles on GOS, so I couldn't wait for help any longer. At least I'm not using the fdoid app, just its repository link, so I should at least get auto update notifications. Just not as soon as I would have via github.

                Success!

                The link @zzz posted suggested something I hadn't tried before which was clearing obtainium's cache. (was nearly 3.5gb btw) Unfortunately that did not work either, but since I lost all my settings once again I decided to poke it with a stick a little longer.

                I posted to my original thread since I don't believe it to be relevant to @berzog's issue. Thanks @zzz for inspiring me to not give up yet.

                https://discuss.grapheneos.org/d/18359-cant-remove-app

                • zzz likes this.