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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 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 ...
0 votes
0 answers
15 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 ...
  • 547
0 votes
1 answer
31 views

start apk from console -> get process id

I have some logcat outputs saved as txt file. I need to parse them looking only for entries that correspond to my app. However, it always takes me quite some time to find the exact process ID of my in ...
0 votes
0 answers
45 views

How to use adb to take dumpstate logs on a Samsung device during device setup after first power on?

I need to get dumpstate logs on a Samsung Fold device during device setup after first power on (after new binary flashing or factory reset). I am unable to set debug level high through *#9900# because ...
0 votes
0 answers
24 views

Dmesg Pixel 3a Android 8

Once opened the shell with adb shell and obtained the root privilege, i run command dmesg in Pixel 3a emulator with Android 8. Why don’t i see any kind of message related to alsa or audio?
  • 1
0 votes
0 answers
67 views

adb logcat - monitor hardware accesses

Is there a way to show hardware messages (low level, in particular, I’m interested to see messages related to audio, camera, and microphone) using adb logcat? In my experiment regarding the microphone,...
  • 1
0 votes
0 answers
19 views

Is it possible to show how far are the wifi hotspot connected clients are?

For Example in my phone hotspot settings i can view the connected clients hostname and mac address and the total count of connected devices And if i enable Wi-Fi Verbose Logging from Developer mode/...
0 votes
1 answer
84 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 ...
1 vote
0 answers
61 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 ...
  • 381
0 votes
0 answers
35 views

S21 Ultra - Please help me understand preloadinstaller.txt

Just looking for some help understanding what this log is and what's going on? It's one of many that appeared in a log folder on my S21 Ultra recently and I see that there are mentions of ...
0 votes
0 answers
43 views

What is vendor_audit and why is it spamming my logs?

I have an app spamming my logcat messages and I assume it is responsible for slow operation of my device. The logs all look like this and there are thousands: 2022-01-18 18:02:19.204 646-646/? E/audit:...
  • 113
0 votes
0 answers
109 views

Extract and log data sent through Bluetooth from external devices to an Android app

I would like to extract and log live data from an app (SMART BMS) that I installed from the Play Store. The app monitors various live parameters of an electric drive train such as power and voltage. ...
  • 1
1 vote
0 answers
61 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 ...
1 vote
0 answers
40 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 /...
  • 111
0 votes
0 answers
35 views

access last time(s) the screen was switched off

I'm looking for a simple, on-device method to find out the last time (or times) when the screen was switched off. I found I can get this information via USB debugging from a connected Linux computer, ...
  • 313
0 votes
0 answers
30 views

Where is the main website connection log?

Is there a log/database of all the sites visited on my device, across all apps even in private modes? If not specific sites, just the domains/IPs connected to? If so, where do I find it? How far does ...
0 votes
0 answers
87 views

Installed app updates log/history?

Is there a way to see in Android the updates history/log of some installed app? E.g. The X app was installed in January 2020, and was updated 3 times, each version and update time being logged. This ...
  • 1
0 votes
0 answers
16 views

Find time wifi/power disconnected

Pixel 4a, stock android 11. Suppose there was a power outage during the night, and I would like to know when I happened/how long it lasted. My phone was on at the time, and the wifi went out. Is there ...
0 votes
0 answers
23 views

Keep/retain a syslog at lowest level possible even after a restart

Over the last several days, my phone suddenly started giving me a problem. It gets into a restart cycle - there is no pattern of when this problem occurs. It's very random, also the number of restarts ...
  • 351
1 vote
2 answers
719 views

Analyzing boot loop Root cause from console-ramoops-0 ( & logcat)

Summary - Update 2: I am not deleting the question content, to preserve history ( but an admin may if appropriate delete that content) but things have change since. A day after I can into the below ...
0 votes
0 answers
35 views

on Android 9 How do I get an audit going back some 10 days about a process that deleted some internal data

I am magiskally rooted on my Android phone running version 9 MIUI 11. In fact I moved toMIUIJust a week ago. Had This phone has a replacement of my lost AT&t phone since couple of months and ...
0 votes
0 answers
41 views

Logcat: Different logs when the same app has been run multiple times

This question is w.r.t getting the logs from the logcat (using command-line tool). I want to fetch the logs of a particular app after the app has been run for a specific amount of time (say 15 seconds)...
0 votes
0 answers
412 views

Logcat analysis Android

I am analysing the logs of an app and I found this message after the app has been successfully lanuched ActivityTaskManager: The Process packagename Already Exists in BG. So sending its PID: 14389 W/...
1 vote
0 answers
676 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 ...
0 votes
1 answer
1k views

