[Guide] Samsung Galaxy Tab S5e Debloat Without Root-Info

Search This thread

TiTiB

Senior Member
Jun 19, 2015
926
743
Earth, for now
ADDED 1 AUG 2019: THIS WAS WRITTEN FOR THE WIFI-ONLY T720, *NOT* THE LTE-ENABLED T725. OBVIOUSLY BE AWARE OF ALL THE PHONE RELATED PACKAGES

For those with the S5e wanting to debloat your tablet without rooting I have some, hopefully, useful info.

See this post by @Catmobile for an excellent explanation of why devs have trouble keeping Samsung package disabler apps on Play Store. https://xdaforums.com/showpost.php?p=80048718&postcount=42

I used the app Package Disabler Pro+ (Samsung) by policedeveloper available on Play Store here https://play.google.com/store/apps/details?id=com.elmklmsamsung.batteryaddon No longer available, and does not even work on my device anymore.

UPDATE 16 JUL 19: Above app is reportedly once again available on Play Store. HOWEVER, those who recently purchased it have to do so AGAIN! Please consider this if you decide to purchase.

For those with better skills and a computer, using adb's 'pm uninstall -k --user 0 <package name>' is an option, too. You can use the 'disable lists' to facilitate this.

Find here an example by @Catmobile of how to use ADB shell https://xdaforums.com/showpost.php?p=80054354&postcount=44

IMPORTANT: You won't really know the true effects of your disabling til you restart the tablet! On the other hand, it seems that undisabling (re-enabling?) takes effect immediately.

I did a web search and found an .xml file that had packages disabled on a Galaxy S10 or S8. Unfortunately I don't remember from where I got the file but this and other files are available in my shared pCloud folder https://bit.ly/2VXRoLt
Updated link 26aug21 http://u.pc.cd/5pqctalK
You'll find below files, among others, there:

disabledpackages-Package Disabler Pro+ DEFAULT ALL BLOATWARE-46ofthem.xml
>>The default packages using 'Disable all Bloatware' option in Package Disabler Pro+

disabledpackages-S8orS10-125ofthem.xml
>>The file I found. When I used this the tablet UI slowed to a crawl. From my previous experimentation I suspected that disabling the phone apps was the culprit. I was right, and am currently using my tablet without any discernable issues using the xml file below. Obviously, examine the file before using it to see if it fits your needs. For instance, I don't use Bixby, so I disabled it.
[EDIT] File deleted.

disabledpackages-WORKINGFINE-SOMEphoneStuffReEnabled-119ofthem.xml
>>The file I exported from Package Disabler Pro+ after reenabling some packages.
[EDIT] Replaced by disabledpackages133-OK.xml

Below are the packages I reenabled in order to get the tab back to 'normal'. I'll continue with experimentation to see which one(s) are causing the slow-down, and report back here.
Code:
00001  <importExportSetting>  
00002     <disabledPackages class="java.util.ArrayList">  
00003        <string>com.android.carrierconfig</string>  
00004        <string>com.android.carrierdefaultapp</string>  
00005        <string>com.android.cts.priv.ctsshim</string>       
00006        <string>com.android.phone</string>  
00007        <string>com.android.providers.telephony</string>  
00008        <string>com.samsung.android.dialer</string>  
00009        <string>com.samsung.android.providers.contacts</string>  
00010        <string>com.sec.phone</string>  
00011     </disabledPackages>  
00012  </importExportSetting>
 
Last edited:

TiTiB

Senior Member
Jun 19, 2015
926
743
Earth, for now
Few More Packages Disabled

Here are some more. Haven't really messed with the phone stuff yet, but this addition brings total disabled packages to 126.
Code:
+00024        <string>com.qualcomm.qti.qms.service.connectionsecurity</string>     
+00025        <string>com.sec.android.easyMover.Agent</string>     
  
+00076        <string>com.android.chrome</string>     
+00101        <string>com.sec.android.soagent</string>     
+00120        <string>com.samsung.android.app.camera.sticker.stamp.preload</string>     
+00123       <string>com.samsung.systemui.hidenotch</string>
 
Last edited:

TiTiB

Senior Member
Jun 19, 2015
926
743
Earth, for now
Figured Out What Caused Slow UI

With further testing I figured out that com.android.providers.telephony DIALER STORAGEis what was causing slowness. Who'd a thunk it?

This is probably my last post in this thread, and present below what I currently have disabled while maintaining, for me, full functionality. In my case 'full funtionality' means no Bixby, Knox, Phone stuff, Telemetry (as far as I can using this method), most Samsung bloat as well as a few other things. I'll continue experimenting, though.

My choices might not meet everyone's needs, but they work for me. Use the code below as a starting point, and, Happy Deloating!
Code:
<importExportSetting>
   <disabledPackages class="java.util.ArrayList">
      <string>android.autoinstalls.config.samsung</string>
      <string>com.android.bookmarkprovider</string>
      <string>com.android.calllogbackup</string>
      <string>com.android.carrierconfig</string>
      <string>com.android.carrierdefaultapp</string>
      <string>com.android.chrome</string>
      <string>com.android.cts.ctsshim</string>
      <string>com.android.cts.priv.ctsshim</string>
      <string>com.android.dreams.basic</string>
      <string>com.android.dreams.phototable</string>
      <string>com.android.hotwordenrollment.okgoogle</string>
      <string>com.android.hotwordenrollment.xgoogle</string>
      <string>com.android.managedprovisioning</string>
      <string>com.android.phone</string>
      <string>com.android.printspooler</string>
      <string>com.android.providers.partnerbookmarks</string>
      <string>com.android.server.telecom</string>
      <string>com.android.sharedstoragebackup</string>
      <string>com.android.simappdialog</string>
      <string>com.android.stk</string>
      <string>com.android.wallpaper.livepicker</string>
      <string>com.android.wallpapercropper</string>
      <string>com.audible.application</string>
      <string>com.dsi.ant.plugins.antplus</string>
      <string>com.dsi.ant.sample.acquirechannels</string>
      <string>com.dsi.ant.server</string>
      <string>com.dsi.ant.service.socket</string>
      <string>com.google.android.apps.maps</string>
      <string>com.google.android.apps.turbo</string>
      <string>com.google.android.gm</string>
      <string>com.google.android.googlequicksearchbox</string>
      <string>com.google.android.setupwizard</string>
      <string>com.google.android.syncadapters.calendar</string>
      <string>com.google.android.syncadapters.contacts</string>
      <string>com.google.android.tts</string>
      <string>com.google.android.youtube</string>
      <string>com.knox.vpn.proxyhandler</string>
      <string>com.microsoft.skydrive</string>
      <string>com.monotype.android.font.foundation</string>
      <string>com.osp.app.signin</string>
      <string>com.qualcomm.qti.qms.service.connectionsecurity</string>
      <string>com.qualcomm.qti.qms.service.telemetry</string>
      <string>com.samsung.aasaservice</string>
      <string>com.samsung.advp.imssettings</string>
      <string>com.samsung.android.aircommandmanager</string>
      <string>com.samsung.android.allshare.service.fileshare</string>
      <string>com.samsung.android.allshare.service.mediashare</string>
      <string>com.samsung.android.app.camera.sticker.facear.preload</string>
      <string>com.samsung.android.app.camera.sticker.stamp.preload</string>
      <string>com.samsung.android.app.galaxyfinder</string>
      <string>com.samsung.android.app.reminder</string>
      <string>com.samsung.android.app.settings.bixby</string>
      <string>com.samsung.android.app.social</string>
      <string>com.samsung.android.app.spage</string>
      <string>com.samsung.android.app.watchmanagerstub</string>
      <string>com.samsung.android.authfw</string>
      <string>com.samsung.android.bbc.bbcagent</string>
      <string>com.samsung.android.beaconmanager</string>
      <string>com.samsung.android.bio.face.service</string>
      <string>com.samsung.android.bixby.service</string>
      <string>com.samsung.android.calendar</string>
      <string>com.samsung.android.clipboarduiservice</string>
      <string>com.samsung.android.contacts</string>
      <string>com.samsung.android.dialer</string>
      <string>com.samsung.android.dqagent</string>
      <string>com.samsung.android.easysetup</string>
      <string>com.samsung.android.emojiupdater</string>
      <string>com.samsung.android.fmm</string>
      <string>com.samsung.android.game.gamehome</string>
      <string>com.samsung.android.game.gametools</string>
      <string>com.samsung.android.game.gos</string>
      <string>com.samsung.android.homemode</string>
      <string>com.samsung.android.incallui</string>
      <string>com.samsung.android.keyguardwallpaperupdator</string>
      <string>com.samsung.android.kidsinstaller</string>
      <string>com.samsung.android.knox.analytics.uploader</string>
      <string>com.samsung.android.knox.containeragent</string>
      <string>com.samsung.android.knox.containercore</string>
      <string>com.samsung.android.knox.containerdesktop</string>
      <string>com.samsung.android.location</string>
      <string>com.samsung.android.lool</string>
      <string>com.samsung.android.mdecservice</string>
      <string>com.samsung.android.mdm</string>
      <string>com.samsung.android.messaging</string>
      <string>com.samsung.android.mobileservice</string>
      <string>com.samsung.android.net.wifi.wifiguider</string>
      <string>com.samsung.android.provider.stickerprovider</string>
      <string>com.samsung.android.samsungpass</string>
      <string>com.samsung.android.scloud</string>
      <string>com.samsung.android.securitylogagent</string>
      <string>com.samsung.android.smartface</string>
      <string>com.samsung.android.smartswitchassistant</string>
      <string>com.samsung.android.stickercenter</string>
      <string>com.samsung.android.tadownloader</string>
      <string>com.samsung.android.video</string>
      <string>com.samsung.android.visionintelligence</string>
      <string>com.samsung.android.wellbeing</string>
      <string>com.samsung.app.newtrim</string>
      <string>com.samsung.clipboardsaveservice</string>
      <string>com.samsung.cmh</string>
      <string>com.samsung.ims.smk</string>
      <string>com.samsung.knox.keychain</string>
      <string>com.samsung.knox.securefolder</string>
      <string>com.samsung.mlp</string>
      <string>com.samsung.oh</string>
      <string>com.samsung.safetyinformation</string>
      <string>com.samsung.sec.android.application.csc</string>
      <string>com.samsung.SMT</string>
      <string>com.samsung.storyservice</string>
      <string>com.samsung.systemui.bixby2</string>
      <string>com.samsung.systemui.hidenotch.withoutcornerround</string>
      <string>com.samsung.systemui.hidenotch</string>
      <string>com.sec.android.app.billing</string>
      <string>com.sec.android.app.chromecustomizations</string>
      <string>com.sec.android.app.samsungapps</string>
      <string>com.sec.android.app.SecSetupWizard</string>
      <string>com.sec.android.daemonapp</string>
      <string>com.sec.android.easyMover.Agent</string>
      <string>com.sec.android.mimage.gear360editor</string>
      <string>com.sec.android.mimage.photoretouching</string>
      <string>com.sec.android.soagent</string>
      <string>com.sec.android.splitsound</string>
      <string>com.sec.android.uibcvirtualsoftkey</string>
      <string>com.sec.android.widgetapp.samsungapps</string>
      <string>com.sec.bcservice</string>
      <string>com.sec.enterprise.knox.cloudmdm.smdms</string>
      <string>com.sec.enterprise.mdm.services.simpin</string>
      <string>com.sec.factory</string>
      <string>com.sec.phone</string>
      <string>com.sec.spp.push</string>
      <string>com.wssyncmldm</string>
      <string>flipboard.boxer.app</string>
   </disabledPackages>
</importExportSetting>
 
Last edited:

TiTiB

Senior Member
Jun 19, 2015
926
743
Earth, for now
Did all of this work result in anything positive? Less memory use? Snappier UI? Less dandruff?
Whiter teeth ? and better sleep ? :) Actually, for me it's all about not letting someone else dictate what my tablet does, and what information is 'shared' (stolen, is how I view it). For instance, this thing has a telemetry function. I don't care what kind of telemetry it is, I din't want it. Also, this thing is not a phone and I don't use it for phone-like activities, so I don't want it to try to act like a phone, with all the activity in the background. I could go on and on, but...

To answer your question, no noticeable increase in performance. I do, however, enjoy the benefits I mentioned in the first sentence—except for the 'whiter teeth' thing.

I will root this tablet and then have full control—lots and lots of deleting files and folders. I can hardly wait!
 
Last edited:

flyboyovyick

Senior Member
Apr 7, 2009
1,620
45
I just got this tablet today, my last one was a Galaxy Tab S 10.5 before switching to a Surface Pro.

I missed Android multitasking and the apps which I'm pleased to have back but what's not nice is the amount of clutter that still exists in Samsung's ROMs.

I hope we can get AOSP or Lineage ported to this as One UI sucks.

The hardware is beast though. I'm going to give that app you suggested a try. Thanks.
 
  • Like
