安装应用程序更新而不卸载它

Install application update without uninstalling it

所以我在 phone 上安装了一个寄生虫应用程序,它阻止设备启动到引导加载程序和其他一些东西。它还被设置为设备管理员,因此无法卸载(停用管理员权限也是不可能的)。所以为了解决这个问题,我反编译了这个应用程序的 APK 并更改了代码,这样我就可以停用管理员权限。不幸的是,无法在现有应用程序上安装重新编译的 APK。

Adb 错误:

INSTALL_FAILED_UPDATE_INCOMPATIBLE

那么有没有办法强制安装而不卸载呢?或者,如果我的方法有误,您能否建议我如何摆脱这个烦人的应用程序。

Unfortunately recompiled APK can not be installed over the existing application.

否,因为您无权访问用于签署已安装的寄生虫 APK 包的旧密钥。

如果您的设备已获得 root 权限,那么您可以尝试像 TWRP 一样启动恢复,小心 与系统分区 removing/editing 文件混淆以防止这种特殊情况应用程序从启动(应该足以简单地删除其文件夹)。

it blocks the device from booting to bootloader

它是怎么做到的?大多数设备都提供某些组合键(即保持音量增大 + 电源)以其他模式启动,因此除非您将其设置在非常低的级别,否则您可以尝试这种方式。

So to fix this problem I decompiled the APK

如果可能的话,我会先备份我的数据(如果有任何你想备份的话),然后简单地将设备恢复出厂设置。可能会节省你一些时间。

编辑

Idk how exactly it blocks the bootloader but it does (holding power, home, volume down just restarts the device)

您可以随时尝试使用 adb:

重启到 recovery/bootloader
adb reboot [bootloader|recovery]
            - reboots the device, optionally into the bootloader or recovery program.