Linux script to automatically extract key

This just follows the instructions on the blog at https://plus.google.com/+AbinashBishoyi/posts/QdPz13C525x in a clean way. Ensure that the device is connected correctly first with `adb devices`