Here's how you can repurpose your old tablet and turn it into an Android Auto head unit for your vehicle using the open-source app Headunit Revived.