25-09-2021, 04:28 AM
![[Image: guides.webp]](https://techinbermudas.com/forum/images/posts/guides.webp)
You will need to enable USB debugging on your phone through developer settings.
Quote:** I am not responsible for anything that happens to your device as a result of doing this, but I have tested this out for a week with no issues, so I thought to share it with you guys.
IMPORTANT NOTES:
- Make sure to set your desired refresh rate (Settings > Display > Refresh rate) before running this script, as it will cause this menu to be greyed out afterwards. I set it to 120 Hz permanently.
Code:
# You must enter an ADB shell to run the below.
# Make sure your device is connected.
adb shell
# Speed up animations for a smoother experience.
settings put global window_animation_scale 0.7
settings put global transition_animation_scale 0.7
settings put global animator_duration_scale 0.7
# List the packages to remove for the default user.
debloat_list="\
com.android.apps.tag \
com.android.backupconfirm \
com.android.bips \
com.android.bluetoothmidiservice \
com.android.carrierconfig \
com.android.cts.ctsshim \
com.android.cts.priv.ctsshim \
com.android.dreams.basic \
com.android.dynsystem \
com.android.egg \
com.android.hotwordenrollment.okgoogle \
com.android.hotwordenrollment.xgoogle \
com.android.managedprovisioning \
com.android.printspooler \
com.android.statementservice \
com.android.wallpaper.livepicker \
com.android.wallpaperbackup \
com.asus.atd.deviceproperty \
com.asus.atd.smmitest \
com.asus.benchmarkblocker \
com.asus.focusapplistener \
com.asus.gamewidget \
com.asus.gamewidget.service \
com.asus.hardwarestub \
com.asus.hbm \
com.asus.ia.asusapp \
com.asus.imagesearch \
com.asus.ims.brightnessservice \
com.asus.ims.devicepolicymanager \
com.asus.ims.extdispctrl \
com.asus.ims.forcedark \
com.asus.ims.freeform \
com.asus.ims.packageinstallerproxy \
com.asus.ims.phykeyctrl \
com.asus.ims.pointerproxy \
com.asus.launcher.twinviewmode \
com.asus.livedemo \
com.asus.livedemoservice \
com.asus.livewallpaper.zf8livewallpaper \
com.asus.loguploader \
com.asus.loguploaderproxy \
com.asus.nextapp \
com.asus.nextappcore \
com.asus.openbeta2 \
com.asus.setupwizard \
com.asus.soundrecorder \
com.asus.sysdiagnostic \
com.asus.sysmonitor \
com.asus.twinapps \
com.asus.twinappsservice \
com.dsi.ant.server \
com.facebook.appmanager \
com.facebook.appmanager \
com.facebook.katana \
com.facebook.orca \
com.facebook.services \
com.facebook.system \
com.futuredial.asusdatatransfer \
com.futuredial.asuslocalbackup \
com.google.android.apps.setupwizard.searchselector \
com.google.android.apps.walletnfcrel \
com.google.android.apps.wellbeing \
com.google.android.apps.youtube.music \
com.google.android.feedback \
com.google.android.googlequicksearchbox \
com.google.android.ims
com.google.android.marvin.talkback \
com.google.android.printservice.recommendation \
com.google.android.setupwizard \
com.google.android.tts \
com.google.ar.core \
com.google.ar.lens \
com.netflix.mediaclient \
com.netflix.partner.activation \
com.qti.dpmserviceapp \
com.qti.qualcomm.datastatusnotification \
com.qti.qualcomm.deviceinfo \
com.qti.service.colorservice \
com.qti.xdivert \
com.qualcomm.qti.devicestatisticsservice \
com.qualcomm.qti.dynamicddsservice \
com.qualcomm.qti.poweroffalarm \
com.qualcomm.qti.services.secureui \
com.qualcomm.qti.services.systemhelper \
com.qualcomm.qti.uimGbaApp \
com.qualcomm.qti.workloadclassifier \
se.dirac.acs \
"
# Go through each package and disable it.
#
# To re-enable all apps in the list:
# -- Replace "disable-user" with "enable"
# then run the below 'for' loop again.
#
# To re-enable only one app from the list:
# -- Run this command: pm enable <package_name>
#
for i in $debloat_list; do pm disable-user $i; done