[GUIDE] Stock FW: rooted, debloated, storage encryption, G-Pay, S-Health, Wearable - Samsung Galaxy S9 Guides, News, & Discussion

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.

Related

Debloat System Apps Without Root

This Guide Assumes You Know How To Use ADB, And Already Have Access To It. You Can Possibly Mess Up Your Phone Disabling The Wrong Thing, And I'm Not Liable For Any Damage, Including Missing Your Anniversary Dinner Due To Alarm App Being Disabled =P.
Plus Side? A Factory Reset Will Fix It.
Step One :
Download Android Platform Tools (ADB/Fastboot)
https://ln.sync.com/dl/984ab7480/azzmqpk8-8km5ysir-6fz7v9rz-mvfu2tqf
Step Two :
Enable USB Debugging
--Settings, About Phone, Tap Build Number 5 Times,
Go To "Developer Options", And Enable USB Debugging.
Step Three :
Download Application Inspector
https://play.google.com/store/apps/details?id=com.ubqsoft.sec01&hl=en
Step Four :
Extract The ZIP File From Step One. Open
The Directory, Hold Down Shift, Right Click, And Click
"Open Command Prompt Here".
Step Five:
Unlock Your Phone And Plug In Into Your PC, Then Type
"adb devices" (without quotes) Into The Command Prompt.
On Your Phone, Check "Always Allow" On Your Phone, And
Then Okay.
Step Six : type "adb shell" (without quotes)
---------------------------------
Here's Where The Debloating Begins.
---------------------------------
Once you type adb shell, you'll start using commands to
disable apps "permanantly". Instead of disabling them, and
them coming back when you do play store updates. This
has worked with anything i've thrown at it so far. Using
application inspector (linked above), to get the package
name, you'll then type in the command below to "remove"
that package from the current user. when done, reboot.
"pm uninstall -k --user 0 PACKAGE_NAME"
------------------------------------------
original thread with this method from the G5 Plus
forums. linked below. i didn't come up with this method,
but it works well on our phones. pics coming when i get
home, to help others out. i'll probably rewrite this to make
it cleaner as well
https://forum.xda-developers.com/g5-plus/how-to/amazon-ads-removal-moto-g5-t3598515
no luck. I need to disable voicemail, carrierhub, callerID but it gaves me en error "Failure"
I am rooted Stock Android 8.0 Sprint
and this actually worked for me
Make sure you have Root, I can not guarantee it works without it.
1st) VERY important) Make sure to activate the phone and let Sprint install all the garbage bloatware all the way, it can take a good half an hour
Make sure your wifi calling and all your sprint stuff works and your phone is fully activated otherwise you will end up with SPRINT ID download error 400 and the only way to get rid of that is with FACTORY RESET.
2) use a batch uninstaller app and remove all the garbage users app in one shot , close to 18 of them
Restart and follow the above
USB Debug enabled
ADB Shell
and copy paste the following lines from my list below
reboot and done,
Sprint ID did not reinstall the bloatware again.
be careful it is case sensetive!
=======================
nash:/ $ pm uninstall -k --user 0 com.facebook.katana
Success
nash:/ $ pm uninstall -k --user 0 com.lookout
Success
nash:/ $ pm uninstall -k --user 0 com.facebook.orca
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.clouddrive.photos
Success
nash:/ $ pm uninstall -k --user 0 com.instagram.android
Success
nash:/ $ pm uninstall -k --user 0 com.audible.application
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mp3
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.kindle
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mShop.android.shopping
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.avod.thirdpartyclient
Success
nash:/ $ pm uninstall -k --user 0 com.google.android.calendar
Success
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.inputmethod.pinyin
pm uninstall -k --user 0 com.google.android.inputmethod.japanese
pm uninstall -k --user 0 com.google.android.inputmethod.korean
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.google.android.apps.walletnfcrel
pm uninstall -k --user 0 com.google.vr.vrcore
doctorman said:
I am rooted Stock Android 8.0 Sprint
and this actually worked for me
Make sure you have Root, I can not guarantee it works without it.
1st) VERY important) Make sure to activate the phone and let Sprint install all the garbage bloatware all the way, it can take a good half an hour
Make sure your wifi calling and all your sprint stuff works and your phone is fully activated otherwise you will end up with SPRINT ID download error 400 and the only way to get rid of that is with FACTORY RESET.
2) use a batch uninstaller app and remove all the garbage users app in one shot , close to 18 of them
Restart and follow the above
USB Debug enabled
ADB Shell
and copy paste the following lines from my list below
reboot and done,
Sprint ID did not reinstall the bloatware again.
be careful it is case sensetive!
=======================
nash:/ $ pm uninstall -k --user 0 com.facebook.katana
Success
nash:/ $ pm uninstall -k --user 0 com.lookout
Success
nash:/ $ pm uninstall -k --user 0 com.facebook.orca
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.clouddrive.photos
Success
nash:/ $ pm uninstall -k --user 0 com.instagram.android
Success
nash:/ $ pm uninstall -k --user 0 com.audible.application
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mp3
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.kindle
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mShop.android.shopping
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.avod.thirdpartyclient
Success
nash:/ $ pm uninstall -k --user 0 com.google.android.calendar
Success
Click to expand...
Click to collapse
This worked great. Planning on removing bloat as the days go on.
Can anyone please confirm if this works on unrooted stock firmware?. I am unable to make whatsapp calls because Sprinthub keeps terminating it.
Please if anyone has better idea of debloating Sprint crap, then let me know.
thanks
I have a XT1789-06 (Indian) and i use this method to debloat my Moto Phones (Moto Z , Moto Z2 Force , Moto Z Play) all running on stock and locked BL. This works quite well to uninstall apps (such as Moto Voice , Motorola SLPC System , Checkin , Device Management etc.. )
It doesn't have any carrier specific app , but it should succeed .

