Delete system apps from android using adb? - General Questions and Answers

I am having a problem to fully delete an system app on android.
I tried to delete the Netflix app on an android car radio. Because the app was already pre-installed I think it´s a system app. Then I tried to remove it using adb with powershell. It said that the app was removed, but was still visible in the system processes on the radio. Any ideas except rooting the system?

You can't fully delete system apps without root. You can disable them only

TheMadScientist said:
You can't fully delete system apps without root. You can disable them only
Click to expand...
Click to collapse
Thanks. So I need to root my device and remove the app using su rights?

NettyExploit said:
Thanks. So I need to root my device and remove the app using su rights?
Click to expand...
Click to collapse
That or magisk. Non root only allows for adb pm disable. They are still on the device. Just not running

TheMadScientist said:
That or magisk. Non root only allows for adb pm disable. They are still on the device. Just not running
Click to expand...
Click to collapse
Okay, that´s the reason it says Success after removing the app.
Just for my understanding magisk just root the system and then I have to remove the app manual or is there an option within the app to remove system apps

NettyExploit said:
Okay, that´s the reason it says Success after removing the app.
Just for my understanding magisk just root the system and then I have to remove the app manual or is there an option within the app to remove system apps
Click to expand...
Click to collapse
Either a system app remover app. Or if you know what your doing Amy root file explorer. You can individually remove each apk and coincided files

TheMadScientist said:
Either a system app remover app. Or if you know what your doing Amy root file explorer. You can individually remove each apk and coincided files
Click to expand...
Click to collapse
Thanks, any recommendations for an system app remover?

System apps are those that belong to Android, means Android will not properly work if deleted. Hence not stupidly delete apps stored in partition /system.

jwoegerbauer said:
System apps are those that belong to Android, means Android will not properly work if deleted. Hence not stupidly delete apps stored in partition /system.
Click to expand...
Click to collapse
Netflix belongs to Android?

NettyExploit said:
Netflix belongs to Android?
Click to expand...
Click to collapse
NO, by type it's an ordinary user app installed as system-privileged app, hence it's located in /system/priv-app, the partition OEMs store the bloatware.

jwoegerbauer said:
NO, by type it's an ordinary user app installed as system-privileged app, hence it's located in /system/priv-app.
Click to expand...
Click to collapse
Okay, but in this case it´s not system critical to remove it?

All apps in /system/priv-app can safely get deleted / removed, so also Netflix.

jwoegerbauer said:
All apps in /system/priv-app can safely get deleted / removed, so also Netflix.
Click to expand...
Click to collapse
Thank you for that hint. Do you got any idea for an app that removes such apps?

Related

[Q] Uninstall system apps without root

can you make an app that can remove system apps without root
Baljinder25369 said:
can you make an app that can remove system apps without root
Click to expand...
Click to collapse
This will never happen........
In all new devices you can disable allot system apps.

Cant delete system apps

Hello, i have s7 flat with android 8.0 rooted and tested with root checker and twrp, but i cant uninstall any system app, why?
jimakos75 said:
Hello, i have s7 flat with android 8.0 rooted and tested with root checker and twrp, but i cant uninstall any system app, why?
Click to expand...
Click to collapse
Because system apps don't uninstall like normal apps they're rooted into the system image for a good reason. You can't just start deleting left right and centre you need to understand what you can and cannot delete first.
When you've done this just locate and delete the .apk file of that app.
cooltt said:
Because system apps don't uninstall like normal apps they're rooted into the system image for a good reason. You can't just start deleting left right and centre you need to understand what you can and cannot delete first.
When you've done this just locate and delete the .apk file of that app.
Click to expand...
Click to collapse
And how can i find the apk i want to delete? These programs, i think is doing the work, like root uninstaller.
jimakos75 said:
Hello, i have s7 flat with android 8.0 rooted and tested with root checker and twrp, but i cant uninstall any system app, why?
Click to expand...
Click to collapse
I had the same issue , but i used this https://play.google.com/store/apps/details?id=com.wakasoftware.rootuninstaller and it worked
kpwnApps said:
I had the same issue , but i used this https://play.google.com/store/apps/details?id=com.wakasoftware.rootuninstaller and it worked
Click to expand...
Click to collapse
Unfortunately i still have the problem with that app
jimakos75 said:
Unfortunately i still have the problem with that app
Click to expand...
Click to collapse
use TiB (titanium backup) and uninstall whatever you want, pro version will let you freeze apps which results in the same thing

