[GUIDE] Debloat Stock Samsung Android 10 One UI 2 on A70 - no root needed - Samsung Galaxy A70 Guides, News, & Discussion

Sources and much info
https://www.androidexplained.com/galaxy-s20-bloatware/
https://************/ultimate-samsung-s9-and-s9-debloat-guide/
https://android.gadgethacks.com/how-to/disable-bloatware-for-free-your-galaxy-note-10-10-0207598/
Steps:
- backup your phone using Samsung cloud or "Smart Switch" from Playstore, backup WhatsApp etc
- enable Developer Options
- enable USB debug in Developer Options
- download ADB to your PC - xda has slimmed package
- download and install Samsung USB driver
- connect PC to phone using USB-C cable
- run following commands from Windows or Linux command prompt:
adb devices
#phone will prompt you to allow connection and allow data access
#you should see:
List of devices attached
R58M82S1KVB device
#then enter android shell:
adb shell
#to find packages
pm list packages -s
pm list packages -s <keyword>
pm list packages -f com.samsung.android.knox.containercore
#uninstall
pm uninstall -k --user 0 <package>
#reinstall back
adb shell cmd package install-existing <name of package>
#search for packages
pm list packages -s google
pm list packages -s bixby
pm list packages -s ant
pm list packages -s amazon
pm list packages -s chrome
pm list packages -s microsoft
pm list packages -s print
pm list packages -s netflix
pm list packages -s .ar
pm list packages -s .vr
pm list packages -s cover
pm list packages -s kid
pm list packages -s game
pm list packages -s pass
pm list packages -s pay
pm list packages -s smart
pm list packages -s shar
pm list packages -s sticker
pm list packages -s widg
pm list packages -s social
pm list packages -s sns
pm list packages -s authfw
pm list packages -s spp
pm list packages -s facebook
pm list packages -s desk
pm list packages -s dex
pm list packages -s edge
pm list packages -s agent
pm list packages -s knox
#Finally, when you got all your packages names into one neat text file, exit from adb shell:
exit
#Windows command:
for /F %F in (pmlist10.txt) DO adb shell pm uninstall -k --user 0 %F
for /F %F in (knoxlist10.txt) DO adb shell pm uninstall -k --user 0 %F
#Unix/Linux command
for i in `cat pmlist10.txt`; do adb shell pm uninstall -k --user 0 "$i"; done
for i in `cat knoxlist10.txt`; do adb shell pm uninstall -k --user 0 "$i"; done
#The list files are attached to the post
#this is tested on A70 and gTab S4
#Be very careful with Knox, I got into trouble being overzealous, the list I have is safe, but there are still many Knox packages remaining, leave them alone
#if your phone is locked (Knox Guard message will popup), then use Factory reset from stock recovery, or flash stock ROM with Odin, here's where your backup will come in handy
#Third party lists of apps to debloat are also overzealous, use them at your own risk.

Related

Disable Samsung Internet browser