Bloatware removal suggestions

Just finished removing the hisearch 'feature' on my phone. Curious to see if people have tested removing other default apps (bloat) from the phone with success.
Could we put together a list of stock apps that is safe to remove? :fingers-crossed:
I would remove hisearch if I used default launcher, but I don't so it's no biggie.
Curious to know what "bloat" apps you have because I use every single one on the phone besides google music and google movies and I disabled them.
I am mostly using google apps with Nova launcher.
So far i have removed,
- huawei clock,calendar,galery,calculator,video, appmarket hicare,hihealth,music,notepad,tips,email
on a sidenote removing huawei laucher will get rid of the Pie looking recent app and get it back to the old card style
drguildo85 said:
I am mostly using google apps with Nova launcher.
So far i have removed,
- huawei clock,calendar,galery,calculator,video, appmarket hicare,hihealth,music,notepad,tips,email
on a sidenote removing huawei laucher will get rid of the Pie looking recent app and get it back to the old card style
Click to expand...
Click to collapse
Hi drguildo85,
how did you manage to remove the huawei clock?
Thank you!
fokus
fokus said:
Hi drguildo85,
how did you manage to remove the huawei clock?
Thank you!
fokus
Click to expand...
Click to collapse
Via adb shell commands
drguildo85 said:
Via adb shell commands
Click to expand...
Click to collapse
offcourse...but what is the package name of the huawei clock?
THX
fokus said:
offcourse...but what is the package name of the huawei clock?
THX
Click to expand...
Click to collapse
My bad
com.android.deskclock is the package name, it might be usefull to you i used this thread to help me removing bloat, it is a bit old but the name of the packages and their description is accurate https://forum.xda-developers.com/honor-6x/how-to/guide-list-bloat-software-emui-safe-to-t3700814
drguildo85 said:
My bad
com.android.deskclock is the package name, it might be usefull to you i used this thread to help me removing bloat, it is a bit old but the name of the packages and their description is accurate https://forum.xda-developers.com/honor-6x/how-to/guide-list-bloat-software-emui-safe-to-t3700814
Click to expand...
Click to collapse
Thanks a lot!!!
Works.
drguildo85 said:
(...)on a sidenote removing huawei laucher will get rid of the Pie looking recent app and get it back to the old card style
Click to expand...
Click to collapse
OMG thank you so much for this
This are all the apps i removed from my phone.
uninstall -k --user 0 com.google.android.videos pm
uninstall -k --user 0 com.google.android.apps.photos pm
uninstall -k --user 0 com.google.android.music pm
uninstall -k --user 0 com.google.android.apps.tachyon pm
uninstall -k --user 0 com.touchtype.swiftkey pm
uninstall -k --user 0 com.swiftkey.swiftkeyconfigurator pm
uninstall -k --user 0 com.huawei.appmarket pm
uninstall -k --user 0 com.huawei.search pm
uninstall -k --user 0 com.huawei.phoneservice pm
uninstall -k --user 0 com.huawei.hwid pm
uninstall -k --user 0 com.huawei.omacp pm
uninstall -k --user 0 com.huawei.KoBackup pm
uninstall -k --user 0 com.huawei.health pm
uninstall -k --user 0 com.hicloud.android.clone pm
uninstall -k --user 0 com.android.hwmirror pm
uninstall -k --user 0 com.microsoft.translator pm
uninstall -k --user 0 com.huawei.android.tips pm
uninstall -k --user 0 com.android.calculator2 pm
uninstall -k --user 0 com.android.email pm
uninstall -k --user 0 com.example.android.notepad pm
uninstall -k --user 0 com.android.calendar pm
uninstall -k --user 0 com.huawei.livewallpaper.matetwenty pm
uninstall -k --user 0 com.huawei.gameassistant pm
uninstall -k --user 0 com.huawei.parentcontrol pm
uninstall -k --user 0 com.facebook.services pm
uninstall -k --user 0 com.facebook.system pm
uninstall -k --user 0 com.facebook.appmanager pm
uninstall -k --user 0 com.ebay.carrier
Additional Huawei App Removal Suggestions
I removed these on the Chinese variant LYA-AL10. The phone feels so much better now!
pm uninstall -k --user 0 com.huawei.search (HiSearch)
pm uninstall -k --user 0 com.huawei.vassistant (Chinese Voice Assistant)
pm uninstall -k --user 0 com.huawei.phoneservice (Huawei Care)
pm uninstall -k --user 0 com.huawei.android.launcher (ENSURE YOU HAVE A REPLACEMENT LAUNCHER INSTALLED ON DEVICE BEFORE RUNNING THIS COMMAND)
pm uninstall -k --user 0 com.iflytek.speechsuite (Stock Voice Input - I replaced with Google Voice Input)
pm uninstall -k --user 0 com.huawei.skytone (Skytone Overseas Data Service)
pm uninstall -k --user 0 com.huawei.browser (Huawei Internet Browser)
pm uninstall -k --user 0 com.baidu.input_huawei (Huawei Stock Baidu/Chinese Keyboard)
pm uninstall -k --user 0 com.huawei.wallet (Huawei Wallet)
pm uninstall -k --user 0 com.huawei.android.hwpay (Huawei Pay)
pm uninstall -k --user 0 com.android.email (Stock Huawei Email Composer)
pm uninstall -k --user 0 com.android.mediacenter (Huawei Stock Music App)
pm uninstall -k --user 0 com.android.mms (This removes stock SMS app. I replaced with Google Messages)
pm uninstall -k --user 0 com.huawei.appmarket (Huawei App Gallery)
Huawei Mate 20 PRO of Chinese Origin
blynnk said:
I removed these on the Chinese variant LYA-AL10. The phone feels so much better now!
pm uninstall -k --user 0 com.huawei.search (HiSearch)
pm uninstall -k --user 0 com.huawei.vassistant (Chinese Voice Assistant)
pm uninstall -k --user 0 com.huawei.phoneservice (Huawei Care)
pm uninstall -k --user 0 com.huawei.android.launcher (ENSURE YOU HAVE A REPLACEMENT LAUNCHER INSTALLED ON DEVICE BEFORE RUNNING THIS COMMAND)
pm uninstall -k --user 0 com.iflytek.speechsuite (Stock Voice Input - I replaced with Google Voice Input)
pm uninstall -k --user 0 com.huawei.skytone (Skytone Overseas Data Service)
pm uninstall -k --user 0 com.huawei.browser (Huawei Internet Browser)
pm uninstall -k --user 0 com.baidu.input_huawei (Huawei Stock Baidu/Chinese Keyboard)
pm uninstall -k --user 0 com.huawei.wallet (Huawei Wallet)
pm uninstall -k --user 0 com.huawei.android.hwpay (Huawei Pay)
pm uninstall -k --user 0 com.android.email (Stock Huawei Email Composer)
pm uninstall -k --user 0 com.android.mediacenter (Huawei Stock Music App)
pm uninstall -k --user 0 com.android.mms (This removes stock SMS app. I replaced with Google Messages)
pm uninstall -k --user 0 com.huawei.appmarket (Huawei App Gallery)
Click to expand...
Click to collapse
Hello, I too have LYA-AL10 model purchased in China using in Dubai. Removal/uninstalling procedure is clear and I have replaced launcher with NOVA. However, request you to explain how to instal the google news app on the left swipe of home screen where currently HiBoard appears as all of Google suite apps are not avaialable. Moreover, I had to use "adb shell pm uninstall -k com.huawei.android.launcher"
By the way this Chinese model gets all the updates before other varients, currently using 9.0.0.176(patch1). However, can somebody clarify that all the uninstals shall reappear on next update!?
Thanks.
Radhey46 said:
Hello, I too have LYA-AL10 model purchased in China using in Dubai. Removal/uninstalling procedure is clear and I have replaced launcher with NOVA. However, request you to explain how to instal the google news app on the left swipe of home screen where currently HiBoard appears as all of Google suite apps are not avaialable. Moreover, I had to use "adb shell pm uninstall -k com.huawei.android.launcher"
By the way this Chinese model gets all the updates before other varients, currently using 9.0.0.176(patch1). However, can somebody clarify that all the uninstals shall reappear on next update!?
Thanks.
Click to expand...
Click to collapse
It depends on the update.
If the apps are in the update file, they will show up again.
Adb Shell wont completly delete the apk in your system, it only uninstall for main use.
You can test with YouTube for example.
Use adb to uninstall YouTube (now its gone).
Now install YouTube again with play store,
And try to uninstall it on the normal way.
Now you see you cant uninstall it because its a system app. ( You have to use adb again)
So... As long the apps are not in the update file, they wont reappear again.
ADB Shell
Hello everyone.
Can one give an example of code line for uninstall?
c:\ADB\ adb ->
otto_di2 said:
Hello everyone.
Can one give an example of code line for uninstall?
c:\ADB\ adb ->
Click to expand...
Click to collapse
First you have to download and install ADB to your PC.
Then you have to enable USB debugging on your phone (its in developer options menu)
Go to, and open the map where ADB is installed.
Right click in the opened map to open command window.
Then connect your phone to the computer and check if your device is connected with this command .\adb devices
A notification will pop up on your phone screen (accept it)
From this point your phone is connected with your pc.
Then type .\adb Shell
Then type pm list packages this will show all installed packages
Then type the packages you want to uninstall.
For example.
pm uninstall -k --user 0 com.huawei.search
Huawei Mate 20 PRO of Chinese Origin
blynnk said:
I removed these on the Chinese variant LYA-AL10. The phone feels so much better now!
pm uninstall -k --user 0 com.huawei.search (HiSearch)
pm uninstall -k --user 0 com.huawei.vassistant (Chinese Voice Assistant)
pm uninstall -k --user 0 com.huawei.phoneservice (Huawei Care)
pm uninstall -k --user 0 com.huawei.android.launcher (ENSURE YOU HAVE A REPLACEMENT LAUNCHER INSTALLED ON DEVICE BEFORE RUNNING THIS COMMAND)
pm uninstall -k --user 0 com.iflytek.speechsuite (Stock Voice Input - I replaced with Google Voice Input)
pm uninstall -k --user 0 com.huawei.skytone (Skytone Overseas Data Service)
pm uninstall -k --user 0 com.huawei.browser (Huawei Internet Browser)
pm uninstall -k --user 0 com.baidu.input_huawei (Huawei Stock Baidu/Chinese Keyboard)
pm uninstall -k --user 0 com.huawei.wallet (Huawei Wallet)
pm uninstall -k --user 0 com.huawei.android.hwpay (Huawei Pay)
pm uninstall -k --user 0 com.android.email (Stock Huawei Email Composer)
pm uninstall -k --user 0 com.android.mediacenter (Huawei Stock Music App)
pm uninstall -k --user 0 com.android.mms (This removes stock SMS app. I replaced with Google Messages)
pm uninstall -k --user 0 com.huawei.appmarket (Huawei App Gallery)
Click to expand...
Click to collapse
Hi, thanks to your advice, I too have uninstalled huawei Launcher and some of the bloatware. However, some how, nova launcher does not show clock and weather on the desktop! However same is available on lock screen. Is there Any way to get it on Nova desktop? Thanks.
What I removed
Hello Everyone.
Used some from this guide: https://forum.xda-developers.com/honor-6x/how-to/guide-list-bloat-software-emui-safe-to-t3700814
Started with ADB (in CMD, ADB Shell)
C:\ADB>adb shell
HWLYA:/ $ pm uninstall ->
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.apps.photos
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.touchtype.swiftkey
pm uninstall -k --user 0 com.swiftkey.swiftkeyconfigurator pm
pm uninstall -k --user 0 com.huawei.appmarket
pm uninstall -k --user 0 com.huawei.search
pm uninstall -k --user 0 com.huawei.phoneservice
pm uninstall -k --user 0 com.huawei.hwid
pm uninstall -k --user 0 com.huawei.omacp
pm uninstall -k --user 0 com.huawei.KoBackup
pm uninstall -k --user 0 com.huawei.health
pm uninstall -k --user 0 com.hicloud.android.clone
pm uninstall -k --user 0 com.android.hwmirror
pm uninstall -k --user 0 com.microsoft.translator
pm uninstall -k --user 0 com.huawei.android.tips
pm uninstall -k --user 0 com.android.calculator2 (Not uninstalled, need that)
pm uninstall -k --user 0 com.android.email
pm uninstall -k --user 0 com.example.android.notepad
pm uninstall -k --user 0 com.android.calendar
pm uninstall -k --user 0 com.huawei.livewallpaper.matetwenty
pm uninstall -k --user 0 com.huawei.gameassistant
pm uninstall -k --user 0 com.huawei.parentcontrol
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.ebay.carrier
pm uninstall -k --user 0 com.huawei.search (HiSearch)
pm uninstall -k --user 0 com.huawei.vassistant (Chinese Voice Assistant)
pm uninstall -k --user 0 com.huawei.phoneservice (Huawei Care)
pm uninstall -k --user 0 com.huawei.android.launcher (ENSURE YOU HAVE A REPLACEMENT LAUNCHER INSTALLED ON DEVICE BEFORE RUNNING THIS COMMAND)
pm uninstall -k --user 0 com.iflytek.speechsuite (Stock Voice Input - I replaced with Google Voice Input)
pm uninstall -k --user 0 com.huawei.skytone (Skytone Overseas Data Service)
pm uninstall -k --user 0 com.huawei.browser (Huawei Internet Browser)
pm uninstall -k --user 0 com.baidu.input_huawei (Huawei Stock Baidu/Chinese Keyboard)
pm uninstall -k --user 0 com.huawei.wallet (Huawei Wallet)
pm uninstall -k --user 0 com.huawei.android.hwpay (Huawei Pay)
pm uninstall -k --user 0 com.android.email (Stock Huawei Email Composer)
pm uninstall -k --user 0 com.android.mediacenter (Huawei Stock Music App)
pm uninstall -k --user 0 com.android.mms (This removes stock SMS app. I replaced with Google Messages)
pm uninstall -k --user 0 com.huawei.appmarket (Huawei App Gallery)
drguildo85 said:
on a sidenote removing huawei laucher will get rid of the Pie looking recent app and get it back to the old card style
Click to expand...
Click to collapse
How can I re enable Huawei launcher? Thank you.
any suggentions how to get android pie launcher recent and navbar?
Li-Pol said:
How can I re enable Huawei launcher? Thank you.
Click to expand...
Click to collapse
I don't think you can, I did a factory reset and they're back. Other option is to wait for root. You might be able to reinstall from Huawei app store. The reason I did a factory reset though was I found this amazing post
https://forum.xda-developers.com/showpost.php?p=78497092&postcount=50
If you disable the app with this syntax you can just bring it straight back if you find you need it. It totally works, no root needed. Don't forget to thank the user, it's the best thing I read all week!

