I noticed that the size of the logcat buffer varies on different devices. Assuming I have root permissions on my device, is there a way to change the buffer size of the main
To set logcat buffer to 16Mb for a specific Android device through adb, I used:
adb -s 2615a1d4e3174a6e logcat -G 16M
But you can use just:
adb logcat -G 16M
Or set previous buffer size with:
adb logcat -G 256K
Set the size of the log ring buffer
adb logcat -G <size>
Append K or M to indicate kilobytes or megabytes
Example: adb logcat -G 512K