Skip to main content

Questions tagged [logging]

Logging is the process by which the system records what's going on - i.e. events, errors, warnings, and related information. Most apps provide details in log files, so the system logs help to debug problems.

127 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
1 answer
32k views

How to get adb logcat to filter ONLY by specific app (package name)

Would like to know how can I get the adb logcat of ONLY certain app, and all its errors and messages associated. I've tried before with adb logcat -c; adb logcat | grep com.fitbit.FitbitMobile, but ...
Smeterlink's user avatar
5 votes
0 answers
181 views

How to run a WiFi speed test periodically and log results?

I would like an app (or some other method) that will run every N minutes and check the WiFi speed and log the result. I tried this using Open App Scheduler to run a speed test (from speedtest.net) but ...
ubnewb's user avatar
  • 51
4 votes
0 answers
682 views

Obtain log of when audio starts and stops

In Android 11, at least in the version Google uses for their phones, all audio apps can be controlled with media buttons you see if you pull down the notifications/top/task/whatever bar. My question ...
user.S's user avatar
  • 91
4 votes
0 answers
1k views

Read more about system incidents in Diagnostic application?

Long story short, we bought a new phone: Sony Xperia M4 Aqua dual SIM 16GB version. The phone is on with Android 5.0 and is pretty new, but he doesn't stop keeping restarting itself. (he just blink 2 ...
user3450548's user avatar
4 votes
0 answers
1k views

Music playback stops randomly

