无需植根设备即可卸载/安装系统应用程序

AKr*_*ell 2 android root

有没有办法在不植根设备的情况下将 apk 推送到 system/app 文件夹?

我找到了几种在有 root 权限的设备上执行此操作的方法,但我正在寻找一种无需先将设备 root 权限即可执行此操作的方法。

如果它有任何区别,我想在三星 S4 上执行此操作并使用 twrp 作为自定义恢复。

PS:不幸的是,首先生根和取消生根也不是一种选择。

cha*_*ger 5

CAN卸载生根:

要卸载应用程序:

adb shell pm uninstall -k --user 0 app--package--name--here
Run Code Online (Sandbox Code Playgroud)

例如,卸载youtube:

adb shell pm uninstall -k --user 0 com.google.android.youtube
Run Code Online (Sandbox Code Playgroud)

要按包名称列出应用程序:

adb shell pm list packages
Run Code Online (Sandbox Code Playgroud)

仅列出系统包名称:

adb shell pm list packages -s
Run Code Online (Sandbox Code Playgroud)

以下是您可能想要卸载的系统应用程序列表:

adb shell pm uninstall -k --user 0 com.android.chrome &&
adb shell pm uninstall -k --user 0 com.htc.sense.browser &&
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox &&
adb shell pm uninstall -k --user 0 com.htc.android.voicedictation &&
adb shell pm uninstall -k --user 0 com.htc.sense.socialnetwork.facebook &&
adb shell pm uninstall -k --user 0 com.android.providers.downloads &&
adb shell pm uninstall -k --user 0 com.aiqidi.nemo &&
adb shell pm uninstall -k --user 0  com.htc.sense.socialnetwork.googleplus &&
adb shell pm uninstall -k --user 0 com.htc.android.voicedictation &&
adb shell pm uninstall -k --user 0 com.htc.sense.linkedin &&
adb shell pm uninstall -k --user 0 com.google.android.talk &&
adb shell pm uninstall -k --user 0 com.google.android.apps.books &&
adb shell pm uninstall -k --user 0 com.htc.FMRadioWidget &&
adb shell pm uninstall -k --user 0 com.htc.fmservice &&
adb shell pm uninstall -k --user 0 com.htc.Weather &&
adb shell pm uninstall -k --user 0 com.google.android.play.games &&
adb shell pm uninstall -k --user 0 com.google.android.apps.magazines
Run Code Online (Sandbox Code Playgroud)

  • 那安装呢? (3认同)