Related
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 .
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!
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.
As per title guys, is it possible? I'm ABSOLUTELY unable and I'm bit afraid honestly, to play with root, flash and so on.
I confess that before to write this tread I've googled around and I found out a video: https://www.youtube.com/watch?v=HIMPaKFfadI
The indian guy says to install a program which remove this Mi bloatwares in my Mi9T Pro.
But the link in his video description is without .jar nor .exe file, therefore absolutely useless.
I don't know, maybe I should bite the bullet and go on with the rooting. :silly:
But I have few questions:
1) Does the rooting will void the warranty? How are the policies at Mi Corporation?
2) Does the wiping of the Mi Apps help the phone performances? I can't complain honestly but, I don't know, is normal seeing an important RAM usage (only 35-40% is free). I have installed only 15 apps that I really need. Is that normal?
3) With the imminent Android 10 and new version of Miui, the uninstalled Mi apps will be reinstalled automatically or, worst case scenario, since they have been removed it will affect any system update?
I think this is all. Please forgive me if I have just opened a double tread (I couldn't find another similar one).
Thanks a lot guys!
First of all, RAM is there to be used, not to be empty. So a fairly high RAM usage is completely normal under Android.
If you install an upgrade, some apps might come back, but it can also cause issues when upgrading.
Here a manual for the Mi 9, I think it's very similar with the 9T, but I never tested it.
https://forum.xda-developers.com/Mi-9/themes/xiaomi-mi9-debloat-root-root-t3910021
Step to debloat K20 pro
Uninstall any apps you can from the phone like Facebook, Paytm, etc.. Now install a custom launcher and sms app of you choice (i prefer nova launcher prime and sms organizer). This step is important.
Now enable developer options and turn on usb debugging. Connect the phone to the PC and open cmd in platform-tools folder.
Now type adb devices and make sure the devices is connected correctly.
Now type
Code:
adb shell
this will open up the adb shell. Now copy and paste the below commands and press enter.
Code:
pm uninstall -k --user 0 com.xiaomi.micloud.sdk
pm uninstall -k --user 0 com.miui.gallery
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.miui.micloudsync
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.cleanmaster
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.miui.gallery
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.miui.player
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.mi.android.globalFileexplorer
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.cleanmaster
pm uninstall -k --user 0 com.miui.analytics
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.mipay.wallet.in
pm uninstall -k --user 0 com.miui.bugreport
pm uninstall -k --user 0 com.one97.paytm
pm uninstall -k --user 0 com.android.mms
pm uninstall -k --user 0 com.miui.weather2
pm uninstall -k --user 0 com.mi.android.globallauncher
Now you are bloat free. You can install any filemanager and image viewer of your choice.
Xiaomi ADB/Fastboot Tools
https://github.com/Saki-EU/XiaomiADBFastbootTools
Very simple and easy to use.
So guys, I used the program and removed some native apps from xiaomi (app vault, music player, video player, etc). I don't remember removing any services like micloud or sync. Will I have a problem updating the system?
Who knows. Probably not, but only the future can tell.
patoberli said:
Who knows. Probably not, but only the future can tell.
Click to expand...
Click to collapse
Is there any way to reinstall all native apps? I don't remember everything i uninstalled and now im afraid to brick the phone (my bootloader is locked)
Yes, factory reset.
patoberli said:
Who knows. Probably not, but only the future can tell.
Click to expand...
Click to collapse
mmm this is the main concern
SteveHG said:
Yes, factory reset.
Click to expand...
Click to collapse
thanks man, i'll try
---------- Post added at 10:53 PM ---------- Previous post was at 10:47 PM ----------
SteveHG said:
Yes, factory reset.
Click to expand...
Click to collapse
thanks man, i'll try
JovenMaka said:
Is there any way to reinstall all native apps? I don't remember everything i uninstalled and now im afraid to brick the phone (my bootloader is locked)
Click to expand...
Click to collapse
Have you done Something else ? Because all apps listed in Xiaomi ADB/Fastboot Tools are supposed to be completly harmless to remove.
Also even though I haven't tried it yet, there is a "Reinstaller" tab in Xiaomi ADB/Fastboot Tools, I guess it does what you ask for (can't check right now, I'm at work).
Actually I think you can simply replace the word uninstall with install in the guide and they should be installed again.
Thordelan said:
Xiaomi ADB/Fastboot Tools
https://github.com/Saki-EU/XiaomiADBFastbootTools
Very simple and easy to use.
Click to expand...
Click to collapse
yes but how it works, I click on the right download ZIP file but then? Apart clicking USB debug and cable the phone with the laptop I don't know how run this stuff.
from CMD?
Giorno Giovanna said:
yes but how it works, I click on the right download ZIP file but then? Apart clicking USB debug and cable the phone with the laptop I don't know how run this stuff.
from CMD?
Click to expand...
Click to collapse
You double-click on XiaomiADBFastbootTools.jar but you need Java installed on your computer to be able to launch it.
https://java.com/en/download/
bsbimalbose said:
Step to debloat K20 pro
Uninstall any apps you can from the phone like Facebook, Paytm, etc.. Now install a custom launcher and sms app of you choice (i prefer nova launcher prime and sms organizer). This step is important.
Now enable developer options and turn on usb debugging. Connect the phone to the PC and open cmd in platform-tools folder.
Now type adb devices and make sure the devices is connected correctly.
Now type
Code:
adb shell
this will open up the adb shell. Now copy and paste the below commands and press enter.
Code:
pm uninstall -k --user 0 com.xiaomi.micloud.sdk
pm uninstall -k --user 0 com.miui.gallery
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.miui.micloudsync
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.cleanmaster
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.miui.gallery
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.miui.player
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.mi.android.globalFileexplorer
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.cleanmaster
pm uninstall -k --user 0 com.miui.analytics
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.mipay.wallet.in
pm uninstall -k --user 0 com.miui.bugreport
pm uninstall -k --user 0 com.one97.paytm
pm uninstall -k --user 0 com.android.mms
pm uninstall -k --user 0 com.miui.weather2
pm uninstall -k --user 0 com.mi.android.globallauncher
Now you are bloat free. You can install any filemanager and image viewer of your choice.
Click to expand...
Click to collapse
Hi,
thanks for this post but I see there are some redundant lines (com.miui.videoplayer is doubled) and some other which seems be not related to Xiaomi (i.e. com.google.android.videos; com.mi.android.globalFileexplorer; com.mi.android.globallauncher). I'm wondering if I can choose what I want to delete. In fact I don't think I will even touch those "android" lines.
Anyway I have 5 main questions:
1) As I said may I customize what I want to rid off? Because actually I want just remove the browser, notes, mi video, calendar, music, gallery.
2) Regarding the calendar, I notice that there is no way to set the google calendar as default. When I click on the date the Mi calendar comes up. If I unisitall the Xiaomi Calendar will be the Google one default automatically?
3) In the next update (Android 10 or Miui 11) I will find again the bloatware that I've uninstalled?
4) Will the warranty be void?
5) If I will make a disaster a factory reset will save my ass?
Bonus question: do the removing of all or some these bloatwares help the phone to be more performant, quick, in other words better? I should expect less usage of ram and more free space?
Thordelan said:
You double-click on XiaomiADBFastbootTools.jar but you need Java installed on your computer to be able to launch it.
https://java.com/en/download/
Click to expand...
Click to collapse
do you mean that I need to rename the file as .jar ?
Giorno Giovanna said:
do you mean that I need to rename the file as .jar ?
Click to expand...
Click to collapse
No.
You were supposed to :
1) download the zip file "XiaomiADBFastbootTools-6.6.2-Win.zip" you can find here (assuming you are a Windows user) : https://github.com/Saki-EU/XiaomiADBFastbootTools/releases/tag/6.6.2
2) Extract the zip file wherever you want.
3) Install Java : https://java.com/en/download/
4) Double-click on "XiaomiADBFastbootTools.jar" like you would for an exe file.
That's it.
Thordelan said:
No.
You were supposed to :
1) download the zip file "XiaomiADBFastbootTools-6.6.2-Win.zip" you can find here (assuming you are a Windows user) : https://github.com/Saki-EU/XiaomiADBFastbootTools/releases/tag/6.6.2
2) Extract the zip file wherever you want.
3) Install Java : https://java.com/en/download/
4) Double-click on "XiaomiADBFastbootTools.jar" like you would for an exe file.
That's it.
Click to expand...
Click to collapse
Thanks! Did it!
And what about my previous post? Any advice?
Giorno Giovanna said:
Thanks! Did it!
And what about my previous post? Any advice?
Click to expand...
Click to collapse
share the list that you remove ? thinking of trying as well , odd calculator app is not inside ?
just downloaded the jar file , click it , its show fatal error , weird ...
Aimara said:
share the list that you remove ? thinking of trying as well , odd calculator app is not inside ?
just downloaded the jar file , click it , its show fatal error , weird ...
Click to expand...
Click to collapse
I would like to get removed only the browser, the note, mi video, gallery, cleaner.
but I'm worrying that since these are embedded in the phone we could even remove but soon or later they will return with a system update.
and, but this is my opinion, it's not worth remove in the way that you can't wipe out completely...they will stand as broken bridge somewhere in the phone (swipe up and chech the app opened, above there is "manage app" icon and "cleaner" app too, this app is in the launcher. Even if we click on it and won't happen anything it will be still there).
Understand what I mean guys?
Tested with Xiaomi Mi 10 Ultra (cas) running latest MIUI 12.0.8 China Rom
I used Xiaomi ADB/Fastboot Tools (available from the developer here), but this can be preformed via adb also.
Turn on USB Debugging
- In cmd type adb devices, and allow adb authorization on device
- If using Xiaomi ADB/Fastboot Tools do not use the uninstall mode, it has caused a bootloop for me, Im not sure what package yet.
- WARNING If rooted and using the adb method do not use the ADB shell in SU mode, since MIUI 11 any app removed via root will cause a bootloop.
- Reboot & Enjoy
So far i have managed to disable all packages below without issue, this list isn't extensive yet I am still testing and will edit the post in time.
Browser
Analytics
Compass
Freeform
Mi Cloud
Hybrid Accessory
Joyose
MSA
Mi Ai
Mi Credit
Mi Video
Mi Wallet
Mi Share*
Mi Wallpaper**
Mi Connect Service
Mi Play Client
Quick Apps
SMS Extra
Services & Feedback
Sogou Keyboard
SoterService
Translation Service
UniPlay Service
Vsim core
WMService
Xiaomi SIM Activate Service
Xiaomi Service Framework
Yellow Pages
*Removing MI Share will remove Mi Share from the settings menu
**Removing MI Wallpaper will make it a pain in the ass to change your wallpaper, best to leave this one alone.
*Change Log*
- V1 Release
- V1.1 - Added, Stock Browser, Analytics, Compass ,Freeform, Mi Cloud, Mi Wallpaper, Mi Play Client,
Thanks to user /u/sezinlynn on reddit for the help compiling the list so far.
A lot of those you can uninstall in the system without ADB
RonyP said:
Tested with Xiaomi Mi 10 Ultra (cas) running latest MIUI 12.0.8 China Rom
I used Xiaomi ADB/Fastboot Tools (available from the developer here), but this can be preformed via adb also.
Turn on USB Debugging
- In cmd type adb devices, and allow adb authorization on device
- If using Xiaomi ADB/Fastboot Tools do not use the uninstall mode, it has caused a bootloop for me, Im not sure what package yet.
- WARNING If rooted and using the adb method do not use the ADB shell in SU mode, since MIUI 11 any app removed via root will cause a bootloop.
- Reboot & Enjoy
So far i have managed to disable all packages below without issue, this list isn't extensive yet I am still testing and will edit the post in time.
Browser
Analytics
Compass
Freeform
Mi Cloud
Hybrid Accessory
Joyose
MSA
Mi Ai
Mi Credit
Mi Video
Mi Wallet
Mi Share*
Mi Wallpaper**
Mi Connect Service
Mi Play Client
Quick Apps
SMS Extra
Services & Feedback
Sogou Keyboard
SoterService
Translation Service
UniPlay Service
Vsim core
WMService
Xiaomi SIM Activate Service
Xiaomi Service Framework
Yellow Pages
*Removing MI Share will remove Mi Share from the settings menu
**Removing MI Wallpaper will make it a pain in the ass to change your wallpaper, best to leave this one alone.
*Change Log*
- V1 Release
- V1.1 - Added, Stock Browser, Analytics, Compass ,Freeform, Mi Cloud, Mi Wallpaper, Mi Play Client,
Thanks to user /u/sezinlynn on reddit for the help compiling the list so far.
Click to expand...
Click to collapse
Great Work on this.... besides it still resetting the assistant on the phone back to none now that Mi AI is gone... this makes the phone almost perfect without changing the rom to EU Rom... I don't typically keep my phones for a long time so I don't think I'll flash the rom this time.... great work and great alternative!
Can you disable the Mi GetApps app? I wasn't in the list for me and it periodically causes battery drain for me. I guess you won't be able to as it's the build in app store.
I'm just thinking, if you do a backup of the phone and delete all the apps you don't want and then restore it again, would it cause any problems I wonder.
Thanks for the list. I have tried it without problems. Analytics is showing disabled. However, the browser is still keep coming back after a restart. I only checked these two and not sure about the rest of the application.
Can you confirm if it is safe to remove Ai Call Assistant?
Xiaomi Mi Max 3 - Miui v12 disabled packages list (ADB).
!!!!! Backup your sensitive data before trying any of this. Sometimes phone os recovery is only possible by factory reset.
Hi, I have been disabling Miui/Android packages since v10. They keep changing their packages, so I'll post the updated v12 list here.
All these packages get disabled/"uninstalled" succesfully.
It seems like Xiaomi has now made a few "apps" more difficult to "uninstall". You get Failure [-1000] errors, so in that case disable them.
Use this list with care! You will disable a lot of stuff. First read and study before you attempt any of this!
pm uninstall -k --user 0 cn.wps.xiaomi.abroad.lite
pm uninstall -k --user 0 com.android.bips
pm uninstall -k --user 0 com.android.bookmarkprovider
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.android.calendar
pm uninstall -k --user 0 com.android.cellbroadcastreceiver
pm uninstall -k --user 0 com.android.chrome
pm uninstall -k --user 0 com.android.deskclock
pm uninstall -k --user 0 com.android.dreams.basic
pm uninstall -k --user 0 com.android.dreams.phototable
pm uninstall -k --user 0 com.android.egg
pm uninstall -k --user 0 com.android.emergency
pm uninstall -k --user 0 com.android.fileexplorer
pm uninstall -k --user 0 com.android.internal.display.cutout.emulation.corner
pm uninstall -k --user 0 com.android.internal.display.cutout.emulation.double
pm uninstall -k --user 0 com.android.internal.display.cutout.emulation.tall
pm uninstall -k --user 0 com.android.mms
pm uninstall -k --user 0 com.android.mms.service
pm uninstall -k --user 0 com.android.printspooler
pm uninstall -k --user 0 com.android.providers.downloads.ui
pm uninstall -k --user 0 com.android.soundrecorder
pm uninstall -k --user 0 com.android.statementservice
pm uninstall -k --user 0 com.android.stk
pm uninstall -k --user 0 com.android.thememanager
pm uninstall -k --user 0 com.android.thememanager.module
pm uninstall -k --user 0 com.android.wallpaper.livepicker
pm uninstall -k --user 0 com.android.wallpaperbackup
pm uninstall -k --user 0 com.android.wallpapercropper
pm uninstall -k --user 0 com.bsp.catchlog
pm uninstall -k --user 0 com.duokan.phone.remotecontroller
pm uninstall -k --user 0 com.duokan.phone.remotecontroller.peel.plugin
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.goodix.gftest
pm uninstall -k --user 0 com.google.android.apps.docs
pm uninstall -k --user 0 com.google.android.apps.maps
pm uninstall -k --user 0 com.google.android.apps.photos
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.google.android.apps.wellbeing
pm uninstall -k --user 0 com.google.android.feedback
pm uninstall -k --user 0 com.google.android.gm
pm uninstall -k --user 0 com.google.android.gms
pm uninstall -k --user 0 com.google.android.gms.location.history
pm uninstall -k --user 0 com.google.android.googlequicksearchbox
pm uninstall -k --user 0 com.google.android.inputmethod.latin
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.printservice.recommendation
pm uninstall -k --user 0 com.google.android.syncadapters.calendar
pm uninstall -k --user 0 com.google.android.syncadapters.contacts
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.mi.android.globalFileexplorer
pm uninstall -k --user 0 com.mi.android.globalminusscreen
pm uninstall -k --user 0 com.micredit.in
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.backup
pm uninstall -k --user 0 com.miui.bugreport
pm uninstall -k --user 0 com.miui.calculator
pm uninstall -k --user 0 com.miui.cit
pm uninstall -k --user 0 com.miui.cloudbackup
pm uninstall -k --user 0 com.miui.cloudservice
pm uninstall -k --user 0 com.miui.cloudservice.sysbase
pm uninstall -k --user 0 com.miui.compass
pm uninstall -k --user 0 com.miui.daemon
pm uninstall -k --user 0 com.miui.enbbs
pm uninstall -k --user 0 com.miui.face
pm uninstall -k --user 0 com.miui.fm
pm uninstall -k --user 0 com.miui.fmservice
pm uninstall -k --user 0 com.miui.freeform
pm uninstall -k --user 0 com.miui.gallery
pm uninstall -k --user 0 com.miui.hybrid
pm uninstall -k --user 0 com.miui.hybrid.accessory
pm uninstall -k --user 0 com.miui.micloudsync
pm uninstall -k --user 0 com.miui.miservice
pm uninstall -k --user 0 com.miui.mishare.connectivity
pm uninstall -k --user 0 com.miui.misound
pm uninstall -k --user 0 com.miui.msa.global
pm uninstall -k --user 0 com.miui.newmidrive
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.miui.phrase
pm uninstall -k --user 0 com.miui.screenrecorder
pm uninstall -k --user 0 com.miui.smsextra
pm uninstall -k --user 0 com.miui.system
pm uninstall -k --user 0 com.miui.systemui.carriers.overlay
pm uninstall -k --user 0 com.miui.touchassistant
pm uninstall -k --user 0 com.miui.vsimcore
pm uninstall -k --user 0 com.miui.wmsvc # ok
pm uninstall -k --user 0 com.miui.yellowpage
pm uninstall -k --user 0 com.netflix.partner.activation
pm uninstall -k --user 0 com.tencent.soter.soterserver
pm uninstall -k --user 0 com.xiaomi.account
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.location.fused
pm uninstall -k --user 0 com.xiaomi.mi_connect_service
pm uninstall -k --user 0 com.xiaomi.micloud.sdk
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.xiaomi.miplay_client
pm uninstall -k --user 0 com.xiaomi.mircs # ok
pm uninstall -k --user 0 com.xiaomi.misettings
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.xiaomi.scanner
pm uninstall -k --user 0 com.xiaomi.simactivate.service
pm uninstall -k --user 0 com.xiaomi.xmsf
pm uninstall -k --user 0 com.xiaomi.xmsfkeeper
Failure [-1000] (solution: adb shell pm disable-user):
pm disable-user com.mi.globalbrowser
pm disable-user com.miui.weather2
pm disable-user com.miui.videoplayer
pm disable-user com.miui.player
pm disable-user com.miui.android.fashiongallery
pm disable-user com.xiaomi.calendar
Have fun and enjoy nerding
CynicalSkeptic said:
!!!!! Backup your sensitive data before trying any of this. Sometimes phone os recovery is only possible by factory reset.
Click to expand...
Click to collapse
are you able to make a list for mi10t pro? only if possible for you. newbie with xiaomi device here
@CynicalSkeptic pm uninstall -k --user 0 com.miui.face broke my face unlock, which I use frequently. Any ideas how could I reinstall it?
There's an apk called MIUIBiometrics which should be the same as com.miui.face. Tried to install it via ADB, to no avail:
pyxis:/ $ pm install com.miui.face.apk
Error: Unable to open file: com.miui.face.apk
Consider using a file under /data/local/tmp/
Error: Can't open file: com.miui.face.apk
Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: com.miui.face.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:461)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22451)
at android.os.Binder.shellCommand(Binder.java:881)
at android.os.Binder.onTransact(Binder.java:765)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4924)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4115)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
255|pyxis:/ $
Click to expand...
Click to collapse
Also tried normally, which couldn't complete.
Any tips would be appreciated.
Thanks!
neves4 said:
@CynicalSkeptic pm uninstall -k --user 0 com.miui.face broke my face unlock, which I use frequently. Any ideas how could I reinstall it?
My first Google search revealed:
adb shell cmd package install-existing <package_name>
So maybe you could try:
adb shell cmd package install-existing com.miui.face
Google search can be your friend.
---------- Post added at 10:45 PM ---------- Previous post was at 10:42 PM ----------
NOSTALGIA said:
are you able to make a list for mi10t pro? only if possible for you. newbie with xiaomi device here
Click to expand...
Click to collapse
Sorry. I can only make an accurate list of a phone that I own.
I do have a Vivo Y91i list, but that won't help you much
Click to expand...
Click to collapse
RonyP said:
Tested with Xiaomi Mi 10 Ultra (cas) running latest MIUI 12.0.8 China Rom
I used Xiaomi ADB/Fastboot Tools (available from the developer here), but this can be preformed via adb also.
Turn on USB Debugging
- In cmd type adb devices, and allow adb authorization on device
- If using Xiaomi ADB/Fastboot Tools do not use the uninstall mode, it has caused a bootloop for me, Im not sure what package yet.
- WARNING If rooted and using the adb method do not use the ADB shell in SU mode, since MIUI 11 any app removed via root will cause a bootloop.
- Reboot & Enjoy
Thanks to user /u/sezinlynn on reddit for the help compiling the list so far.
Click to expand...
Click to collapse
Thank you for the tips, can you pls advice how can I disable or uninstall default "getapps" all on mi 10 ultra / miui 12? I tried a lot of ways (adb, cmd..) but no result.
Have a nice day :fingers-crossed:
will i still be able update to miui 13 if i remove these apps/ bloatware from my phone ?
---------- Post added at 06:54 AM ---------- Previous post was at 06:45 AM ----------
RonyP said:
Tested with Xiaomi Mi 10 Ultra (cas) running latest MIUI 12.0.8 China Rom
I used Xiaomi ADB/Fastboot Tools (available from the developer here), but this can be preformed via adb also.
Turn on USB Debugging
- In cmd type adb devices, and allow adb authorization on device
- If using Xiaomi ADB/Fastboot Tools do not use the uninstall mode, it has caused a bootloop for me, Im not sure what package yet.
- WARNING If rooted and using the adb method do not use the ADB shell in SU mode, since MIUI 11 any app removed via root will cause a bootloop.
- Reboot & Enjoy
So far i have managed to disable all packages below without issue, this list isn't extensive yet I am still testing and will edit the post in time.
Browser
Analytics
Compass
Freeform
Mi Cloud
Hybrid Accessory
Joyose
MSA
Mi Ai
Mi Credit
Mi Video
Mi Wallet
Mi Share*
Mi Wallpaper**
Mi Connect Service
Mi Play Client
Quick Apps
SMS Extra
Services & Feedback
Sogou Keyboard
SoterService
Translation Service
UniPlay Service
Vsim core
WMService
Xiaomi SIM Activate Service
Xiaomi Service Framework
Yellow Pages
*Removing MI Share will remove Mi Share from the settings menu
**Removing MI Wallpaper will make it a pain in the ass to change your wallpaper, best to leave this one alone.
*Change Log*
- V1 Release
- V1.1 - Added, Stock Browser, Analytics, Compass ,Freeform, Mi Cloud, Mi Wallpaper, Mi Play Client,
Thanks to user /u/sezinlynn on reddit for the help compiling the list so far.
Click to expand...
Click to collapse
so this is $1000 phone and you have to debloat?!
unbeliveable
@CynicalSkeptic Did you really remove com.miui.face or was this list a copy/paste from somewhere?
@Legen_M18k Yes, you can update even after de-bloating.
I ran the list above and it works without any apparent issues so thanks for that
I also got rid of the Sogou keyboard in Chinese MIUI 12.5.4 Stable as I like to use the MessageEase one from Play. Every time I rebooted, the Sogou keyboard took over. Now it's gone,my favourite keyboard works fine:
adb shell pm uninstall -k --user 0 com.sohu.inputmethod.sogou.xiaomi
Cheers
Steve
Is there a way to debloat it systemly? I mean remove all these bloat from /system ?
nice tool!
Turning off WMService may cause bootloop because this service is connected to Google Play Service
Freeform is the service of resizing floating windows
Zaladormu said:
Turning off WMService may cause bootloop because this service is connected to Google Play Service
Freeform is the service of resizing floating windows
Click to expand...
Click to collapse
Are you really sure about this? Can you provide me some proofs regarding to this matter
RonyP said:
Tested with Xiaomi Mi 10 Ultra (cas) running latest MIUI 12.0.8 China Rom
I used Xiaomi ADB/Fastboot Tools (available from the developer here), but this can be preformed via adb also.
Turn on USB Debugging
- In cmd type adb devices, and allow adb authorization on device
- If using Xiaomi ADB/Fastboot Tools do not use the uninstall mode, it has caused a bootloop for me, Im not sure what package yet.
- WARNING If rooted and using the adb method do not use the ADB shell in SU mode, since MIUI 11 any app removed via root will cause a bootloop.
- Reboot & Enjoy
So far i have managed to disable all packages below without issue, this list isn't extensive yet I am still testing and will edit the post in time.
Browser
Analytics
Compass
Freeform
Mi Cloud
Hybrid Accessory
Joyose
MSA
Mi Ai
Mi Credit
Mi Video
Mi Wallet
Mi Share*
Mi Wallpaper**
Mi Connect Service
Mi Play Client
Quick Apps
SMS Extra
Services & Feedback
Sogou Keyboard
SoterService
Translation Service
UniPlay Service
Vsim core
WMService
Xiaomi SIM Activate Service
Xiaomi Service Framework
Yellow Pages
*Removing MI Share will remove Mi Share from the settings menu
**Removing MI Wallpaper will make it a pain in the ass to change your wallpaper, best to leave this one alone.
*Change Log*
- V1 Release
- V1.1 - Added, Stock Browser, Analytics, Compass ,Freeform, Mi Cloud, Mi Wallpaper, Mi Play Client,
Thanks to user /u/sezinlynn on reddit for the help compiling the list so far.
Click to expand...
Click to collapse
So far, so good. I've clean my phone with tons of bloatware and currently cleaning my relatives phones with this advice.
Note: You can also use another software called Universal Android Debloater (click the link for more info) to safely remove some bloatware that is unwanted or seems that is not useful for you.
there's a lot of features there and you can see the suggestion that is safe to remove (based from the experience of previous dev's and tester) apps. explore this for more info.