How do I disable Samsung Internet?
In App Settings, the disable button is ghosted.
Using "Force Stop" is not permanent.
This app starts up frequently on its own and is annoying.
Firefox is set as my default browser.
Phone is Galaxy S10 SM-G973U
Airstream25 said:
How do I disable Samsung Internet?
In App Settings, the disable button is ghosted.
Using "Force Stop" is not permanent.
This app starts up frequently on its own and is annoying.
Firefox is set as my default browser.
Phone is Galaxy S10 SM-G973U
Click to expand...
Click to collapse
Samsung internet can be uninstalled on G973F...
Dkzs said:
Samsung internet can be uninstalled on G973F...
Click to expand...
Click to collapse
My Phone is Galaxy S10 SM-G973U
You can uninstall it with adb:
Code:
adb shell pm.uninstall -k --user 0 com.sec.android.app.sbrowser
For disabling it enter:
Code:
adb shell pm disable com.sec.android.app.sbrowser
adb command to disable Samsung Internet browser
That command was not successful, see below;
PS C:\adb\platform-tools> .\adb shell pm disable com.sec.android.app.sbrowser
Security exception: Shell cannot change component state for com.sec.android.app.sbrowser/null to 2
java.lang.SecurityException: Shell cannot change component state for com.sec.android.app.sbrowser/null to 2
at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:25067)
at com.android.server.pm.PackageManagerService.setApplicationEnabledSetting(PackageManagerService.java:24817)
at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:1610)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:199)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:25942)
at android.os.Binder.shellCommand(Binder.java:642)
at android.os.Binder.onTransact(Binder.java:540)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:3329)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4763)
at android.os.Binder.execTransact(Binder.java:739)
PS C:\adb\platform-tools>
And what does the uninstall command do?
You can reinstall the browser via play or galaxy store.
Jannomag said:
And what does the uninstall command do?
You can reinstall the browser via play or galaxy store.
Click to expand...
Click to collapse
S C:\adb\platform-tools> .\adb devices
List of devices attached
RF8M20Z.... device
PS C:\adb\platform-tools> .\adb shell pm.uninstall -k --user 0 com.sec.android.app.sbrowser
/system/bin/sh: pm.uninstall: not found
PS C:\adb\platform-tools>
Airstream25 said:
S C:\adb\platform-tools> .\adb devices
List of devices attached
RF8M20Z.... device
PS C:\adb\platform-tools> .\adb shell pm.uninstall -k --user 0 com.sec.android.app.sbrowser
/system/bin/sh: pm.uninstall: not found
PS C:\adb\platform-tools>
Click to expand...
Click to collapse
My
You have a . It should be pm uninstall
jobhax said:
My
You have a . It should be pm uninstall
Click to expand...
Click to collapse
PS C:\adb\platform-tools> .\adb shell pm uninstall -k --user 0 com.sec.android.app.sbrowser
Success
PS C:\adb\platform-tools>
Wow, you guys are great, thanks!
Sorry...I miss typed the pm command with a dot instead of space.
uninstalling samsung internet
Greetings,
I tried uninstalling Samsung internet through ADB prompt
below is the code I used and error.
C:\WINDOWS\system32>adb shell
d2q:/ $ pm uninstall -k --user 0 com.sec.andriod.app.sbrowser
Failure [not installed for 0]
1|d2q:/ $
Please help me. Thanks
---------- Post added at 04:49 PM ---------- Previous post was at 04:45 PM ----------
Airstream25 said:
PS C:\adb\platform-tools> .\adb shell pm uninstall -k --user 0 com.sec.android.app.sbrowser
Success
PS C:\adb\platform-tools>
Wow, you guys are great, thanks!
Click to expand...
Click to collapse
Greetings,
I tried uninstalling Samsung internet through ADB prompt
below is the code I used and error.
C:\WINDOWS\system32>adb shell
d2q:/ $ pm uninstall -k --user 0 com.sec.andriod.app.sbrowser
Failure [not installed for 0]
1|d2q:/ $
Please help me. Thanks
Have you tried to disable it with the CCSWE app available in Play.
E:\platform-tools_r30.0.2-windows\platform-tools>adb.exe shell pm uninstall -k --user 0 com.sec.android.app.sbrowser
adb.exe: more than one device/emulator

⋆ [2022-09-28] Remove system apps on Realme UI 2.0 using ADB ⋆