Bootloop MIUI 12 after reboot (Xiaomi POCO X3 NFC)

I got bootloop after MIUI 12 phone restart (Xiaomi POCO X3 NFC). Using Magisk 21, TWRP v3.4. I was able to get out the kernel logs, but can not identify where is the problem, what causes the bootloop. ...
  • 372
3 votes
1 answer
687 views

Wi-Fi Verbose logging fields

I've been trying to troubleshoot a Wi-Fi issue (with a specific network) and have Wi-Fi verbose logging on, but I can't find any documentation on what any of the fields in the network selection menu ...
3 votes
0 answers
321 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 ...
  • 81
2 votes
0 answers
487 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 ...
  • 121
4 votes
1 answer
12k 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 ...
2 votes
1 answer
149 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,...
  • 21
1 vote
0 answers
35 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", ...
1 vote
0 answers
26 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 ...
  • 11
0 votes
0 answers
39 views

a process deleted some vital folders and files how do I track it down

admittedly I am rooted on a phone with unlocked bootloader & a Havoc custom GSI rom Android 10 I have hidden magisk root from all applications - every application except the ones that need it ...
4 votes
3 answers
2k views

Is it possible to somehow understand from the logs what happened to the phone a month ago? Are there such logs?

I didn’t have access to my phone for a month, I’m afraid that I could have installed any software or hardware spyware. Is it possible to check it somehow by logs? Does the Android system keep logs for ...
0 votes
0 answers
55 views

How to monitor SMS being sent by apps?

I just found from my mobile bill that SMS is being sent out to some 4 digit number (permium number) from my mobile. I could not find the message in my SMS app - "Messages". I checked with ...
  • 101
0 votes
0 answers
56 views

Creating a log entry in logcat via adb?

Does anybody knows a possibility to add a log entry into the logcat main log? I need to inject an log line with custom text into this log on arbitrary devices. The main problem is that I can't just ...
  • 101
0 votes
0 answers
27 views

As a non-developer, how do I download logs so I can help diagnose why an app is crashing? [duplicate]

I am not an Android developer, but one of the apps I use is now saying "Unfortunately ... has stopped." I would like to look at the system logs to help figure out why, but all I can find is ...
  • 149
2 votes
0 answers
285 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 ...
1 vote
1 answer
2k views

How can I see the history log of system updates

I need to know the history log of system updates "ROM / OTA updates", is there any file on the device can I know this information?
3 votes
1 answer
1k views

Identify the source process and/or app from an output in the logcat

When I plug my phone into my computer, I can see the logcat output in Android Studio. I recently noticed that whenever I start entering a password in a field designated for passwords (the ones that ...
0 votes
0 answers
76 views

need help in deciphering the logs of my bootlooping phone

I am trying to fix my phone that got stuck at a bootloop. Earlier it died out of battery and rebooted when I plugged it in and went on a bootloop, I did a lot of things between my last reboot and this ...
1 vote
0 answers
154 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 ...
1 vote
1 answer
406 views

How to log errors when using adb pull?

I am using the latest version of adb with the pull command to backup my data. Sometimes adb pull doesn't backup all of my files, so I am trying to figure out which files have not been backed up. ...
3 votes
0 answers
254 views

Unable to take kernel logs on a non-rooted device [duplicate]

I am trying to take kernel logs but so far have only got errors like 'permission denied', 'path does not exist' or 'kernel log does not exist'. I have tried this kernel panic link, this crash logs ...
0 votes
0 answers
22 views

Deducing problems using device logs

kinda new to debugging here. I'm running a custom rom on my device and I've started to get random reboots. I wanted to look at logs and find out. But I don't really know what to look for in these logs....
0 votes
0 answers
54 views

Reading system logcat using a script

Is it possible to read the android system logcat without connecting the device to the phone using an script or an application. So i can further extract the data from logcat to my Machine learning ...
  • 1
0 votes
1 answer
337 views

An Pixel XL phone shutdown by itself

My Pixel XL phone rencently always turns off by itself. Most times it turned off just after starting up, a few times it worked longer and everything looks fine. when it happend, a "phone is shuting ...
  • 3
1 vote
0 answers
485 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 ...
2 votes
1 answer
4k views

How to get installation log (either from adb install or manual install)

The question is what to grep/filter? adb logcat | grep what? adb install file.apk tried with grep apk and manual install, but it contains no useful information: 01-25 17:29:05.721 4241 6322 I ...
  • 325
0 votes
1 answer
1k views

Record log before device reboots

I need to record an log even if device restarts cause when I open a specific app my phone restarts so I need to log why.

1
2 3 4 5 6