How to remove tripmode's kernel module?

Solution 1:

Kernel modules don't necessarily have to reside /System/Library/Extensions. Another common kext folder is /Library/Extensions.

The TripMode kext resides in /Library/Application Support/TripMode/ though.

You can remove the folder manually. The app also contains an uninstall script:

TripMode.app/Contents/Resources/Uninstall.command

I will list other files and folders mentioned in the script to look at and remove eventually:

...
sudo rm -Rf "/Users/$USER/Library/Application Support/TripMode"
sudo rm -Rf "/Library/Application Support/TripMode"
defaults delete ch.tripmode.TripMode
sudo rm -Rf "/Users/$USER/Library/Preferences/ch.tripmode.TripMode.plist"
sudo launchctl remove ch.tripmode.TripMode.HelperTool
sudo launchctl remove ch.tripmode.nke.TripMode
sudo rm -Rf "/Library/PrivilegedHelperTools/ch.tripmode.TripMode.HelperTool"
sudo rm -Rf "/Library/LaunchDaemons/ch.tripmode.nke.TripMode.plist"
sudo rm -Rf "/Library/LaunchDaemons/ch.tripmode.TripMode.HelperTool.plist"
sudo osascript -e 'tell Application "System Events" to delete every login item whose name contains "TripMode"'
...