How to get logs

How to get logs

Milind | Pl2 ツ

Wondering how to take logcats/crash logs and too lazy to search google, there are three methods you can use to get them.

Method 1:- Needs a pc/laptop with adb installed.

⦿ ON YOUR PHONE:

  1. Open your settings app and go to "About Phone/Phone Info" and click your build number 7 times.
  2. Now go back to the settings main menu.
  3. You will now either have a new tab Developer Options in this menu or the system menu.
  4. Open Developer Options and enable USB-Debugging.

⦿ ON YOUR PC/LAPTOP:

  1. Visit this website and download the tools for your operating system.
  2. Extract them.
  3. Open the extracted folder to find many .exe files.
  4. Shift + Right-click the background of the extracted folder and select. Then Run command prompt / PowerShell here.
  5. Plug your phone into your PC with USB-Debugging Permission toggle on and grant it from your phone.
  6. Type "adb devices". If your phone is displayed, proceed. If not, google for [your BrandHere] USB drivers and install them. Then check if the device shows or not and proceed further.
  7. Type adb logcat > logcat.txt".
  8. Open your YouTube Vanced app, reproduce your bug and then close the command prompt.
  9. Now you will find a new file logcat.txt in the same folder.

Open it, scan it to remove confidential info.

Press "CTRL + A" => "CTRL + C", open https://hastebin.com/ or https://pastebin.com/ or Katbin , paste it and save. Use the output link for your bug report.


Method 2:- Using logcat reader apps(Need root)

Use any logcat reader app from the Google Play store to capture the error, save the text file, and share it with your developer/moderator, or paste the error text into dogbin or Pastebin and share the link with them. We recommend using any one of the alternatives


Method 3:- Either adb or root permission is required

The scoop app can help get logs of the app which is getting crashed unexpectedly so you don't need to go through the hassle of doing logcats and getting a big stack trace of logs.

  1. First, install this app
  2. Grant root permission or grant via pc through adb using this command "adb shell pm grant taco.scoop android.permission.READ_LOGS" without apostrophes.
  3. Then keep the scoop app in the background and reproduce the crash
  4. Upload/Copy the stack trace to katbin/Pastebin
  5. Paste the link of the crash log in the chat.
{Use this link to download the scoop app}

NOTE: If you don't have adb installed on your laptop/pc, use this link to download ADB on your PC/macOS/Linux by following the instructions properly.

Report Page