pm卸载-K -user 0失败[delete_failed_user_rentered]

发布于 2025-01-24 12:23:52 字数 778 浏览 0 评论 0 原文

我一直在按照 https://www.xda------www.xda----- developers.com/disable-system-app-bloatware-andy/ 要删除Bloatware(实际上杀死了FCM并封锁通知。

但是我遇到了故障[DELETE_FAILED_USER_REDRACTIADS]。我已经检查了当前的用户到AM Get-Get-Get-Get-Get-Get-Get-0是0当前使用者,据我所知,它是root用户。 那么,为什么卸载失败?任何日志还是进一步的故障排除提示?非常感谢,因为这导致手机无法正常运行。

PD2170:/ $ pm uninstall -k --user 0 com.iqoo.powersaving
Success
PD2170:/ $ pm list packages | grep pem
package:com.vivo.pem
PD2170:/ $ pm uninstall -k --user 0 com.vivo.pem
Success
PD2170:/ $ pm list packages | grep abe
package:com.vivo.abe
PD2170:/ $ pm uninstall -k --user 0 com.vivo.abe
Failure [DELETE_FAILED_USER_RESTRICTED]

I have been following the instructions from https://www.xda-developers.com/disable-system-app-bloatware-android/ to remove bloatware (that actually kills FCM and blocks notifications.

However I encountered Failure [DELETE_FAILED_USER_RESTRICTED]. I have checked the current user is 0 by am get-current-user, and as far as i understand it is the root user.
So why is the uninstallation failed? Any logs or further troubleshooting tips? Thanks very much as this is causing the phone not functioning properly.

PD2170:/ $ pm uninstall -k --user 0 com.iqoo.powersaving
Success
PD2170:/ $ pm list packages | grep pem
package:com.vivo.pem
PD2170:/ $ pm uninstall -k --user 0 com.vivo.pem
Success
PD2170:/ $ pm list packages | grep abe
package:com.vivo.abe
PD2170:/ $ pm uninstall -k --user 0 com.vivo.abe
Failure [DELETE_FAILED_USER_RESTRICTED]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

何以心动 2025-01-31 12:23:52

如果常规ADB禁用/卸载命令不起作用,则 -

对于Android 13尝试:

adb shell service call package 131 s16 com.abc.xyz i32 0 i32 0

对于Android 12尝试:

adb shell service call package 134 s16 com.abc.xyz i32 0 i32 0

说明:这是在线上调用函数:134(请参见下面),并将三个参数传递给函数:
com.abc.xyz(数据类型:S16)
0(数据类型:I32)
0(数据类型:I32)

PS:在Vivo/iQOO手机上进行了测试。对于其他品牌,卸载功能的命令号(131/134)取决于解码&将framework.jar文件分解/system/framework/framework.jar

pps:com.vivo.abe& com.vivo.pushservice将不会使用此方法卸载,但是可以删除系统膨胀软件的其余部分。

来源:

If the regular adb disable/uninstall commands do not work then-

For Android 13 try:

adb shell service call package 131 s16 com.abc.xyz i32 0 i32 0

For Android 12 try:

adb shell service call package 134 s16 com.abc.xyz i32 0 i32 0

Explanation: This is calling the function at line:134 (see more below) and passing three arguments to the function:
com.abc.xyz (datatype: s16)
0 (datatype: i32)
0 (datatype: i32)

PS: This is tested on vivo/iqoo phones. For other brands the command number (131/134) for the uninstall function depends on decoding & decompiling the framework.jar file in /system/framework/framework.jar

PPS: Also com.vivo.abe & com.vivo.pushservice will not uninstall using this method, however the rest of the system bloatware can be removed.

Source: https://dtf.ru/u/523140-danila-romanov/1154461-eshche-odin-sposob-udaleniya-predustanovlennyh-prilozheniy-android-12

脱离于你 2025-01-31 12:23:52

某些应用只能通过根系设备上的root删除。
您可以尝试禁用禁用,而不是卸载该应用程序以获取类似结果:

pm disable-user --user 0 com.vivo.abe

您可以在此处找到完整的指南: https://www.xda-developers.com/disable-system-app-bloatware-android/

Some apps can only be removed by root on a rooted device.
You can try disabling instead of uninstalling the app for similar results:

pm disable-user --user 0 com.vivo.abe

You can find a full guide here: https://www.xda-developers.com/disable-system-app-bloatware-android/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文