Remove system apps on Realme UI 2.0 using ADB
Updated : 2022-09-28​
Tested On:
Model: RMX2001
Hardware Version: RMX_2001_11​
RealmeUI Version: V2.0
ColorOS Version: V11​
Android Version: 11
Android Security Update: 2022-03-05
Build Number: RMX2001_11_C.18​
Baseband Version: M_V3_P10,M_V3_P10​
Kernel Version: 4.14.186+​
Notes:
DO NOT INSTALL OTA UPDATE ON A DEBLOATED PHONE. YOU WILL FACE BOOT LOOPS.
RE-INSTALL / RE-ENABLE BLOATWARE APPS, RESTART PHONE AND THEN INSTALL OTA UPDATE.
This method should not delete your phone data, however always take full backup of your phone for safety.
This method uninstalls/disables the apps for user 0. It does not physically remove the apps from your system partition.
Requirements:
Your phone
A computer with Windows/Linux/MacOS
Enable "Use USB to : File Transfer" from notification menu after connecting your phone to PC, else ADB will not work.
Install ADB + Fastboot Drivers : https://www.xda-developers.com/install-adb-windows-macos-linux
Setup ADB + Fastboot Interface : https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux
Un-install a system app
Code:
adb shell pm uninstall -k --user 0 <package.name>
List all system apps which you have un-installed
Code:
adb shell "(pm list packages -u && pm list packages) | sed 's/^package://' | sort | uniq -u"
Re-install a system app
Code:
adb shell cmd package install-existing <package.name>
Re-install all uninstalled apps at once on a Linux machine
Code:
for i in $(adb shell "(pm list packages -u && pm list packages) | sed 's/^package://' | sort | uniq -u"); do adb shell "cmd package install-existing ${i}"; done
Disable a system app
Code:
adb shell pm disable-user --user 0 <package.name>
List all system apps which you have disabled
Code:
adb shell "pm list packages -d | sed 's/^package://' | sort | uniq -u"
Re-enable a system app
Code:
adb shell pm enable --user 0 <package.name>
Re-enable all disabled system apps at once on a Linux Machine
Code:
for i in $(adb shell "pm list packages -d | sed 's/^package://' | sort | uniq -u"); do adb shell "pm enable --user 0 ${i}"; done
Code:
# AOSP & Google Apps
adb shell pm uninstall -k --user 0 com.android.chrome
adb shell pm uninstall -k --user 0 com.android.hotwordenrollment.okgoogle
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.google.android.apps.nbu.paisa.user
adb shell pm uninstall -k --user 0 com.google.android.feedback
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox
adb shell pm uninstall -k --user 0 com.google.android.youtube
# ColorOS & Oppo Apps
adb shell pm uninstall -k --user 0 com.coloros.assistantscreen
adb shell pm uninstall -k --user 0 com.coloros.backuprestore
adb shell pm uninstall -k --user 0 com.coloros.childrenspace
adb shell pm uninstall -k --user 0 com.coloros.compass2
adb shell pm uninstall -k --user 0 com.coloros.healthcheck
adb shell pm uninstall -k --user 0 com.coloros.healthservice
adb shell pm uninstall -k --user 0 com.coloros.personalassistant.overlay.common
adb shell pm uninstall -k --user 0 com.coloros.phonemanager
adb shell pm uninstall -k --user 0 com.coloros.securepay
adb shell pm uninstall -k --user 0 com.coloros.securitykeyboard
adb shell pm uninstall -k --user 0 com.coloros.video
adb shell pm uninstall -k --user 0 com.coloros.weather2
adb shell pm uninstall -k --user 0 com.oppo.quicksearchbox
adb shell pm uninstall -k --user 0 com.oppo.music
# Facebook Apps
adb shell pm uninstall -k --user 0 com.facebook.appmanager
adb shell pm uninstall -k --user 0 com.facebook.services
adb shell pm uninstall -k --user 0 com.facebook.system
# Heytap Apps
# You can remove all if you dont use Realme/Heytap online account
adb shell pm uninstall -k --user 0 com.heytap.market
adb shell pm uninstall -k --user 0 com.heytap.themestore
adb shell pm uninstall -k --user 0 com.heytap.browser
adb shell pm uninstall -k --user 0 com.heytap.cloud
adb shell pm uninstall -k --user 0 com.heytap.habit.analysis
adb shell pm uninstall -k --user 0 com.heytap.mcs
adb shell pm uninstall -k --user 0 com.heytap.openid
adb shell pm uninstall -k --user 0 com.heytap.pictorial
adb shell pm uninstall -k --user 0 com.heytap.usercenter
# Nearme & Realme Apps
# Secure Payment Protection Feature
adb shell pm uninstall -k --user 0 com.nearme.atlas
adb shell pm uninstall -k --user 0 com.realme.securitycheck
# Red Tea Mobile Apps
# Get new SIM, recharge data plans when abroad.
adb shell pm uninstall -k --user 0 com.redteamobile.roaming
# Tencent Apps
adb shell pm uninstall -k --user 0 com.tencent.soter.soterserver
# Misc Apps
adb shell pm uninstall -k --user 0 com.glance.internet
adb shell pm uninstall -k --user 0 com.finshell.fin
Credits:
Doug Lynch of XDA Portal : https://www.xda-developers.com/author/doug-lynch/
Original Article : https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access
Changelog
#1 : 15 June 2020
Initial Release
#2 : 20 June 2020
Added more AOSP, Google, MediaTek apps
#3 : 11 September 2020
Removed critical apps from the list
Remade the list for B45 update.
#4 : 15 September 2020
Added system app - com.heytap.mcs
#5 : 17 September 2020
Removed critical system app - com.coloros.safecenter
Removed critical system app - com.coloros.encryption
Removed system-locked app - com.coloros.lockassistant
#6 : 26 September 2020
Added new info
Added more devices apart from Realme 6
#7 : 10 October 2020
Added "pm disable-user --user 0" method
#8 : 12 May 2021
Remade the list, removed apps that were causing issues.
Added commands for batch re-installing and re-enabling apps of apps
#9 : 13 May 2021
Added more apps
#10 : 1 October 2021
Removed critical system app - com.coloros.weather2
Removed critical system app - com.coloros.weather.service
Guide is only applicable to Realme 6 (Realme UI 2.0, Android 11)
#11: 28 September 2022
Added OTA bootloop warning
Fixed adb commands
Added testing device information for transparency
#12 : 26 February 2023
Replaced com.coloros.weather.service with com.coloros.weather2
Added Finshell Pay and Glance apps
Reserved #2
Savior ????
thx
Remove hot apps and hot games
After the newest update of Jul, I have got two new icons/folder that tries to list entries from app market. Any way to remove those?
I might have remove those before using the mentioned approach but dont remember which packages were they.
udfaq8888 said:
After the newest update of Jul, I have got two new icons/folder that tries to list entries from app market. Any way to remove those? I might have remove those before using the mentioned approach but dont remember which packages were they.
Click to expand...
Click to collapse
Those are launcher activities from App Market App. Open App Market > Settings > Hot Games/Apps > Disable. It should now be hidden inside your stock launcher. They might re-appear again. Best way is to use a custom launcher and hide Hot App/Games permanently.
Can I remove all this packages? Is it safe?
Shirswa said:
Can I remove all this packages? Is it safe?
Click to expand...
Click to collapse
Yes, you can remove but be aware before removing any essential package required for proper device functioning.
Shirswa said:
Can I remove all this packages? Is it safe?
Click to expand...
Click to collapse
Technically its safe to remove all packages, I tested it personally and my phone was able to boot. If you dont need a particular app or functionality, you can safely remove that package.
the app security check drove me crazy, thanks for adding it!
too bad still now way to remove App Market. Can disable everything from the settings within the app and disable permissions
hi im using realme 6 pro is this applicable? using automatic? all listed there?
davejimson said:
hi im using realme 6 pro is this applicable? using automatic? all listed there?
Click to expand...
Click to collapse
yes you can use it on Realme 6 Pro too. I would recommend manual method instead.
prathameshsd said:
yes you can use it on Realme 6 Pro too. I would recommend manual method instead.
Click to expand...
Click to collapse
Thanks, anyway i can't understand the steps how to to automatic, i tried copying the code and save it as .bat , i clicked it run like blink only, nothing happens
davejimson said:
Thanks, anyway i can't understand the steps how to to automatic, i tried copying the code and save it as .bat , i clicked it run like blink only, nothing happens
Click to expand...
Click to collapse
make sure you have
installed adb drivers properly
added adb directory to system PATH variable
device gets detected in adb
set USB mode to file transfer
pasted the .bat file inside adb directory
if running bat file fails, go for manual method.
Removing com.coloros.encryption breaks the stock launcher.
Also trying to remove com.coloros.lockassistant returns "Failure [DELETE_FAILED_INTERNAL_ERROR]".
Everything else works fine :good:
Dont remove com.coloros.safecenter ! It breaks "display over other apps" permission!
wenna.speedy said:
Dont remove com.coloros.safecenter ! It breaks "display over other apps" permission!
Click to expand...
Click to collapse
zahid ramirez said:
Removing com.coloros.encryption breaks the stock launcher.
Also trying to remove com.coloros.lockassistant returns "Failure [DELETE_FAILED_INTERNAL_ERROR]".
Everything else works fine :good:
Click to expand...
Click to collapse
thanks for the heads up, I have updated the post.
Hello guys.
I uninstalled a lot of bloat from my realme 6i, but I accidentally deleted the phone and contacts app! And I don't know how they are called. Can anybody help me here? Just the stock android phone app would do. Thank you.
erw23 said:
Hello guys.
I uninstalled a lot of bloat from my realme 6i, but I accidentally deleted the phone and contacts app! And I don't know how they are called. Can anybody help me here? Just the stock android phone app would do. Thank you.
Click to expand...
Click to collapse
Phone app : adb shell cmd package install-existing com.android.phone
Contacts app : adb shell cmd package install-existing com.android.contacts
Messages app : adb shell cmd package install-existing com.androidm.mms
Also
adb shell "(pm list packages -u && pm list packages) | sort | uniq -u | cut -c 9-"
for all packages you have uninstalled.

non-root debloating

Hi all
a quick search reveals nothing for "bloat" or "debloat" on these forums - I was wondering if there was a way of debloating the A71. (without rooting / flashing a new OS)
I'm coming from a Xiaomi Mi9tpro where there is an easy way of debloating via a PC app - available on the Mi.com website..
Cheers
Hi, you can do this....
Be careful, you can delete anything important
First
Root permissions
adb shell pm grant com.sample.app android.permission.WRITE_SECURE_SETTINGS
adb shell
pm list packages | grep "name of OEM/Operator/Aplication" for example, pm list packages | grep google
pm uninstall -k --user 0 "name aplication" for example, pm uninstall -k --user 0 com.google.maps

Question Disabling Google Now Feed

Hello, fellas!
Does anyone find a way to disable/turn off the most left screen. I've search internet and other forums. And there are some ways, but looks like they are all for previous ColorOS versions (not 11). I've tried the following commands:
Code:
adb shell pm uninstall -k --user 0 com.coloros.assistantscreen // such application even doesn't installed
adb shell pm uninstall -k --user 0 com.coloros.lockassistant // error while deleting
adb shell pm uninstall -k --user 0 com.coloros.floatassistant // deleted successfully, but it is not for Google Feed :-)
Please, help if you know.
This is a google package so i think you should look for something beginning with google. . You can list all installed packages :
Code:
pm list packages
and if you want to list Google packages :
Code:
pm list packages google
Just in case if you found the correct package, if i was you i will probably disable it in place of uninstall.
For me on Oppo Find X3 Lite (aka Reno5) , i've disable Google Discover like that :
Code:
pm disable-user --user 0 com.google.android.googlequicksearchbox
and in case you want it back :
Code:
pm enable com.google.android.googlequicksearchbox
you can check what packages are disable like that :
Code:
pm list packages -d
in my case :
Code:
package:com.google.android.googlequicksearchbox
package:com.facebook.services
package:com.facebook.system
package:com.facebook.appmanager
ilos said:
This is a google package so i think you should look for something beginning with google. . You can list all installed packages :
Code:
pm list packages
and if you want to list Google packages :
Code:
pm list packages google
Just in case if you found the correct package, if i was you i will probably disable it in place of uninstall.
For me on Oppo Find X3 Lite (aka Reno5) , i've disable Google Discover like that :
Code:
pm disable-user --user 0 com.google.android.googlequicksearchbox
and in case you want it back :
Code:
pm enable com.google.android.googlequicksearchbox
you can check what packages are disable like that :
Code:
pm list packages -d
in my case :
Code:
package:com.google.android.googlequicksearchbox
package:com.facebook.services
package:com.facebook.system
package:com.facebook.appmanager
Click to expand...
Click to collapse
Thanks a lot! It really works!

