make compatible with lots of devices

Signed-off-by: ChampionSwimmer <android@championswimmer.tk>