Remove Bloatware from Vivo Phones without Root - iQOO Z1 ROMs, Kernels, Recoveries, & Other Develop

What You’ll Need​
A PC or Laptop (Windows, macOS or Linux)
Samsung, Oppo or Vivo Smartphone
A compatible USB cable
USB Drivers, ADB, and USB Debugging​1] Install USB drivers on your PC. You can either install universal drivers by Google
2] Download ADB on your computer. Extract the zip file in an easily accessible folder on your drive.
3] Enable USB Debugging on your phone. Head to Settings > About Phone and tap the Build Number for seven times until it says, “Developer options have been enabled.” Then, go to Settings > About Phone > enable USB debugging.
Connecting Phone via ADB​Now, you need to connect your phone to the computer via ADB. The process may seem lengthy, but is quite easy once you understand the steps.
1] Connect your phone to PC using a compatible USB cable that supports data transfers.
2] Change the connection mode to File Transfer (MTP) from notification pane.
3] Now, head to the folder where you extracted ADB files on your computer. Here, hold the Shift key and right-click anywhere on the screen. Select Open PowerShell Window Here (or Terminal in case of macOS).
4] Once the Powershell window opens, enter “adb devices” without quotes.
adb uninstall --user 0 com.vivo.globalsearch
adb uninstall --user 0 com.vivo.share
adb uninstall --user 0 com.vivo.dream.music
adb uninstall --user 0 com.vivo.game
adb uninstall --user 0 com.android.VideoPlayer
adb uninstall --user 0 com.iqoo.secure
adb uninstall --user 0 com.android.bbkmusic
adb uninstall --user 0 com.vivo.website
adb uninstall --user 0 com.vivo.magazine
adb uninstall --user 0 com.vivo.browser
adb uninstall --user 0 com.yozo.vivo.office
adb uninstall --user 0 com.vivo.email
adb uninstall --user 0 com.bbk.appstore
adb uninstall --user 0 com.chaozh.iReader
adb uninstall --user 0 com.vivo.favorite
adb uninstall --user 0 com.bbk.cloud
(removed) App Clone (com.vivo.doubleinstance)
(removed) Browser (com.vivo.browser)
(removed) Calendar (com.bbk.calendar)
(removed) Calendar pendants (com.vivo.widget.calendar)
(removed) Driving Mode (com.vivo.carlauncher)
(removed) Jovi (adb uninstall --user 0 com.vivo.assistant)
(removed) Jovi Voice (adb uninstall --user 0 com.vivo.agent)
(removed) Jovi InLife service (adb uninstall --user 0 com.vivo.iotserver) (adb uninstall --user 0 com.vivo.smartLife)
(removed) Log Collection (com.android.bbklog)
(removed) LogSystem (com.bbk.iqoo.logsystem)
(removed) Mobile KTV (adb uninstall --user 0 com.vivo.vivokaraoke)
(removed) NetworkLocation (com.baidu.map.location)
(removed) vivoCloud (com.bbk.cloud)
(removed) ??????????? (adb uninstall --user 0 com.iflytek.speechsuite)
(removed) VideoPlayer (adb uninstall --user 0 com.android.VideoPlayer.apk)
(removed) EasyShare (com.vivo.easyshare)
(removed) i Music (adb uninstall --user 0 com.android.bbkmusic)
(removed) V-Appstore (adb uninstall --user 0 com.bbk.appstore)
(removed) vivo.com (adb uninstall --user 0 com.vivo.space)
(removed) Vivo wallet (adb uninstall --user 0 com.vivo.wallet)
(DISABLED) Power guardian (com.vivo.pem) (many reports about push notifications not appearing on time)
(DISABLED) Global Search (adb uninstall --user 0 com.vivo.globalsearch)
Thx

Eugene, careful with that axe...
Some of those apks may be useful and use little or no resources when not in use.
Dependencies, dependencies, dependencies which also may fail if a parent apk or associated apk is removed.
Each user and device configuration is unique. I don't recommend the blind shotgun approach at all. Know exactly what you're disabling, otherwise one at a time, observe for a week or more for adverse changes.
A apk name sometimes has nothing to do with its actual function...

Related

Debloat Vivo Z1 Pro