Reactions: DCteruz

TiTiB

Senior Member
Jun 19, 2015
926
743
Earth, for now
I'm going to give that app you suggested a try. Thanks.
I agree. This my my first large-screen tablet—8.4" before—and I love it! The app works quite well. It is what allowed me to experiment. When I root, even if I don't install a custom ROM—I have no problem with the OneUI, uh, UI—I'll know what to start with, uninstall-wise.

One thing I don't like is inability to use Substratum—at least for now. If you find a way to theme this tablet please let us know.
 

flyboyovyick

Senior Member
Apr 7, 2009
1,620
45
I did end up caving and buying that package disabler, used your latest script and re-enabled some apps.

Found that now the icons are missing from the notifications drop down which is fantastic! It was cluttered.

Couple of things to note:

Dolby Atmos has gone, I used this when watching Netflix as it did make a difference.

One UI Home app, also known as com.sec.android.app.launcher, when disabled will give you the stock Android multitasking which is fantastic! I use Evie launcher so I would RECOMMEND you have a different launcher installed before doing this.

I've done a quick search for the Atmos app but no luck so far, if you have any ideas?


Thanks!
 
  • Like
Reactions: TiTiB

TiTiB

Senior Member
Jun 19, 2015
926
743
Earth, for now
I did end up caving and buying that package disabler, used your latest script and re-enabled some apps.

Found that now the icons are missing from the notifications drop down which is fantastic! It was cluttered.

Couple of things to note:

Dolby Atmos has gone, I used this when watching Netflix as it did make a difference.

One UI Home app, also known as com.sec.android.app.launcher, when disabled will give you the stock Android multitasking which is fantastic! I use Evie launcher so I would RECOMMEND you have a different launcher installed before doing this.

I've done a quick search for the Atmos app but no luck so far, if you have any ideas?


Thanks!
Good to hear someone is benefiting from this!

I hadn't done anything where the audio was of concern, so I didn't notice. I just installed a few games though, RealRacing 3 being one of them, so now I care! No ideas, so I'll have to do some researching.

Thanks for the OneUI info. I use Nova Prime and frequently try out other ones, 'hyperion' being the latest, even though it force closes on opening—it bugs me that I can't easily get a proper log. Love Evie for my phone.

BTW, the link at https://bit.ly/2VXRoLt has my disabledpackages133-OK.xml file, which has all the changes in one file.

[EDIT] Reenabled OneUI cuz I like the way recents are shown.
 
Last edited:

flyboyovyick

Senior Member
Apr 7, 2009
1,620
45
Good to hear someone is benefiting from this!

I hadn't done anything where the audio was of concern, so I didn't notice. I just installed a few games though, RealRacing 3 being one of them, so now I care! No ideas, so I'll have to do some researching.

Thanks for the OneUI info. I use Nova Prime and frequently try out other ones, 'hyperion' being the latest, even though it force closes on opening—it bugs me that I can't easily get a proper log. Love Evie for my phone.

Yes thank you for sharing it.

Atmos is missing from the notification quick toggles and in the Settings under Sound > Advanced Settings. Will have to look through the disabled apps. Have you since uninstalled the apps completely?

Just need to get that working now. Had an issue with Evie when rotating to portrait, it would leave half the screen white for some reason so now I have moved to Nova Launcher which works flawlessly.

My tablet does feel quicker now, I have all the animations turned off in Developer Options. Especially on boot it's not lagging, ready to go sooner. I've even got the 6GB/128GB version.
 

TiTiB

Senior Member
Jun 19, 2015
926
743
Earth, for now
Yes thank you for sharing it.

Atmos is missing from the notification quick toggles and in the Settings under Sound > Advanced Settings. Will have to look through the disabled apps. Have you since uninstalled the apps completely?

Just need to get that working now. Had an issue with Evie when rotating to portrait, it would leave half the screen white for some reason so now I have moved to Nova Launcher which works flawlessly.

My tablet does feel quicker now, I have all the animations turned off in Developer Options. Especially on boot it's not lagging, ready to go sooner. I've even got the 6GB/128GB version.
Haven't uninstalled anything yet.

Just checked, and Atmos is there for me—able to change settings for it, too.

Here's something you could try—do a file compare between what you have disabled, and my '133-ok' list, which is still working fime for me. I've been using DiffTool the File Compare Tool from Play Store https://play.google.com/store/apps/details?id=com.difftool to compare what I had newly disabled with what I had previously disabled. The interface and usage is a bit clunky (the dev has stated something to the effect of "it's a tool, not a beauty pageant"). HINTS: Use the compare TEXT files, then save the results using the ? icon to be able to use a text editor to see the results.

Please let us know what you find.

[EDIT] I f you find a better way to compare files on Android I'd sure like to know about it.
 
Last edited:
  • Like
Reactions: btonetbone

AHE_XDA

Senior Member
Mar 20, 2019
154
209
@TiTiB

Thank you for this valuable contribution. For those looking for root, this is the better route. You'll free up CPU and RAM whilst removing applications deemed unnecessary.
 
  • Like
Reactions: TiTiB

flyboyovyick

Senior Member
Apr 7, 2009
1,620
45
Been a while since I've been able to have a look but I've managed to find it using DiffTool

The package is com.sec.android.app.soundalive, now in Settings > Sound > Advanced Sound Settings > Sound Quality and Effects. Then in there you have Atmos. It's now working again!
 
  • Like
Reactions: TiTiB

monsthamo

Member
Jan 22, 2007
9
0
Thanks so much for all the info!

Am considering about getting a s5e but the demo unit in my local retailers are kinda sluggish. Not sure if that is because of the bloatware or the demo mode.

May I know if this way of disabling bloatware will void my warranty? How much snappier will the device become after the cpu and ram are being freed up?

Thanks!
 

TiTiB

Senior Member
Jun 19, 2015
926
743
Earth, for now
Thanks so much for all the info!

Am considering about getting a s5e but the demo unit in my local retailers are kinda sluggish. Not sure if that is because of the bloatware or the demo mode.

May I know if this way of disabling bloatware will void my warranty? How much snappier will the device become after the cpu and ram are being freed up?

Thanks!
No issues with warranty. All you are doing is disabling/freezing apps—something that can be done via Android's normal Settings for a lot of apps. What you'll be able to do via these apps or adb is disable/freeze apps that you wouldn't normally be able to.

I'm not really sure if disabling/freezing has improved performance because this tablet's response to everything I've thrown at it is so brisk! Admittedly,I'm not a big-time gamer—e.g. no Fortnite. My guess is that the demo unit was not set up properly/at all and was also subject to a 'demo mode effect', if there is such a thing. ?