Question HOW TO FIX "Failure [not installed for 0]" , WHILE UNINSTALLING SYSTEM APPS

Using ADB shell i was able to uninstall bloatware apps from my OPPO F9 pro ,and all those apps that i uninstalled using -
Code:
adb shell
pm uninstall -k --user 0 <package_name>
were also those apps being identified by app inspector ,means i was able to see the their package name in app inspector and they were system apps as well but ,there are some other system apps like oppo appstore,compass, oppo theme store,oppo game center,etc those are neither shown in app inspector(idk why) where package information of other system+user apps is available and nor i can delete them ,BUT they are installed in my phone.
I receive the following error while uninstalling these system apps(taking example when i try 2 uninstall game center)-
Code:
adb shell
pm uninstall -k --user 0 com.coloros.gamespace
Failure [not installed for 0]
Now , "Failure [not installed for 0]" is the error when i try to uninstall any app that already is uninstalled (OR) doesn't exist on the android, BUT again ,these apps those im facing error to uninstall are actually there in my phone.
You might also wish 2 know that for these same apps ,how do i got the package name like the one in the example;com.coloros.gamespace since its package was not even shown in app inspector(or any other app) ,then i would like 2 tell u that i just searched in google typing "list of oppo bloatware" ,searched for the package name of these apps from websites those app inspector was unable to identify.
If anyone can help me in this issue i would really be thankful
... probably NOT in the S21ULTRA thread....
armankang said:
If anyone can help me in this issue i would really be thankful
Click to expand...
Click to collapse
Not an OPPO thread but you need to look for your phone specific packages with:
adb shell pm list packages​
Using the above ADB Shell command, you can print the list of the app package names for all apps installed on your Android device. You can use this command with different parameters to get a more specific list of app packages.
For instance, if you want to list the system apps only, use
adb shell pm list packages -s
In order to list all third-party apps installed on your Android phone or tablet, you issue the following command.
adb shell pm list packages -3
Do you want ADB Shell to show the list of all enabled or disabled apps on your device, try the command with parameters like ‘-d‘ (for disabled apps), ‘-e‘ (for enabled apps), and ‘-u‘ (for uninstalled apps).
adb shell pm list packages -d
adb shell pm list packages -epm list packages
adb shell pm list packages -u
To list app packages with specific keywords filter.
adb shell pm list packages <keywords>
To find the list of apps along with their associated packages, execute the following command
adb shell pm list packages -f
You can easily get a list of group packages by a certain manufacturer, or come common term. For instance, if you want to list all apps by Google, you can use the following command.
adb shell pm list packages | grep 'google'
You can replace “google” with “samsung”, “huawei”, “xiaomi”, “miui”, “evenwell”, “android”, “facebook”, etc. to get desired list of packages.
Ipse_Tase said:
... probably NOT in the S21ULTRA thread....
Click to expand...
Click to collapse
sorry bro i will change it i was just confused as it was my 3rd time only using xda threads to ask questions
mzsquared said:
Not an OPPO thread but you need to look for your phone specific packages with:
adb shell pm list packages​
Using the above ADB Shell command, you can print the list of the app package names for all apps installed on your Android device. You can use this command with different parameters to get a more specific list of app packages.
For instance, if you want to list the system apps only, use
adb shell pm list packages -s
In order to list all third-party apps installed on your Android phone or tablet, you issue the following command.
adb shell pm list packages -3
Do you want ADB Shell to show the list of all enabled or disabled apps on your device, try the command with parameters like ‘-d‘ (for disabled apps), ‘-e‘ (for enabled apps), and ‘-u‘ (for uninstalled apps).
adb shell pm list packages -d
adb shell pm list packages -epm list packages
adb shell pm list packages -u
To list app packages with specific keywords filter.
adb shell pm list packages <keywords>
To find the list of apps along with their associated packages, execute the following command
adb shell pm list packages -f
You can easily get a list of group packages by a certain manufacturer, or come common term. For instance, if you want to list all apps by Google, you can use the following command.
adb shell pm list packages | grep 'google'
You can replace “google” with “samsung”, “huawei”, “xiaomi”, “miui”, “evenwell”, “android”, “facebook”, etc. to get desired list of packages.
Click to expand...
Click to collapse
Thanks for replying bro.
So i got to know that i was getting that "Failure [not installed for 0]" error because the app packages given(for the same apps) those i searched for in google were not the same as for mine device's system apps ,so i got that error.
So when i just opened the list of packages using "pm list packages -___" i got the package names for those apps ,BUT still even now when i try to uninstall
those system apps using adb command with their correct package name i get a new error-
Code:
adb shell
pm uninstall --user 0 <package_name>
Failure [DELETE_FAILED_INTERNAL_ERROR]
In fact i can't even disable them like usually i can disable other system apps/user apps.
*When i use command pm disable for those apps showing no error-
Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: disabled-user
*When i get error(maybe not error but app stays in default state with no change) for other system apps-
Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: default
In short, neither i am able to uninstall them nor i can disable them, if it is because the system isn't giving me permission to do so then is there any other adb command that needed to be executed before these to get access first and then uninstall/disable.
BTW im fully relying on ADB shell to grant permissions or perform any operation ,i don't have root in my phone ,so plz tell if there is any method for non-rooted devices,thx
PLZ help.
without root you wont be able to delete system level apps.
uicnren said:
without root you wont be able to delete system level apps.
Click to expand...
Click to collapse
ok bro thanks
armankang said:
Thanks for replying bro.
So i got to know that i was getting that "Failure [not installed for 0]" error because the app packages given(for the same apps) those i searched for in google were not the same as for mine device's system apps ,so i got that error.
So when i just opened the list of packages using "pm list packages -___" i got the package names for those apps ,BUT still even now when i try to uninstall
those system apps using adb command with their correct package name i get a new error-
Code:
adb shell
pm uninstall --user 0 <package_name>
Failure [DELETE_FAILED_INTERNAL_ERROR]
In fact i can't even disable them like usually i can disable other system apps/user apps.
*When i use command pm disable for those apps showing no error-
Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: disabled-user
*When i get error(maybe not error but app stays in default state with no change) for other system apps-
Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: default
In short, neither i am able to uninstall them nor i can disable them, if it is because the system isn't giving me permission to do so then is there any other adb command that needed to be executed before these to get access first and then uninstall/disable.
BTW im fully relying on ADB shell to grant permissions or perform any operation ,i don't have root in my phone ,so plz tell if there is any method for non-rooted devices,thx
PLZ help.
Click to expand...
Click to collapse
Are Google Apps, system apps?
****Hawk said:
Are Google Apps, system apps?
Click to expand...
Click to collapse
Afaik every app that you can't uninstall without adb is a system app

Categories

Resources