In Python3, if there are filenames encoded with 8-bit encodings, there
might be an issues with converting them into unicode objects. This is a
workaround on this subject. Python2 is not affected.
Other than that, there was tests added to cover this case, appropriate
Makefile which automate creating venvs for both: Python 2 and 3, and
also there is a check against pep8 rules using flake8.
Previously it was possible (most probably unintentionally) to perform
command which gives listing of directory contents on the output:
$ adb shell su -c toolbox ls /
acct
cache
charger
config
...
Using such syntax in newer versions of adb, return an error:
$ adb shell su -c toolbox ls /
Unknown id: ls
It is needed to quote argument passed to the 'shell' parameter on adb,
like:
$ adb shell 'su -c "toolbox ls /"'
acct
cache
charger
config
...
This patch fixes this issue for both adb versions.