Page tree
Skip to end of metadata
Go to start of metadata

Introduction

Here you can find more info about how to collect internal log files from the Maxwell 10

Android SDK

If the Android SDK is not installed yet. Install this first : http://developer.android.com/sdk/index.html

Special drivers 

Replace 'android_winusb.inf' on C:\Users\...\AppData\Local\Android\android-sdk\extras\google\usb_driver with this file.

Replace 'android_usb.ini' on C:\Users\...\.android with this file.

Make traces

On the maxwell go to  "Settings->Status" And click several times on Build number until a text appears indicating  you are now in developer mode.

Go to 'Developer options' and use the switch in the right upper corner of the screen to enable Developer options. Now select to enable USB debugging. 

Now Connect a mini USB cable to the Computer and to the maxwell.  The computer will try to search for a corresponding driver, if this fails or takes too long. Manually select the driver in C:\Users\...\AppData\Local\Android\android-sdk\extras\google\usb_driver

If the driver is loaded, disconnect the cable from the Maxwell and reconnect it again. On the maxwell there should now appear a message asking if you authorize the computer to have access to the Maxwell. Click 'Yes' to confirm.

Now we are ready to verify if logcat can see the Maxwell. 

On the PC go to C:\Users\gigaset\AppData\Local\Android\android-sdk\platform-tools ,  In this folder Hold shift and press the right mouse button and select "open command prompt" 

 

Type 'adb devices'  If the drivers are correctly installed and the maxwell is connected via USB a device should appear. Which means you are ready for logcat. 

To log all incidents and save them in a file type   'adb logcat -v long > filename.txt'  

the -v flag & the long argument, it changes output to long style, which means every line of logcat will be on its own line.

If it is required to start logging during boot 'adb -d logcat > filename.txt' can be used. 


To log kernel output enter adb shell followed by cat /proc/kmsg

For more ADB information and options visit: http://forum.xda-developers.com/showthread.php?t=1726238

 

 

  • No labels