In a nutshell, I think this thing is plenty quick! am *extremely happy with it, and I would recommend it. I don't know what sort of return policy you might be dealing with, but once you get it home it ain't goin' nowhere.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    ADDED 1 AUG 2019: THIS WAS WRITTEN FOR THE WIFI-ONLY T720, *NOT* THE LTE-ENABLED T725. OBVIOUSLY BE AWARE OF ALL THE PHONE RELATED PACKAGES

    For those with the S5e wanting to debloat your tablet without rooting I have some, hopefully, useful info.

    See this post by @Catmobile for an excellent explanation of why devs have trouble keeping Samsung package disabler apps on Play Store. https://xdaforums.com/showpost.php?p=80048718&postcount=42

    I used the app Package Disabler Pro+ (Samsung) by policedeveloper available on Play Store here https://play.google.com/store/apps/details?id=com.elmklmsamsung.batteryaddon No longer available, and does not even work on my device anymore.

    UPDATE 16 JUL 19: Above app is reportedly once again available on Play Store. HOWEVER, those who recently purchased it have to do so AGAIN! Please consider this if you decide to purchase.

    For those with better skills and a computer, using adb's 'pm uninstall -k --user 0 <package name>' is an option, too. You can use the 'disable lists' to facilitate this.

    Find here an example by @Catmobile of how to use ADB shell https://xdaforums.com/showpost.php?p=80054354&postcount=44

    IMPORTANT: You won't really know the true effects of your disabling til you restart the tablet! On the other hand, it seems that undisabling (re-enabling?) takes effect immediately.

    I did a web search and found an .xml file that had packages disabled on a Galaxy S10 or S8. Unfortunately I don't remember from where I got the file but this and other files are available in my shared pCloud folder https://bit.ly/2VXRoLt
    Updated link 26aug21 http://u.pc.cd/5pqctalK
    You'll find below files, among others, there:

    disabledpackages-Package Disabler Pro+ DEFAULT ALL BLOATWARE-46ofthem.xml
    >>The default packages using 'Disable all Bloatware' option in Package Disabler Pro+

    disabledpackages-S8orS10-125ofthem.xml
    >>The file I found. When I used this the tablet UI slowed to a crawl. From my previous experimentation I suspected that disabling the phone apps was the culprit. I was right, and am currently using my tablet without any discernable issues using the xml file below. Obviously, examine the file before using it to see if it fits your needs. For instance, I don't use Bixby, so I disabled it.
    [EDIT] File deleted.

    disabledpackages-WORKINGFINE-SOMEphoneStuffReEnabled-119ofthem.xml
    >>The file I exported from Package Disabler Pro+ after reenabling some packages.
    [EDIT] Replaced by disabledpackages133-OK.xml

    Below are the packages I reenabled in order to get the tab back to 'normal'. I'll continue with experimentation to see which one(s) are causing the slow-down, and report back here.
    Code:
    00001  <importExportSetting>  
    00002     <disabledPackages class="java.util.ArrayList">  
    00003        <string>com.android.carrierconfig</string>  
    00004        <string>com.android.carrierdefaultapp</string>  
    00005        <string>com.android.cts.priv.ctsshim</string>       
    00006        <string>com.android.phone</string>  
    00007        <string>com.android.providers.telephony</string>  
    00008        <string>com.samsung.android.dialer</string>  
    00009        <string>com.samsung.android.providers.contacts</string>  
    00010        <string>com.sec.phone</string>  
    00011     </disabledPackages>  
    00012  </importExportSetting>
    7
    Tab S5e (SM-T720) | R(Android 11)| T720XXU2DUD3 | rooted
    Debloat list
    7
    Galaxy Tab S5e (SM-T720) | Q(Android 10) | T720XXS2CUA3 | rooted
    My Debloat list
    No root : use adb
    Rooted: flash zip in magisk (credit universal android debloater)
    6
    Developers of package disablers apps, need to renew their license from Samsung every 3 months. This wouldn't be a problem if Samsung didn't have strict policy.

    Policy of Samsung is that using KNOX to disable packages officially is for Business to Business only. And not for standard end-users. Included here a link to why these applications are stopping to function if developer doesn't get a new license key from Samsung its self.

    In a business situation an administrator uses KNOX to control remotely all company phones for example. This administrator of the company must also follow the license policy. A company is a Business to Business and won't have the problem that willing package disablers for standard consumers have.

    Here below, see how incredibly difficult it is to do this for consumers. Samsung does tolerate it for a time, then forces such app revoked. Customers that paid money for such application will notice it no longer works or is removed.

    Hence I advise the ADB method which always works.

    Debloat without root and ADB technical thread
    https://xdaforums.com/tab-s5e/help/debloat-adb-shell-root-t3958204

    ( Remember you need the topic that brought you here to know which package you want to disable, so read the thread that brought you here too! )

    Here instructions to build a package disabler app yourself, see the license that is enforced by Samsung towards consumers.
    https://xdaforums.com/galaxy-s10/themes/adhell-3-knox-t3908002

    In the past even open source code using KNOX was forced by law to be taken offline from e.g. Github.

    Build the app yourself and remember, the license must be renewed every 3 months, the package name may only be used a limited number of times,...

    At Reddit you also could find developers creating this kind of software, fighting and accusing each other of continuously leaving customers with not functional software, because Samsung revoked their license after discovering it was sold to normal non corporate users.

    See the link, or Google the fights at Reddit about package disablers.

    With this kind of software and KNOX one has full control of your device remotely. So they accused developers of these hit and cash money a short time of more.

    It is meant for business corporation administration, Samsung enforces it very strictly.

    That's told if you buy it anywhere, it will by definition work only for limited time.

    https://xdaforums.com/galaxy-s10/themes/adhell-3-knox-t3908002
    6
    "uninstall" / "reinstall" apps without factory resetting

    Method you describe might be best, looked it up, updated my post.

    Thanks for posting,

    This XDA tutorial below might be the safest method described in following link
    https://www.xda-developers.com/disable-system-app-bloatware-android/

    That tutorial only disables a package, my tutorial uninstalls a package and I am not entirely sure that without factory reset my tutorial works.

    EDIT 1: I included your comparison and updated my post since the method you point out is much safer in case one wants a package back to be enabled again.
    EDIT 2: The difference is now explained and my post says how to DISABLE ONLY or UNINSTALL PERMANENTLY until factory reset.


    I've been using the "adb pm uninstall -k --user 0 <package_name>" method for years, and discovered through trial and error that there's no need to do a factory reset the in order to re-enable the "uninstalled" apps. Contrary to popular belief, the "pm uninstall" command doesn't actually erase the app's apk, rather just hides it from the app manager. Therefore "uninstalled" apps can be "reinstalled" individually using the following method, without the need for a factory reset.

    First, make a make a backup list of all your currently installed apps via ADB:

    adb shell pm list packages -f >C:\AppList.txt

    For example, let's "uninstall" the Samsung Smart Switch app which can be found in the above AppList.txt file as
    /system/preload/SmartSwitch/SmartSwitch.apk=com.sec.android.easyMover
    Sometimes the app's name matches the package/file name perfectly, sometimes they are a little different and takes a bit of guessing.
    The package name of the Samsung Smart Switch app is "com.sec.android.easyMover", with its path and file name "/system/preload/SmartSwitch/SmartSwitch.apk", as you can see at least the path and file name contains the name of the app.
    To disable it via the "uninstall" command, enter:

    adb shell pm uninstall -k --user 0 <package/component>
    Example:
    adb shell pm uninstall -k --user 0 com.sec.android.easyMover
    OR
    adb shell cmd package uninstall -k --user 0 com.sec.android.easyMover

    Now, to re-enable the above "uninstalled" app or any other specific one without a factory reset, simply copy and paste the app's package name from the AppList.txt into this command:

    adb shell cmd package install-existing <package/component>
    Example:
    adb shell cmd package install-existing com.sec.android.easyMover

    OR

    Copy and paste the app's path and file name from the AppList.txt into the "install" command, like this:

    adb shell pm install -d -r --user 0 <app's_path/file_name)>
    Example:
    adb shell pm install -d -r --user 0 /system/preload/SmartSwitch/SmartSwitch.apk
    OR
    adb shell cmd package install -d -r --user 0 /system/preload/SmartSwitch/SmartSwitch.apk


    We are using the "pm" package manager to simply reinstall the app from its current location which can be easily found in the previously prepared AppList.txt file.
    The reason for including two slightly different versions of the commands, is to have a backup method in case one of them fails.
    The "-d -r" options is to allow replacement of existing applications and version code downgrading.
    The advantage of using the "uninstall"/"install" method is that there's no need to purchase any package disabler apps, and it works even on non-rooted devices, plus you may even learn something.
    Hope this might come in handy for some. ;)