Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
huawei-bloatware-remover.sh
#!/bin/bash
####
#### Copyright (C) 2019 wuseman <wuseman@nr1.nu> - All Rights Reserved
#### Created: 13/02/2019
####
#### A notice to all nerds.
#### If you will copy developers real work it will not make you a hacker.
#### Resepect all developers, we doing this because it's fun!
####
# adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'|grep '/'|awk -F'u0' '{print $2}'|awk '{print $1}'|cut -d/ -f1
adb shell pm uninstall --user 0 com.google.android.videos
adb shell pm uninstall --user 0 com.huawei.gamebox.global
adb shell pm uninstall --user 0 com.huawei.phoneservice
adb shell pm uninstall --user 0 com.mobilesrepublic.appy
adb shell pm uninstall --user 0 com.google.android.youtube
adb shell pm uninstall --user 0 com.android.providers.calendar
adb shell pm uninstall --user 0 com.google.android.googlequicksearchbox
adb shell pm uninstall --user 0 com.google.android.apps.docs.editors.docs
adb shell pm uninstall --user 0 com.huawei.motionservice
adb shell pm uninstall --user 0 com.huawei.android.FMRadio
adb shell pm uninstall --user 0 com.google.android.apps.docs.editors.sheets
adb shell pm uninstall --user 0 com.google.android.apps.docs.editors.slides
adb shell pm uninstall --user 0 com.huawei.android.totemweather
adb shell pm uninstall --user 0 com.android.partnerbrowsercustomizations.tmobile
adb shell pm uninstall --user 0 com.google.android.marvin.talkback
adb shell pm uninstall --user 0 com.google.android.apps.tachyon
adb shell pm uninstall --user 0 com.google.android.music
adb shell pm uninstall --user 0 com.google.android.apps.docs
adb shell pm uninstall --user 0 com.google.android.apps.plus com.huawei.vassistant
adb shell pm uninstall --user 0 com.example.android.notepad
adb shell pm uninstall --user 0 com.android.gallery3d com.huawei.hwstartupguide
adb shell pm uninstall --user 0 com.google.android.partnersetup
adb shell pm uninstall --user 0 com.huawei.android.mirrorshare
adb shell pm uninstall --user 0 com.google.android.feedback
adb shell pm uninstall --user 0 com.google.android.printservice.recommendation
adb shell pm uninstall --user 0 com.google.android.apps.photos
adb shell pm uninstall --user 0 com.google.android.syncadapters.calendar
adb shell pm uninstall --user 0 com.huawei.compass
adb shell pm uninstall --user 0 com.huawei.android.wfdft
adb shell pm uninstall --user 0 com.facebook.system
adb shell pm uninstall --user 0 com.google.android.apps.books
adb shell pm uninstall --user 0 com.huawei.android.projectmenu
adb shell pm uninstall --user 0 com.android.email
adb shell pm uninstall --user 0 com.android.wallpaperbackup
adb shell pm uninstall --user 0 com.facebook.appmanager
adb shell pm uninstall --user 0 com.google.android.play.games
adb shell pm uninstall --user 0 com.hp.android.printservice
adb shell pm uninstall --user 0 com.facebook.katana
adb shell pm uninstall --user 0 com.facebook.system
adb shell pm uninstall --user 0 com.facebook.appmanager
adb shell pm uninstall --user 0 com.gameloft.android.GloftANIF
adb shell pm uninstall --user 0 com.gameloft.android.GloftDMKF
adb shell pm uninstall --user 0 com.gameloft.android.GloftSCCA
adb shell pm uninstall --user 0 com.gameloft.android.GloftSMIF
adb shell pm uninstall --user 0 com.instagram.android
adb shell pm uninstall --user 0 com.huawei.health
adb shell pm uninstall --user 0 com.google.android.apps.docs.editors.docs
adb shell pm uninstall --user 0 com.huawei.android.FMRadio
adb shell pm uninstall --user 0 com.google.android.apps.docs.editors.sheets
adb shell pm uninstall --user 0 com.huawei.android.totemweather
adb shell pm uninstall --user 0 com.google.android.apps.docs.editors.slides
adb shell pm uninstall --user 0 com.android.providers.downloads
adb shell pm uninstall --user 0 com.google.android.apps.tachyon
adb shell pm uninstall --user 0 com.google.android.music
adb shell pm uninstall --user 0 com.twitter.android
adb shell pm uninstall --user 0 com.google.android.apps.docs
adb shell pm uninstall --user 0 com.google.android.apps.plus
adb shell pm uninstall --user 0 com.example.android.notepad
adb shell pm uninstall --user 0 com.tripadvisor.tripadvisor
adb shell pm uninstall --user 0 com.google.android.feedback
adb shell pm uninstall --user 0 com.google.android.printservice.recommendation
adb shell pm uninstall --user 0 com.google.android.apps.photos
adb shell pm uninstall --user 0 com.huawei.ihealth
adb shell pm uninstall --user 0 com.android.email
adb shell pm uninstall --user 0 com.google.android.play.games
adb shell pm uninstall --user 0 com.google.android.apps.magazines
adb shell pm uninstall --user 0 com.hp.android.printservice
adb shell pm uninstall --user 0 com.google.android.inputmethod.latin
#####################################################
# ALL APPS BELOW FOR EASIER COPY/PASTE TO UNINSTALL #
#####################################################
# adb shell pm uninstall --user com.android.cts.priv.ctsshim
# adb shell pm uninstall --user com.google.android.youtube
# adb shell pm uninstall --user com.huawei.camera
# adb shell pm uninstall --user com.google.android.ext.services
# adb shell pm uninstall --user com.huawei.android.launcher
# adb shell pm uninstall --user com.android.mediacenter
# adb shell pm uninstall --user com.huawei.android.CotaDecompressService
# adb shell pm uninstall --user com.android.providers.telephony
# adb shell pm uninstall --user com.huawei.internetaudioservice
# adb shell pm uninstall --user com.google.android.googlequicksearchbox
# adb shell pm uninstall --user com.android.providers.calendar
# adb shell pm uninstall --user com.huawei.health
# adb shell pm uninstall --user com.huawei.hidisk
# adb shell pm uninstall --user com.huawei.iaware
# adb shell pm uninstall --user com.huawei.bluetooth
# adb shell pm uninstall --user com.android.providers.media
# adb shell pm uninstall --user com.touchtype.swiftkey
# adb shell pm uninstall --user com.google.android.apps.docs.editors.docs
# adb shell pm uninstall --user com.huawei.android.thememanager
# adb shell pm uninstall --user com.huawei.android.chr
# adb shell pm uninstall --user com.huawei.android.hsf
# adb shell pm uninstall --user com.google.android.onetimeinitializer
# adb shell pm uninstall --user com.google.android.ext.shared
# adb shell pm uninstall --user com.huawei.autoinstallapkfrommcc
# adb shell pm uninstall --user com.android.wallpapercropper
# adb shell pm uninstall --user com.huawei.android.FloatTasks
# adb shell pm uninstall --user com.huawei.motionservice
# adb shell pm uninstall --user org.simalliance.openmobileapi.service
# adb shell pm uninstall --user com.android.documentsui
# adb shell pm uninstall --user com.android.externalstorage
# adb shell pm uninstall --user com.huawei.android.FMRadio
# adb shell pm uninstall --user com.android.htmlviewer
# adb shell pm uninstall --user com.android.mms.service
# adb shell pm uninstall --user com.google.android.apps.docs.editors.sheets
# adb shell pm uninstall --user com.huawei.android.totemweather
# adb shell pm uninstall --user com.google.android.apps.docs.editors.slides
# adb shell pm uninstall --user com.android.providers.downloads
# adb shell pm uninstall --user com.huawei.phoneservice
# adb shell pm uninstall --user com.huawei.screenrecorder
# adb shell pm uninstall --user com.android.partnerbrowsercustomizations.tmobile
# adb shell pm uninstall --user com.huawei.videoeditor
# adb shell pm uninstall --user com.huawei.securitymgr
# adb shell pm uninstall --user com.google.android.configupdater
# adb shell pm uninstall --user com.android.soundrecorder
# adb shell pm uninstall --user com.huawei.iconnect
# adb shell pm uninstall --user com.huawei.KoBackup
# adb shell pm uninstall --user com.android.defcontainer
# adb shell pm uninstall --user com.android.providers.downloads.ui
# adb shell pm uninstall --user com.android.vending
# adb shell pm uninstall --user com.android.pacprocessor
# adb shell pm uninstall --user com.hisi.mapcon
# adb shell pm uninstall --user androidhwext
# adb shell pm uninstall --user com.huawei.hwvplayer
# adb shell pm uninstall --user com.android.certinstaller
# adb shell pm uninstall --user com.android.carrierconfig
# adb shell pm uninstall --user com.google.android.marvin.talkback
# adb shell pm uninstall --user android
# adb shell pm uninstall --user com.huawei.imonitor
# adb shell pm uninstall --user com.huawei.hwid
# adb shell pm uninstall --user com.android.contacts
# adb shell pm uninstall --user com.gameloft.android.GloftANIF
# adb shell pm uninstall --user com.gameloft.android.GloftDMKF
# adb shell pm uninstall --user com.gameloft.android.GloftSCCA
# adb shell pm uninstall --user com.gameloft.android.GloftSMIF
# adb shell pm uninstall --user com.android.mms
# adb shell pm uninstall --user com.android.mtp
# adb shell pm uninstall --user com.android.nfc
# adb shell pm uninstall --user com.android.stk
# adb shell pm uninstall --user com.android.backupconfirm
# adb shell pm uninstall --user com.instagram.android
# adb shell pm uninstall --user com.huawei.android.instantshare
# adb shell pm uninstall --user com.huawei.indexsearch.observer
# adb shell pm uninstall --user com.huawei.trustagent
# adb shell pm uninstall --user com.android.statementservice
# adb shell pm uninstall --user com.huawei.indexsearch
# adb shell pm uninstall --user com.google.android.gm
# adb shell pm uninstall --user com.google.android.apps.tachyon
# adb shell pm uninstall --user com.huawei.android.internal.app
# adb shell pm uninstall --user com.huawei.hwasm
# adb shell pm uninstall --user com.huawei.omacp
# adb shell pm uninstall --user com.android.calendar
# adb shell pm uninstall --user com.huawei.wifiprobqeservice
# adb shell pm uninstall --user com.huawei.gamebox.global
# adb shell pm uninstall --user com.google.android.setupwizard
# adb shell pm uninstall --user com.android.providers.settings
# adb shell pm uninstall --user com.android.sharedstoragebackup
# adb shell pm uninstall --user com.google.android.music
# adb shell pm uninstall --user com.android.printspooler
# adb shell pm uninstall --user com.android.frameworkres.overlay
# adb shell pm uninstall --user com.android.dreams.basic
# adb shell pm uninstall --user com.android.incallui
# adb shell pm uninstall --user com.huawei.systemmanager
# adb shell pm uninstall --user com.android.inputdevices
# adb shell pm uninstall --user com.android.supl
# adb shell pm uninstall --user com.twitter.android
# adb shell pm uninstall --user com.google.android.apps.docs
# adb shell pm uninstall --user com.google.android.apps.maps
# adb shell pm uninstall --user com.google.android.apps.plus
# adb shell pm uninstall --user com.android.cellbroadcastreceiver
# adb shell pm uninstall --user com.google.android.webview
# adb shell pm uninstall --user com.huawei.HwMultiScreenShot
# adb shell pm uninstall --user com.huawei.vassistant
# adb shell pm uninstall --user com.android.server.telecom
# adb shell pm uninstall --user com.google.android.syncadapters.contacts
# adb shell pm uninstall --user com.example.android.notepad
# adb shell pm uninstall --user com.android.keychain
# adb shell pm uninstall --user com.android.keyguard
# adb shell pm uninstall --user com.android.chrome
# adb shell pm uninstall --user com.android.gallery3d
# adb shell pm uninstall --user com.google.android.packageinstaller
# adb shell pm uninstall --user com.huawei.watch.sync
# adb shell pm uninstall --user com.google.android.gms
# adb shell pm uninstall --user com.google.android.gsf
# adb shell pm uninstall --user com.google.android.tts
# adb shell pm uninstall --user com.huawei.hwstartupguide
# adb shell pm uninstall --user com.android.calllogbackup
# adb shell pm uninstall --user com.google.android.partnersetup
# adb shell pm uninstall --user com.huawei.fido.uafclient
# adb shell pm uninstall --user com.google.android.videos
# adb shell pm uninstall --user com.android.proxyhandler
# adb shell pm uninstall --user com.huawei.android.mirrorshare
# adb shell pm uninstall --user com.tripadvisor.tripadvisor
# adb shell pm uninstall --user com.google.android.feedback
# adb shell pm uninstall --user com.google.android.printservice.recommendation
# adb shell pm uninstall --user com.google.android.apps.photos
# adb shell pm uninstall --user com.google.android.syncadapters.calendar
# adb shell pm uninstall --user com.android.managedprovisioning
# adb shell pm uninstall --user com.swiftkey.swiftkeyconfigurator
# adb shell pm uninstall --user com.huawei.compass
# adb shell pm uninstall --user com.android.dreams.phototable
# adb shell pm uninstall --user com.facebook.katana
# adb shell pm uninstall --user com.huawei.android.dsdscardmanager
# adb shell pm uninstall --user com.android.providers.partnerbookmarks
# adb shell pm uninstall --user com.huawei.android.hwaps
# adb shell pm uninstall --user com.huawei.android.hwouc
# adb shell pm uninstall --user com.google.android.gsf.login
# adb shell pm uninstall --user com.huawei.android.wfdft
# adb shell pm uninstall --user com.android.wallpaper.livepicker
# adb shell pm uninstall --user com.huawei.mmitest
# adb shell pm uninstall --user com.android.apps.tag
# adb shell pm uninstall --user com.huawei.powergenie
# adb shell pm uninstall --user com.facebook.system
# adb shell pm uninstall --user com.google.android.backuptransport
# adb shell pm uninstall --user com.android.bookmarkprovider
# adb shell pm uninstall --user com.android.settings
# adb shell pm uninstall --user com.android.calculator2
# adb shell pm uninstall --user com.google.android.apps.books
# adb shell pm uninstall --user com.huawei.android.projectmenu
# adb shell pm uninstall --user com.android.cts.ctsshim
# adb shell pm uninstall --user com.huawei.geofence
# adb shell pm uninstall --user com.android.vpndialogs
# adb shell pm uninstall --user com.huawei.ihealth
# adb shell pm uninstall --user com.huawei.android.location.activityrecognition
# adb shell pm uninstall --user com.android.email
# adb shell pm uninstall --user com.android.phone
# adb shell pm uninstall --user com.android.shell
# adb shell pm uninstall --user com.mobilesrepublic.appy
# adb shell pm uninstall --user com.android.wallpaperbackup
# adb shell pm uninstall --user com.android.providers.blockednumber
# adb shell pm uninstall --user com.android.providers.userdictionary
# adb shell pm uninstall --user com.huawei.wifieapsimplmn
# adb shell pm uninstall --user com.android.emergency
# adb shell pm uninstall --user com.huawei.scanner
# adb shell pm uninstall --user com.android.location.fused
# adb shell pm uninstall --user com.android.deskclock
# adb shell pm uninstall --user com.android.systemui
# adb shell pm uninstall --user com.android.exchange
# adb shell pm uninstall --user com.android.bluetoothmidiservice
# adb shell pm uninstall --user com.facebook.appmanager
# adb shell pm uninstall --user com.google.android.play.games
# adb shell pm uninstall --user com.huawei.ims
# adb shell pm uninstall --user com.huawei.lbs
# adb shell pm uninstall --user com.google.android.apps.magazines
# adb shell pm uninstall --user com.android.bluetooth
# adb shell pm uninstall --user com.android.providers.contacts
# adb shell pm uninstall --user com.android.captiveportallogin
# adb shell pm uninstall --user com.android.hwmirror
# adb shell pm uninstall --user com.hp.android.printservice
# adb shell pm uninstall --user com.google.android.inputmethod.latin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.