Skip to content

Instantly share code, notes, and snippets.

@vsnthdev
Last active February 24, 2026 09:04
Show Gist options
  • Select an option

  • Save vsnthdev/8639153e77c8812e32a4057414031d7b to your computer and use it in GitHub Desktop.

Select an option

Save vsnthdev/8639153e77c8812e32a4057414031d7b to your computer and use it in GitHub Desktop.
OnePlus Pad Lite (OPD2480) Bloatware Removal Script
#!/usr/bin/env bash
# DEFINE THE BLOATWARE APPLICATIONS WHICH
# ARE SAFE TO BE REMOVED
declare -a bloatware=(
# Google Bloatware
"com.google.android.calendar" # 1. Google Calendar
"com.google.android.contacts" # 4. Google Contacts
"com.google.android.apps.nbu.files" # 5. Files app by Google
"com.google.android.apps.bard" # 6. Gemini app
"com.google.android.gm" # 7. Gmail app
"com.google.android.googlequicksearchbox" # 8. Google app
"com.google.android.apps.subscriptions.red" # 9. Google One app
"com.google.android.videos" # 10. Google TV app
"com.google.android.apps.nbu.paisa.user" # 11. Google Pay tez Indian version app
"com.google.android.apps.chromecast.app" # 12. Google Home
"com.google.android.apps.kids.home" # 13. Kids space app (Google)
"com.google.android.apps.maps" # 14. Google Maps
"com.google.android.apps.tachyon" # 15. Google Meet / Duo
"com.google.android.apps.photos" # 19. Google Photos app
"com.google.android.youtube" # 23. YouTube
"com.google.android.apps.youtube.music" # 24. YouTube Music
# OnePlus / ColorOS Bloatware
"com.oneplus.backuprestore" # 2. Clone Tablet app
"net.oneplus.forums" # 3. OnePlus Community app
"com.android.contacts" # 4. Contacts (Oneplus)
"com.coloros.childrenspace" # 13. Kids space app (OnePlus)
"com.oneplus.note" # 17. OnePlus notes app
"com.oneplus.mall" # 18. OnePlus Store app
"com.oneplus.soundrecorder" # 20. OnePlus voice recorder app
"net.oneplus.weather" # 21. Weather app OnePlus
"com.coloros.weather.service" # 21. Weather app OnePlus (Service)
# Third-Party Bloatware
"com.netflix.mediaclient" # 16. Netflix
"cn.wps.moffice_eng" # 22. WPS Office
)
# WAIT FOR A DEVICE TO CONNECT
clear
tput civis
echo "This $(tput setaf 6)bash$(tput sgr0) script will 🧻 remove bloatware from your OnePlus device"
echo "Waiting ⏳ for a device to be connected"
adb wait-for-device
# TAKE DEVICE MARKET NAME
device_name=$(adb shell getprop ro.product.odm.marketname)
if [ -z "$device_name" ]; then
device_name="$(adb shell getprop ro.product.manufacturer) $(adb shell getprop ro.product.model)"
fi
# LOOP THROUGH ☝️ THE ABOVE APPS
# AND REMOVE THEM
for i in "${bloatware[@]}"
do
clear
echo "πŸ› Removing: $(tput bold)$(tput setaf 6)$i$(tput sgr0)"
adb shell pm uninstall -k --user 0 "$i" > /dev/null 2>&1
done
# FINALLY, TELL TO REBOOT THE DEVICE
clear
echo "Successfully debloated your $device_name πŸ₯³"
echo "You can now safely πŸ”Œ unplug your $device_name"
echo "Please reboot your $device_name now"
echo ""
echo "Developed & Maintained by Vasanth Srivatsa"
echo "For queries 🐦 tweet $(tput bold)$(tput setaf 6)@vsnthdev$(tput setaf 0)"
tput cnorm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment