Removing the Blackberry Desktop Software for Mac without having to re-download a 70mb installer from Blackberry
If you happen to have installed the Blackberry Desktop Software and you want to remove it and it’s annoying persistant daemons, you might have discovered that this can only be done by downloading the 70mb installer dmg, and running the uninstaller.

That’s not an issue if you still have the installer dmg from when you errantly found yourself installing the Blackberry Desktop Software, but in my case (and my fastidious ~/Downloads cleaning habits) I no-longer posessed the installer dmg, and (even though it wouldn’t take long) I didn’t want to redownload it.
After a bit of Googling, I came across a forum post with the major part of the uninstaller (a shell script) pasted verbatim.
Unfortunately, the uninstaller script doesn’t work as is without the cushy double-clickability of the uninstaller, so I’ve consolidated it in to the following simple script that just does all of the unregistering and removing of files:
#!/bin/sh
if [ $UID -ne 0 ]; then
echo "Script must run as root"
exit 1
fi
/Library/Application\ Support/Blackberry/BBLaunchAgent.app -ndefault /Applications/BlackBerry\ Desktop\ Manager.app >> /dev/null
rm -fr "/Applications/BlackBerry Desktop Manager.app"
rm -fr "/Library/Receipts/blackberrydesktopmanager.pkg"
rm -fr /Users/*"/Library/Application Support/BlackBerryDesktop/"
rm -f /Users/*"/Library/Preferences/com.rim.blackberrydesktopmanager.plist"
rm -fr /Users/*"/Library/Caches/com.rim.blackberrydesktopmanager"
/Library/Application\ Support/BlackBerry/BBLaunchAgent.app -ipndefault /Library/Application\ Support/BlackBerry/IPModemPasswordDialog.app >> /dev/null
rm -fr "/Library/Application Support/BlackBerry/IPModemPasswordDialog.app"
rm -fr "/Library/Modem Scripts/RIM IP Modem.ccl"
rm -fr "/Library/Frameworks/RIM_VSP.framework"
rm -fr "/Library/Receipts/blackberryvsp.pkg"
rm -f "/Library/Preferences/com.rim.vsp.plist"
rm -fr "/System/Library/Extensions/RIMBBVSP.kext"
rm -fr "/Library/Receipts/blackberryvspdr.pkg"
rm -f "/Library/Preferences/com.rim.RIMBBVSP.plist"
sudo -u "${currentUser}" launchctl unload /Library/LaunchAgents/com.rim.BBLaunchAgent.plist
launchctl unload /Library/LaunchDaemons/com.rim.BBDaemon.plist
rm -fr "/Library/Frameworks/RimBlackBerryUSB.framework"
rm -f "/Library/LaunchDaemons/com.rim.BBDaemon.plist"
rm -f "/Library/LaunchAgents/com.rim.BBLaunchAgent.plist"
rm -fr "/Library/Application Support/BlackBerry"
rm -fr "/Library/Receipts/blackberryframeworks.pkg"
rm -f "/Library/Preferences/com.rim.RimBlackBerryUSB.plist"
rm -f "/Library/Preferences/com.rim.RimLaunchAgent.plist"
rm -f /Users/*"/Library/Preferences/com.rim.RimLaunchAgent.plist"
rm -fr "/System/Library/Extensions/BlackBerryUSBDriverInt.kext"
rm -fr "/System/Library/Extensions/RIMBBUSB.kext"
rm -fr "/Library/Receipts/blackberryusbdriverint.pkg"
rm -f "/Library/Preferences/com.rim.BlackBerryUSBDriverInt.plist"
rm -f "/Library/Preferences/com.rim.RIMBBUSB.plist"
pkgutil --forget "com.rim.blackberrydesktopmanager.BlackBerryFrameworks.pkg"
pkgutil --forget "com.rim.blackberrydesktopmanager.BlackBerryUSBDriver.pkg"
pkgutil --forget "com.rim.blackberrydesktopmanager.BlackBerryUSBDriverVSP.pkg"
pkgutil --forget "com.rim.blackberrydesktopmanager.BlackBerryVSP.pkg"
pkgutil --forget "com.rim.blackberrydesktopmanager.Application.pkg"
killall BBLaunchAgent.app
rm -fr /Library/Application\ Support/BlackBerry/
exit 0
Related posts
- Installing Chrome OS on a Late 2009 MacBook
I’ve got an old 2009 MacBook 6,1 (A1342) kicking about in my office that I’ve been playing with on and off lately.
- Factory resetting a Nokia N900 from Mac OS X Mountain Lion
I had a Nokia N900 when they first came out, this was unfortunately shortly before Android had matured to a usable state, and so I didn’t use my Nokia N900 for long.
- Upgrading my Macbook Pro
I’ve had my Macbook Pro for about a year now. It’s the Early-2011 15” bells and whistles model. The specs (the bits we care about, if you can’t be bothered to click the link) are as follows: CPU: 2.2ghz Core i7 RAM: 4gb (2x2gb) DDR3 HDD: 750gb
Discussion
- 2013
- A
Good script!I had the blackberry daemon running and doing nothing and I’ve removed it with this script.Thanks!
- 2014
- CV
It does not seem to work! I cut and pasted it into Terminal, it seemed to exit on the first exit, and BBLaunchAgent.app is still there, using .1 to 2.4 of the CPU time.
- R
I had to change the killall command to effectively stop the app.That one did work:sudo killall BBLaunchAgent
Join the conversation
Reply from your own site with a Webmention (how?).
