xxxxxxxxxx
find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
xxxxxxxxxx
/etc/udev/rules.d/51-android.rules
to add a line to the file:
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
(http://developer.android.com/tools/device.html)
And you maybe need to unload a module cdc_acm before downloading. (This is only needed for older kernels.)
$sudo rmmod cdc_acm