toout: Fix path expansion and device detection
toout: Fix path expansion and device detection

Change-Id: Ifca6b033709318913c6afed28bbb27d3a74f74bc
Signed-off-by: Adrian DC <01fb3892f39957945220431e7409156544d2f041@gmail.com>

AdrianDC/android_development_shell_tools,AdrianDC/android_development_shell_tools