Skip to content

Instantly share code, notes, and snippets.

View triallax's full-sized avatar

triallax

View GitHub Profile
@gsurrel
gsurrel / Galaxy_S8_Debloat.sh
Last active September 30, 2025 09:34
Samsung Galaxy S8 debloat list
###########################
# Phone apps and services #
###########################
adb shell "cmd package install-existing com.android.stk" # SIM toolkit
adb shell "cmd package install-existing com.android.stk2" # SIM toolkit (maybe for dual-sim devices)
adb shell "cmd package install-existing com.sec.android.app.simsettingmgr" # SIM card manager, maybe required, contains configuration and settings for handling dual SIM (give a SIM an icon, a name, and so on)
adb shell "pm uninstall -k --user 0 com.samsung.android.smartcallprovider" # The 4th tab in the Phone app for 'local places'
adb shell "pm uninstall -k --user 0 com.sec.vsim.ericssonnsds.webapp" # NSDSWebApp. The Non Sim Device Solution (NSDS) is linked to VoLTE and VoWifi (Wifi Calling). NSDS allows connecting non sim devices to IMS core: https://uk.linkedin.com/in/hemant-kumar-dewnarain-2b779679
adb shell "pm uninstall -k --user 0 com.android.cts.ctsshim" # Part of the Android Compatibility Test Suite: https://source.android.com/compatibility/cts/setu
@abenson
abenson / etc.sv.fstrim.dotrim
Last active May 9, 2023 22:12
Drive Trim Timer
#!/bin/sh
TIMEFILE=$(dirname $0)/fstrim.timer
LOGFILE=/var/log/fstrim.log
date -u >> $LOGFILE
/usr/bin/fstrim -a -v >> $LOGFILE 2>&1
touch $TIMEFILE