can't unistall system apps - Xiaomi Redmi Note 4 Questions & Answers

Hello. I've just updated to miui 9.5 global stable. I have also flashed twrp and rooted with superuser. The problem is that I can't unistall system apps with system app remover pro, althouth that with previous miui didn't have this problem. When I try to unistall any system app it says ''failed umistall''. I have also tried some other apps as root unistaller, but the problem remains. Please any help.

You could try adb, but be careful. You need to know what to uninstall and what to not uninstall. Download platform-tools, use a command prompt (cmd) to access the platform-tools folder, connect your phone via USB debugging, enter adb devices into the command prompt, and list all the packages with adb shell cmd pm list packages
All the apps on your phone will be listed as their package names. You can uninstall (or disable) these packages by entering pm uninstall -k --user 0 <name of package>
You can disable packages (and renable them if something goes wrong) with command pm disable <name of package>
Uninstalling works whether you're rooted or not. I think disable only works if you're rooted, but IDK.
https://www.reddit.com/r/Android/comments/6ftg72/want_to_completely_disableuninstall_those_pesky/
The problem with this method is, you need to know exactly what to uninstall or your ROM will get screwed up. Like UI will stop working. In that case, you have to factory reset and start again. So backup all your files before attempting this.

I'd use Titanium Backup that way you can initially backup the app before uninstalling and delete later once you're 100% sure you no longer need it (although save the backup to a Micro SD or PC anyway).
If you're going to use ADB then the PC Inspector app will help identify the correct app to uninstall.
Edit: Are you 100% sure you've got full root? Have you checked with something like Root Checker (joeykrim)?

Big Elf said:
Edit: Are you 100% sure you've got full root? Have you checked with something like Root Checker (joeykrim)?
Click to expand...
Click to collapse
Yes I have checked it with Root Checker.

Related

[GUIDE] Remove system apps/bloat - ADB | NO ROOT

Hello all,
I found a nice little guide, which works on most of the android phones - if you want to remove system apps, but do not want to root.
All credits to dosangst on Reddit!
Working ADB connection is required.
And as always, be careful what you remove! Removing critical apps will result in bootloop and you have to reflash firmware/ROM.
1. connect device, make sure ADB is working (check with CMD "adb devices")
2. go to shell, using CMD "adb shell"
3. get list of install packages using CMD "pm list packages" (use google to find out what does each package name means).
4. remove package using CMD "pm uninstall -k --user 0 $packagname" (e.g. pm uninstall -k --user 0 com.android.inputdevices)
5. if correctly typed, you receive message "SUCCESS"
Optionally a reboot might be required.
Thanks.
@davebugyi
thanks for this thread. working great.
Thanks bro
In fact , we can use some data erase software , of course ,we need to install it form its website, it isn't free
Thanks thanks thanks!!! Yeah
Thank's, working good on P9 too.
Could anyone please enlighten me (and all others who might wounder) which of the system apps that can be removed "safely"?
I went form a OnePlus X and got the P10 mainly cause I got it for 359$ / 313€ without contract but I really don´t like bloat apps. HiCare might be OK to have but Notes, Music, Videos, E-mail, Health, Gallery and possibly some more apps are just a waste of space since I prefer other apps for that. I guess I just could make a folder and put all Huawei bloat inside of it and just feel a little sick each time I scroll by it so it would be nice to remove as much of it as possible.
I would happily donate a beer to the person who comes up with a list of "safe" apps to remove.
SwedishBadger said:
Could anyone please enlighten me (and all others who might wounder) which of the system apps that can be removed "safely"?
I went form a OnePlus X and got the P10 mainly cause I got it for 359$ / 313€ without contract but I really don´t like bloat apps. HiCare might be OK to have but Notes, Music, Videos, E-mail, Health, Gallery and possibly some more apps are just a waste of space since I prefer other apps for that. I guess I just could make a folder and put all Huawei bloat inside of it and just feel a little sick each time I scroll by it so it would be nice to remove as much of it as possible.
Click to expand...
Click to collapse
I want to know too, what apps we can remove safely.
Is it safe to remove "Huawei Mobile Services"? Also, it is so weird that my P10 has facebook and facebook messenger as system app...
nice
Music, Videos, E-mail, Health, Gallery and possibly some more apps are just a waste of space since I prefer other apps for that. I guess I just could make a folder and put all Huawei bloat inside of it and just feel a little sick each time I scroll by it so it would be nice to remove as much of it as possible.
How is this possible?
Android mount /system as readonly when device boots. Due to that (seems) not possible to uninstall apps from /system. I think you are uninstalling apps that are installed on /data/app but not /system apps.
Apps installed on /data/app can be unistalled accessing to android settings -> apps -> [select a app] -> uninstall
davebugyi said:
Hello all,
I found a nice little guide, which works on most of the android phones - if you want to remove system apps, but do not want to root.
All credits to dosangst on Reddit!
Working ADB connection is required.
And as always, be careful what you remove! Removing critical apps will result in bootloop and you have to reflash firmware/ROM.
1. connect device, make sure ADB is working (check with CMD "adb devices")
2. go to shell, using CMD "adb shell"
3. get list of install packages using CMD "pm list packages" (use google to find out what does each package name means).
4. remove package using CMD "pm uninstall -k --user 0 $packagname" (e.g. pm uninstall -k --user 0 com.android.inputdevices)
5. if correctly typed, you receive message "SUCCESS"
Optionally a reboot might be required.
Click to expand...
Click to collapse
bartito said:
How is this possible?
Android mount /system as readonly when device boots. Due to that (seems) not possible to uninstall apps from /system. I think you are uninstalling apps that are installed on /data/app but not /system apps.
Apps installed on /data/app can be unistalled accessing to android settings -> apps -> [select a app] -> uninstall
Click to expand...
Click to collapse
I do not know the technical background, but probably it evokes some special user priviliges hidden in the system.
To be honest I never checked where are those apps located.
For example try to uninstall GBoard (vtr-l29, B151)- not possible, not even the disable function. With this method it could be removed.
The apps are only removed for the current user. Detailed info is here: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
I was practising this method months ago and I just found out that after I rooted my phone apparently the apps are still inside data folder. Or maybe something happened in between that I wasn't aware of.
Tried to remove com.android.calendar but no luck
OMG, thanks dude! :*
Thanks
Works great on Huawei Y5 201 7 also
any way to revert changes without a fact reset?
People if you don't like the original Huawei apps you probably don't like the default launcher. Why not just use for example nova launcher and hide all the apps that you don't use from launcher. Also you can change settings in advanced apps settings to use apps you prefer as default. Like gmail as main mail app, Google photos for gallery and so on.
64GB is enough to keep all those apps there.

