Manually updating the device.xml and vendor.xml on BES 5.0 does not help as BES 5.0 is reading the info from the config database. You need to have internet access, see
KB22777-How to update the device.xml and vendor.xml files manually in BlackBerry Enterprise Server 5.0
To ensure security, you can limit internet access to the URLs given in the article.