[Q] Debloat? - Huawei P30 Pro Questions & Answers

Hi fellas!
Anyone maybe any idea on how to debloat the P30 Pro?
After we do not have any Root solution atm ... would it maybe be possible fia ADB?
Some bloat on that thing i want to get rid of wich really annoys the experience for me lol
Hope somebody can help me and others out here with a good idea or show the right direction!
Cheers

You can do it with ADB:
TO disable :
adb shell pm disable-user --user 0 <package name>
TO re-enable:
adb shell pm enable --user 0 <package name>
Disabling (freezing) apks is the safest method to do it ... if something goes wrong, you can re-enable.

Do you think that root will be ever avaiable?

Related

Delete Bloatware with this script

Hello guys, as you know, we can't unlock the bootloader, so we are stuck with stock firmware.
I have a 3gb/ ram and 32gb/rom tablet, some of you may have lower specs 2/32 , or even 1/16 in many models.
With this script you can gain a bit of extra performance, because you'll have less apps using the ungenerous ram that comes with the device.
Instructions:
1) Install the device's drivers and enable usb debugging on your tablet.
2) Download the file and extract it.
3) Connect your tablet to the pc and open a cmd window and type adb shell.
4) You'll see a message on your tablet, just tap to allow the connection.
5) Now, run the bat file and wait, sometimes you need run it again.
If you open the .txt file, you'll see all the apps that are going to be disable and uninstalled, if you want to keep an app, just add a "#" at the start of the command and it well be skipped.
Download link:
https://drive.google.com/file/d/117sGCj5Ep6K6ZNGTD28s0FD5c46ckegD/view?usp=drivesdk
Have a good day and stay safe.
Cheers guys.
sfoot13 said:
Hello guys, as you know, we can't unlock the bootloader, so we are stuck with stock firmware.
I have a 3gb/ ram and 32gb/rom tablet, some of you may have lower specs 2/32 , or even 1/16 in many models.
With this script you can gain a bit of extra performance, because you'll have less apps using the ungenerous ram that comes with the device.
Instructions:
1) Install the device's drivers and enable usb debugging on your tablet.
2) Download the file and extract it.
3) Connect your tablet to the pc and open a cmd window and type adb shell.
4) You'll see a message on your tablet, just tap to allow the connection.
5) Now, run the bat file and wait, sometimes you need run it again.
If you open the .txt file, you'll see all the apps that are going to be disable and uninstalled, if you want to keep an app, just add a "#" at the start of the command and it well be skipped.
Download link:
https://drive.google.com/file/d/117sGCj5Ep6K6ZNGTD28s0FD5c46ckegD/view?usp=drivesdk
Have a good day and stay safe.
Cheers guys.
Click to expand...
Click to collapse
Hello and thank you for this.
Could you provide a brief explanation on the txt file next to each item (or here) as to what would happen when you disable or uninstall each item?
Most of them are self explanatory but I have trouble with a few ie:
pm disable-user --user 0 com.huawei.android.hwouc ??
pm uninstall --user 0 com.google.android.feedback ??
pm uninstall --user 0 com.android.providers.contacts ??
pm disable-user --user 0 com.android.contacts (I will need a new contacts app, wont I)
pm disable-user --user 0 com.huawei.camera (I will need a new camera app)
pm uninstall --user 0 com.android.bookmarkprovider ??
pm uninstall --user 0 com.android.providers.partnerbookmarks ??
pm disable-user --user 0 com.android.providers.calendar ??
pm disable-user --user 0 com.google.android.gm ??
pm uninstall --user 0 com.google.android.onetimeinitializer ??
pm disable-user --user 0 com.huawei.phoneservice (will I be able to call?)
pm disable-user --user 0 com.huawei.nearby ??
pm disable-user --user 0 com.android.emergency ??
pm disable-user --user 0 com.google.android.partnersetup ??
pm disable-user --user 0 com.android.cellbroadcastreceiver ??
pm uninstall --user 0 com.google.android.syncadapters.contacts ??
pm uninstall --user 0 com.google.android.syncadapters.calendar ??
pm uninstall --user 0 com.swiftkey.swiftkeyconfigurator
pm uninstall --user 0 com.touchtype.swiftkey (will I need a new keyboard? do i need to install it before I uninstall this one?)
pm disable-user --user 0 com.google.android.backuptransport ??
pm disable-user --user 0 com.google.android.backupconfirm ??
pm uninstall --user 0 com.google.android.tts ??
#pm disable-user --user 0 com.android.location.fused ?? why are you not disabling this one?
pm disable-user --user 0 com.google.android.printservice.recommendation ??
pm disable-user --user 0 com.android.keyguard ??
pm disable-user --user 0 com.huawei.android.FloatTasks ??
pm disable-user --user 0 com.huawei.hwid ??
pm disable-user --user 0 com.android.printspooler ??
pm disable-user --user 0 com.huawei.omacp ??
#pm disable-user --user 0 com.android.vending
#pm disable-user --user 0 com.google.android.gsf
#pm disable-user --user 0 com.google.android.gms
#pm disable-user --user 0 com.google.android.overlay.gmsconfig
#pm disable-user --user 0 com.google.android.marvin.talkbackNEVERDELETEIT,BECAUSEPHONEWILLENDINBOOTLOOP
And why are you not diabling the last five items?
Thanks in advance
Hi, in this thread, there is a comprehensive list of packages, with the description, and whether or not is safe to remove:
https://forum.xda-developers.com/mate-20-x/how-to/guide-remove-apps-adb-t3870727
Here below I’m sharing my experience about what I safely removed from my T5:
package:com.google.android.feedback
package:com.huawei.hifolder
package:com.huawei.hicloud
package:com.android.providers.partnerbookmarks
package:com.android.bookmarkprovider
package:com.google.android.music
package:com.google.android.videos
package:com.huawei.android.totemweatherwidget
package:com.huawei.android.totemweather
package:com.huawei.android.totemweatherapp
package:com.google.android.youtube
package:com.touchtype.swiftkey
package:com.huawei.kidsmode.kidspaint
package:com.example.android.notepad
package:com.swiftkey.swiftkeyconfigurator
package:com.facebook.system
package:com.android.email
package:com.android.mediacenter
package:com.huawei.himovie.overseas
package:com.google.android.gms
package:com.google.android.apps.photos
package:com.android.providers.calendar
package:com.android.calendar
package:com.android.contacts
package:com.android.providers.downloads
package:com.android.providers.downloads.ui
package:com.google.android.apps.tachyon
package:com.android.wallpaper.livepicker
package:com.android.providers.contacts
package:com.facebook.services
package:com.facebook.appmanager
package:com.huawei.hiview
package:com.huawei.iaware
package:com.huawei.android.chr
package:com.google.android.onetimeinitializer
package:com.huawei.nearby
package:com.huawei.android.FloatTasks
package:com.huawei.appmarket
package:com.huawei.phoneservice
package:com.huawei.screenrecorder
package:com.android.partnerbrowsercustomizations.tmobile
package:com.huawei.hiviewtunnel
package:com.hisi.mapcon
package:com.google.android.apps.work.oobconfig
package:com.huawei.hwid
packageackage:com.android.backupconfirm
package:com.huawei.android.instantshare
package:com.android.statementservice
package:com.google.android.setupwizard
package:com.android.sharedstoragebackup
package:com.huawei.HwMultiScreenShot
package:com.huawei.hwstartupguide
package:com.huawei.android.mirrorshare
package:com.huawei.android.wfdft
package:com.android.emergency
package:com.huawei.hwdetectrepair
package:com.huawei.bd
Probably I could remove more things safely, but I’m using them (launcher, file manager, camera,…)
Have a nice day
Thanks for this, will use it later today
Hey Im planning to use a debloat script as well! I've seen in the txt it removes the camera (useful to me) and swiftkey keyboard (isn't that dangerous if not having other keyboards?).
Hi again. I've used the script but now the Update app is disabled and can't enable it again! X_X any idea about how to fix that?
sfoot13 said:
Hello guys, as you know, we can't unlock the bootloader, so we are stuck with stock firmware.
I have a 3gb/ ram and 32gb/rom tablet, some of you may have lower specs 2/32 , or even 1/16 in many models.
With this script you can gain a bit of extra performance, because you'll have less apps using the ungenerous ram that comes with the device.
Instructions:
1) Install the device's drivers and enable usb debugging on your tablet.
2) Download the file and extract it.
3) Connect your tablet to the pc and open a cmd window and type adb shell.
4) You'll see a message on your tablet, just tap to allow the connection.
5) Now, run the bat file and wait, sometimes you need run it again.
If you open the .txt file, you'll see all the apps that are going to be disable and uninstalled, if you want to keep an app, just add a "#" at the start of the command and it well be skipped.
Download link:
https://drive.google.com/file/d/117sGCj5Ep6K6ZNGTD28s0FD5c46ckegD/view?usp=drivesdk
Have a good day and stay safe.
Cheers guys.
Click to expand...
Click to collapse
Hi!
I'm having a proble with the Windows shell command. If you run "abd shell" in cmd, it just says
'abd' is not recognized as an internal or external command,
operable program or batch file.
What am I doing wrong?
Thanks!
UC666 said:
try "adb" instead of "abd"
Click to expand...
Click to collapse
Holy dyslexia, Batman! Thanks!
Still hangs though:
adb shell
error: device not found
Developer mode is on, the tab is connected via USB: Tab gives the 8-digit code that HiSuite asks -> insert code -> "connected to desktop ******** via USB. Then -> cmd
adb shell
error: device not found
When cmd is run in the platform tools folder:
adb shell
adb server version (32) doesn't match this client (41); killing...
* daemon started successfully
adb.exe: no devices/emulators found
UC666 said:
- The correct drivers installed? I used "HUAWEI USB COM 1.0 driver.zip".
- Allowed data transfer after connecting the USB cable?
Click to expand...
Click to collapse
I just had the tab connected via HiSuite. Can't seem to install the driver you mentioned. No installer and Windows won't let me install via Device Manager, not that I know which file I should choose anyway...
A few weeks ago I debloated my MediaPad T5 using the script, adapted it to my needs before, and I am very happy with it
It made the tablet faster, fresher and more battery friendly.
Thanks a lot!
cappuccini said:
A few weeks ago I debloated my MediaPad T5 using the script, adapted it to my needs before, and I am very happy with it
It made the tablet faster, fresher and more battery friendly.
Thanks a lot!
Click to expand...
Click to collapse
How did you adapt the list?
jazzh said:
How did you adapt the list?
Click to expand...
Click to collapse
First, I used an ADB command to list all the packages, copied the list, compared it to the packages in the script, and copy/pasted it.
Be careful, if you remove too much, the tablet will not boot and you will have to reinstall the operating system via eRecovery.
Helpful ABD commands can be found under the link:
Adb useful commands list
Adb useful commands list. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
jazzh said:
How did you adapt the list?
Click to expand...
Click to collapse
Did you manage to successfully debloat your device?

