2022 Developer Survey is open! Take survey.

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
18 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?
user avatar
  • 1
0 votes
0 answers
26 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,...
user avatar
  • 1
0 votes
0 answers
18 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/...
user avatar
0 votes
1 answer
17 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 ...
user avatar
1 vote
0 answers
47 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 ...
user avatar
  • 371
0 votes
0 answers
31 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 ...
user avatar
0 votes
0 answers
32 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:...
user avatar
  • 113
0 votes
0 answers
63 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. ...
user avatar
  • 1
0 votes
0 answers
37 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 ...
user avatar
1 vote
0 answers
33 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 /...
user avatar
  • 111
0 votes
0 answers
30 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, ...
user avatar
  • 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 ...
user avatar
0 votes
0 answers
59 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 ...
user avatar
  • 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 ...
user avatar
0 votes
0 answers
21 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 ...
user avatar
  • 351
1 vote
2 answers
541 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 ...
user avatar
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 ...
user avatar
0 votes
0 answers
24 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)...
user avatar
0 votes
0 answers
296 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/...
user avatar
1 vote
0 answers
497 views

XLOGGER on Xiaomi?

Installed simply file explorer on my pocket telecreener. Xiaomi MI 8 Pro, right now it running on unrooted MIUI 12.04 It happens that I have found a .log file, (completly by accident) with a hundreds ...
user avatar
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. ...
user avatar
  • 362
3 votes
1 answer
630 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 ...
user avatar
3 votes
0 answers
279 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 avatar
  • 81
2 votes
0 answers
366 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 ...
user avatar
  • 121
4 votes
1 answer
9k 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 ...
user avatar
2 votes
1 answer
135 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,...
user avatar
  • 21
1 vote
0 answers
32 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", ...
user avatar
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 ...
user avatar
  • 11
0 votes
0 answers
38 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 ...
user avatar
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 ...
user avatar
0 votes
0 answers
52 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 ...
user avatar
  • 101
0 votes
0 answers
37 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 ...
user avatar
  • 101
0 votes
0 answers
24 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 ...
user avatar
  • 149
2 votes
0 answers
226 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 ...
user avatar
1 vote
1 answer
1k 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?
user avatar
3 votes
1 answer
841 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 ...
user avatar
0 votes
0 answers
54 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 ...
user avatar
0 votes
0 answers
25 views

Simulate color space changes randomly

since yesterday every time I open Instgram or Twitter, the "Simulate colour space" dev setting gets modified to monochromacy. I already used logcat to check for source: 06-23 10:50:35.893 ...
user avatar
  • 1
1 vote
0 answers
118 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 ...
user avatar
1 vote
1 answer
357 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. ...
user avatar
3 votes
0 answers
249 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 ...
user avatar
0 votes
0 answers
20 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....
user avatar
0 votes
0 answers
53 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 ...
user avatar
  • 1
0 votes
1 answer
330 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 ...
user avatar
  • 3
1 vote
0 answers
476 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 ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
  • 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.
user avatar
2 votes
0 answers
641 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
0 votes
1 answer
2k views

How to see Android OS System log file?

After leaving my Samsung Galaxy A-30 phone (with Android 9) for a few hours unbelievably I understood all of my internal storage is cleaned! I don't remember that I have installed any suspicious app ...
user avatar
0 votes
1 answer
93 views

How to find the app that creates a sound every morning?

My Android phone generates a sound at 8:00 AM every day. It doesn't display anything on the screen while and after the sound being played. I guess this sound is created by one of my 100+ apps on the ...
user avatar
  • 113

1
2 3 4 5 6