How to uninstall system apps?

Hey guys,
I'm on OOS, rooted with TWRP and I want to uninstall Duo, Youtube Music, Drive and all this other pre-installed crap-apps.
TitaniumBackup does not work anymore (it fails to locate the apks when you click "uninstall") and the often quoted "uninstall system apps with adb"-method just removes the app from user space while it actually remains installed on the device in the root directory and keeps wasting space. So this method does not actually remove apps, it just sorta deactivates them in another way.
So, is there any known method to remove system apps?
Read up on how to use adb commands.. quite simple..
pm uninstall --user 0 package.name.example
You do need a laptop, it you don't have one this app is great... https://play.google.com/store/apps/details?id=com.draco.ladb
lilbrat said:
Read up on how to use adb commands.. quite simple..
pm uninstall --user 0 package.name.example
You do need a laptop, it you don't have one this app is great... https://play.google.com/store/apps/details?id=com.draco.ladb
Click to expand...
Click to collapse
it is not for android 7 (i'm using android 7)
ai.Sanaul said:
it is not for android 7 (i'm using android 7)
Click to expand...
Click to collapse
ADB still works .. or since your on 7 try this https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp.pro.
Wait you weren't the original poster... But since he has TWRP installed he could just use the file manager and delete the files from there..
lilbrat said:
ADB still works .. or since your on 7 try this https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp.pro.
Wait you weren't the original poster... But since he has TWRP installed he could just use the file manager and delete the files from there..
Click to expand...
Click to collapse
and this is an alternative of Bloatware Remover app
but thanks for help i will try
lilbrat said:
Read up on how to use adb commands.. quite simple..
pm uninstall --user 0 package.name.example
You do need a laptop, it you don't have one this app is great... https://play.google.com/store/apps/details?id=com.draco.ladb
Click to expand...
Click to collapse
As I've already written.. It does NOT really actually remove the apps from the device:
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
[...] applications truly aren’t fully uninstalled from your device. They are just being uninstalled for the current user (user 0 is the default/main user of the phone). [...]
Click to expand...
Click to collapse
lilbrat said:
ADB still works .. or since your on 7 try this https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp.pro.
Wait you weren't the original poster... But since he has TWRP installed he could just use the file manager and delete the files from there..
Click to expand...
Click to collapse
Thanks, but according to my knowledge this cannot work either since the app does not require root access. And you cannot uninstall system apps without having root. It probably just follows an adb-like approach.
lilbrat said:
ADB still works .. or since your on 7 try this https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp.pro.
Wait you weren't the original poster... But since he has TWRP installed he could just use the file manager and delete the files from there..
Click to expand...
Click to collapse
That TWRP method sounds promising. Do you happen to know if all app related files are in one place or are they spread accross several folders?
haitower said:
That TWRP method sounds promising. Do you happen to know if all app related files are in one place or are they spread accross several folders?
Click to expand...
Click to collapse
Now with all due respect, you asked for a suggestion on how to remove the apps, they were given to you, you used every reason why not to use them... Have you even tried the various methods or just "read" about them ? Trying out the methods given then verifying through TWRP file manager would be nice learning experience once you "read " up and tinker with TWRP's file manager and different file locations...
But please make a backup before you start and have necessary programs handy in case you remove the wrong file... as it can really ruin your day..
lilbrat said:
Now with all due respect, you asked for a suggestion on how to remove the apps, they were given to you, you used every reason why not to use them... Have you even tried the various methods or just "read" about them ? Trying out the methods given then verifying through TWRP file manager would be nice learning experience once you "read " up and tinker with TWRP's file manager and different file locations...
Click to expand...
Click to collapse
It is simply NOT possible to uninstall system apps without root access. Thats why neither the adb method nor the other suggested app from questionable source can even work in theory. If it were otherwise, you would have found a major flaw in the android system, which, with all due respect, I doubt a tiny little bit.
You could also suggest to swim in a muddy pond for two days and look if this removed the system apps. But I hope you understand that I won't try that approach either because I prefer to not waste my time.
But thanks anyway for the TWRP idea, I'll look into that.
@haitower here's a Magisk module I use to remove a fair number of system apps. See the REPLACE variable in customize.sh
Use the magisk module "debloater". When you are done removing apps (don't really remove) just export the file. It will make text file in your storage. Then if you want to re-install any of the apps just reopen the app and import the file.
haitower said:
Hey guys,
I'm on OOS, rooted with TWRP and I want to uninstall Duo, Youtube Music, Drive and all this other pre-installed crap-apps.
TitaniumBackup does not work anymore (it fails to locate the apks when you click "uninstall") and the often quoted "uninstall system apps with adb"-method just removes the app from user space while it actually remains installed on the device in the root directory and keeps wasting space. So this method does not actually remove apps, it just sorta deactivates them in another way.
So, is there any known method to remove system apps?
Click to expand...
Click to collapse
Maybe @BillGoss will help to clarify things a bit.
As far as i understand. On 8T (or better to say from Android 10 and latter) /system partition is read only and furthermore is located inside Super partition.
I suppose even with root access you will not be able to directly uninstall system apps without remounting /system/ as writable.
From Magisk manual we can learn that:
Since / is read-only on system-as-root devices, Magisk provides an overlay system to enable developers to replace files in rootdir or add new *.rc scripts. This feature is designed mostly for custom kernel developers.
Click to expand...
Click to collapse
For each module, the folder $MODPATH/system will be recursively merged into the real /system; that is: existing files in the real system will be replaced by the one in modules’ system, and new files in modules’ system will be added to the real system.
Click to expand...
Click to collapse
So as Magisk overlays modules /system folder to actual system with debloater module blank files android "thinks" those files specified in MODPATH/system don't exist.
Though a presume, in reality they are there.
So is magisk solutions really delete files from /system and not just "hide" them from Android?
haitower said:
Hey guys,
I'm on OOS, rooted with TWRP and I want to uninstall Duo, Youtube Music, Drive and all this other pre-installed crap-apps.
TitaniumBackup does not work anymore (it fails to locate the apks when you click "uninstall") and the often quoted "uninstall system apps with adb",method just removes the app from user space while it actually remains installed on the device in the root directory and keeps wasting space. So this method does not actually remove apps, it just sorta deactivates them in another way.
So, is there any known method to remove system apps?
Click to expand...
Click to collapse
For Xiaomi phones, first install the “Hidden Settings for MIUI” app.
1. Open “Hidden Settings for MIUI.”
2. Go to “Manage applications” and find the application you want to disable.
3. Tap on the “Disable” button.
BillGoss said:
@haitower here's a Magisk module I use to remove a fair number of system apps. See the REPLACE variable in customize.sh
Click to expand...
Click to collapse
Thank you, very reasonable and necessary.

How install com.android.documentsui?

Hello, I have bgi problem. I have root on OP 8 Pro and use apk 3Call-in-one Toolbox and unistall "Files: ( com.android.documentsui ), now I can't add attachments in applications from memory right now. I cant istall this pacakge Any ideas whats now?
Any ideas?
The DocumentsUI module controls access to specific files for components that handle document permissions such as attaching a file to an email. This module is updatable, meaning it can receive updates to functionality outside of the normal Android release cycle.
Target Card Balance Now
Koepp said:
The DocumentsUI module controls access to specific files for components that handle document permissions such as attaching a file to an email. This module is updatable, meaning it can receive updates to functionality outside of the normal Android release cycle.
Click to expand...
Click to collapse
OK, how install now? I delete this app..
Solved.
zioloiso said:
Solved.
Click to expand...
Click to collapse
How?
Ddn221 said:
How?
Click to expand...
Click to collapse
I unistal com.android.documentsui this app 3C all-in-one toolbox and this app 3c restore.
zioloiso said:
I unistal com.android.documentsui this app 3C all-in-one toolbox and this app 3c restore.
Click to expand...
Click to collapse
Sorry but,i didnt understand.can you more clear?
Ddn221 said:
Sorry but,i didnt understand.can you more clear?
Click to expand...
Click to collapse
Maybe explain what you want to do.
zioloiso said:
Maybe explain what you want to do.
Click to expand...
Click to collapse
I had uninstalled com.android.documentsui from my redmi notev10 and now i can't install it back even with root access.
Ddn221 said:
I had uninstalled com.android.documentsui from my redmi notev10 and now i can't install it back even with root access.
Click to expand...
Click to collapse
How did you do it? (Method)
zioloiso said:
How did you do it? (Method)
Click to expand...
Click to collapse
Using an app called" System app safe remover". never mind i solved my problem by flashing recovery ota.thankyou for trying help me.
You have to root for this
1. Install any root browser (x-plorer , cx file manager etc.
2. open /system/priv-app/DocumentsUIGoogle
3.copy all apk files to any internel storage folder
4. Install all these apk files at once using any split apk installer ( Recommended -com.smartpack.packagemanager )
download link - https://play.google.com/store/apps/details?id=com.smartpack.packagemanager
5.Reboot
Note :- if you are unable to find these apk files then use attached files
I had uninstalled system apps using ladb application in mobile but now the problem is that this file is com.google.docomentsui it was also uninstalled and now there is a lot of trouble Give some solution so that we can reinstall this app without pc and without root.
himanshukonwar20 said:
I had uninstalled system apps using ladb application in mobile but now the problem is that this file is com.google.docomentsui it was also uninstalled and now there is a lot of trouble Give some solution so that we can reinstall this app without pc and without root.
Click to expand...
Click to collapse
With out root its not possible or try this command https://community.e.foundation/t/i-made-a-misstake-com-android-documentsui/27663

Question Can't remove system apps

I'm trying to run vanced YouTube on my pixel 7 Pro. Vanced manager manager still working on my op9pro...but I need to delete all remnants of the stock YouTube app from my device.
I'm unlocked and rooted. Titanium backup shows the error "can't locate APK". I'm trying to do it manually with root explorer. The YouTube and YouTube music APKs are located in /product/app/YouTube. I cannot delete these files and root explorer won't allow me to change the permissions of these folders. I also tried adb but that just hides them, I need to remove any and all files associated with the stock YouTube system app.
Anyone have any ideas? I'm not looking to hide these apps, I'm looking to permanently remove them from the phone.
Pain-N-Panic said:
I'm trying to run vanced YouTube on my pixel 7 Pro. Vanced manager manager still working on my op9pro...but I need to delete all remnants of the stock YouTube app from my device.
I'm unlocked and rooted. Titanium backup shows the error "can't locate APK". I'm trying to do it manually with root explorer. The YouTube and YouTube music APKs are located in /product/app/YouTube. I cannot delete these files and root explorer won't allow me to change the permissions of these folders. I also tried adb but that just hides them, I need to remove any and all files associated with the stock YouTube system app.
Anyone have any ideas? I'm not looking to hide these apps, I'm looking to permanently remove them from the phone.
Click to expand...
Click to collapse
[SOLVED] Revanced working?
Did anyone try installing revanced manager on the P7P? Get it working? I installed the manager and it doesn't seem to see when I patch the youtube apk. It goes through the process of patching the youtube apk. I installed using non-root methods...
forum.xda-developers.com
@rester555, @EtherealRemnant, and some others got it working well enough....and I don't think they had to go through the trouble of deleting "all remnants" of the stock app. You might be used to a bit of an outdated method or particular to your previous device method because I believe it's been a long time since you had to remove the stock app to get it to work -- at the very least on my Pixel 5 A11 rooted, I used Vanced manager and it would merely overwrite/replace my stock app; I just had to make sure to turn off auto-update as Google would insist on re-installing/updating it back to stock...
In any case, the thread below is where a bunch of them got it to work well enough on the P7P (without the need to remove the stock app, i believe)
[SOLVED] Revanced working?
Did anyone try installing revanced manager on the P7P? Get it working? I installed the manager and it doesn't seem to see when I patch the youtube apk. It goes through the process of patching the youtube apk. I installed using non-root methods...
forum.xda-developers.com
EDIT
Sorry for re-iterating what netgar posted. He got his post in before while I was still drafting mine...
Just disable the app. You can do it natively. Go like you're going to uninstall the app and you'll see disable.
I did disable it. Only problem now is I can't install an older YouTube APK from APK mirror in order to patch it with revanced lol. Phone is giving me an error when I try to install an older version of YouTube.
Pain-N-Panic said:
I did disable it. Only problem now is I can't install an older YouTube APK from APK mirror in order to patch it with revanced lol. Phone is giving me an error when I try to install an older version of YouTube.
Click to expand...
Click to collapse
I literally installed ReVanced yesterday. All I did was disable YouTube, build with ReVanced Builder, install micro G, and install the patched APK.
EtherealRemnant said:
I literally installed ReVanced yesterday. All I did was disable YouTube, build with ReVanced Builder, install micro G, and install the patched APK.
Click to expand...
Click to collapse
I'm not using revanced builder. I'm trying to use the manager app on my phone. Maybe I'll try the builder instead
EtherealRemnant said:
I literally installed ReVanced yesterday. All I did was disable YouTube, build with ReVanced Builder, install micro G, and install the patched APK.
Click to expand...
Click to collapse
Pain-N-Panic said:
I'm not using revanced builder. I'm trying to use the manager app on my phone. Maybe I'll try the builder instead
Click to expand...
Click to collapse
I'm not familiar with using the builder, but I saw EtherealRemnant have success with it, so that's why I @'d him. Glad he/it helped!
I got it working. Although I'm rooted, I had to use the non root method with microg in order to get it working
Even though I got it working, I'm still kind of pissed I can't delete certain system apps off my device. Huge reasoning for rooting in the first place is to have ultimate control over my device. Can anyone shed some light on why I can't remove certain system apps or provide a working method to do so?
Just did the "Install as root" option and it installed just fine. I did uninstall all updates followed by installing apk of recommended version with no issues on my end
Pain-N-Panic said:
Even though I got it working, I'm still kind of pissed I can't delete certain system apps off my device. Huge reasoning for rooting in the first place is to have ultimate control over my device. Can anyone shed some light on why I can't remove certain system apps or provide a working method to do so?
Click to expand...
Click to collapse
Root these days is systemless. The best you can do is disable apps or uninstall them from your user profile with adb.
Pain-N-Panic said:
Even though I got it working, I'm still kind of pissed I can't delete certain system apps off my device. Huge reasoning for rooting in the first place is to have ultimate control over my device. Can anyone shed some light on why I can't remove certain system apps or provide a working method to do so?
Click to expand...
Click to collapse
Have you tried uninstalling via ADB
Pain-N-Panic said:
Even though I got it working, I'm still kind of pissed I can't delete certain system apps off my device. Huge reasoning for rooting in the first place is to have ultimate control over my device. Can anyone shed some light on why I can't remove certain system apps or provide a working method to do so?
Click to expand...
Click to collapse
EtherealRemnant said:
Root these days is systemless. The best you can do is disable apps or uninstall them from your user profile with adb.
Click to expand...
Click to collapse
i know it's old and EOL, but can't Titanium Backup "freeze" system apps? It's been a while (years), so I'm working off of memory and just basing it off of what I kinda remember and can't be too sure...
Open a Command Terminal, grant root access by typing "su"
This command works for me to delete system apps (youtube for example):
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.google.android.apps.youtube.music
Have you tried that one?
[MODULE][Terminal] Debloater v17.3.2 - Debloat Systemlessly!
[TERMINAL] DEBLOATER Debloat your phone Systemlessly! Debloating can sometimes be device specific. OEM apps can sometimes be a trash to a user but not to the other. So I decided to make a module to Customize the uninstallation of a system app...
forum.xda-developers.com
netgar said:
Have you tried that one?
[MODULE][Terminal] Debloater v17.3.2 - Debloat Systemlessly!
[TERMINAL] DEBLOATER Debloat your phone Systemlessly! Debloating can sometimes be device specific. OEM apps can sometimes be a trash to a user but not to the other. So I decided to make a module to Customize the uninstallation of a system app...
forum.xda-developers.com
Click to expand...
Click to collapse
I'll look into it, thank youv
simplepinoi177 said:
i know it's old and EOL, but can't Titanium Backup "freeze" system apps? It's been a while (years), so I'm working off of memory and just basing it off of what I kinda remember and can't be too sure...
Click to expand...
Click to collapse
I don't know if it works on A13 but that's what I used to use on my OP9 to freeze apps, yeah.
EtherealRemnant said:
I don't know if it works on A13 but that's what I used to use on my OP9 to freeze apps, yeah.
Click to expand...
Click to collapse
TiBu still works. I'm using it currently. Does a fine job of disabling or freezing system apps as needed.

Categories

Resources