I have bought the Xperia ZQ (Xperia ZL's alias in Brazil) C6503. I am experiencing a very annoying problem: from time to time the audio playback in any audio app just stops. If I hit play again it ...
Guarita's user avatar
  • 41
4 votes
1 answer
5k views

AbsListView on Samsung Galaxy's logcat running Android 4.3 JellyBean

I've been having an issue on my Galaxy S4 following the 4.3 update whereby it will occasionally reboot the phone then go into a reboot loop. If connected to a charge the loop will stop and the battery ...
Paul's user avatar
  • 141
3 votes
0 answers
60 views

Intercept system commands from app

I'm on Android 7.1.2 (Nougat). I have an app that I am trying to pull the exact command /parameters that it is sending to one of my /system/bin apps. It is not in logcat and I haven't been able to ...
Corey F's user avatar
  • 31
3 votes
0 answers
177 views

find out what app/package uses sensor

on my device running AOSP something accesses a sensor of my phone continuously, preventing it from going into deep sleep and thus draining battery. Logcat shows the pid, but that just links to android....
Tobi Peter's user avatar
3 votes
0 answers
661 views

Meaning of abbreviations (DP, KP, NP, RP) concerning POWER OFF RESET REASON in logcat / bugreport

I have a Samsung Galaxy A7 2018 phone, and it is subject to frequent unexpected reboots/shutdowns. To try and pinpoint their cause, I extracted bugreports using adb bugreport. In the main bugreport ...
TedGrassman's user avatar
3 votes
0 answers
2k views

Lost bluetooth device. Connection log?

I lost my bluetooth headset. If I knew the exact time my phone lost signal with it, I could be able to locate it. Is it possible to find this information if my phone is not rooted? Android 8.0, ...
user avatar
3 votes
1 answer
676 views

Get ADB TCP connection log

I was wondering if there was a way to get the ADB connection log (on-device), for when someone types: adb connect <IP> with their IP EDIT: Kind of like with your /var/log/auth.log on Linux, ...
Jacob Collins's user avatar
3 votes
0 answers
120 views

Log what an application does and accesses

I'm a bit paranoid about the permissions that certain applications require to work on an Android phone. Specially the "Access to your storage" permission. What I'm scared of is if an application is ...
Omegaspard's user avatar
3 votes
0 answers
6k views

View when a known Bluetooth device was last connected

I somehow managed to loose my LG G Watch, and it has now been about 2 weeks :/ Around the time that I lost it, I was doing some traveling, so I am trying to figure out where exactly me device might ...
Matt Clark's user avatar
3 votes
0 answers
1k views

How to Diagnose WiFi Issues?

My Samsung Galaxy S4 (GT-I9515) with Android 5.0.1 does not connect to one particular WiFi any more - the Eduroam network at my workplace. The network is listed in the available networks list, with ...
O. R. Mapper's user avatar
2 votes
0 answers
45 views

Is there a way to find reason of Android reboot?

I've OnePlus 9 Pro with Android 13. The phone is rooted and has a custom ROM, but my issue isn't common for that ROM. The Phone generally works well, however at least once or twice a day it suffers ...
AdamG's user avatar
  • 21
2 votes
0 answers
54 views

How to identify which Google user account any particular push notification is intended for (A13)?

Long story short, my wife has many accounts (against my advisement), and one of them is sending Find Device push notifications that aren't being pinged by either of us. I advised her to check all her ...
Arctiic's user avatar
  • 881
2 votes
0 answers
172 views

Why is the 'iptables' target 'NFLOG" not sending log messages to the Kernel?

I recently started using an old cell phone, Samsung Galaxy J7 model SM-J700M. I rooted it, flashed LineageOS and installed a SIM card and it works just fine. I decided to work on a script with ...
Joel Vázquez's user avatar
2 votes
0 answers
2k views

Enabling logcat on boot

I'm trying to debug a ROM problem, that cause Android animation boot run forever, occuring after the first reboot. Trying to read the log with logcat ,executing from shell adb logcat -d before ...
MadPapo's user avatar
  • 121
2 votes
1 answer
291 views

Find history of entering and exiting apps on Android

I have a Samsung Galaxy A3 2016 running Android. I would like to know whether there is a way to recover the exact history of when one entered and exited an app during one day. I have tried this trick,...
Louise's user avatar
  • 21
2 votes
0 answers
667 views

Android Boot Logs Before Logo

BTW, I am wanting to know what Android Boot Logs come before the Android Boot Logo. I see an Android Boot Logo, and I have to hold the power button, but what does it show in the boot logs in the ...
William Wilkerson's user avatar
2 votes
0 answers
803 views

Access HCI bluetooth log from Samsung s8

I have enabled the developer setting "Enable Bluetooth HCI snoop log", toggled the Bluetooth setting and restarted the phone. I have not being able to find the log files anywhere and was wondering how ...
user avatar
2 votes
0 answers
82 views

Phantom noise diagnosis: logcat included

I've got brand new Moto X Style. Great phone, but I have a weird issue which I'm trying to diagnose. My phone sometimes makes that volume change acknowledgement noise without any interaction. If you ...
JR6's user avatar
  • 111
2 votes
0 answers
233 views

How to troubleshot: IpcThreadState log spam / system_server eating battery

The last days, i encounter the issue of my phone draining its battery fast (about 10-15%/h when idle). I'm trying to see what's happening, there are no unusual or suspicious alarms or wake locks. ...
DThought's user avatar
  • 121
2 votes
0 answers
4k views

Debugging Galaxy S2 Bluetooth problem: Bluetooth disconnects, Bluetooth status never fully turns on, Only reboot resolves this

I know many have problems with Bluetooth and certain car kits. I specifically have a VW. In any case, my Galaxy disconnects from not only my car, but also from my Philips in home audio system. In both ...
Kevin's user avatar
  • 31
2 votes
0 answers
51 views

Getting the activities of the user

Is it possible to get a list of user activities? I want to know when the phone was opened, when it was locked, etc. Just the basic things.
Deian's user avatar
  • 21
2 votes
1 answer
593 views

What would cause the existence of a /sdcard/logfile.log?

Since quite some time I've been getting a file /sdcard/logfile.log which gets really big quickly, last time I checked it was about 2MB. That file seems a general system log since I remember seeing ...
user avatar
2 votes
0 answers
1k views

How can I see bootloader stdout debugging messages?

I'm trying to understand the mechanisms of the Android bootloader. The source code for this is here: https://code.google.com/p/android-source-browsing/source/browse/recovery.cpp?repo=platform--...
Brandon F's user avatar
1 vote
0 answers
46 views

How to read boot logs when stuck in a boot loop?

My Sony Xperia 1 V is using an unofficial build of LineageOS (rooted with Magisk) and after a few weeks of working fine, became stuck in a bootloop. I can access Fastboot and Recovery fine, and I ...
karl.e's user avatar
  • 21
1 vote
0 answers
23 views

Is there a way to diagnose this camera issue? Like some kind of crash dump or log? [unrooted Galaxy Note 9]

After water damage, my phone camera had to be replaced. The camera worked after replacement, for a day or so. Then it came up with a black screen (menus are there, just no image). A reboot fixed that ...
CreeDorofl's user avatar
1 vote
0 answers
66 views

How can I tell what has happened on my phone? Like a log

I'm looking to find out if there is a way to log activities on my phone, like something that tells you something was uploaded, downloaded, installed, SMS sent, number called, etc., anytime the phone ...
lilrookeyarookie's user avatar
1 vote
0 answers
209 views

How to interpret ssrm_heating.log on Samsung devices?

I have the below log records of ssrm_heating.log on /data/system/ folder from Samsung Galaxy S5. .... .... 2019-11-11 16:06:05 >>> [Call] CallStateOffHook : false 2019-11-11 16:06:05 [PKG] ...
JayU's user avatar
  • 11
1 vote
0 answers
271 views

Android-13 : help with logcat analysis please

logcat does not reveal what might be holding back Android-13 boot, I am not an expert at this. In terms of Software, we have a setup to build Android-12 succesfully for our specific lunch menu & ...
user21034288's user avatar
1 vote
0 answers
2k views

How to monitor network traffic on Android with root access?

I want to monitor network traffic on my rooted Android device. I found an app called "Network Log" (repo), but it's outdated, designed for old Android versions, and has some bugs (but not ...
g00dds's user avatar
  • 111
1 vote
0 answers
114 views

Do android app crash logs or system crash/kernel logs contain user data?

Do app crash logs/reports contain user data from the app, such as note contents from a note app? And if there is a full android system crash or kernel panic, is that log saved to the phone including a ...
AndroidUser558's user avatar
1 vote
0 answers
103 views

Can someone please confirm expected output from logcat on volume button hardkey press and release?

I have a stock OnePlus 8T+ 5G TMO that has been displaying very strange behavior. It would ask if I want to boot into safe-mode every time I try to power down or restart, and sometimes it would ...
Arctiic's user avatar
  • 881
1 vote
1 answer
1k views

Finding shutdown event in Android bug reports

My Phone which runs on Android 11 has been crashing frequently. This happens randomly - while attending a call or playing a video. I have tried to report it to my manufacturer multiple times to no ...
BlackViper's user avatar
1 vote
0 answers
1k views

How can I see a log of system changes that have been made to my phone?

Recently my phone suddenly exhibited weird behavior which I remedied by running com.google.android.setupwizard/.SetupWizardTestActivity. You can see the exact problem and solution here. Everything ...
JJrussel's user avatar
  • 411
1 vote
0 answers
160 views

An app Can't be connected to Facebook

I installed an app (GRE preparation) from Play Store, but when I tried to log in, this message appeared: For your account security, logging in to Facebook from an embedded browser is disabled. You ...
user516076's user avatar
1 vote
0 answers
168 views

Safe to delete files in /storage/emulated/media/logs?

My phone is running out of free space. When Settings > Storage displayedmore than 30GB used by "System", I looked into it further using the DiskUsage Android app. It told me that /...
Ben E.'s user avatar
  • 111
1 vote
0 answers
2k views

XLogger on Xiaomi?

Installed a simple file explorer on my pocket telescreen, Xiaomi MI 8 Pro, right now is running on unrooted MIUI 12.04 It happens that I have found a .log file, (completely by accident) with hundreds ...
Mike Danxxx's user avatar
1 vote
0 answers
43 views

Find what's crashing my phone

I have a Galaxy M51. At times, when I wake up in the morning, the phone is dead - No response to any of the buttons, when I call it from another phone, it says "the number is switched off", ...
Aditya Pratap Singh's user avatar
1 vote
0 answers
30 views

Call time prior to answering

Version: Android 10 Brand: Samsung Model: S9 Is there a way to log the duration of phone ringing, prior to answering or declining a call? I'm doing this because someone claims to call me, but ...
John's user avatar
  • 11
1 vote
0 answers
844 views

Purpose of MTK Logger

All phones with Mediatek processors have this pre-installed logging application and the data it collects is massive,right up to the plugging/out of the phone from the charger. What is this service ...
Alan Whitteaker's user avatar
1 vote
0 answers
514 views

Random Media Pauses

I have a strange problem that started recently where media I'm listening to/watching will randomly pause. It happens both when playing on my phone and when playing over bluetooth to my car or ...
Nohl Toli's user avatar
1 vote
1 answer
553 views

what in xposed caused this bootloop and how to prevent it from happening again?

My android phone is stuck in a boot loop. To troubleshoot it I was able to boot into TWPR and use adb pull /sys/fs/pstore/console-ramoops to get some boot logs (is that even the right file?). When ...
beppe9000's user avatar
  • 155
1 vote
0 answers
89 views

Phone reboots randomly

Bought 'Redmi Note 4' phone a year ago. Random reboot issue started happening after 6 months. Did root & had flashed old/new/unofficial ROMS on my phone afterwards, uninstalled CPU hogging apps ...
Dark Knight's user avatar
1 vote
0 answers
232 views

Strange characters in logcat

I'm by no means an android developer, so excuse me if that's a stupid question. I'm trying to debug an app from my (Austrian) bank, which doesn't let me access my NFC-SIM - some problems with the ...
xchang3's user avatar
  • 11
1 vote
0 answers
575 views

Unable to login to Google account after reflashing gapps (LineageOS 14.1)

today I ran into some trouble and had to reflash my LineageOS system and with that my GApps. After reflashing (dirty flash, by the way) I could not login to my Google account anymore. After logging in,...
Nathan's user avatar
  • 11
1 vote
1 answer
248 views

My phone dials #3282 (#DATA) by itself. Which app did it?

For about the last month, I occasionally find my Cricket Samsung Amp Prime (Android 7.1.1) dialing #3282 (#DATA) without me initiating it. According to my call log, it started on October 1, 2018. It ...
GuitarPicker's user avatar
1 vote
1 answer
1k views

Are android system kernel panic logs available in TWRP recovery?

I am trying to debug a rom I built but can't seem to find the any kernel panic or system logs in TWRP recovery. Is it possible to create logs for a failed boot to see whats going wrong? I am still ...
Top-Bot's user avatar
  • 121