Ril permissions fix part 2(Stolen from tamsui)