ruby - add twrp device resolution.

Change-Id: Ie1f523197c915762acfff9c7d9c7d997799a5d53