Crashes and Bugs
Setting up ADB
First, download the official SDK Platform Tools: Download SDK Platform Tools
Windows
- Download the SDK Platform-Tools for Windows.
- Extract the ZIP file to a convenient location (e.g.,
C:\platform-tools). - Open the folder, verify you see
adb.exe. - Hold
Shift, right-click in the empty space of the folder, and select Open PowerShell window here (or Command Prompt). - Type
.\adb devicesto verify your device is connected (commands in PowerShell require.\prefix unless added to PATH).
Linux
You can often install ADB via your package manager:
- Arch/Manjaro:
sudo pacman -S android-tools - Debian/Ubuntu:
sudo apt install adb fastboot
Alternatively, download the Linux ZIP from the link above, extract it, and run from the terminal:
./adb devices(You may need to add the folder to your PATH or use ./adb prefix).
Obtaining Logs
Connect your device to your PC and ensure USB Debugging is enabled in Developer Options. To stop logging you can use Ctrl+C to cancel adb logcat.
With Root Access
If your device is rooted, you can easily grab specific logs.
Logcat (System Logs):
adb logcat -d > logcat.txtDmesg (Kernel Logs): Enable adb root in Developer Options, then run:
adb rootadb shell -c dmesg > dmesg.txtIf adb root is not enabled, you can use magisk or kernelsu:
adb shell su -c dmesg > dmesg.txtWithout Root
If root access is not available, you cannot view dmesg directly. Please generate a full bugreport instead:
adb bugreportThis will generate a zip file containing all system logs.