[ASUS ZenFone 8] DokanCalp:
While you wait for Asus to unlock our device's bootloader, here you have an script to remove some packages from our Zenfone 8 and install desired ones from F-Droid.

EDIT: I apply this on Android 13.

I have created both scripts separated just to keep it clean.

Debloat script

Credits for TikiThePug whose thread here with same object helped me and inspired to update it. Take a look on it to understand why I remove some of the listed packages and read important notes.

I have tested the system stability for a couple of days, so proceed with care and backup your stuff. Anyway, keep in mind that I am not responsible for anything that happens to your device as a result of doing this.

ADB is needed to uninstall and disable packages.

I have checked the packages to remove from Universal Android Debloater info about them. It is a good resource where you can check, disable or uninstall packages one by one. I have done that way in first time.

Google Services and some asus apps are also removed, so check if the list is what you want.

Some packages throw error while uninstalling but were safe disabling them.

Keep in mind that Asus' apps require com.google.android.gms, so if you remove it, device will fire Rescue party function when internet is accesible. It wil bootloop when system is fully loaded, luckily you have some seconds when system loads to disable wifi/data and stop bootloop.

Also, if you mess with packages, you should know that logs can be read with MatLog from F-Droid, or also from bash with adb logcat command.

#! /bin/bash

# Speed up animations for a smoother experience.
adb shell settings put global window_animation_scale 0.7
adb shell settings put global transition_animation_scale 0.7
adb shell settings put global animator_duration_scale 0.7

uninstall_list="\
com.android.bluetoothmidiservice \
com.android.chrome \
com.android.dreams.basic \
com.android.egg \
com.android.hotwordenrollment.okgoogle \
com.android.hotwordenrollment.xgoogle \
com.android.managedprovisioning \
com.android.providers.partnerbookmarks \
com.android.systemui.plugin.globalactions.wallet \
com.android.vending \
com.android.wallpaper.livepicker \
com.android.wallpaperbackup \
com.asus.faceunlockservice \
com.asus.gallery \
com.asus.ia.asusapp \
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.twinapps \
com.asus.twinappsservice \
com.asus.weathertime \
com.facebook.appmanager \
com.facebook.katana \
com.facebook.orca \
com.facebook.services \
com.facebook.system \
com.futuredial.asusdatatransfer \
com.futuredial.asuslocalbackup \
com.instagram.android \
com.netflix.mediaclient \
com.google.android.apps.docs \
com.google.android.apps.maps \
com.google.android.apps.messaging \
com.google.android.apps.photos \
com.google.android.apps.restore \
com.google.android.apps.setupwizard.searchselector \
com.google.android.apps.tachyon \
com.google.android.apps.turbo \
com.google.android.apps.walletnfcrel \
com.google.android.apps.wellbeing \
com.google.android.apps.youtube.music \
com.google.android.as \
com.google.android.calendar \
com.google.android.configupdater \
com.google.android.ext.shared \
com.google.android.feedback \
com.google.android.gm \
com.google.android.gms.location.history \
com.google.android.gms.supervision \
com.google.android.googlequicksearchbox \
com.google.android.gsf \
com.google.android.inputmethod.latin \
com.google.android.marvin.talkback \
com.google.android.onetimeinitializer \
com.google.android.partnersetup \
com.google.android.printservice.recommendation \
com.google.android.projection.gearhead \
com.google.android.setupwizard \
com.google.android.tts \
com.google.android.videos \
com.google.android.youtube \
com.google.ar.core \
com.google.ar.lens \
"
echo -e "Uninstalling...";
for i in $uninstall_list;
do echo -e $i;
adb shell pm uninstall --user 0 $i;
done

disable_list="\
com.android.apps.tag \
com.android.calllogbackup \
com.android.dynsystem \
com.netflix.mediaclient \
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.services.secureui \
com.qualcomm.qti.services.systemhelper \
com.qualcomm.qti.uimGbaApp \
com.qualcomm.qti.workloadclassifier \
com.google.android.apps.docs \
com.google.android.apps.photos \
com.google.android.apps.tachyon \
com.google.android.videos \
"
echo -e "Disabling...";
for i in $disable_list;
do echo -e $i;
adb shell pm disable-user $i;
done

Install script

I use fdroidcl from github to install packages from my computer. Check how to install in your system.

I don't remember where I read about it to credit apropiately, maybe in this forum or searching out.

You can install downloaded apk files with adb install file.apk.

#! /bin/bash

# F-Droid's apps downloaded and installed with githubs' package fdroidcl from mvdan user.
fdroid_install_list="\
de.danoeh.antennapod \
org.bromite.bromite \
at.bitfire.davdroid \
org.mozilla.fennec_fdroid \
org.forkgram.messenger \
org.liberty.android.freeotpplus \
us.spotco.malwarescanner \
com.fsck.k9 \
org.documentfoundation.libreoffice \
com.foobnix.pro.pdf.reader \
net.osmand.plus \
com.machiav3lli.fdroid \
eu.faircode.netguard \
org.schabi.newpipe \
net.sourceforge.opencamera \
org.dslul.openboard.inputmethod.latin \
com.darkempire78.opencalculator \
org.sufficientlysecure.keychain \
dnsfilter.android \
com.moez.QKSMS \
com.secuso.privacyFriendlyCodeScanner \
com.simplemobiletools.calendar.pro \
com.simplemobiletools.gallery.pro \
com.nutomic.syncthingandroid \
com.termux \
com.termux.api \
com.termux.boot \
org.videolan.vlc \
net.kaaass.zerotierfix \
com.github.olga_yakovleva.rhvoice.android \
"
for i in $fdroid_install_list;
do echo -e $i;
fdroidcl install $i;
done