Hope it helps
1- Install system wide Adb and Fastboot from here - https://forum.xda-developers.com/showthread.php?t=2588979
2- Install phone drivers, Win 10 automatically installs generic drivers which also works.
2 - Enable developer mode and enable USB Debugging from settings.
3- Open "Command Prompt" and type
"adb devices"
4- if it shows something like this :-
List of devices attached
e7ed7f8d device
then its ok, otherwise your phone drivers are not properly installed.
5- Type "adb shell"
6- Then type these one by one
pm uninstall -k --user 0 com.vivo.browser ---- for browser
pm uninstall -k --user 0 com.vivo.appstore ---- for appstore
pm uninstall -k --user 0 com.vivo.easyshare ---- for easyshare
pm uninstall -k --user 0 com.vivo.website ---- for vivo website shortcut
pm uninstall -k --user 0 com.vivo.email ---- for vivo email
pm uninstall -k --user 0 com.android.bbkmusic ---- for vivo music
pm uninstall -k --user 0 com.iqoo.secure ---- for vivo imanager
pm uninstall -k --user 0 com.vivo.Tips ---- for vivo tips
pm uninstall -k --user 0 com.bbk.cloud ---- for vivo cloud
pm uninstall -k --user 0 com.google.android.googlequicksearchbox ---- for google(assistant button will not work)
pm uninstall -k --user 0 com.google.android.apps.googleassistant ---- for assistant(assistant button will not work)
install "package name viewer" from Playstore in case you want uninstall other apps. Be careful not to uninstall any system critical apps.
How to unlock bootloader
ayushmot said:
How to unlock bootloader
Click to expand...
Click to collapse
Noooooooooooooo idea
The term 'pm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
surdas13 said:
The term 'pm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
Click to expand...
Click to collapse
Make sure you are in adb shell, do that using "adb shell" command
Vivo gallery app for Z1 Pro
hey i deleted vivo gallery by mistake and now i cant chnge lockscreen pic. can anyone give the link to vivo gallery app?
Will this work for other vivo models?
raul2speed said:
Hope it helps
1- Install system wide Adb and Fastboot from here - https://forum.xda-developers.com/showthread.php?t=2588979
2- Install phone drivers, Win 10 automatically installs generic drivers which also works.
2 - Enable developer mode and enable USB Debugging from settings.
3- Open "Command Prompt" and type
"adb devices"
4- if it shows something like this :-
List of devices attached
e7ed7f8d device
then its ok, otherwise your phone drivers are not properly installed.
5- Type "adb shell"
6- Then type these one by one
pm uninstall -k --user 0 com.vivo.browser ---- for browser
pm uninstall -k --user 0 com.vivo.appstore ---- for appstore
pm uninstall -k --user 0 com.vivo.easyshare ---- for easyshare
pm uninstall -k --user 0 com.vivo.website ---- for vivo website shortcut
pm uninstall -k --user 0 com.vivo.email ---- for vivo email
pm uninstall -k --user 0 com.android.bbkmusic ---- for vivo music
pm uninstall -k --user 0 com.iqoo.secure ---- for vivo imanager
pm uninstall -k --user 0 com.vivo.Tips ---- for vivo tips
pm uninstall -k --user 0 com.bbk.cloud ---- for vivo cloud
pm uninstall -k --user 0 com.google.android.googlequicksearchbox ---- for google(assistant button will not work)
pm uninstall -k --user 0 com.google.android.apps.googleassistant ---- for assistant(assistant button will not work)
install "package name viewer" from Playstore in case you want uninstall other apps. Be careful not to uninstall any system critical apps.
Click to expand...
Click to collapse
Tried only on, z1 pro. But No harm in trying, this step only freezes the app
raul2speed said:
Hope it helps
1- Install system wide Adb and Fastboot from here - https://forum.xda-developers.com/showthread.php?t=2588979
2- Install phone drivers, Win 10 automatically installs generic drivers which also works.
2 - Enable developer mode and enable USB Debugging from settings.
3- Open "Command Prompt" and type
"adb devices"
4- if it shows something like this :-
List of devices attached
e7ed7f8d device
then its ok, otherwise your phone drivers are not properly installed.
5- Type "adb shell"
6- Then type these one by one
pm uninstall -k --user 0 com.vivo.browser ---- for browser
pm uninstall -k --user 0 com.vivo.appstore ---- for appstore
pm uninstall -k --user 0 com.vivo.easyshare ---- for easyshare
pm uninstall -k --user 0 com.vivo.website ---- for vivo website shortcut
pm uninstall -k --user 0 com.vivo.email ---- for vivo email
pm uninstall -k --user 0 com.android.bbkmusic ---- for vivo music
pm uninstall -k --user 0 com.iqoo.secure ---- for vivo imanager
pm uninstall -k --user 0 com.vivo.Tips ---- for vivo tips
pm uninstall -k --user 0 com.bbk.cloud ---- for vivo cloud
pm uninstall -k --user 0 com.google.android.googlequicksearchbox ---- for google(assistant button will not work)
pm uninstall -k --user 0 com.google.android.apps.googleassistant ---- for assistant(assistant button will not work)
install "package name viewer" from Playstore in case you want uninstall other apps. Be careful not to uninstall any system critical apps.
Click to expand...
Click to collapse
=============================================================================================
how to reinstall bloatware ?????
raul2speed said:
Hope it helps
1- Install system wide Adb and Fastboot from here - https://forum.xda-developers.com/showthread.php?t=2588979
2- Install phone drivers, Win 10 automatically installs generic drivers which also works.
2 - Enable developer mode and enable USB Debugging from settings.
3- Open "Command Prompt" and type
"adb devices"
4- if it shows something like this :-
List of devices attached
e7ed7f8d device
then its ok, otherwise your phone drivers are not properly installed.
5- Type "adb shell"
6- Then type these one by one
pm uninstall -k --user 0 com.vivo.browser ---- for browser
pm uninstall -k --user 0 com.vivo.appstore ---- for appstore
pm uninstall -k --user 0 com.vivo.easyshare ---- for easyshare
pm uninstall -k --user 0 com.vivo.website ---- for vivo website shortcut
pm uninstall -k --user 0 com.vivo.email ---- for vivo email
pm uninstall -k --user 0 com.android.bbkmusic ---- for vivo music
pm uninstall -k --user 0 com.iqoo.secure ---- for vivo imanager
pm uninstall -k --user 0 com.vivo.Tips ---- for vivo tips
pm uninstall -k --user 0 com.bbk.cloud ---- for vivo cloud
pm uninstall -k --user 0 com.google.android.googlequicksearchbox ---- for google(assistant button will not work)
pm uninstall -k --user 0 com.google.android.apps.googleassistant ---- for assistant(assistant button will not work)
install "package name viewer" from Playstore in case you want uninstall other apps. Be careful not to uninstall any system critical apps.
Click to expand...
Click to collapse
I mistakenly uninstalled com.android.phone... what can I do now.. please hellppp
Can anyone give me the package name for the stock clock app
I uninstalled the clock all and installed the Google clock, but not able to set alarm
Now I want the package name of the stock clock app
shashankudupa said:
Will this work for other vivo models?
Click to expand...
Click to collapse
yes but not for all apps . I used my vivo y69 device from 2017 .
i uninstalled vivo ultra game mode
no other version is installable, orignal version was 8.0.5.2
if some find it plz give me

[GUIDE] Stock FW: rooted, debloated, storage encryption, G-Pay, S-Health, Wearable

