Hello, I recently starting degoogling a motorola razr 50 and I overdid it.

My approach was to use ‘adb’ and uninstall packages. I started with the obvious ones, and then I started going a bit too far. I realise now I should have taken a backup of the apk to restore it after. Well, too late now.

I removed com.android.dialer and com.android.phone. I thought i would not need them since i installed some Fossify app alternatives. My guess is that they are more libraries than apps, and still needed by the Fossify apps (messages and phone). I’m not able now to send/receive calls/sms, and I’m wondering if I could download the apk from somewhere and restore it.

I tried to get some from the interwebs, but I get the following exception when trying to reinstall them: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Existing package com.android.dialer signatures do not match newer version; ignoring!]

The last resort would be to do a factory reset, but I would prefer to avoid it.

Anyone knows how I could fix it?

Thanks

  • youmaynotknow@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    At this point, unfortunately, all you’re left with is a factory reset. The way Android is built today just won’t allow you to reinstall modules and libraries unless its6from the official channel.

    • TheTechnician27@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Dude, seriously? Don’t tell a user to do a factory reset unless you actually know what you’re talking about jfc.

      • youmaynotknow@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        No idea what “jfc” means, but you’re right. Just because I compulsively backup so for me a factory reset is the easiest “fix-all”, it doesn’t mean everyone else functions like me. I spoke out of place, and I’m sorry. Thanks for pointing it out, I’ll be more careful moving forward.

    • superkret@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      The apps are still untouched on the phone.
      They’re just unavailable for the standard user.
      You can reinstall them with adb.

  • noodlejetski@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 months ago

    the apps aren’t completely uninstalled from your device, only from the current user account. according to this stackexchange thread running

    adb shell cmd package install-existing [package_name]

    should bring the “removed” package back.

    • JuanKao@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      oh… nice. I managed to restore it and it works. Thanks a lot!!

      • notanapple@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        I recommend using App Manager in the future. It has a nice interface for disabling apps, tells you which apps are bloatware, and uses ADB in the backend.

        • JuanKao@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          So far I’ve been risking it a bit on my own. I broke a few things already… and then had to restore them. I don’t know if there is an easy way of seeing what can be deleted and what not. I’ll have a look at App Manager, thanks.