android-tools
android-tools copied to clipboard
Random Android scripts
In case the Android project in question has non-English logcat outputs, some encoding errors caused the loop to stop as per image below:  This happens because the only exception...
I know it is sort of an old script. But yet, it looks pretty usefull from its description, so I'd like to give it a try. Unfortunately it didn't color...
Thanks @bigtree9307 for updating this script, there's still a few lines that don't work though, for example this: ``` 01-15 14:44:13.202 3672 8072 D SSRM:d : SIOP:: AP = 260,...
- Fixed tag matching for tags containing '(' - Priority is matched to known priorities - Pid is cleaned up on match - Pid display is more compact and right...
When piping to someone else, the following crash occurred: ``` Traceback (most recent call last): File "./coloredlogcat.py", line 46, in data = fcntl.ioctl(sys.stdout.fileno(), termios.TIOCGWINSZ, '1234') IOError: [Errno 25] Inappropriate ioctl...
How hard would it be to add a column for time stamp to this script? For example, `adb logcat -v brief,time` provides a very nice time stamp, but it breaks...
Minimal changes to be able to run the script with python3 interpreter. Changes: - New `print` and `list` syntax - Use `io` module instead of `StringIO`