update bluetooth permissions and move librpc to common (Mustaavalkosta)