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
1 vote
0 answers
18 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
0 votes
0 answers
39 views

Is there any way to show the last times Android was rebooted?

Is there any way to show the last times Android was rebooted? I'm using uptime -s for the last time, but I would like to see a list of the last times it was rebooted. I'm on Android 9 and Termux.
tirenweb's user avatar
  • 101
0 votes
0 answers
37 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
0 votes
0 answers
129 views

Missing logcat? KMSG? Debugging random reboots

I have this crap ANS ARTIA phone running Android 12. It keeps rebooting—2-3 times at the same date/time of the week (once while using G Maps, once using Waze) plus a couple more times outside of those ...
Adam C's user avatar
  • 1
0 votes
0 answers
61 views

My phone stuck on OS boot animation but I can use adb to connect to it, how to fix it without losing data?

I have a Samsung s10e g9700 flashed with Corvus OS gsi (seems based on phh's gsi), which worked basically fine for almost a month. But when I flashed a modified system.img based on Corvus OS gsi, the ...
woyaojizhu8's user avatar
0 votes
0 answers
86 views

Security logging for Android

How can an Android phone log all activities related to access? My requirement is that every phone lock, unlock event, any settings modification, and audit trail needs to generate a log entry to a file....
Majoris's user avatar
  • 101
0 votes
0 answers
91 views

Chromecast with Google TV: No HDMI-CEC entries in Logcat

Trying to get as much control as it's possible from the TV's (LG LF630V) remote for the connected Chromecast with Google TV. The HDMI-CEC definitely works on Chromecast, as e.g., → ←​ ↓ ↑ [OK] [Back] ...
Zoltán Bíró's user avatar
1 vote
0 answers
107 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
0 votes
1 answer
62 views

Get full log of a whole day from Android

I know of the method of using adb logcat to receive logs from an Android device. However, the logs I receive are, at best, only 1 hour old. I need the logs for the whole day, however. Is there a way ...
user2762996's user avatar
0 votes
0 answers
178 views

Log files/current log file

File name: current_log.txt And also: ts_configuration.jwt In a folder titled logs: play files/data/logs there are two files titled: 2023-02-19_22-14-51.txt.gz 2023-02-19_09-11-09.txt.gz Can someone ...
user avatar
0 votes
0 answers
70 views

what happens in logcat when content is copied to clipboard?

I am trying in vain to identify if and how, in logcat, the events such as "text copied to clibboard" are logged. Any help would be much appreciated.
Dakatine's user avatar
  • 164
3 votes
0 answers
58 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
1 vote
0 answers
181 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
0 votes
0 answers
60 views

How do I log denials for offline charging mode

I've been able to fix offline charging animation on my device but it only works in permissive domain and whilst in enforcing it shows me random lines and i can't figure out a way to address the ...
Om Patel's user avatar
5 votes
0 answers
141 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
1 vote
0 answers
925 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
2 votes
0 answers
114 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
0 votes
1 answer
2k views

Where can I find the log of bluetooth enable and disable

Problem I have Samsung Note 20 and a Samsung Watch. The watch wakes me up every morning between 4:42 and 4:43 am. This is independent of the time zone. It happens in NZ and Malaysia. It happens even ...
Rohit Gupta's user avatar
  • 1,195
1 vote
1 answer
943 views

Is there a way to access logs from before a factory reset? [duplicate]

I recently had to factory reset my phone due to it crashing to the Android Recovery screen. It seems that several other users have had the same issue; all in the past week. Is it possible to view ...
JohnLBevan's user avatar
3 votes
0 answers
152 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
1 vote
0 answers
83 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
60 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
  • 697
0 votes
1 answer
192 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 ...
mcExchange's user avatar
0 votes
0 answers
248 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 ...
Ritesh Singh's user avatar
0 votes
0 answers
225 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,...
Gregor's user avatar
  • 1
1 vote
1 answer
850 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
489 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
  • 401
0 votes
0 answers
93 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:...
findusl's user avatar
  • 113
0 votes
0 answers
492 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. ...
SJC270's user avatar
  • 1
1 vote
0 answers
134 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
122 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
0 votes
0 answers
68 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 ...
user1829u2's user avatar
0 votes
0 answers
32 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 ...
akjain's user avatar
  • 381
1 vote
2 answers
2k 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 ...
user1874594's user avatar
0 votes
0 answers
46 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 ...
user1874594's user avatar
0 votes
0 answers
342 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)...
Nikhil_Coder's user avatar
0 votes
0 answers
854 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/...
Nikhil_Coder's user avatar
1 vote
0 answers
1k 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
0 votes
1 answer
2k 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. ...
klor's user avatar
  • 412
3 votes
1 answer
915 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 ...
user5416's user avatar
4 votes
0 answers
532 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
2 votes
0 answers
1k 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
7 votes
1 answer
26k 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
2 votes
1 answer
230 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
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
0 votes
0 answers
44 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 ...
user1874594's user avatar
4 votes
3 answers
3k 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 ...
user334822's user avatar
0 votes
0 answers
58 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 ...
OkBeat9's user avatar
  • 101
0 votes
0 answers
197 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 ...
JMax's user avatar
  • 101

1
2 3 4 5 6