XIAOMI Mi8 GLOBAL De-Bloating (No Root)

HOW TO DEBLOAT THE Mi8 WITHOUT ROOT
Summary:
I don't like the Ads and the bloat that Xiaomi have been including in our Stock Global ROMs. I am sharing the method and services/apps i personally remove when i run the latest Global ROM. These apps are uninstalled through ADB shell and doesn't require root, doesn't modify your system, and can be brought back with a factory reset.
I don't use social media, so i uninstalled the FB crap too (always runs even without the main app). If some of these aren't found on your system, don't worry it just errors on them (not found). I use a lot of 3rd party apps in place of Xiaomi stock apps (messages, gallery, clock, etc). I left the Xiaomi cloud and account apps/framework. If this bothers you, then add them or skip others you want to leave.
I have thoroughly tested the removal of all the apps listed in this tutorial (there is more that can be removed, but i use the themes app, account, cloud, etc.). Removing these apps will greatly improve the battery life and snappiness of the phone (less resources running, less memory used, less battery consumption, no ads!).
My Replacement App Setup:
-Nova Launcher Prime
-Google Chrome
-Google Messages
-Google Photos
-PowerAmp Hi-Def Music Player (Enables [email protected])
-Timely Clock App
-Weather Live Pro
-VLC Media Player
Important Notes & Warnings:
* You can still use OTA updates or regular ROM flashing without the apps & services returning!
* This does not modify the system partitions in any way, only the data partition files are disabled!
* If you remove the 'Xiaomi Home' launcher app -make sure you have an alternative launcher installed first!
* If you remove the 'Xiaomi Gallery' app, you can only set lockscreen wallpaper through the theme application!
Very Very Important:
* ONCE YOU UNINSTALL THESE, THE ONLY WAY TO GET THEM BACK IS TO FACTORY RESET YOUR PHONE! *
Instructions:
1.) Make sure USB Debugging is enabled in the Developers menu on your phone
2.) Connect your phone to your computer
3.) Bring up your computer's command terminal and type 'adb shell'
4.) If you successfully have an adb shell connection, you should have a terminal type mode with a dollar sign prompt
- - -(If you can't connect, then go read how to get an adb connection and setup using Google!)
5.) Enter each command you want below. You can copy the whole list, then paste it in your adb shell all at once if you want
Code:
pm uninstall -k --user 0 android.autoinstalls.config.Xiaomi.dipper
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.android.deskclock
pm uninstall -k --user 0 com.android.mms
pm uninstall -k --user 0 com.android.providers.partnerbookmarks
pm uninstall -k --user 0 com.bsp.catchlog
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.mfashiongallery.emag
pm uninstall -k --user 0 com.mi.android.globalFileexplorer
pm uninstall -k --user 0 com.mi.android.globalpersonalassistant
pm uninstall -k --user 0 com.mi.global.bbs
pm uninstall -k --user 0 com.mi.global.shop
pm uninstall -k --user 0 com.mi.globalTrendNews
pm uninstall -k --user 0 com.mi.webkit.core
pm uninstall -k --user 0 com.milink.service
pm uninstall -k --user 0 com.mipay.wallet.id
pm uninstall -k --user 0 com.mipay.wallet.in
pm uninstall -k --user 0 com.miui.analytics
pm uninstall -k --user 0 com.miui.android.fashiongallery
pm uninstall -k --user 0 com.miui.bugreport
pm uninstall -k --user 0 com.miui.cleanmaster
pm uninstall -k --user 0 com.miui.daemon
pm uninstall -k --user 0 com.miui.hybrid
pm uninstall -k --user 0 com.miui.hybrid.accessory
pm uninstall -k --user 0 com.miui.miwallpaper
pm uninstall -k --user 0 com.miui.msa.global
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.miui.player
pm uninstall -k --user 0 com.miui.touchassistant
pm uninstall -k --user 0 com.miui.translation.kingsoft
pm uninstall -k --user 0 com.miui.translation.xmcloud
pm uninstall -k --user 0 com.miui.translation.youdao
pm uninstall -k --user 0 com.miui.translationservice
pm uninstall -k --user 0 com.miui.userguide
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.miui.virtualsim
pm uninstall -k --user 0 com.miui.yellowpage
pm uninstall -k --user 0 com.opera.preinstall
pm uninstall -k --user 0 com.qualcomm.qti.perfdump
pm uninstall -k --user 0 com.xiaomi.discover
pm uninstall -k --user 0 com.xiaomi.glgm
pm uninstall -k --user 0 com.xiaomi.joyose
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.xiaomi.providers.appindex
pm uninstall -k --user 0 org.codeaurora.gps.gpslogsave
[COLOR="Red"]pm uninstall -k --user 0 com.miui.gallery[/COLOR]
[COLOR="Red"]pm uninstall -k --user 0 com.miui.home[/COLOR]
Awesome battery life on 12/20 Global Beta.
With 15% Left on phone:
32+ Hours
6h 11m Screen On
4h Talk Time
Enjoy!
/.
Thanks for the info.
Will these removed apps be reinstalled automatically after a firmware update?
Hi,
I just did that and now the system hangs saying "Just a sec...". Nothing happens.
EDIT:
I was stupid and have not installed Nova Launcher
hkwildboy said:
Thanks for the info.
Will these removed apps be reinstalled automatically after a firmware update?
Click to expand...
Click to collapse
No, the apps will stay uninstalled in the data partition until a factory reset. You can still update without issues, it does not modify system images.
/.
Thanks a lot for the useful info.
As per my Mi 8 MIUI present config, locked bootloader, many of the apps from the list are not running or have never run, since I have already disabled some of them previously on settings (disabled at startup, background) or I manually run them.
So I have only uninstalled a few of them running (you can check on apps manager, show system apps and sort by status). Also you can check battery drain of each one to see actually how much they drain.
These are the ones I chose to uninstall:
Code:
pm uninstall -k --user 0 android.autoinstalls.config.Xiaomi.dipper
pm uninstall -k --user 0 com.android.providers.partnerbookmarks
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.mi.android.globalpersonalassistant
pm uninstall -k --user 0 com.miui.daemon
pm uninstall -k --user 0 com.qualcomm.qti.perfdump
pm uninstall -k --user 0 com.xiaomi.discover
pm uninstall -k --user 0 com.xiaomi.joyose
pm uninstall -k --user 0 com.android.browser
thanks for this!
Great heads up. I was looking for something like this. Just wondering if I freeze them with titanium backup it will do the same job or not…
is it safe to remove the following
pm uninstall -k --user 0 com.miui.cloudservice
pm uninstall -k --user 0 com.miui.cloudbackup
pm uninstall -k --user 0 com.miui.micloudsync
Awesome stuff!Thx for this!!
Can you please name all apps what they are one by one?
E.g like com.xiaomi.glgm??what is this?
Thank you again!
Thanks a lot, have removed the following, seems ok
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.mi.android.globalpersonalassistant
pm uninstall -k --user 0 com.mi.android.globalFileexplorer
pm uninstall -k --user 0 com.mipay.wallet.id
pm uninstall -k --user 0 com.mipay.wallet.in
pm uninstall -k --user 0 com.miui.analytics
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.miui.player
pm uninstall -k --user 0 com.miui.touchassistant
pm uninstall -k --user 0 com.miui.yellowpage
pm uninstall -k --user 0 com.miui.micloudsync
pm uninstall -k --user 0 com.miui.translation.kingsoft
pm uninstall -k --user 0 com.miui.translation.xmcloud
pm uninstall -k --user 0 com.miui.translation.youdao
pm uninstall -k --user 0 com.miui.translationservice
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.opera.preinstall
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.xiaomi.providers.appindex
pm uninstall -k --user 0 com.xiaomi.discover
pm uninstall -k --user 0 com.xiaomi.joyose
pm uninstall -k --user 0 com.miui.cloudservice
pm uninstall -k --user 0 com.miui.cloudbackup
pm uninstall -k --user 0 com.miui.micloudsync
pm uninstall -k --user 0 com.miui.weather2
pm uninstall -k --user 0 com.miui.providers.weather
johnnyman25 said:
Awesome stuff!Thx for this!!
Can you please name all apps what they are one by one?
E.g like com.xiaomi.glgm??what is this?
Thank you again!
Click to expand...
Click to collapse
Forwarding your request. Most of the apps are trivial to name, but some arent, therefore the request, if you can name all those Would really appreciate it. The integraded browser also annoys me a little :/
Thanks for this
Can confirm it also works for the Mi 8 Pro.
Would love what the more obscure app names are, so we can make more informed decisions on what we personally want to remove ^^
M73_ said:
is it safe to remove the following
pm uninstall -k --user 0 com.miui.cloudservice
pm uninstall -k --user 0 com.miui.cloudbackup
pm uninstall -k --user 0 com.miui.micloudsync
Click to expand...
Click to collapse
Rommco05 said:
I already removed and all is ok
Click to expand...
Click to collapse
So you guys won't be able to use any services related to the Mi Cloud
BxginZ enMy said:
So you guys won't be able to use any services related to the Mi Cloud
Click to expand...
Click to collapse
yes, I removed them
Great stuff thanx
Agimax said:
Awesome battery life on 12/20 Global Beta.
With 15% Left on phone:
32+ Hours
6h 11m Screen On
4h Talk Time
Enjoy!
/.
Click to expand...
Click to collapse
13% Cell Stand-by? Can't be good...
Too much it seems for me, similar to Screen-On-Time?
I'm still at 10.0.3 and for the moment I do not intend to upgrade until Xiaomi release a better version.
I removed everything except MIUI cloud related things.
Also I changed the network to LTE/ WCDMA (Europe)
After 24 hours on standby the battery fell from 100 to 89 percent.
That would be about 3-4% overnight.
I do not think that's bad.
Oldpurger said:
I'm still at 10.0.3 and for the moment I do not intend to upgrade until Xiaomi release a better version.
I removed everything except MIUI cloud related things.
Also I changed the network to LTE/ WCDMA (Europe)
After 24 hours on standby the battery fell from 100 to 89 percent.
That would be about 3-4% overnight.
I do not think that's bad.
Click to expand...
Click to collapse
That's good. It approaches normal drainage standby.
It drains 1% per hour for me standby, debloated. Could you tell how much cell standby drain percentage with normal usage after a cycle?
I only have Mi8 for 3 days and I didn't yet look at that.
But I use very little that phone (I also have a company phone) so this information will not help you too much.

