From http://stackoverflow.com/questions/9210152/set-up-device-for-development-no-permissions