What permissions do iOS or Android withhold that prevent you from doing this? The reason car manufacturers don't do this is that it makes no sense to put the software in the phone if you're not trying to make the software portable between different cars.