Debloat without root via ADB

I've successfully de bloated google apps using this method on my OnePlus 7 Pro.
1. Download Microsoft Windows ADB Setup using this link
2. Enable USB debugging in Developer mode and do not forget to authorize when you connect to PC.
3. Open command prompt in adb folder, type "adb shell"
4. Run these commands
Code:
pm uninstall --user 0 com.google.android.youtube
pm uninstall --user 0 com.google.android.googlequicksearchbox
pm uninstall --user 0 com.google.android.gm
pm uninstall --user 0 com.google.android.music
pm uninstall --user 0 com.google.android.apps.tachyon
pm uninstall --user 0 com.google.android.videos
pm uninstall --user 0 com.android.chrome
pm uninstall --user 0 com.netflix.partner.activation
pm uninstall --user 0 com.netflix.mediaclient
pm uninstall --user 0 com.dsl.ant.server
pm uninstall --user 0 com.android.dreams.basic
pm uninstall --user 0 com.android.bookmarkprovider
pm uninstall --user 0 com.oneplus.bttestmode
pm uninstall --user 0 com.oneplus.card
pm uninstall --user 0 com.google.android.printservice.recommendation
pm uninstall --user 0 com.google.android.tts
pm uninstall --user 0 com.oem.logkitsdservice
pm uninstall --user 0 cn.oneplus.oem_tcma
pm uninstall --user 0 com.oem.autotest
pm uninstall --user 0 com.oneplus.opbugreportlite
pm uninstall --user 0 net.oneplus.commonlogtool
pm uninstall --user 0 com.android.wallpaper.livepicker
pm uninstall --user 0 com.android.providers.partnerbookmarks
pm uninstall --user 0 com.qti.snapdragon.qdcm_ff
pm uninstall --user 0 com.example.rftuner
pm uninstall --user 0 com.fingerprints.fingerprintsensortest
pm uninstall --user 0 com.android.stk
pm uninstall --user 0 com.google.android.marvin.talkback
pm uninstall --user 0 com.android.traceur
pm uninstall --user 0 com.qualcomm.uimremoteclient
pm uninstall --user 0 com.android.wallpaperbackup
pm uninstall --user 0 com.wapi.wapicertmanage
pm uninstall --user 0 com.example.wifirftest
pm uninstall --user 0 com.google.android.apps.maps
pm uninstall --user 0 com.google.android.calendar
pm uninstall --user 0 com.google.android.setupwizard
Uninstalls Google and OnePlus crap
Youtube
Google search
Gmail
Google Music
Duo
Google Videos
Chrome
Netflix
Calendar
Maps
etc..
Some guides to help..
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/amp/
https://www.xda-developers.com/install-adb-windows-macos-linux/
zmafreak said:
I've successfully de bloated google apps using this method on my OnePlus 7 Pro.
1. Download Microsoft Windows ADB Setup using this link
2. Enable USB debugging in Developer mode and do not forget to authorize when you connect to PC.
3. Open command prompt in adb folder and run these commands
Uninstalls
Youtube
Google search
Gmail
Google Music
Duo
Google Videos
Chrome
Netflix
Some guides to help..
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/amp/
https://www.xda-developers.com/install-adb-windows-macos-linux/
Click to expand...
Click to collapse
If I update to new OOS, do those debloated apps come back again?
storytellerz said:
If I update to new OOS, do those debloated apps come back again?
Click to expand...
Click to collapse
Not sure.. I recommend you to update and run the commands.
UPDATE
Just tried to debloat using TomatoT Debloater "Invisible" script and it seems to work on my phone.
Note - TomatoT Debloater requires root as the developer removes the folder itself. Whereas i try to uninstall apps. I had to alter the script with app names. But there are few apps that i cant access as of now.
List of systems apps SORTED & EXPLAINED by TomatoT
INVISIBLE DEBLOAT
pm uninstall -k --user 0 com.dsl.ant.server
pm uninstall -k --user 0 com.android.dreams.basic
pm uninstall -k --user 0 com.android.bookmarkprovider
pm uninstall -k --user 0 com.oneplus.bttestmode
pm uninstall -k --user 0 com.oneplus.card
pm uninstall -k --user 0 com.google.android.printservice.recommendation
pm uninstall -k --user 0 com.google.android.tts
pm uninstall -k --user 0 com.oem.logkitsdservice
pm uninstall -k --user 0 cn.oneplus.oem_tcma
pm uninstall -k --user 0 com.oem.autotest
pm uninstall -k --user 0 com.oem.logkitsdservice
pm uninstall -k --user 0 com.oneplus.opbugreportlite
pm uninstall -k --user 0 net.oneplus.commonlogtool
pm uninstall -k --user 0 com.android.wallpaper.livepicker
pm uninstall -k --user 0 com.android.providers.partnerbookmarks
pm uninstall -k --user 0 com.qti.snapdragon.qdcm_ff
pm uninstall -k --user 0 com.example.rftuner
pm uninstall -k --user 0 com.fingerprints.fingerprintsensortest
pm uninstall -k --user 0 com.android.stk
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.android.traceur
pm uninstall -k --user 0 com.qualcomm.uimremoteclient
pm uninstall -k --user 0 com.android.wallpaperbackup
pm uninstall -k --user 0 com.wapi.wapicertmanage
pm uninstall -k --user 0 com.example.wifirftest
storytellerz said:
If I update to new OOS, do those debloated apps come back again?
Click to expand...
Click to collapse
zmafreak said:
Not sure.. I recommend you to update and run the commands.
Click to expand...
Click to collapse
Using ADB does not actually uninstalls but deactivates the app for a particular user. Updating the rom with OTA or a dirty flash should not activate those apps unless you manually do so or do a factory reset from recovery.
zmafreak said:
Just tried to debloat using TomatoT Debloater "Invisible" script and it seems to work on my phone.
Note - TomatoT Debloater requires root as the developer removes the folder itself. Whereas i try to uninstall apps. I had to alter the script with app names. But there are few apps that i cant access as of now.
List of systems apps SORTED & EXPLAINED by TomatoT
INVISIBLE DEBLOAT
pm uninstall -k --user 0 com.dsl.ant.server
pm uninstall -k --user 0 com.android.dreams.basic
pm uninstall -k --user 0 com.android.bookmarkprovider
pm uninstall -k --user 0 com.oneplus.bttestmode
pm uninstall -k --user 0 com.oneplus.card
pm uninstall -k --user 0 com.google.android.printservice.recommendation
pm uninstall -k --user 0 com.google.android.tts
pm uninstall -k --user 0 com.oem.logkitsdservice
pm uninstall -k --user 0 cn.oneplus.oem_tcma
pm uninstall -k --user 0 com.oem.autotest
pm uninstall -k --user 0 com.oem.logkitsdservice
pm uninstall -k --user 0 com.oneplus.opbugreportlite
pm uninstall -k --user 0 net.oneplus.commonlogtool
pm uninstall -k --user 0 com.android.wallpaper.livepicker
pm uninstall -k --user 0 com.android.providers.partnerbookmarks
pm uninstall -k --user 0 com.qti.snapdragon.qdcm_ff
pm uninstall -k --user 0 com.example.rftuner
pm uninstall -k --user 0 com.fingerprints.fingerprintsensortest
pm uninstall -k --user 0 com.android.stk
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.android.traceur
pm uninstall -k --user 0 com.qualcomm.uimremoteclient
pm uninstall -k --user 0 com.android.wallpaperbackup
pm uninstall -k --user 0 com.wapi.wapicertmanage
pm uninstall -k --user 0 com.example.wifirftest
Click to expand...
Click to collapse
Worked for me. You can copy the entire list and paste into CMD screen and it will remove them all.
pm uninstall -k --user 0 com.google.android.apps.tachyon
I get "not installed for user 0"
vector88 said:
pm uninstall -k --user 0 com.google.android.apps.tachyon
I get "not installed for user 0"
Click to expand...
Click to collapse
Nothing to worry.. it means it's not installed
Sent from my GM1911 using Tapatalk
storytellerz said:
If I update to new OOS, do those debloated apps come back again?
Click to expand...
Click to collapse
ludester said:
Worked for me. You can copy the entire list and paste into CMD screen and it will remove them all.
Click to expand...
Click to collapse
vector88 said:
pm uninstall -k --user 0 com.google.android.apps.tachyon
I get "not installed for user 0"
Click to expand...
Click to collapse
Just updated the script..
Better to use disable instead of uninstall
Especially those using PDC for volte that require logkitservice to access hidden menu
Just my 2c
virtyx said:
Better to use disable instead of uninstall
Especially those using PDC for volte that require logkitservice to access hidden menu
Just my 2c
Click to expand...
Click to collapse
Thanks for your input. I removed that line.
I prefer uninstalling as you can always install apps back from playstore or reset will do the trick.
Thank you for this thread, great work
Little modification :
com.dsi.ant.server , not com.dsl.ant.server
And big thanks fot the list !
zmafreak said:
I've successfully de bloated google apps using this method on my OnePlus 7 Pro.
1. Download Microsoft Windows ADB Setup using this link
2. Enable USB debugging in Developer mode and do not forget to authorize when you connect to PC.
3. Open command prompt in adb folder, type "adb shell"
4. Run these commands
Code:
pm uninstall --user 0 com.google.android.youtube
pm uninstall --user 0 com.google.android.googlequicksearchbox
pm uninstall --user 0 com.google.android.gm
pm uninstall --user 0 com.google.android.music
pm uninstall --user 0 com.google.android.apps.tachyon
pm uninstall --user 0 com.google.android.videos
pm uninstall --user 0 com.android.chrome
pm uninstall --user 0 com.netflix.partner.activation
pm uninstall --user 0 com.netflix.mediaclient
pm uninstall --user 0 com.dsl.ant.server
pm uninstall --user 0 com.android.dreams.basic
pm uninstall --user 0 com.android.bookmarkprovider
pm uninstall --user 0 com.oneplus.bttestmode
pm uninstall --user 0 com.oneplus.card
pm uninstall --user 0 com.google.android.printservice.recommendation
pm uninstall --user 0 com.google.android.tts
pm uninstall --user 0 com.oem.logkitsdservice
pm uninstall --user 0 cn.oneplus.oem_tcma
pm uninstall --user 0 com.oem.autotest
pm uninstall --user 0 com.oneplus.opbugreportlite
pm uninstall --user 0 net.oneplus.commonlogtool
pm uninstall --user 0 com.android.wallpaper.livepicker
pm uninstall --user 0 com.android.providers.partnerbookmarks
pm uninstall --user 0 com.qti.snapdragon.qdcm_ff
pm uninstall --user 0 com.example.rftuner
pm uninstall --user 0 com.fingerprints.fingerprintsensortest
pm uninstall --user 0 com.android.stk
pm uninstall --user 0 com.google.android.marvin.talkback
pm uninstall --user 0 com.android.traceur
pm uninstall --user 0 com.qualcomm.uimremoteclient
pm uninstall --user 0 com.android.wallpaperbackup
pm uninstall --user 0 com.wapi.wapicertmanage
pm uninstall --user 0 com.example.wifirftest
pm uninstall --user 0 com.google.android.apps.maps
pm uninstall --user 0 com.google.android.calendar
pm uninstall --user 0 com.google.android.setupwizard
Uninstalls Google and OnePlus crap
Youtube
Google search
Gmail
Google Music
Duo
Google Videos
Chrome
Netflix
Calendar
Maps
etc..
Some guides to help..
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/amp/
https://www.xda-developers.com/install-adb-windows-macos-linux/
Click to expand...
Click to collapse
Work perfect on OP 7t Pro
Nice work, able to clean up Oneplus 7 Pro.
Does this work on OxygenOS 10.3.0?
First time did not workt for me. I follow the guide in OP.
Second time, i type first "adb devices". I see my phone (if youre phone is not shown on Command promt screen, debloat will not work. All commands will show in RED color), then type "adb shell", then the commands.
I am on ob7, all stock.
Thank you.
Hi, i try to uninstall Game Space with this :
pm uninstall --user 0 com.google.game.space
With space or . or _ between game and space. I try in 1 word (gamespace).
Some help please.
And Gdrive.
@zmafreak
Can you tell me the exact command to delete Duo and Drive?
@lvints
google duo is in list: pm uninstall --user 0 com.google.android.apps.tachyon
for google drive is: pm uninstall --user 0 com.google.android.apps.docs
@null0seven
dont know is there google game space, but for oneplus game space: pm uninstall --user 0 com.oneplus.gamespace
GHosTiK
Thank you. Google duo & drive are gone.:good:
Game space still there.:crying:
I would like to get rid of Android auto too, if you can help.

