[HOWTO] Get a log from your phone

When ever you run into an issue and try to report it you must have seen the request from the support or development teams to provide a log or a logcat. We do get a lot of questions on how to generate this file. Putting the process of creating a logcat here as simply as possible. Please feel free to point out if any steps are missing or there are errors.

1. On your phone 
  • enable developers options in settings (Settings > About phone > Tap Build number 7 times)
    - enable Android debug (Settings > System > Developer options > Android debugging)
2. On your computer,
   - install adb on your PC
   - There could be issues here with the device driver or the OS type. You can find details on how to install  
    adb here https://www.xda-developers.com/install-adb-windows-macos-linux/

   - connect your device to your computer 
    - Detect your device by typing the below command at the command prompt

      $ adb devices

      You would have to accept an authorization on your phone. A pop up like this will appear

auth

check the option ‘Always allow from this computer’ and click Ok.

- Check that your device is being detected by adb

Once you accept the authorization shown above you will see the display on you screen like this.


If you do not accept the message will say that the device is unauthorized

  • Next, try to reproduce the error. For e.g if Music app is crashing then run it again. The app you are facing an issue with will crash.
  • Now Run this command at the command prompt / console

adb logcat -d > logcat.txt

This will create a file called logcat.txt in the current folder.

  • Check the file for any personal data. We had a user report that one of the apps he had downloaded from another source was putting the password in clear text! You can either scroll the log file or do a search. Remember the file can be quite large.
  • Once you have the logcat file please share it with us as an attachment to the Gitlab error .

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone

10 Likes
/e/ App Store is here!
Maps application
[TUTORIEL] GUIDE FRANCAIS DE LA COMMUNAUTE ET GITLAB /e/
[HOWTO] Report issues in Applications in /e/
Xiaomi Redmi Note 8 reboot all alone
[Solved] Problem with AppsStore
TĂ€glich AbstĂŒrze / Reboots nach erfolgreichem OTA Upgrade von /e/ 1.3 auf 1.5 sowie 1.6
My Chevrolet app errors
Feedback for v1.9
Bank app stopped working after update to 0.19 (regression)
BBVA Bancomer México "Dispositivo alterado"
App unable to fetch OTP
Tutanota-App error during login
Cannot disable Wi-Fi
[HOWTO] Report issues in /e/ Settings
[SOLVED] UBER / issues with Map & trip visualisation
ProblĂšme Bluetooth samsung S7
Battery drain - other user experiences
How to send debugging info
Que dire aux développeurs pour le GPS?
[SOLVED] Eduroam not working
63 Devices now supported by /e/!
Battery drain - other user experiences
Carte Wi-Fi (peut-ĂȘtre) dĂ©fectueuse
/e/ Camera issues
Cannot install updates
Note 4 (N910C) Fingerprint, Encryption, Auto Rotate, Set DNS and Import Contacts from SIM is Not Working
I can't use my calendar anymore
E-mail app won't start
Auto Rotate works ... eventually
[SOLVED] Problems with Samsung S7 from /e/ foundation
Cannot install VLC from App Store
Samsung Galaxy S7, battery not lasting long!
Magic earth maps broken
Phone Services: Phone not allowed
MMS - saving picture impossible - Phone S7 - SM-G930F - Android 7.1.2
Crash out and blank screen when i want to change location in privacy setting
[SOLVED] Can't connect to my /e/ account on my new phone
E-mail app won't start
No sim card detected + unexpected restarts (Samsung Galaxy SIII)
SMS not sent for a particular number
Cannot install updates
Mobile Data not working (update: it's OK now, I needed to configure my APNs)
Bliss Launcher has stopped
Audio issues with the Oneplus 5T
Audio issues with the Oneplus 5T
More and more Bugs / about to give up / How to reports
[Solved] Excessive data usage 2
Multiroom audio
Multiple notes spontaneously created
/e/ Drive stopped working
Bliss Launcher has stopped
E drive has stopped error
Data over consumption with Android plateform
Cause of massive google-analytics access
Samsung Galaxy S7: /e/ takes 95 GB of internal storage
Leica DISTO Sketch Freezes
Can’t install Brave and Firefox Focus
Chromecast functionality
Launcher problem after reboot
Auto Rotate works ... eventually
Incoming phone calls are rejected
Unexpected behavior Poweroff when lock i9305
[SOLVED] Audio issue with Oneplus 5
Installing on nexus 4, apps don't install, bliss launcher crashes
Need Volunteer Testers for these 3 Samsung Exynos Devices
Pocophone & Pie
/e/OS Browser crashes trying to open URL from any App
LG G5 H850 problems
Maps won't access data on new install
[UNOFFICIAL BUILD] Xiaomi Mi 5 (gemini)
Cameras not working
List of HOWTOs & add your suggestions
Fairphone 3 battery drain after /e/ update
[Device Roadmap] Android 9 (Pie) & 10 (Q) : Test builds to support new devices
/e/ on Samsung Galaxy S7 with android 8 Oreo
[HOWTO] Take a video using scrcpy
Email app without notifications after Update
OnePlus - 3 / 3T - oneplus3 - Documentation Suggestions
/e/ email access issues resolved : 26 Sep 2020
Getting MMS which have not been sent
Apps crash when using some form of maps after latest update to 0.13-p
[LIST] Apps that work or do not work with microG
Unable to log in to Evo app from BCAA
Connexion impossible sur N26
Swsisscom Business Telephony App
List of HOWTOs & add your suggestions
Need Google Play Services for bank app
Joplin keeps crashing at launch
LG G5 with last build 0.7-2019071716984 : Ebay and Freebox apps crash on launch
Sync problems debug?

Thanks a lot for your clarification

great, this is very helpful

What about the built-in “Take bug report” feature ? It seems much easier but if nobody mentioned it I guess there is a reason.

3 Likes

I’m also curious about this. Much easier.