Re: Extract Dmseg and Logcat file (.txt) for debugging

2,167 views
Skip to first unread message
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Mauro Rossi

unread,
Nov 3, 2015, 5:33:20 PM11/3/15
to Android-x86
If you opened console on the device, then inserting usb device you could copy logs to /storage/usbx (usually 0 or 1, try ls command to check after USB plug in)

if you see nothing in /storage/usb0 /storage/usb1 you may need to check with a forum search the full procedure.

adb shell can avoid USB complexities,
it is for the case where from a remote PC you open an Android Debug Bridge session to remote android-x86 device.

adb connect [IP address]
adb root


the you can use the commands you posted.
Mauro


Il giorno martedì 3 novembre 2015 04:35:49 UTC+1, Vel Asta ha scritto:
I've tried the following with no luck:

$ adb shell dmesg > dmesg.txt
$ adb shell logcat -d > logcat.txt
$ adb shell cat /proc/cpuinfo > cpuinfo.txt
$ adb shell getprop > prop.txt

& kernel config, save it.

$ adb pull /proc/config.gz

On Monday, November 2, 2015 at 7:05:13 PM UTC-8, Vel Asta wrote:
Hey folks,

Okay once booted and in the console. What commands do you do to export the logcat.txt and dmesg.txt ?

I'm in the Android Directory right now! Thank you. 

On Monday, November 2, 2015 at 8:50:33 AM UTC-8, Vel Asta wrote:
Dear Folks,

I'm having huge issues extracting the Dmesg & Logcat  logs... I'm doing something clearly wrong since everyone can extract them

in the attached Video#2 I'm trying to show how I can't get to the Console/terminal/command line.... my host is "ctrl" and my shortcut to the command line is host + k .... whenever I try to click that it seems to start blinking in the bottom left and then it like spazzes out on the whole screen but nothing else... Do you know how to open the console? 

I'm using a Mac computer that is connected to a windows computer through Remote Access and on that windows computer I have my virtualbox running. 

Or is there another way to get the Dmesg & Logcat :) )
Message has been deleted
Message has been deleted
Message has been deleted

Mauro Rossi

unread,
Nov 4, 2015, 3:03:23 AM11/4/15
to Android-x86
If you still see /android as root folder, then you need to launch another exit command.

When booting with DEBUG menu entry (or adding DEBUG=2 to grub boot line manually)

logcat will be written in /data/log.txt

M.

Il giorno mercoledì 4 novembre 2015 08:08:23 UTC+1, Vel Asta ha scritto:
Hello Mauro and folks, (I got two questions)

I'm troubleshooting how to get the DMESG and Log.txt from my Mac that has a fully working x86 Android on it.


I'm in console. I did a search for dmesg:

$ find . -iname "dmesg*"

and got the following (Picture#1). If I do (vi) into any of the text files i see the following (Picture#2).

QUESTION#1 --> Is that the DMESG everyone is talking about or am I not looking into the correct ones and correctly?

I then do a search for log (everyone says it is in /data/log.txt but there is no such .txt file there)

$ find . -iname "log*"

and got the following (Picture#3). If I got only into /Android/Data/Data and do the same, I get Picture#4.


QUESTION#2 --> Where is the log.txt ?



THANK YOU SUPER IN ADVANCE :)
Message has been deleted
Message has been deleted
Message has been deleted

Mauro Rossi

unread,
Nov 4, 2015, 3:55:11 PM11/4/15
to Android-x86
You can use adb connect to the IP of the virtual macchin running android-x86
M.
Reply all
Reply to author
Forward
0 new messages