based on https://github.com/google/python-adb A good example is here: https://medium.com/@lokeshloke/make-adb-work-for-you-2dccacbc5ecc