P40 Pro debloating guide

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

non-root debloating

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

Miui with no xiaomi or google spyware?

Hello,
as the title says, is there any miui without any of xiaomi or googles spyware? I am currently using iodeOS but I kinda miss the look and feel of miui.
Debloat by ADB commands apps (by their package names) you don't like.
E.g., to disable GMail:
adb shell pm disable-user com.google.android.gm
Hi @thirday95,
there are a few good pages you can find with google, which explain the adb stuff more, I "played" around with it yesterday, but messed up a bit.
Please be pretty careful with this.
I kind of "briked" mine. Make sure to actually have an actual backup of your total system, when you do this.
and restart after every uninstal, so you can reinstall, if it doesn't boot up back into android / miui
I tried following:
disabling:
adb devices
adb shell
pm disable-user com.xiaomi.mipicks (didn't work)
Click to expand...
Click to collapse
uninstall:
adb devices
adb shell
pm uninstall --user 0 com.miui.cloudservice
Success
pyxis:/ $
pm uninstall --user 0 com.miui.cloudbackup
Success
pyxis:/ $
pm uninstall --user 0 com.xiaomi.payment
Success
pm uninstall --user 0 com.facebook.services
Success
pyxis:/ $
pm uninstall --user 0 com.facebook.system
Success
pyxis:/ $
pm uninstall --user 0 com.facebook.appmanager
Success
255|pyxis:/ $
pm uninstall --user 0 com.xiaomi.mipicks
Success
pyxis:/ $
pm uninstall --user 0 com.miui.msa.global
Success
pyxis:/ $
pm uninstall --user 0 com.miui.cloudservice
Success
pyxis:/ $
pm uninstall --user 0 com.miui.cloudbackup
Success
pyxis:/ $
pm uninstall --user 0 com.xiaomi.payment
Success
Click to expand...
Click to collapse
But there is an information that you have to deactivate certain functions in MIUI or on your Xiaomi device first. If you do not do that, it could be that the phone doesn't start anymore.
Thank you both for your replies. I went ahead and got one of the xiaomi.eu roms and then ran the debloat script by @_MartyMan_ which worked super well! I do have one other question if anyone can help me. I read somewhere about a zip that is flashable through twrp which runs before startup that blocks all apps from calling home. I'm not sure where I saw it but i would be interested to learn more about it.
thirday95 said:
I read somewhere about a zip that is flashable through twrp which runs before startup that blocks all apps from calling home. I'm not sure where I saw it but i would be interested to learn more about it.
Click to expand...
Click to collapse
You probably thought about the following one. Working from TWRP, debloating but by permanently removing apps, and optimizing kernel. AFAIK, last time officially updated for MIUI 11:
https://forum.xda-developers.com/mi-9t/themes/miui-debloat-optmizations-t3973371
Another approach, debloating apps by use of Magisk module. Systemlessly, i.e., changes will be in effect only while Magisk and the module are active. Based on QFJEUXM 12.0.2, with explanation how to add more (or remove some) apps for debloating list (it will require a reboot then):
https://forum.xda-developers.com/showpost.php?p=83405237&postcount=35
thirday95 said:
Hello,
as the title says, is there any miui without any of xiaomi or googles spyware? I am currently using iodeOS but I kinda miss the look and feel of miui.
Click to expand...
Click to collapse
there is a new Debloat script thread, haven't tested but might be what you search for.

App/task switcher not appearing after using adb

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

Categories

Resources