Lookig for Debloat List to fully remove Google [XZ2c, XZ2 Compact, XZ2, XZ3]

Someone found or has an intresting list?
current used debloat packages/lists
01_debloat_list from:
https://forum.xda-developers.com/xperia-xz2/development/oreo-debloat-script-v1-0-t3798979
02_debloat_list from:
https://qrys.ch/getting-rid-of-all-the-bloatware-on-a-sony-xperia-x-compact/
03_additional custom debloat (my own supplement)
Hint: swift keyboard will be removed, too. Make sure you installed another keyboard or you need to install it via adb afterwards. You need another SMS App too. I suggest installing F-Droid (.\adb install FDroid.apk https://f-droid.org/) and getting the Apps you need there.
Code:
pm uninstall -k --user 0 'com.google.android.apps.turbo'
pm uninstall -k --user 0 'com.google.android.apps.messaging'
pm uninstall -k --user 0 'com.google.android.ims'
pm uninstall -k --user 0 'com.google.android.partnersetup'
pm uninstall -k --user 0 'com.google.android.setupwizard'
pm uninstall -k --user 0 'com.touchtype.swiftkey'
pm uninstall -k --user 0 'com.touchtype.swiftkey.res.overlay'
pm uninstall -k --user 0 'com.swiftkey.swiftkeyconfigurator'
pm uninstall -k --user 0 'com.android.vending'
pm uninstall -k --user 0 'com.google.android.apps.wellbeing'
pm uninstall -k --user 0 'com.google.android.gms'

Categories

Resources