1. thecount's Avatar
    anyone know what files from Blackberry Desktop Manger I should delete? as its affecting pocketmac connecting to my 9700. I am acting like a yo yo between BDM and Pocketmac and I'm desperate to get a solution.

    I installed pocketmac, the latest version out recently - all was fine for a while, then it started to dupe my data. I uninstalled thinking (hoping) BDM would be better. but when I installed and I added a contact onto my phone, it didn't appear in my entourage! so I thought I would go back to pocketmac and persevere. . .
    04-04-10 02:14 PM
  2. vid99's Avatar
    This is their Uninstaller, so it has all the file listings that get installed, so it may help....

    This file is called uninstall.sh....The contents here:



    #!/bin/bash -x

    CALLERS_UID="$1"
    REFCOUNT_PATH="$2"
    DCALL_PATH="$3"

    if [ $UID -ne 0 ]; then
    # Test that the script is run as root.
    echo "Script must run as root"
    exit 1
    fi

    if [ ! -x "$REFCOUNT_PATH" ]; then
    echo "Ref tool not found"
    exit 1
    fi

    PKREF="`pkgutil --pkgs=com.rim.blackberrydesktopmanager.Application. pkg`"

    if [ -d "/Library/Receipts/blackberrydesktopmanager.pkg" ] || [ ! -z ${PKREF} ]; #MAYBE THIS SHOULD BE /Library/Receipts/blackberrydesktopmanager.pkg INSTEAD?
    then
    #unregister the Desktop Manager App with BBLaunchAgent
    /Library/Application\ Support/Blackberry/BBLaunchAgent.app -ndefault /Applications/BlackBerry\ Desktop\ Manager.app >> /dev/null

    /bin/rm -fr "/Applications/BlackBerry Desktop Manager.app"
    /bin/rm -fr "/Library/Receipts/blackberrydesktopmanager.pkg"

    # Delete the Application Support folder and preferences for ALL users
    /bin/rm -fr /Users/*"/Library/Application Support/BlackBerryDesktop/"
    /bin/rm -f /Users/*"/Library/Preferences/com.rim.blackberrydesktopmanager.plist"
    /bin/rm -fr /Users/*"/Library/Caches/com.rim.blackberrydesktopmanager"

    /Library/Application\ Support/BlackBerry/BBLaunchAgent.app -ipndefault /Library/Application\ Support/BlackBerry/IPModemPasswordDialog.app >> /dev/null
    /bin/rm -fr "/Library/Application Support/BlackBerry/IPModemPasswordDialog.app"

    REFCOUNTVSP="`\"$REFCOUNT_PATH\" -unreferenceVSP`"
    if [ ${REFCOUNTVSP} -eq 0 ]; then
    /bin/rm -fr "/Library/Modem Scripts/RIM IP Modem.ccl"
    /bin/rm -fr "/Library/Frameworks/RIM_VSP.framework"
    /bin/rm -fr "/Library/Receipts/blackberryvsp.pkg"
    /bin/rm -f "/Library/Preferences/com.rim.vsp.plist"
    fi

    REFCOUNTVSPDR="`\"$REFCOUNT_PATH\" -unreferenceVSPDR`"
    if [ ${REFCOUNTVSPDR} -eq 0 ]; then
    /bin/rm -fr "/System/Library/Extensions/RIMBBVSP.kext"
    /bin/rm -fr "/Library/Receipts/blackberryvspdr.pkg"
    /bin/rm -f "/Library/Preferences/com.rim.RIMBBVSP.plist"
    fi


    REFCOUNTDR="`\"$REFCOUNT_PATH\" -unreferenceDR`"

    if [ ${REFCOUNTDR} -eq 0 ]; then
    # unload the driver
    if [ ! -x "$DCALL_PATH" ]; then
    echo "DCAll tool not found"
    else
    DCALL_RESULT="`\"$DCALL_PATH\"`"
    fi
    fi

    REFCOUNTFW="`\"$REFCOUNT_PATH\" -unreferenceFW`"

    if [ ${REFCOUNTFW} -eq 0 ]; then
    # BBLaunchAgent is run by the users, not root. We walk through all logged in users and
    # attempt to quit the BBLaunchAgent just in case multiple users are logged in simultaneously.
    for currentUser in `users`; do
    sudo -u "${currentUser}" /bin/launchctl unload /Library/LaunchAgents/com.rim.BBLaunchAgent.plist
    done

    # NOTE: The previous loop might fail on 10.4 if the user name is >8 characters (the 'users' command
    # on 10.4 returns only the first 8 characters of the user name!). So, we explicitly
    # unload using the numeric userid just in case.
    sudo -u "#${CALLERS_UID}" /bin/launchctl unload /Library/LaunchAgents/com.rim.BBLaunchAgent.plist

    # stop the daemon that is run as root
    /bin/launchctl unload /Library/LaunchDaemons/com.rim.BBDaemon.plist

    /bin/rm -fr "/Library/Frameworks/RimBlackBerryUSB.framework"
    /bin/rm -f "/Library/LaunchDaemons/com.rim.BBDaemon.plist"
    /bin/rm -f "/Library/LaunchAgents/com.rim.BBLaunchAgent.plist"
    /bin/rm -fr "/Library/Application Support/BlackBerry"
    /bin/rm -fr "/Library/Receipts/blackberryframeworks.pkg"

    /bin/rm -f "/Library/Preferences/com.rim.RimBlackBerryUSB.plist"
    /bin/rm -f "/Library/Preferences/com.rim.RimLaunchAgent.plist"

    /bin/rm -f /Users/*"/Library/Preferences/com.rim.RimLaunchAgent.plist"
    fi

    if [ ${REFCOUNTDR} -eq 0 ]; then
    # unload the driver
    KEXTSTATUS="`/sbin/kextunload -b com.rim.driver.BlackBerryUSBDriverInt`"

    /bin/rm -fr "/System/Library/Extensions/BlackBerryUSBDriverInt.kext"
    /bin/rm -fr "/System/Library/Extensions/RIMBBUSB.kext"

    /bin/rm -fr "/Library/Receipts/blackberryusbdriverint.pkg"

    /bin/rm -f "/Library/Preferences/com.rim.BlackBerryUSBDriverInt.plist"
    /bin/rm -f "/Library/Preferences/com.rim.RIMBBUSB.plist"
    fi

    # SnowLeopard stores receipts differently then Leopard and vice versa.
    # This unforunatly does not work on Leopard either so we need to support both receipt removal methods
    # To get ride of SnowLeopard receipts:
    /usr/sbin/pkgutil --forget "com.rim.blackberrydesktopmanager.BlackBerryFramew orks.pkg"
    /usr/sbin/pkgutil --forget "com.rim.blackberrydesktopmanager.BlackBerryUSBDri ver.pkg"
    /usr/sbin/pkgutil --forget "com.rim.blackberrydesktopmanager.BlackBerryUSBDri verVSP.pkg"
    /usr/sbin/pkgutil --forget "com.rim.blackberrydesktopmanager.BlackBerryVSP.pk g"
    /usr/sbin/pkgutil --forget "com.rim.blackberrydesktopmanager.Application. pkg"

    else
    echo "Not Found"
    exit 1
    fi

    echo "Success"
    exit 0
    04-04-10 05:12 PM
  3. thecount's Avatar
    wow thanks, I will take a look, and try and note each line by line...
    04-04-10 05:14 PM
LINK TO POST COPIED TO CLIPBOARD