This guide was made for those who own Exynos S9, like the stock firmware with some exceptions (bloatware) and would like to use Google Pay and Galaxy Wearable with Samsung Health even while KNOX was tripped.
The guide works for Samsung firmware based on Android 9 and 10.
In this guide we're going to modify stock S9 firmware in a way that:
all bloatware incl. Bixby is completely removed,
storage encryption works,
Google Pay works,
Galaxy Wearable and Samsung Health works,
Bixby button is mapped to whatever you want it to.
NOTE 1: We're not going to use TWRP in this guide. TWRP disables storage encryption on Samsung devices as it is not supported yet, allowing everyone who'll lay his hands on your phone to get your private data easily.
NOTE 2: This guide is based on information found on XDA Developers Forum, I simply merged things together.
What is needed:
Galaxy S9 (should work for other Samsung phones too),
computer running Linux and/or Windows (Windows is actually needed only for fast firmware download using SamFirm and for that it can be installed in a VM. If you have a better method to fetch the firmware - use it instead),
Heimdall/Odin, Android Tools, proper drivers (if you're under Windows),
USB-C cable,
stock firmware in version you're interested in (preferably current release),
Magisk and Magisk Manager downloaded from the official page,
terminal .apk of your choice,
SQL editor .apk of your choice.
Guide is divided into following parts:
Obtaining and installing stock firmware,
Rooting the device,
Debloating,
Making Google Pay work,
Fixing OS losing Bluetooth pairing after reboot,
Making Galaxy Wearable and Samsung Health work,
Remapping Bixby button.
PART I - Obtaining and installing stock firmware
Download the firmware, since fw.udpato.com doesn't allow fast downloads without viewing potentially malicious ads or purchasing premium, use the good old SamFirm tool which still works well: link.
SamFirm requires Windows (can be a VM). Windows 10 should prompt you for installing missing libraries, in case it doesn't make sure that you have all the required .NET libs installed:
Link 1
Link 2
Extract the firmware, If you're going to use Odin simply unzip the file, if you're going to use Heimdall you need the .bin and .img files, on Linux the following will do the trick:
Code:
unzip SM-G960F_1_20190806183240_zbnoluw1xu_fac.zip -d firmware && cd firmware
for f in *.tar.md5; do tar xvf $f; done
lz4 -dm *.lz4
rm -f *.tar.md5 *.lz4
Boot the phone into download mode by pressing Volume Down + Bixby + Power.
For Odin skip this step. Obtain the partition table layout:
Code:
heimdall print-pit > phone.pit
grep 'Partition\ Name\|Flash\ Filename' phone.pit
Flash the firmware, in Odin simply select proper .zip files. If you're going to use Heimdall check the output from the command above and use Partition Name value as an option, f.e. --BOOTLOADER and put the corresponding Flash Filename right after, f.e. sboot.bin. Use only pair where both Partition Name and Flash Filename exist, also the file from Flash Filename should be part of the extracted FW - if it's not, skip it (f.e. ect.bin). In some cases you will have to replace .img extension with .bin and the other way round. The final command should look like:
Code:
sudo heimdall flash --BOOTLOADER sboot.bin --PARAM param.bin --UP_PARAM up_param.bin --CM cm.bin --KEYSTORAGE keystorage.bin --BOOT boot.img --RECOVERY recovery.img --SYSTEM system.img --VENDOR vendor.img --DQMDBG dqmdbg.img --USERDATA userdata.img --RADIO modem.bin --CP_DEBUG modem_debug.bin --CACHE cache.img --OMR omr.img --ODM odm.img --HIDDEN hidden.img
Double check before executing the command.
When reboot is complete perform initial configuration of your phone. You can safely skip all the setup options except Wi-Fi access (Internet access is needed for fetching Magisk but instead you can copy required files over a wire) - phone will reset to factory defaults later anyway.
PART II - Rooting the device
Enable developers mode.
From the previously extracted Firmware copy the boot.img as well as Magisk Manager .apk files to your phone's storage, f.e. to Download folder.
Install Magisk Manager using .apk file.
From the Magisk Manager app select Install Magisk and point it to boot.img file.
Magisk will create the magisk_patched.img file. Copy it to your computer.
Reboot your phone to download mode again.
Flash the patched boot partition:
Code:
sudo heimdall flash --BOOT magisk_patched.img
The device will reboot afterwards.
You will be notified that the integrity check failed and reset is required - go on with that.
PART III - Debloating
When reboot is done perform the initial setup of your phone. Logging into Google Play is required - we will need SQL Editor. Wait for all the apps to install.
Enable developers mode.
In Developer options enable USB debugging.
On your computer start the ADB shell:
Code:
adb shell
Get rid of bloatware by entering these commands (or copy-pasting actually) into the shell:
Bixby
Code:
pm uninstall -k --user 0 com.samsung.android.bixby.agent
pm uninstall -k --user 0 com.samsung.android.bixby.es.globalaction
pm uninstall -k --user 0 com.samsung.android.bixbyvision.framework
pm uninstall -k --user 0 com.samsung.android.bixby.wakeup
pm uninstall -k --user 0 com.samsung.android.bixby.plmsync
pm uninstall -k --user 0 com.samsung.android.app.spage
pm uninstall -k --user 0 com.samsung.android.bixby.voiceinput
pm uninstall -k --user 0 com.samsung.systemui.bixby
pm uninstall -k --user 0 com.samsung.android.bixby.agent.dummy
pm uninstall -k --user 0 com.samsung.android.visionintelligence
pm uninstall -k --user 0 flipboard.boxer.app
Panel
Code:
pm uninstall -k --user 0 com.samsung.android.app.sbrowseredge
pm uninstall -k --user 0 com.samsung.android.widgetapp.yahooedge.finance
pm uninstall -k --user 0 com.samsung.android.widgetapp.yahooedge.sport
pm uninstall -k --user 0 com.samsung.android.app.taskedge
pm uninstall -k --user 0 com.samsung.android.app.appsedge
pm uninstall -k --user 0 com.samsung.android.app.clipboardedge
pm uninstall -k --user 0 com.samsung.android.app.cocktailbarservice
Game Service
Code:
pm uninstall -k --user 0 com.samsung.android.game.gamehome
pm uninstall -k --user 0 com.enhance.gameservice
pm uninstall -k --user 0 com.samsung.android.game.gametools
Smart Manager
Code:
pm uninstall -k --user 0 com.samsung.android.sm.devicesecurity
pm uninstall -k --user 0 com.samsung.android.sm.policy
pm uninstall -k --user 0 com.samsung.android.lool
Facebook
Code:
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.facebook.appmanager
Microsoft
Code:
pm uninstall -k --user 0 com.microsoft.office.excel
pm uninstall -k --user 0 com.microsoft.skydrive
pm uninstall -k --user 0 com.microsoft.office.word
pm uninstall -k --user 0 com.microsoft.office.powerpoint
LinkedIn
Code:
pm uninstall -k --user 0 com.linkedin.android
Google
Code:
#Uncomment the one below to remove Maps
#pm uninstall -k --user 0 com.google.android.apps.maps
#Uncomment the one below to remove Chrome
#pm uninstall -k --user 0 com.android.chrome
#Uncomment the one below to remove YouTube
#pm uninstall -k --user 0 com.google.android.youtube
#Uncomment the one below to remove GMail
#pm uninstall -k --user 0 com.google.android.gm
pm uninstall -k --user 0 com.google.android.googlequicksearchbox
pm uninstall -k --user 0 com.android.hotwordenrollment.okgoogle
pm uninstall -k --user 0 com.google.vr.vrcore
pm uninstall -k --user 0 com.google.android.apps.docs
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.apps.photos
pm uninstall -k --user 0 com.google.android.tts
pm uninstall -k --user 0 com.google.android.configupdater
pm uninstall -k --user 0 com.google.android.partnersetup
pm uninstall -k --user 0 com.google.android.feedback
pm uninstall -k --user 0 com.samsung.android.aircommandmanager
pm uninstall -k --user 0 com.google.android.onetimeinitializer
pm uninstall -k --user 0 com.google.android.backuptransport
pm uninstall -k --user 0 com.google.android.marvin.talkback
Samsung
Code:
#Uncomment the one below to remove Samsung Health
#pm uninstall -k --user 0 com.sec.android.service.health
#Uncomment the one below to remove SMS app
#pm uninstall -k --user 0 com.samsung.android.messaging
#Uncomment the one below to remove Theme Store (also used for setting up the wallpaper)
#pm uninstall -k --user 0 com.samsung.android.themestore
#Uncomment the one below to remove Smart Capture tool used for taking screeshots
#pm uninstall -k --user 0 com.samsung.android.app.smartcapture
pm uninstall -k --user 0 com.sec.android.app.apex
pm uninstall -k --user 0 com.sec.android.app.billing
pm uninstall -k --user 0 com.samsung.android.scloud
pm uninstall -k --user 0 com.sec.android.desktopmode.uiservice
pm uninstall -k --user 0 com.sec.android.app.desktoplauncher
pm uninstall -k --user 0 com.samsung.android.mateagent
pm uninstall -k --user 0 com.samsung.android.samsungpass
pm uninstall -k --user 0 com.samsung.android.samsungpassautofill
pm uninstall -k --user 0 com.samsung.SMT
pm uninstall -k --user 0 com.samsung.android.spayfw
pm uninstall -k --user 0 com.sec.android.easyMover.Agent
pm uninstall -k --user 0 com.samsung.android.easysetup
pm uninstall -k --user 0 com.samsung.android.beaconmanager
pm uninstall -k --user 0 com.samsung.android.universalswitch
pm uninstall -k --user 0 com.samsung.android.visioncloudagent
pm uninstall -k --user 0 com.samsung.android.app.withtv
pm uninstall -k --user 0 com.samsung.svoice.sync
pm uninstall -k --user 0 com.samsung.android.svoiceime
pm uninstall -k --user 0 com.samsung.android.svoice
pm uninstall -k --user 0 com.sec.android.widgetapp.samsungapps
pm uninstall -k --user 0 com.samsung.android.da.daagent
pm uninstall -k --user 0 com.samsung.android.drivelink.stub
pm uninstall -k --user 0 com.wsomacp
pm uninstall -k --user 0 com.sec.android.cover.ledcover
pm uninstall -k --user 0 com.samsung.android.app.ledcoverdream
pm uninstall -k --user 0 com.samsung.knox.securefolder
pm uninstall -k --user 0 com.samsung.android.knox.containeragent
pm uninstall -k --user 0 com.samsung.android.smartmirroring
pm uninstall -k --user 0 com.samsung.android.app.mirrorlink
pm uninstall -k --user 0 com.mobeam.barcodeService
pm uninstall -k --user 0 android.autoinstalls.config.samsung
pm uninstall -k --user 0 com.samsung.android.app.omcagent
pm uninstall -k --user 0 com.samsung.android.keyguardwallpaperupdator
pm uninstall -k --user 0 com.samsung.android.app.simplesharing
pm uninstall -k --user 0 com.sec.enterprise.knox.cloudmdm.smdms
pm uninstall -k --user 0 com.samsung.android.app.talkback
pm uninstall -k --user 0 com.samsung.klmsagent
pm uninstall -k --user 0 com.skms.android.agent
pm uninstall -k --user 0 com.samsung.android.bbc.bbcagent
pm uninstall -k --user 0 com.sec.enterprise.knox.attestation
pm uninstall -k --user 0 com.samsung.android.knox.containercore
pm uninstall -k --user 0 com.samsung.knox.securefolder.setuppage
pm uninstall -k --user 0 com.knox.vpn.proxyhandler
pm uninstall -k --user 0 com.sec.android.app.safetyassurance
pm uninstall -k --user 0 com.samsung.safetyinformation
pm uninstall -k --user 0 com.samsung.visionprovider
pm uninstall -k --user 0 service.odtcfactory.sec.com.odtcfactoryservice
pm uninstall -k --user 0 com.samsung.faceservice
pm uninstall -k --user 0 com.samsung.android.smartface
pm uninstall -k --user 0 com.samsung.android.bio.face.service
pm uninstall -k --user 0 com.samsung.android.app.assistantmenu
pm uninstall -k --user 0 com.samsung.android.sdk.handwriting
pm uninstall -k --user 0 com.samsung.android.mdm
pm uninstall -k --user 0 com.samsung.android.dlp.service
pm uninstall -k --user 0 com.samsung.android.sdk.professionalaudio.utility.jammonitor
pm uninstall -k --user 0 com.samsung.android.service.peoplestripe
pm uninstall -k --user 0 com.samsung.storyservice
pm uninstall -k --user 0 com.samsung.android.app.galaxyfinder
pm uninstall -k --user 0 com.samsung.android.server.iris
pm uninstall -k --user 0 com.samsung.InputEventApp
pm uninstall -k --user 0 com.samsung.android.allshare.service.fileshare
pm uninstall -k --user 0 com.samsung.android.allshare.service.mediashare
pm uninstall -k --user 0 com.samsung.android.app.soundpicker
pm uninstall -k --user 0 com.samsung.android.app.watchmanagerstub
pm uninstall -k --user 0 com.samsung.android.provider.stickerprovider
pm uninstall -k --user 0 com.samsung.android.stickercenter
pm uninstall -k --user 0 com.samsung.android.stickerplugin
pm uninstall -k --user 0 com.samsung.mlp
Reboot the device, just in case.
PART IV - Making Google Pay work
Install Magisk Manager just like you did previously. Confirm that the device is rooted.
Install terminal, f.e. Termux (you can use adb shell from your computer instead if you prefer it, it's still good to have a terminal on your phone, just in case) and SQL editor, SQLite Database Editor works well.
Run SQL editor. When asked to provide root privileges select once (you should always use that option) and confirm.
From the menu pane select File explorer and navigate do /data/data/com.google.android.gms/databases.
Open dg.db file and change value in column c of any item that has attest in its name to 0.
Run terminal. Execute the following commands to make dg.db file read-only:
Code:
su
cd /data/data/com.google.android.gms/databases
chmod 440 dg.db
Reboot the device, Google Pay will work from now on, just remember to hide Magisk from it in the Magisk Manager.
PART V - Fixing OS losing Bluetooth pairing after reboot
Samsung is using secure storage to keep Bluetooth pairing secure. The problem is that on a rooted phone this storage will always get wiped on phone reboot. There is no nice way (at least I wasn't able to find it) which makes it work however it is possible to disable secure storage on boot using Magisk Manager module.
Open Magisk Manager.
From menu (top left corner) select Downloads, find the libsecure_storage companion for rooted Samsung devices and install it.
Tap the Restart button to reboot your device.
PART VI - Making Galaxy Wearable and Samsung Health work
This part can be handled simply by going to terminal, escalating privileges with su and executing the following command:
Code:
sed -i 's/ro.config.tima=1/ro.config.tima=0/g' /system/build.prop
The disadvantage of this method is that it will have to be executed after every update. The better alternative is to use Magisk Manager plugin for props configuration.
Open Magisk Manager. If it asks for some tasks to complete, allow it.
From menu (top left corner) select Downloads, find the Busybox for Android NDK and MagiskHide Props Config modules and install them both. Reboot.
When anothe reboot is done, launch terminal and escalate your privileges with su.
From command line run props tool, which is used to modify /system/build.prop file.
Select 4 to add custom props, n for new prop. Type in ro.config.tima, confirm and provide value 0. Confirm with y and again with y to reboot the phone.
Install Galaxy Wearable and Samsung Health from the Galaxy Store. Don't launch anything yet.
Now go to Magisk Manager and hide Magisk from Samsung Health, Galaxy Wearable and Galaxy Watch Plugin.
Reboot the device, configure your watch and confirm that the Samsung Health app works.
PART VII - Remapping Bixby button
Remapping Bixby button can be achieved either by modifying keyboard layout manually or by installing Bixby button remapper module in Magisk Manager. Second option is preferred as it doesn't require modifying files on '/system' partition and will survive system updates.
Method 1: manual modification
Run terminal (or adb shell) and escalate your privileges with su.
Remount /system partition as read-write:
Code:
mount -o remount,rw /system
Navigate to /system/usr/keylayout:
Code:
cd /system/usr/keylayout
Edit the Generic.kl file:
Code:
vi Generic.kl
Go to key 703 - that's the one responsible for the Bixby key. Set the action you want for the key - it's written in capital letters. Look throughout the file for action you're interested in. Some examples: VOLUME_MUTE, MEDIA_PLAY_PAUSE, CAMERA, MUSIC, ASSIST.
Code:
key 703 VOLUME_MUTE
Save the file and exit editor wq).
Remount /system partition as read only:
Code:
mount -o remount,ro /system
Reboot the phone.
Method 2: Magisk Manager module
Launch Magisk Manager.
Pick Downloads from menu.
Find the Bixby button remapper module and install it.
Follow on-screen instructions.
Tap the Restart button to reboot the phone.
Amazing guide! Thanks! One question though. Do you have to have the bootloader unlocked to do it? I know you can flash "official" images with Odin without unlocking the bootloader , but will rooting the boot.img trip knox?
Thanks for this amazing effort, question, Secure Folder will work or no?
Oh interesting and what about samsung pay? Thanks for the break down, im sure it will be useful for alot.
b0uncyfr0 said:
Oh interesting and what about samsung pay? Thanks for the break down, im sure it will be useful for alot.
Click to expand...
Click to collapse
Unfortunately I'm not able to test this. Samsung Pay doesn't work in Poland.
Thank you for this thread.
Do this work with android 10?
You didn't mention that OEM unlock is needed. Can we do this without unlocking OEM?
McGyver dei poveri said:
Thank you for this thread.
Do this work with android 10?
You didn't mention that OEM unlock is needed. Can we do this without unlocking OEM?
Click to expand...
Click to collapse
Hey @Hekarath, same questions here.
@TheXGX, work on Android 10.
You need root to edit system files, so oem unlock os needed.
@Hekarath, If I backup "dg.db" file after edit and format my system... If I replace file and set chmod will work?
Just as a warning to some users - there are a ton of useful apps in the debloat list - especially the Samsung section. Double-check that you wont use it before you disable.
Thank you!
Thank you very much for taking the time and writing this tutorial :good: It saved my life
ADDITION
8. Reboot the device. Go to Apps and clear the data/cache of the following three apps:
- Galaxy Wear
- Galaxy Watch Plugin
- Samsung Health
9. Only after that set up your watch the first time!
thxxxx for your work!
Still working?
Can someone confirm that this method still works on the newest firmware? (one ui 2.5)
Will this work on Galaxy tab S2 8.0 LTE?
Particularly, Samsung Health, Galaxy wearable to pair with the Galaxy Watch.
I can tell you all that this post is still excellent today april 2022!! Thank you! On Samsung S9 Android 10.

P40 Pro debloating guide

Hey everyone,
I've spent the last couples days going through all the installed packages, cross-referencing different debloating guides and testing my changes. I'm running the latest EMUI 10.1.0.158 (C636).
RECOMMENDATIONS: if you can, follow this debloating guide right after a factory reset; this simply guarantees a fresh clean start. Otherwise, start by backing up your apps and important files to an external device. The built-in backup app is ideal for preserving your apps and their settings, but make sure to move these backups OFF THE PHONE. Then, you can either remove all the apps (in my guide) all at once, or remove a few at a time and reboot the phone in between. Rebooting in between reduces the chance of "shocking" the OS with too many changes all at once which could result in boot looping. Just keep in mind that I did not find that to be necessary when debloating right after a factory reset, but your mileage may vary.
Here is what I personally debloated without any adverse effect, after 2 weeks of daily use:
adb shell pm uninstall --user 0 com.huawei.hicloud ****** Huawei cloud features
adb shell pm uninstall --user 0 com.huawei.browser ****** Stock browser, replaced with Mozilla
adb shell pm uninstall --user 0 com.huawei.browserhomepage ****** Stock browser component
adb shell pm uninstall --user 0 com.android.bookmarkprovider ****** Stock bookmark content
adb shell pm uninstall --user 0 com.android.providers.partnerbookmarks ****** Stock bookmark content
adb shell pm uninstall --user 0 com.huawei.wallet ****** Huawei Wallet app
adb shell pm uninstall --user 0 com.huawei.music ****** Stock music application, replaced with PowerAmp (use the APK from their website, it does not rely on Google Services)
adb shell pm uninstall --user 0 com.huawei.phoneservice ****** Huawei customer support, also known as HiCare
adb shell pm uninstall --user 0 com.huawei.hifolder ****** AppAdvisor
adb shell pm uninstall --user 0 com.huawei.parentcontrol ****** Digital balance, parental control features
adb shell pm uninstall --user 0 com.huawei.hicard ****** Huawei Cards, no info but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hitouch ****** Allows you to shop for an object that you took a picture of
adb shell pm uninstall --user 0 com.huawei.hiassistantoversea ****** HiVoice. Huawei's voice assistant to replace "Hey Google"
adb shell pm uninstall --user 0 com.huawei.fastapp ****** Quick App Center, another type of app distribution
adb shell pm uninstall --user 0 com.huawei.imedia.sws ****** Histen. Special sound effects found in the sound settings. I only care about my EQ settings in PowerAmp
adb shell pm uninstall --user 0 com.huawei.intelligent ****** Huawei Assistant. Shopping recommendations
adb shell pm uninstall --user 0 com.huawei.magazine ****** Magazine unlock. Downloads wallpapers for your lock screen. I don't need my phone needlessly connecting to remote servers
adb shell pm uninstall --user 0 com.huawei.hwblockchain ****** I don't do anything blockchain related
adb shell pm uninstall --user 0 com.huawei.hwstartupguide ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.android.onetimeinitializer ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.huawei.android.instantonline ****** No information but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hwpanpayservice ****** This is payment related, I don't use my phone as a payment method nor do I use Huawei Wallet
adb shell pm uninstall --user 0 com.bjbyhd.screenreader_huawei ****** An accessibility feature for visually impaired people
adb shell pm uninstall --user 0 com.huawei.search ****** HiSearch. This does not affect the search bar in the Settings
adb shell pm uninstall --user 0 com.huawei.hwdetectrepair ****** Smart Diagnosis app. It diagnoses hardware problems which I could do myself
adb shell pm uninstall --user 0 com.huawei.hiview ****** This supposedly displays details/attributes of pictures. After removing this, I can still access the picture attributes in the stock Gallery so I'm not sure what this is actually about
adb shell pm uninstall --user 0 com.huawei.hiviewtunnel ****** Related to HiView.
adb shell pm uninstall --user 0 com.huawei.hidisk ****** Stock file explorer, replaced with File Manager +
adb shell pm uninstall --user 0 com.huawei.android.chr ****** HwChrService, this collects data about your usage of the cellular network. No thanks
adb shell pm uninstall --user 0 com.huawei.bd ****** Huawei User Experience app
adb shell pm uninstall --user 0 com.huawei.android.karaoke ****** Self explanatory
adb shell pm uninstall --user 0 com.huawei.desktop.explorer ****** EMUI Desktop Mode for connecting to an external display
adb shell pm uninstall --user 0 com.huawei.android.FloatTasks ****** Navigation Dock, I don't care for that UI feature
adb shell pm uninstall --user 0 com.huawei.languagedownloader ****** According to some guides, this is unsafe but I don't need another downloader for something that I'll never use
adb shell pm uninstall --user 0 com.huawei.lbs ****** Location Service. Sounds scary but I am still able to use all my GPS and location services. My location based weather widgets, Waze and Google Maps connect just as fast and accurately as before
adb shell pm uninstall --user 0 com.huawei.featurelayer.sharedfeature.map ****** Huawei Map Service. I removed it and have no issues using Waze and Google Maps
adb shell pm uninstall --user 0 com.hisi.mapcon ****** This is apparently not recommended when using WiFi calling, which I don't
adb shell pm uninstall --user 0 com.huawei.himovie.overseas ****** Stock video application, replaced with VLC. This integrates perfectly with the stock Camera and Gallery apps
adb shell pm uninstall --user 0 com.android.stk ****** SIM Toolkit. Not supported by US SIM cards
adb shell pm uninstall --user 0 com.android.mms ****** Stock SMS application, replaced with Pulse. I can still send/receive SMS & MMS. Textra looks like a good alternative too
adb shell pm uninstall --user 0 com.huawei.HwMultiScreenShot ****** Scrollshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.smartshot ****** Smart screenshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.bluetooth ****** Allows importing phone contacts via Bluetooth, something I've never done in my life
adb shell pm uninstall --user 0 com.swiftkey.swiftkeyconfigurator ****** Older version of SwiftKey, replaced with the latest SwiftKey APK
adb shell pm uninstall --user 0 com.touchtype.swiftkey ****** Older version of SwiftKey, replaced with the latest SwiftKey APK. Do not do this before downloading the APK for your new keyboard otherwise you won't have a keyboard to use to search for a replacement
adb shell pm uninstall --user 0 com.huawei.pcassistant ****** Used when connecting your phone to your PC using HiSuite
adb shell pm uninstall --user 0 com.android.egg ****** A hidden animation that no one needs to see
adb shell pm uninstall --user 0 com.android.backupconfirm ****** Google Backup, unusable without Google Services. This does not affect Huawei's backup app, I was able to back up all my apps and settings
adb shell pm uninstall --user 0 com.android.calllogbackup ****** Google Call Log Backup/Restore. This does not affect Huawei's backup app, I was able to back up my calls successfully
adb shell pm uninstall --user 0 com.huawei.scanner ****** AI Lens. Shop for objects that you take a picture of. I can't stand these "features" that revolve around shopping. This de-clutters the camera interface by removing the AI Lens button on the top left corner and does not break the AR Measure app.
adb shell pm uninstall --user 0 com.huawei.contacts ****** Dialer & contacts app. I first installed my dialer replacement, True Phone (version 2.0.0-hw rev 99 from the AppGallery) and then ran this command. Although this should not actually delete your contacts, make sure to back them up. I've had absolutely 0 issue making or receiving calls after deleting the stock dialer.
adb shell pm uninstall --user 0 com.huawei.hwsearch ****** Petal Search widget. I personally use APKPure and sometimes the AppGallery.
adb shell pm uninstall --user 0 package:com.huawei.android.hwupgradeguide ****** New package that came with .158. There is no description online but judging from the name, I don't need it
NOTICE THAT I DO NOT INCLUDE THE -k PARAMETER IN MY COMMANDS, unlike most guides found online. I do not get any error running the commands as such, and it actually clears the data created by those apps. In other words, we're not only debloating your user interface but also your storage!
To restore any app removed via ADB:
adb shell cmd package install-existing <package_name>
I always try to uninstall apps through Android before resorting to ADB. I did not really keep track of apps that I uninstalled through the menu, so it's just easier to tell you which stock apps I kept installed. By stock app, I ONLY MEAN actual apps that you can open from the home screen:
-AppGallery. This requires com.huawei.hwid to work. I needed it to get Snapchat, I might ADB-uninstall it now that Snapchat is installed
-Phone Clone. This could always be useful for porting apps over
-Optimizer
-Themes
-Live wallpaper (com.huawei.livewallpaper.paradise, also known as Brocade)
-Calendar widget/app
-Camera. Obviously. Who in their right mind would get this phone lacking a major component of Android (Play Services), if not for the camera
-Gallery. For pictures and editing
-Contacts. This is also the phone dialer. I have now uninstalled this app and replaced it with True Dialer 2.0 by Hamster Beat (available on AppGallery)
-Compass. Works great
-Smart Remote. If I ever decide to make use of my IR blaster
-AR Measure. I usually don't care for stuff like this but this actually works great and looks awesome
Here are apps/system processes that actually have an uninstall button but that I DID NOT UNINSTALL:
-Backup (com.huawei.KoBackup). I use this app to create backups periodically. Without root, this native app is able to backup a lot more than any other 3rd party backup app
-com.huawei.game.kitserver (I don't play games but if I ever decide to, I'd like to avoid breaking features)
-Contacts Sync (com.huawei.contacts.sync). I have now uninstalled this app as I no longer use the stock dialer (com.huawei.contacts)
-Storage manager (com.android.storemanager)
My goal is to remove low quality, "spyware" or unnecessary apps without removing or breaking useful features. "Useful" is always a little subjective, so decide for yourself based on my descriptions and comments!
I added AI Lens to my debloat list.
I just updated to 10.1.0.122 and did not find new packages installed or restored as part of the ROM update.
thank you very much my friend ! just did this on Mate XS !!!
finally !
avetny said:
thank you very much my friend ! just did this on Mate XS !!!
finally !
Click to expand...
Click to collapse
You're more than welcome. I've been doing some network analysis using the AdGuard Firewall and I might update this guide with my findings. I found out the phone is phoning back home (to China) quite a bit, especially Huawei Cloud and HiCloud servers despite not using any of these apps or Huawei cloud services.
how do i do this?
i cant use adb i have developer options and usb debugging on but adb devices dont show the phone
It's probably a driver problem. Take a look at this guide: https://androidmtk.com/download-minimal-adb-and-fastboot-tool
H-Emmanuel said:
It's probably a driver problem. Take a look at this guide: https://androidmtk.com/download-minimal-adb-and-fastboot-tool
Click to expand...
Click to collapse
thank you got i to work had to revoke usb debugging
H-Emmanuel said:
Hey everyone,
I've spent the last couples days going through all the installed packages, cross-referencing different debloating guides and testing my changes. I'm running the latest EMUI 10.1.0.114 and here's what I debloated so far:
adb shell pm uninstall --user 0 com.huawei.hicloud ****** Huawei cloud features
adb shell pm uninstall --user 0 com.huawei.browser ****** Stock browser, replaced with Mozilla
adb shell pm uninstall --user 0 com.huawei.browserhomepage ****** Stock browser component
adb shell pm uninstall --user 0 com.android.bookmarkprovider ****** Stock bookmark content
adb shell pm uninstall --user 0 com.android.providers.partnerbookmarks ****** Stock bookmark content
adb shell pm uninstall --user 0 com.huawei.wallet ****** Huawei Wallet app
adb shell pm uninstall --user 0 com.huawei.music ****** Stock music application, replaced with PowerAmp (use the APK from their website, it does not rely on Google Services)
adb shell pm uninstall --user 0 com.huawei.phoneservice ****** Huawei customer support, also known as HiCare
adb shell pm uninstall --user 0 com.huawei.hifolder ****** AppAdvisor
adb shell pm uninstall --user 0 com.huawei.parentcontrol ****** Digital balance, parental control features
adb shell pm uninstall --user 0 com.huawei.hicard ****** Huawei Cards, no info but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hitouch ****** Allows you to shop for an object that you took a picture of
adb shell pm uninstall --user 0 com.huawei.hiassistantoversea ****** HiVoice. Huawei's voice assistant to replace "Hey Google"
adb shell pm uninstall --user 0 com.huawei.fastapp ****** Quick App Center, another type of app distribution
adb shell pm uninstall --user 0 com.huawei.imedia.sws ****** Histen. Special sound effects found in the sound settings. I only care about my EQ settings in PowerAmp
adb shell pm uninstall --user 0 com.huawei.intelligent ****** Huawei Assistant. Shopping recommendations
adb shell pm uninstall --user 0 com.huawei.magazine ****** Magazine unlock. Downloads wallpapers for your lock screen. I don't need my phone needlessly connecting to remote servers
adb shell pm uninstall --user 0 com.huawei.hwblockchain ****** I don't do anything blockchain related
adb shell pm uninstall --user 0 com.huawei.hwstartupguide ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.android.onetimeinitializer ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.huawei.android.instantonline ****** No information but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hwpanpayservice ****** This is payment related, I don't use my phone as a payment method nor do I use Huawei Wallet
adb shell pm uninstall --user 0 com.bjbyhd.screenreader_huawei ****** An accessibility feature for visually impaired people
adb shell pm uninstall --user 0 com.huawei.search ****** HiSearch. This does not affect the search bar in the Settings
adb shell pm uninstall --user 0 com.huawei.hwdetectrepair ****** Smart Diagnosis app. It diagnoses hardware problems which I could do myself
adb shell pm uninstall --user 0 com.huawei.hiview ****** This supposedly displays details/attributes of pictures. After removing this, I can still access the picture attributes in the stock Gallery so I'm not sure what this is actually about
adb shell pm uninstall --user 0 com.huawei.hiviewtunnel ****** Related to HiView.
adb shell pm uninstall --user 0 com.huawei.hidisk ****** Stock file explorer, replaced with File Manager +
adb shell pm uninstall --user 0 com.huawei.android.chr ****** HwChrService, this collects data about your usage of the cellular network. No thanks
adb shell pm uninstall --user 0 com.huawei.bd ****** Huawei User Experience app
adb shell pm uninstall --user 0 com.huawei.android.karaoke ****** Self explanatory
adb shell pm uninstall --user 0 com.huawei.desktop.explorer ****** I don't need Huawei doing anything on my PC
adb shell pm uninstall --user 0 com.huawei.android.FloatTasks ****** Navigation Dock, I don't care for that UI feature
adb shell pm uninstall --user 0 com.huawei.languagedownloader ****** According to some guides, this is unsafe but I don't need another downloader for something that I'll never use
adb shell pm uninstall --user 0 com.huawei.lbs ****** Location Service. Sounds scary but I am still able to use all my GPS and location services. My location based weather widgets and Waze connect just as fast and accurately as before
adb shell pm uninstall --user 0 com.huawei.featurelayer.sharedfeature.map ****** Huawei Map Service. I removed it and have no issues using Waze
adb shell pm uninstall --user 0 com.hisi.mapcon ****** This is apparently not recommended when using WiFi calling, which I don't
adb shell pm uninstall --user 0 com.huawei.himovie.overseas ****** Stock video application, replaced with VLC. This integrates perfectly with the stock Camera and Gallery apps
adb shell pm uninstall --user 0 com.android.stk ****** SIM Toolkit. Not supported by US SIM cards
adb shell pm uninstall --user 0 com.android.mms ****** Stock SMS application, replaced with Pulse. I can still send/receive SMS & MMS. Textra looks like a good alternative too
adb shell pm uninstall --user 0 com.huawei.HwMultiScreenShot ****** Scrollshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.smartshot ****** Smart screenshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.bluetooth ****** Allows importing phone contacts via Bluetooth, something I've never done in my life
adb shell pm uninstall --user 0 com.swiftkey.swiftkeyconfigurator ****** Older version of SwiftKey, replaced with the latest SwiftKey APK
adb shell pm uninstall --user 0 com.touchtype.swiftkey ****** Older version of SwiftKey, replaced with the latest SwiftKey APK
adb shell pm uninstall --user 0 com.huawei.pcassistant ****** Used when connecting your phone to your PC using HiSuite
adb shell pm uninstall --user 0 com.android.egg ****** A hidden animation that no one needs to see
adb shell pm uninstall --user 0 com.android.backupconfirm ****** Google Backup, unusable without Google Services. This does not affect Huawei's backup app, I was able to back up all my apps and settings
adb shell pm uninstall --user 0 com.android.calllogbackup ****** Google Call Log Backup/Restore. This does not affect Huawei's backup app, I was able to back up my calls successfully
adb shell pm uninstall --user 0 com.huawei.scanner ****** AI Lens. Shop for objects that you take a picture of. I can't stand these "features" that revolve around shopping. This de-clutters the camera interface by removing the AI Lens button on the top left corner and does not break the AR Measure app.
NOTICE THAT I DO NOT INCLUDE THE -k PARAMETER IN MY COMMANDS, unlike most guides found online. I do not get any error running the commands as such, and it actually clears the data created by those apps. In other words, we're not only debloating your user interface but also your storage!
To restore any app removed via ADB:
adb shell cmd package install-existing <package_name>
I always try to uninstall apps through Android before resorting to ADB. I did not really keep track of apps that I uninstalled through the menu, so it's just easier to tell you which stock apps I kept installed. By stock app, I ONLY MEAN actual apps that you can open from the home screen:
-AppGallery. This requires com.huawei.hwid to work. I needed it to get Snapchat, I might ADB-uninstall it now that Snapchat is installed
-Phone Clone. This could always be useful for porting apps over
-Optimizer
-Themes
-Live wallpaper (com.huawei.livewallpaper.paradise, also known as Brocade)
-Calendar widget/app
-Camera. Obviously. Who in their right mind would get this phone lacking a major component of Android (Play Services), if not for the camera
-Gallery. For pictures and editing
-Contacts. This is also the phone dialer
-Compass. Works great
-Smart Remote. If I ever decide to make use of my IR blaster
-AR Measure. I usually don't care for stuff like this but this actually works great and looks awesome
Here are apps/system processes that actually have an uninstall button but that I DID NOT UNINSTALL:
-com.huawei.game.kitserver (I don't play games but if I ever decide to, I'd like to avoid breaking features)
-Contacts Sync (com.huawei.contacts.sync). I use the stock dialer and I'm not sure whether this can be safely removed
-Storage manager (com.android.storemanager)
My goal is to remove low quality, "spyware" or unnecessary apps without removing or breaking useful features. "Useful" is always a little subjective, so decide for yourself based on my descriptions and comments!
Click to expand...
Click to collapse
Thanks for this have you noticed any improvement with battery life after debloating all of these apps?
Any issues after debloating?
Also, can you please tell me the exact command you have to type to debloat? Starting from ADB shell, what is the next command please? And what software /hardware do I need to debloat?
Thanos88 said:
Thanks for this have you noticed any improvement with battery life after debloating all of these apps?
Any issues after debloating?
Also, can you please tell me the exact command you have to type to debloat? Starting from ADB shell, what is the next command please? And what software /hardware do I need to debloat?
Click to expand...
Click to collapse
setting click build 7 times enable developer mode
go in developer mode enable usb debugging
download adb
open folder shift + right click
open commend window
adb devices to see if your device is found
then copy paste each commend
Thanos88 said:
Thanks for this have you noticed any improvement with battery life after debloating all of these apps?
Any issues after debloating?
Also, can you please tell me the exact command you have to type to debloat? Starting from ADB shell, what is the next command please? And what software /hardware do I need to debloat?
Click to expand...
Click to collapse
No issues, no crashes and no weird behavior. If you read my comments, I explain what each command does and whether or not it's removing an important feature.
You simply have to copy/paste the commands in bold, these are the full commands.
I pretty much debloated the phone as soon as I got it so I can't really speak about battery life improvement.
A few days ago I even removed the stock Huawei dialer in favor of True Phone (2.0.0.0-hw rev 99 found on the AppGallery). I just updated my first post to reflect that.
H-Emmanuel said:
No issues, no crashes and no weird behavior. If you read my comments, I explain what each command does and whether or not it's removing an important feature.
You simply have to copy/paste the commands in bold, these are the full commands.
I pretty much debloated the phone as soon as I got it so I can't really speak about battery life improvement.
A few days ago I even removed the stock Huawei dialer in favor of True Phone (2.0.0.0-hw rev 99 found on the AppGallery).
Click to expand...
Click to collapse
Thanks!! I stupidly uninstalled something I shouldn't have, restarted the phone and phone wouldn't boot past the huawei logo ?? had to perform factory reset. Be very careful with what you uninstall
Thanos88 said:
Thanks!! I stupidly uninstalled something I shouldn't have, restarted the phone and phone wouldn't boot past the huawei logo had to perform factory reset. Be very careful with what you uninstall
Click to expand...
Click to collapse
Do you remember what you uninstalled specifically? There's a chance you could have restored the missing apps using ADB in Fastboot Mode instead of doing a factory reset.
The list of apps in my post is what I personally removed right after a factory reset (to make sure I was starting from scratch).
H-Emmanuel said:
Do you remember what you uninstalled specifically? There's a chance you could have restored the missing apps using ADB in Fastboot Mode instead of doing a factory reset.
The list of apps in my post is what I personally removed right after a factory reset (to make sure I was starting from scratch).
Click to expand...
Click to collapse
I have no idea what I removed but even after removing it and restating the phone, there was no way to reinstall the app because the phone wouldn't load last the huawei logo meaning I couldn't get it into adb mode at all.
Alright. If I understand correctly, you also removed things that were not on my list, correct?
H-Emmanuel said:
Alright. If I understand correctly, you also removed things that were not on my list, correct?
Click to expand...
Click to collapse
That's correct yes. You won't really know if the things you've removed were safe to remove until you've restarted the phone pretty much
Yep that's true! I wrote this guide after doing many reboots, I'll update my post to add some guidelines.
H-Emmanuel said:
Yep that's true! I wrote this guide after doing many reboots, I'll update my post to add some guidelines.
Click to expand...
Click to collapse
excellent, as long as you rebooted your device after the debloats you've mentioned in your post that's good ?? I still have some more debloats left to do from your list. I was seriously hoping for better battery life, I hope debloating will improve it
Works like a charm, thanks
faceliler said:
Works like a charm, thanks
Click to expand...
Click to collapse
Glad to hear you've had success with this guide
Awesome thank you very much , i thought we need root permissions to do that

⋆ [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.

App/task switcher not appearing after using adb

Hi everyone,
I've done a quick search, sorry if this has been covered.
I've done something dumb. I followed a few steps of a guide to remove bloatware of Huawei but I was probably not careful enough. I've removed several apps:
adb shell pm uninstall -k --user 0 com.huawei.android.thememanager
adb shell pm uninstall -k --user 0 com.huawei.android.launcher
adb shell pm uninstall -k --user 0 com.android.mediacenter
adb shell pm uninstall -k --user 0 com.huawei.mediacenter
adb shell pm uninstall -k --user 0 com.huawei.vassistant
adb shell pm uninstall -k --user 0 com.huawei.appmarket
adb shell pm uninstall -k --user 0 com.huawei.search
Most of these removals I was happy with, but it took a bit of effort the get an app launcher again (nova launcher), because I removed the only one that was active. But with adb I could access the app store and install it. However, now I'm unable to access the "active apps" (that you normally get when swiping up and holding) or go to the Home Screen with a gesture. No recent apps appear.
It could be that I'm missing a system app now that is required for this functionality. My last resort is to do a full re-install, but I am hoping that someone knows an alternative to try?
Security-wise I'm a bit too paranoid to simply download .apk files from some random website. So the full reinstall might be my only option.
I do realize that I've done something dumb to uninstall these apps, so I may need to bite the bullet. The phone is still usable, but it's definitely not great not being able to switch tasks.
Any suggestions are very welcome! Thanks!

Categories

Resources