How do i uninstall app market and game center from realme 6 4gb variant(without root)

I have tried uninstalling using adb, it was successful for other apps but these two apps do not seem to want to go away.
My device is on the Latest version of the global release of realme UI ,and powershell is throwing an error 'delete_failed_internal_error'
this is the command that I used - 'pm uninstall -k --user0 com.heytap.market'. I was able to successfully delete the browser and similar apps using this command. I tried searching for device administrator but but both of those apps are not device admin either.
PLEASE HELP.
I need to try out your method. By the way do you remember which stock apps you had removed without a system error?
ap6709 said:
I need to try out your method. By the way do you remember which stock apps you had removed without a system error?
Click to expand...
Click to collapse
Game space, browser, google duo, play movies, theme store and weather
Try app market and game center and do tell what happens.
I am always getting this message "Failure [DELETE_FAILED_INTERNAL_ERROR]" and hence I decided to wait for root access.
Ebebeeh said:
I have tried uninstalling using adb, it was successful for other apps but these two apps do not seem to want to go away.
My device is on the Latest version of the global release of realme UI ,and powershell is throwing an error 'delete_failed_internal_error'
this is the command that I used - 'pm uninstall -k --user0 com.heytap.market'. I was able to successfully delete the browser and similar apps using this command. I tried searching for device administrator but but both of those apps are not device admin either.
PLEASE HELP.
Click to expand...
Click to collapse
Can u please describe the procedure how u uninstalled the system apps because i also want to remove them.Sorry this reply is not related to your solution.
Game center cannot be deleted. I tried too on 6 pro. Doesn't work. That and Oroaming.
You can try using this command:
pm disable-user --user 0 com.heytap.market
will not work
Sakai121 said:
You can try using this command:
pm disable-user --user 0 com.heytap.market
Click to expand...
Click to collapse
it won't work
PS C:\adb> .\adb shell pm disable-user --user 0 com.heytap.market
Package com.heytap.market new state: default
No tap market on europea version
Using ADB to remove some bloatware apps
chinmay kumar said:
Can u please describe the procedure how u uninstalled the system apps because i also want to remove them.Sorry this reply is not related to your solution.
Click to expand...
Click to collapse
@chinmay kumar you can use adb to remove apps by using adb shell pm uninstall -k --user 0 <package-name>. This command will likely remove all packages that you want to remove. It does give error in some cases like while uninstalling game center on realme 6. This command can be used on many devices I have tried it on redmi note 7, realme 3 and realme 6.
Here is a guide you can follow - https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
and other one is https://fossbytes.com/delete-bloatware-from-android-preinstalled-apps/.
Here 0 represents the user id...so you may want to look on which user an app is installed. Refer to the guide for adb installation and more.
Sorry, I also couldn't uninstall app market, game center from my device.
But I uninstalled oroaming successfully.
pm uninstall –k ––user 0 com.redteamobile.roaming
Use this to remove oroaming.

Debloat?

