TWRP: Add device resolution for TWRP