So, everyone remembers the VZW Samsung Galaxy Note 2 (i605)? I have one I got second hand that had already taken the fatal-final-OTA update that permalocked the bootloader down.. however, I have still rooted and installed Safestrap recovery and damn-near fully customised and tweaked it to my liking(custom boot animation, room slots active, etc)..Well, what about a possible Safestrap-style recovery that could run without root permissions by running some sort of workaround-script?....or would root access still be inevitably needed? Perhaps have the Safestrap recovery create a fully-functioning isolated with admin privileges, something similar to the Island Sandbox Experiment app?
I don't think it would be possible, bootloader's have become super secure in the past 4 years.
Sent from my Moto E4 using XDA Labs
What about possibly using ADB to manually install a superuser APK file and also using ADB commands like 'pm grant ....... WRITE_SECURE_SETTINGS' to manually enable the permissions and privileges required for installing an SU binary?
That's a good idea if it works. I was able to remove all the Verizon apps from the phone using adb commands.
chrislind said:
That's a good idea if it works. I was able to remove all the Verizon apps from the phone using adb commands.
Click to expand...
Click to collapse
You completely removed the Verizon apps and not just disabled them?
What adb commands did you use please?
Thanks.
adb shell pm uninstall -k --user 0 com.motorola.setupwizard.phoneservice
adb shell pm uninstall -k --user 0 com.vzw.hss.myverizon
adb shell pm uninstall -k --user 0 com.verizon.messaging.vzmsgs
adb shell pm uninstall -k --user 0 com.motorola.vzw.cloudsetup
adb shell pm uninstall -k --user 0 com.vzw.qualitydatalog
adb shell pm uninstall -k --user 0 com.verizon.mips.services
adb shell pm uninstall -k --user 0 com.motorola.vzw.settings.extensions
adb shell pm uninstall -k --user 0 com.vznavigator.Generic
adb shell pm uninstall -k --user 0 com.motorola.vzw.provider
adb shell pm uninstall -k --user 0 com.gotv.nflgamecenter.us.lite
adb shell pm uninstall -k --user 0 com.motorola.email
adb shell pm uninstall -k --user 0 com.vcast.mediamanager
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon
adb shell pm uninstall -k --user 0 com.google.android.videos
adb shell pm uninstall -k --user 0 com.google.android.music
adb shell pm uninstall -k --user 0 com.google.android.apps.docs
adb shell pm uninstall -k --user 0 com.lenovo.FileBrowser2
chrislind said:
adb shell pm uninstall -k --user 0 com.motorola.setupwizard.phoneservice
adb shell pm uninstall -k --user 0 com.vzw.hss.myverizon...
Click to expand...
Click to collapse
I believe that this procedure actually only disables the apps, although it appears that they are uninstalled. It is my understanding that a factory reset will re-enable/re-install all the apps. Read about half-way down this page.
mn1968 said:
I believe that this procedure actually only disables the apps, although it appears that they are uninstalled. It is my understanding that a factory reset will re-enable/re-install all the apps. Read about half-way down this page.
Click to expand...
Click to collapse
100% correct.
See topic where package disablers are used first:
https://forum.xda-developers.com/tab-s5e/how-to/samsung-galaxy-tab-s5e-debloat-root-info-t3935010
See explained why you as a consumer should not buy or use package disablers:
https://forum.xda-developers.com/showpost.php?p=80048718&postcount=42
Thanks to TiTiB for finding many package names:
https://forum.xda-developers.com/member.php?u=6773321
The package names you can find in the original topic. That's in the topmost hyperlink in this post.
This does not void warranty, but in worse case, you need factory reset.
I recommend anyone wanting to debloat using ADB SHELL procedure, it's easy if you have a Linux USB stick or Linux installation.
First time you've been reading about ADB command? Instructions setting up your phone and computer here:
https://www.xda-developers.com/install-adb-windows-macos-linux/
In Linux, in this case a Debian based distribution like Ubuntu
Code:
sudo apt install adb
Then enable developer mode in your tablet by pressing the Kernel Build number until it says you have enabled developer mode. Learn how to control over a USB cable with ADB commands how to disable or enable packages for the current user ( which is user 0 ). This does not require root, and you will keep your warranty. In your phone settings menu the Developer section will appear and there you need to enable ADB Debugging. Then you start using ADB. See included link far below if this is your first time.
The first command after installing ADB at your Linux system is
Code:
adb shell
If you are using Windows or are new to using ADB:
https://www.xda-developers.com/disable-system-app-bloatware-android/
It's assumed you already in the adb shell with the command above.
You are then in your Tablet in a shell running at it.
For example to DISABLE Bixby you can simply do this
Code:
pm disable-user --user 0 com.samsung.android.bixby.wakeup
pm disable-user --user 0 com.samsung.android.app.spage
pm disable-user --user 0 com.samsung.android.app.routines
pm disable-user --user 0 com.samsung.android.bixby.service
pm disable-user --user 0 com.samsung.android.visionintelligence
pm disable-user --user 0 com.samsung.android.bixby.agent
pm disable-user --user 0 com.samsung.android.bixby.agent.dummy
pm disable-user --user 0 com.samsung.android.bixbyvision.framework
You can list disabled packages with this
Code:
pm list packages -d
To ENABLE Bixby again you can do this
Code:
pm enable com.samsung.android.bixby.wakeup
pm enable com.samsung.android.app.spage
pm enable com.samsung.android.app.routines
pm enable com.samsung.android.bixby.service
pm enable com.samsung.android.visionintelligence
pm enable com.samsung.android.bixby.agent
pm enable com.samsung.android.bixby.agent.dummy
pm enable com.samsung.android.bixbyvision.framework
Or this
Code:
pm enable --user 0 com.samsung.android.bixby.wakeup
pm enable --user 0 com.samsung.android.app.spage
pm enable --user 0 com.samsung.android.app.routines
pm enable --user 0 com.samsung.android.bixby.service
pm enable --user 0 com.samsung.android.visionintelligence
pm enable --user 0 com.samsung.android.bixby.agent
pm enable --user 0 com.samsung.android.bixby.agent.dummy
pm enable --user 0 com.samsung.android.bixbyvision.framework
For example to UNINSTALL Bixby PERMANENTLY, in the past for Android 6 or less, until Factory Reset you can do this [ Not recommended ?]
See supplemental code written inside this topic, you can bring back uninstalled packages without problem provided you have Android 7 or later!
Code:
pm uninstall -k --user 0 com.samsung.android.bixby.wakeup
pm uninstall -k --user 0 com.samsung.android.app.spage
pm uninstall -k --user 0 com.samsung.android.app.routines
pm uninstall -k --user 0 com.samsung.android.bixby.service
pm uninstall -k --user 0 com.samsung.android.visionintelligence
pm uninstall -k --user 0 com.samsung.android.bixby.agent
pm uninstall -k --user 0 com.samsung.android.bixby.agent.dummy
pm uninstall -k --user 0 com.samsung.android.bixbyvision.framework
There are several apps at the Google Playstore which can give you an exact package name for any given application. But simplest method is learning which options the pm in an ADB shell has.
example commands for ADB
Code:
adb shell pm list packages
pm list packages
If you uninstalled with ADB you can only Factory Reset to get the packages back, the Disable/Enable method however work fine without Factory reset to get packages back. I updated this entire post accordingly thanks to another user.
Before you remove all phone like packages, Samsung has Call and Message Continuity working for Galaxy S10, some countries since a few weeks Galaxy S9 and hopefully promised later this year also for the S8. This means you can use your phone to call with your tablet even if it only has WIFI provided you have your phone as is listed as example also connected to WIFI.
If you use ADB shell procedure, you must first write down with package you disable or enable by a text editor if you want to undo the changes. If you don't know the package name you disabled you can not enable it anymore unless you factory reset your device.
Hence the easy example of Bixby, and its package names listed in case you want Bixby back.
I am sure this tutorial I wrote uninstalls a package, but it might be safer you disable a package with ADB commands.
This XDA tutorial below might be the safest method described in following link
https://www.xda-developers.com/disable-system-app-bloatware-android/
This post had been updated to show the difference between JUST DISABLING and PERMANENTLY UNINSTALL of a given package name. The difference is once you use the uninstall method only a factory reset brings that package back, just disabling makes you able to enable it again without problem. Therefore JUST DISABLING is RECOMMENDED ONLY.
New information about ADB commands:
If you have used the UNINSTALL method, here commands to get those packages back.
https://forum.xda-developers.com/android/help/how-to-install-uninstalled-packages-t3894235
you can simply use "adb shell cmd package install-existing <package name>" in ADB and you'll get the package back .
By @Vordx
Click to expand...
Click to collapse
Good news everyone for those whom uninstalled Bixby for user 0, I was successfuly able to get Bixby back with the following commands which indeed work.
Code:
adb shell
You are now in a terminal at your computer interfacing with the tablet or phone
Code:
cmd package install-existing com.samsung.android.bixby.wakeup
cmd package install-existing com.samsung.android.app.spage
cmd package install-existing com.samsung.android.app.routines
cmd package install-existing com.samsung.android.bixby.service
cmd package install-existing com.samsung.android.visionintelligence
cmd package install-existing com.samsung.android.bixby.agent
cmd package install-existing com.samsung.android.bixby.agent.dummy
cmd package install-existing com.samsung.android.bixbyvision.framework
So you truly can uninstall Bixby or diable it and even reinstall Bixby without factory reset, that's really good news. I used Bixby as an example, since it is deep in official Samsung Rom its core. It does work to just use
Code:
cmd package install-existing <package name>
I got Bixby back with it, and that is really great since I now will uninstall it again, and You Do Not need To Factory Reset to get Uninstalled Packages back, try following procedure. I really used the uninstall commands over ADB Android Debugging Bridge and since the package was uninstalled for user 0, reinstall an existing package does work! That is great news, since it does not require a factory reset if you have to happen to uninstall for user 0 any package. The same is true but only for Android 7 and later. See the topic linked to that explains people with Android lower than 7 unable to do this. Seems Google did a good job regarding this.
If you know the package names you can use a simple script to automate it.
Post in thread '[Guide] Samsung Galaxy Tab S5e Debloat Without Root-Info' https://forum.xda-developers.com/t/...bloat-without-root-info.3935010/post-85910045
This is a very basic script I made as I noticed that even after successfully rooting, I could not uninstall System Apps with apps like Lucky Patcher or System App Remover.
Code:
@ECHO OFF
ECHO \................./
ECHO \..Bloat Remover../
ECHO \................./
ECHO SAMS CLUB
adb shell pm uninstall -k --user 0 com.rfi.sams.android
ECHO Walmart
adb shell pm uninstall -k --user 0 com.walmart.android
ECHO FM Radio
adb shell pm uninstall -k --user 0 com.android.fmradio
ECHO Grocery
adb shell pm uninstall -k --user 0 com.walmart.grocery
ECHO VUDU
adb shell pm uninstall -k --user 0 air.com.vudu.air.DownloaderTablet
ECHO Walmart EBooks
adb shell pm uninstall -k --user 0 com.kobobooks.android.walmart
ECHO GPlay Music
adb shell pm uninstall -k --user 0 com.google.android.music
ECHO Auto Dialer Example App (pointless)
adb shell pm uninstall -k --user 0 com.example
ECHO Call Log Backup/Restore
adb shell pm uninstall -k --user 0 com.android.calllogbackup
ECHO Call Management
adb shell pm uninstall -k --user 0 com.android.server.telecom
ECHO Carrier Config
adb shell pm uninstall -k --user 0 com.android.carrierconfig
ECHO SMS Push
adb shell pm uninstall -k --user 0 com.android.smspush
ECHO Call Recorder
adb shell pm uninstall -k --user 0 com.mediatek.callrecorder
ECHO Contacts
adb shell pm uninstall -k --user 0 com.android.contacts
adb shell pm uninstall -k --user 0 com.android.providers.contacts
adb shell pm uninstall -k --user 0 com.google.android.syncadapters.contacts
ECHO Duo
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon
ECHO GPlay Movies
adb shell pm uninstall -k --user 0 com.google.android.videos
ECHO Text 2 Speech
adb shell pm uninstall -k --user 0 com.google.android.tts
ECHO Keep Notes
adb shell pm uninstall -k --user 0 com.google.android.keep
ECHO Maps
adb shell pm uninstall -k --user 0 com.google.android.apps.maps
ECHO Mobile Data
adb shell pm uninstall -k --user 0 com.android.phone
adb shell pm uninstall -k --user 0 com.android.providers.telephony
ECHO MMS Service
adb shell pm uninstall -k --user 0 com.android.mms.service
ECHO SIM Data
adb shell pm uninstall -k --user 0 com.android.simappdialog
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.mediateksimprocessor
adb shell pm uninstall -k --user 0 com.mtk.telephony
ECHO Sound Recorder
adb shell pm uninstall -k --user 0 com.android.soundrecorder
ECHO Walmart Nav Bar Button App
adb shell pm uninstall -k --user 0 com.mid.kubedemo
ECHO Fix NavBar back to Stock Android
adb shell settings put secure sysui_nav_bar "space,back;home;recent,space"
ECHO Done!
How to Use
This tutorial is assuming you already have ADB on your system with USB Debugging enabled
1.) Root your device using one of the provided methods in this section
2.) Once Rooting is complete, plug your device into your PC
3.) Open Notepad, copy the code above and paste it.
4.) Save it as BloatRemover.bat (or anything you want)
5.) Double click it when saved and it will automatically remove all the walmart stuff from the tablet! Should work on both the 7 and 10 inch tablets released on Black Friday.
Script 2 Edit Update @CyberstormFox for the info on the walmart logo nav bar button app...
@ragtop429 for the NavBar Reset ADB Code to remove the walmart logo button (although your code was slightly wrong )
Added to the script of everything pertaining to phone operation that was disabled anyway and Text Messaging.
Additional bloat
I also recommend adding the app com.mid.kubedemo.
It's the app that's launched when you hit the Walmart logo embedded in the left side of the navbar.
If anyone can figure out how to remove the icon itself, that would be nice.
It's still there, but now does nothing.
CyberstormFox said:
I also recommend adding the app com.mid.kubedemo.
It's the app that's launched when you hit the Walmart logo embedded in the left side of the navbar.
If anyone can figure out how to remove the icon itself, that would be nice.
It's still there, but now does nothing.
Click to expand...
Click to collapse
yo, thanks for letting me know which one it is. I've actually gotta update this script anyway as I've added everything that pertains to using your phone and text messaging to the debloater as you can't put a sim card in these and its all "disabled" taking up space anyway. I'll edit it right now
KaptinBoxxi said:
This is a very basic script I made as I noticed that even after successfully rooting, I could not uninstall System Apps with apps like Lucky Patcher or System App Remover.
Code:
@ECHO OFF
ECHO \................./
ECHO \..Bloat Remover../
ECHO \................./
ECHO SAMS CLUB
adb shell pm uninstall -k --user 0 com.rfi.sams.android
ECHO Walmart
adb shell pm uninstall -k --user 0 com.walmart.android
ECHO FM Radio
adb shell pm uninstall -k --user 0 com.android.fmradio
ECHO Grocery
adb shell pm uninstall -k --user 0 com.walmart.grocery
ECHO VUDU
adb shell pm uninstall -k --user 0 air.com.vudu.air.DownloaderTablet
ECHO Walmart EBooks
adb shell pm uninstall -k --user 0 com.kobobooks.android.walmart
ECHO GPlay Music
adb shell pm uninstall -k --user 0 com.google.android.music
ECHO Auto Dialer Example App (pointless)
adb shell pm uninstall -k --user 0 com.example
ECHO Call Log Backup/Restore
adb shell pm uninstall -k --user 0 com.android.calllogbackup
ECHO Call Management
adb shell pm uninstall -k --user 0 com.android.server.telecom
ECHO Carrier Config
adb shell pm uninstall -k --user 0 com.android.carrierconfig
ECHO SMS Push
adb shell pm uninstall -k --user 0 com.android.smspush
ECHO Call Recorder
adb shell pm uninstall -k --user 0 com.mediatek.callrecorder
ECHO Contacts
adb shell pm uninstall -k --user 0 com.android.contacts
adb shell pm uninstall -k --user 0 com.android.providers.contacts
adb shell pm uninstall -k --user 0 com.google.android.syncadapters.contacts
ECHO Duo
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon
ECHO GPlay Movies
adb shell pm uninstall -k --user 0 com.google.android.videos
ECHO Text 2 Speech
adb shell pm uninstall -k --user 0 com.google.android.tts
ECHO Keep Notes
adb shell pm uninstall -k --user 0 com.google.android.keep
ECHO Maps
adb shell pm uninstall -k --user 0 com.google.android.apps.maps
ECHO Mobile Data
adb shell pm uninstall -k --user 0 com.android.phone
adb shell pm uninstall -k --user 0 com.android.providers.telephony
ECHO MMS Service
adb shell pm uninstall -k --user 0 com.android.mms.service
ECHO SIM Data
adb shell pm uninstall -k --user 0 com.android.simappdialog
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.mediateksimprocessor
adb shell pm uninstall -k --user 0 com.mtk.telephony
ECHO Sound Recorder
adb shell pm uninstall -k --user 0 com.android.soundrecorder
ECHO Walmart Nav Bar Button App
adb shell pm uninstall -k --user 0 com.mid.kubedemo
ECHO Fix NavBar back to Stock Android
adb shell settings put secure sysui_nav_bar "space,back;home;recent,space"
ECHO Done!
How to Use
This tutorial is assuming you already have ADB on your system with USB Debugging enabled
1.) Root your device using one of the provided methods in this section
2.) Once Rooting is complete, plug your device into your PC
3.) Open Notepad, copy the code above and paste it.
4.) Save it as BloatRemover.bat (or anything you want)
5.) Double click it when saved and it will automatically remove all the walmart stuff from the tablet! Should work on both the 7 and 10 inch tablets released on Black Friday.
Script 2 Edit Update @CyberstormFox for the info on the walmart logo nav bar button app...
@ragtop429 for the NavBar Reset ADB Code to remove the walmart logo button (although your code was slightly wrong )
Added to the script of everything pertaining to phone operation that was disabled anyway and Text Messaging.
Click to expand...
Click to collapse
Just wanted to add this.
You can do a temp root using mtk-su
Guide HERE
If you get the following error when you run the batch file
Code:
Fix NavBar back to Stock Android
/system/bin/sh: home: not found
/system/bin/sh: recent,space: not found
Try manually going to ADB Shell and typing the code there manually
In this case:
Code:
adb shell
settings put secure sysui_nav_bar "space,back;home;recent,space"
sm_x said:
Just wanted to add this.
You can do a temp root using mtk-su
Guide HERE
If you get the following error when you run the batch file
Code:
Fix NavBar back to Stock Android
/system/bin/sh: home: not found
/system/bin/sh: recent,space: not found
Try manually going to ADB Shell and typing the code there manually
In this case:
Code:
adb shell
settings put secure sysui_nav_bar "space,back;home;recent,space"
Click to expand...
Click to collapse
I had actually fixed all this and totally forgot about this post to edit it
Root is not needed to change the navbar.
just in case anyone is in my same boat and doesn't have adb installed as a system app (or whatever you call it such that you can access adb from any directory on your computer) and you have to actually be in the platform_tools directory to use adb commands, make sure you copy this bat file to said directory or it won't do anything. once you move it there, it'll work fine.
also... for some reason the nav bar edit didn't work from the bat file. i had to do that one manually.
anyway, thanks for this!
KaptinBoxxi said:
Just wanted to add this.
You can do a temp root using mtk-su
Guide HERE
If you get the following error when you run the batch file
Try manually going to ADB Shell and typing the code there manually
In this case:
I had actually fixed all this and totally forgot about this post to edit it
Click to expand...
Click to collapse
If that doesn't work try:
adb shell settings put secure sysui_nav_bar 'space[1.5WC],back;home;recent,space[1.5WC]'
Root access not needed to remove walmart button.
Quotes
Looks like putting single quotes inside the double quotes works (and should work in the bat file):
Code:
C:\otherApps\platform-tools>adb shell settings put secure sysui_nav_bar "space,back;home;recent,space"
/system/bin/sh: home: not found
/system/bin/sh: recent,space: not found
C:\otherApps\platform-tools>adb shell settings put secure sysui_nav_bar "'space,back;home;recent,space'"
C:\otherApps\platform-tools>adb shell settings get secure sysui_nav_bar
space,back;home;recent,space
The problem is that semicolon is the command delimiter for a 'sh' shell, so it splits the string into three separate commands, but "home" and "recent,space" are not valid. By including the single quotes inside the double, the string gets passed to the shell as a single argument.
Thanks for the script - it otherwise worked well!
N6ML said:
Looks like putting single quotes inside the double quotes works (and should work in the bat file):
Code:
C:\otherApps\platform-tools>adb shell settings put secure sysui_nav_bar "space,back;home;recent,space"
/system/bin/sh: home: not found
/system/bin/sh: recent,space: not found
C:\otherApps\platform-tools>adb shell settings put secure sysui_nav_bar "'space,back;home;recent,space'"
C:\otherApps\platform-tools>adb shell settings get secure sysui_nav_bar
space,back;home;recent,space
The problem is that semicolon is the command delimiter for a 'sh' shell, so it splits the string into three separate commands, but "home" and "recent,space" are not valid. By including the single quotes inside the double, the string gets passed to the shell as a single argument.
Thanks for the script - it otherwise worked well!
Click to expand...
Click to collapse
For everyone with the new 2020 tablets. This script will not work.
I've tried it. You can use adb tools to remove apps though so just do them individually since the tablet no longer have the same exact apps. It really doesn't contain that much bloat. The navigation bar is not easily modified through adb anymore due to android 10. Walmart allows for a two button navigation and a gesture. However, if you change your launcher you cannot use gestures.
The two apps that control the navigation bar are:
com.android.internal.systemui.navbar.twobutton - This one has only two buttons (No walmart button)
com.androidinternal.systemus.navbar.threebutton - This one has three buttons plus the walmart button so a total of 4
I'm going to see if I can install another nav bar to get the stock android bar, but I'm not sure which one to get yet.
szymonurai said:
For everyone with the new 2020 tablets. This script will not work.
I've tried it. You can use adb tools to remove apps though so just do them individually since the tablet no longer have the same exact apps. It really doesn't contain that much bloat. The navigation bar is not easily modified through adb anymore due to android 10. Walmart allows for a two button navigation and a gesture. However, if you change your launcher you cannot use gestures.
The two apps that control the navigation bar are:
com.android.internal.systemui.navbar.twobutton - This one has only two buttons (No walmart button)
com.androidinternal.systemus.navbar.threebutton - This one has three buttons plus the walmart button so a total of 4
I'm going to see if I can install another nav bar to get the stock android bar, but I'm not sure which one to get yet.
Click to expand...
Click to collapse
Any update on this? Did you find a nav bar that worked, with no Walmart button?
Not sure if anyone did this yet but since it looks like Android removed the ability to mess with the nav bar in Android 10, I used the code:
adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural
To enable gestures, which removes the Walmart icon and then I used
adb shell settings put global policy_control immersive.navigation=*
to hide the gesture bar. Gestures still work just fine as of now.
afxtwn said:
Not sure if anyone did this yet but since it looks like Android removed the ability to mess with the nav bar in Android 10, I used the code:
adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural
To enable gestures, which removes the Walmart icon and then I used
adb shell settings put global policy_control immersive.navigation=*
to hide the gesture bar. Gestures still work just fine as of now.
Click to expand...
Click to collapse
This didn't work me fully. everything works from home screen but in apps can't pull up from bottom for app switcher.
Phone Setup
1.Launch the Settings application on your phone.
2.Tap the About Phone option generally near the bottom of the list.
3.Then tap the Build Number option 7 times to enable Developer Mode. You will see a toast message when it is done.
4.Now go back to the main Settings screen and you should see a new Developer Options menu you can access.
5.Go in there and enable the USB Debugging mode option.
Microsoft Windows ADB Setup
1.Download the ADB ZIP file for Windows
2.Extract the contents of this ZIP file into an easily accessible folder (such as C:\adb)
3.Open Windows explorer and browse to where you extracted the contents of this ZIP file
4.Then open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “open command prompt here” option. (Some Windows 10 users may see “PowerShell” instConnect your smartphone or tablet to your computer with a USB cable. Change the USB mode to “file transfer (MTP)” mode. Some OEMs may or may not require this, but it’s best to just leave it in this mode for general compatibility.
5.In the Command Prompt window, enter the following command to launch the ADB daemon: ./adb devices
6.On your phone’s screen, you should see a prompt to allow or deny USB Debugging access. Naturally, you will want to grant USB Debugging access when prompted (and tap the always allow check box if you never want to see that prompt again).
7.Finally, re-enter the command from step #6. If everything was successful, you should now see your device’s serial number in the command prompt.
Disable command
adb shell pm disable-user --user 0 (package name)
list (warning:read app names individually and then disable,there may be apps you might need)
.\adb shell pm disable-user --user 0 com.heytap.market
.\adb shell pm disable-user --user 0 com.google.ar.core
.\adb shell pm disable-user --user 0 com.oppo.market
.\adb shell pm disable-user --user 0 com.oppo.market
.\adb shell pm disable-user --user 0 com.oppo.market
.\adb shell pm disable-user --user 0 com.google.ar.core
.\adb shell pm disable-user --user 0 com.facebook.system
.\adb shell pm disable-user --user 0 com.facebook.services
.\adb shell pm disable-user --user 0 com.nearme.browser
.\adb shell pm disable-user --user 0 com.coloros.weather.service
.\adb shell pm disable-user --user 0 com.coloros.weather2
.\adb shell pm disable-user --user 0 com.google.android.setupwizard
.\adb shell pm disable-user --user 0 com.coloros.phonenoareainquire
.\adb shell pm disable-user --user 0 com.facebook.services
.\adb shell pm disable-user --user 0 com.nearme.browser
others:
app:Google photos (disable if you had heavy battery drain like i had)
package:com.google.android.apps.photos
app:Music
package:com.oppo.music
app:YouTube Music
package:com.google.android.apps.youtube.music
app:Facebook App Manager
package:com.facebook.appmanager
app:Weather Services
package:com.coloros.weather.service
app:Assistive Ball
package:com.coloros.floatassistant
app:User Experience Program
package:com.nearme.statistics.rom
app:RfToolkit
package:com.oppo.rftoolkit
How to re-enable: goto playstore , search for the app you want to enable and click enable.
OR
go to settings>app management>search for the app and hit enable.
Is it safe to uninstall google app from phone ?
Hi
I managed to remove Samsung Internet as it kept updating my apps and i couldnt remove notifications with the following command
adb shell pm uninstall -k --user 0 com.sec.android.app.sbrowser
which it did
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.sbr
owser
Success
I then tryed to change the sbrower to shealth which it deleted
but i cant delete chrome, amazon or Bloomberg+ app i know you can disable them but i would like to delete them, is there a different command needed.
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.Chr
ome
Failure - not installed for 0
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.blo
omberg
Failure - not installed for 0
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.blo
omberg+
Failure - not installed for 0
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.Blo
omberg+
Failure - not installed for 0
C:\ABD\platform-tools>adb devices
List of devices attached
8521a61c device
68EC000 said:
Hi
I managed to remove Samsung Internet as it kept updating my apps and i couldnt remove notifications with the following command
adb shell pm uninstall -k --user 0 com.sec.android.app.sbrowser
which it did
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.sbr
owser
Success
I then tryed to change the sbrower to shealth which it deleted
but i cant delete chrome, amazon or Bloomberg+ app i know you can disable them but i would like to delete them, is there a different command needed.
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.Chr
ome
Failure - not installed for 0
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.blo
omberg
Failure - not installed for 0
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.blo
omberg+
Failure - not installed for 0
C:\ABD\platform-tools>adb shell pm uninstall -k --user 0 com.sec.android.app.Blo
omberg+
Failure - not installed for 0
C:\ABD\platform-tools>adb devices
List of devices attached
8521a61c device
Click to expand...
Click to collapse
you have to specify the package name of the application youre using
example, on google chrome, its com.android.chrome, not com.sec.android.app.chrome(afaik .sec is related to samsung apps)
though you can verify by finding it in app info or rummage through /[internal storage]/Android/data where it uses app's package names, or type pm list packages in adb shell
you can follow the tutorial from xda themselves here: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
though alternatively, you can use debloat scripts to automate the process, but it requires flashing twrp which will trip knox if youre on stock(though most debloat scripts removes knox stuff aswell so idk), and you dont require root for it to work