Im not too sure I want to flash a custom rom. Im thinking I may want to just keep it stock and debloat it myself. Is there a list somewhere of what can be removed without messing up the phone?
I know flashing a custom rom is faster. But i went thru hell with this phone already and when i tried to put twrp on it it didnt work right. I just dont want to try flashing roms and end up with another bootloop or non working touch screen.
Id rather debloat by freezing in titanium backup and just add xposed to rooted stock (im already rooted)
Depends on what you mean by debloat. You can disable things, but because of the way these phones are, and I'm guessing all phones that come with Android 10, we can't really modify the system partition that way. Your best bet would be to flash a rom that doesn't include gapps, then flash pico gapps if you want the play store.
I've tried a few different things for uninstalling system apps and they all left me in a bootloop. Using apps like Titanium Backup, and even manually deleting files through twrp don't work. Freezing apps works fine.
This worked well for me, very easy
https://www.youtube.com/watch?v=MWafdmJPD2c
Kuzo !!!!! Thank you.
For those of you who don't speak Spanish. The uninstall command to using in ADB is:
adb shell pm uninstall -k --user 0 PASTE_PACKAGE_NAME_HERE
Use the command below to get a list of the installed package apps on your phone. You want to use the part that starts with com.some_package_name when using the command above to uninstall a app from your phone using adb.
adb shell pm list packages
This version of the same command should help you find the list of packages associated with the facebook app so you can nuke it from orbit.
adb shell pm list packages facebook
This worked on my 2020 Moto G Power phone and I hope it works for you. And yes I know most of this can be found by doing a search online.
I've just created a Magisk module for that, if you're still interested
[Magisk Debloat Module] Moto G Power Sofia(p)(r)
This is my Moto G Power debloating module. It works on the original ROM. It's still a work in progress, but I've been using it for a while on my Moto G Power 2020 (XT2041-4, US model) and it seems pretty stable. It may work for all Moto G8/G9 as...
forum.xda-developers.com

Question Debloating system apps

Has anybody tried the universal debloater script for this phone? Tried uninstalling certain system apps through lucky patcher and titanium backup but with no success. Also tried deleting the apps through root explorer but in vain. Does anyone know how to change the permission of drives or internal folder /files without softbricking the phone. Any help would be much appreciated
i did it trough ADB SHELL commands
look here:
Oneplus pure debloat
A side note before running the .bat file.....make surw you have a keyboard app to install as gboard is disabled....i recommend openboard from fdroid. UPDATE UPDATE UPDATE Few more too add to debloat com.qti.dpmserviceapp com.qti.diagservices...
forum.xda-developers.com
i only uninstalled the apps i didnt wanted on my phone. i looked up the package name and removed it
if you dont have root look here:
How to uninstall carrier/OEM bloatware without root access
If you want to get rid of carrier/OEM apps from your phone, here's how you can uninstall bloatware from your device without root access!
www.xda-developers.com
kkdamion said:
if you dont have root look here:
How to uninstall carrier/OEM bloatware without root access
If you want to get rid of carrier/OEM apps from your phone, here's how you can uninstall bloatware from your device without root access!
www.xda-developers.com
Click to expand...
Click to collapse
Rooted the phone as soon as I got it. The only thing that I could do was freeze the apps with lucky patcher. However, the adb command did worked like a charm. Thanks.
I always freeze them with Swift Backup. That works perfectly. The nice thing about freezing over deleting is that once you do an update, they keep being freezed. If you deleted them before, you have to start over and over again after every update.
Yeah also a good solution.

Installing android app (help)

Hi everyone,
I have bloatware app installed on my android head unit. I want upgrade it to newer version but it fails.
I tried to uninstall it by using different methods. All fails. Then I used universal android debloater it finally uninstalled. But seems not uninstalled completely. When I tried to install the same app manually fails. I tried (adb install file.apk) command and got:
Package signatures do not match the previously installed version.
When I go to apps> system apps, I can see the app there but it’s greyed out and got (not installed on this user)
I tried : adb uninstall [PACKAGE_NAME]
Also failed. Error ( deleted failed internal error)
Please help me to solve my problem. I really need to install the new version of the app.
Run SD Maid Pro - requires Android is rooted.
The app comes with several modules, including a so-called "corpse finder" that detects unused and temporary files and deletes them.
Ameer700 said:
Hi everyone,
I have bloatware app installed on my android head unit. I want upgrade it to newer version but it fails.
I tried to uninstall it by using different methods. All fails. Then I used universal android debloater it finally uninstalled. But seems not uninstalled completely. When I tried to install the same app manually fails. I tried (adb install file.apk) command and got:
Package signatures do not match the previously installed version.
When I go to apps> system apps, I can see the app there but it’s greyed out and got (not installed on this user)
I tried : adb uninstall [PACKAGE_NAME]
Also failed. Error ( deleted failed internal error)
Please help me to solve my problem. I really need to install the new version of the app.
Click to expand...
Click to collapse
Revive the app first
adb shell cmd package install-existing <package_name>
As for how to update idk... install lsposed and try signature check disable module
jwoegerbauer said:
Run SD Maid Pro - requires Android is rooted.
The app comes with several modules, including a so-called "corpse finder" that detects unused and temporary files and deletes them.
Click to expand...
Click to collapse
I tried to root my head unit but failed
Rstment ^m^ said:
Revive the app first
adb shell cmd package install-existing <package_name>
As for how to update idk... install lsposed and try signature check disable module
Click to expand...
Click to collapse
How to disable signature check?
I tried many ways but all failed, I hope if I can change the package name so I can install the app without any issues.

Categories

Resources