Created
October 18, 2019 08:08
-
-
Save tfc/93f9c9eab346b0e3aa812c7ffb27d7bb to your computer and use it in GitHub Desktop.
Remove most bloatware from a new Xiaomi telephone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| declare -a packages=( | |
| com.amazon.appmanager | |
| com.android.browser | |
| com.android.calendar | |
| com.android.chrome | |
| com.android.deskclock | |
| com.android.email | |
| com.android.soundrecorder | |
| com.duokan.phone.remotecontroller | |
| com.duokan.phone.remotecontroller.peel.plugin # Peel Mi Remote | |
| com.facebook.appmanager | |
| com.facebook.services | |
| com.facebook.system | |
| com.mfashiongallery.emag | |
| com.mi.android.globalFileexplorer | |
| com.mi.android.globalpersonalassistant | |
| com.mi.dlabs.vr | |
| com.mi.global.bbs | |
| com.mi.global.shop | |
| com.mi.globalTrendNews | |
| com.mi.webkit.core | |
| com.micredit.in | |
| com.milink.service | |
| com.mipay.wallet.id | |
| com.mipay.wallet.in | |
| com.miui.analytics | |
| com.miui.android.fashiongallery | |
| com.miui.antispam | |
| com.miui.bugreport | |
| com.miui.bugreport # Mi Feedback | |
| com.miui.calculator | |
| com.miui.cloudbackup | |
| com.miui.cloudservice | |
| com.miui.cloudservice.sysbase | |
| com.miui.compass | |
| com.miui.enbbs # Xiaomi MIUI Forum | |
| com.miui.fm | |
| com.miui.gallery | |
| com.miui.hybrid | |
| com.miui.hybrid.accessory | |
| com.miui.klo.bugreport | |
| com.miui.micloudsync | |
| com.miui.msa.global | |
| com.miui.notes | |
| com.miui.player | |
| com.miui.providers.weather | |
| com.miui.screenrecorder | |
| com.miui.touchassistant | |
| com.miui.translation.kingsoft | |
| com.miui.translation.xmcloud | |
| com.miui.translation.youdao | |
| com.miui.translationservice | |
| com.miui.userguide | |
| com.miui.videoplayer | |
| com.miui.virtualsim | |
| com.miui.weather2 | |
| com.miui.yellowpage | |
| com.netflix.partner.activation | |
| com.swiftkey.languageprovider | |
| com.swiftkey.swiftkeyconfigurator | |
| com.xiaomi.account | |
| com.xiaomi.discover | |
| com.xiaomi.glgm | |
| com.xiaomi.joyose | |
| com.xiaomi.location.fused | |
| com.xiaomi.micloud.sdk | |
| com.xiaomi.midrop | |
| com.xiaomi.mipicks | |
| com.xiaomi.mipicks # Mi Apps | |
| com.xiaomi.mirecycle | |
| com.xiaomi.oversea.ecom | |
| com.xiaomi.payment | |
| com.xiaomi.providers.appindex | |
| com.xiaomi.scanner | |
| com.xiaomi.simactivate.service | |
| com.xiaomi.xmsf | |
| ) | |
| #com.android.thememanager | |
| #com.android.wallpaper.livepicker | |
| #com.miui.miwallpaper | |
| # DO NOT DELETE: https://gist.github.com/Biswa96/81fe477079fa5279f7cfd7b98d5519c7 | |
| #com.miui.cleanmaster | |
| #com.miui.securityadd | |
| #com.miui.securitycenter | |
| #com.xiaomi.finddevice | |
| for package in ${packages[@]}; do | |
| adb shell pm uninstall -k --user 0 "$package" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment