Seeking some help with completely removing syncthing-fork.

I had originally installed syncthing-fork through f-droid before discovering obtainium. Unfortunately even after removing syncthing from my main and user profiles (including all saved data), I get an error when trying to use the github version.

"Downloaded package ID does not match existing ID - com.github.catfriend1.syncthingandroid [Syncthing-Fork]"

I've tried installing from the obtainium site link for syncthing-fork, and github links directly, but it makes no difference. It seems there is some cruft leftover that was not removed when uninstalling. I've also tried uninstalling from both the OS and via obtainium with the same result.

I asked for help in the discord channel and it was suggested that I try to uninstall via adb, but I have issues there as well.

$ adb shell pm list packages
...
package:com.github.catfriend1.syncthingandroid
...

$ adb uninstall package com.github.catfriend1.syncthingandroid
Failure [INSTALL_FAILED_INVALID_APK: Missing existing base package]

I'm not sure what else to try.

Solved

I was using the App Config that is posted on obtainium's website, but apparently it doesn't consider my edge case.

What ultimately worked was to uninstall syncthing-fork from my owner profile via settings > apps > syncthing-fork, then using the 3 dot menu to select uninstall for all users.

Then I manually added syncthing-fork to obtainium using the release page link, then disabled the very last option. Try inferring App ID from source code

https://i.ibb.co/B4GyvkG/ksnip-20241224-081951.jpg
(Image embedding doesn't appear to work here)

I'm still uncertain why this worked because it already had the GitHub release selected by default instead of the fdroid release, but I've been trying for days doing everything I could think of and this was the only successful attempt. Hopefully this was just an anomaly.