touchpoint

In addition to terminal devices, all personnel, places, and things connected to the network should also be considered.

View Details

resource

Understand best practices, explore innovative solutions, and establish connections with other partners throughout the Baker community.

×

touchpoint

touchpoint

In addition to terminal devices, all personnel, places, and things connected to the network should also be considered.

Learn more

resource

resource

Understand best practices, explore innovative solutions, and establish connections with other partners throughout the Baker community.

Contact Us
How to Collect Debug Information from Android IP Phones?

Introduction

Overview

When an issue occurs during internal testing or customer deployment of Android IP phones, technical staff may need to provide debug information for troubleshooting and analysis. This guide explains how to collect the required diagnostic files.

Supported Models

GP32i, BX7A, BF600S, BJ7A, Bi56A

Prerequisites

1. Prepare one Android IP phone, one USB flash drive, and one PoE switch or DC power supply. Connect the phone to the switch.

2. Prepare one PC for debugging, and connect it to the same switch. Make sure the PC and the phone can communicate with each other over the network.

Device and PC Connection Diagram

Connect the Android IP phone (A32i is used as the example here) to the switch, and connect the PC to the same switch. Make sure the network between the PC and the device is reachable. The connection example is shown in Figure 1.

Device and PC connection diagram

                 Figure 1. Device and PC connection diagram

Troubleshooting Methods

Depending on the issue, different types of diagnostic information may be required for analysis. The following sections explain which files should be provided under different circumstances.

General Cases

In most cases, three files should be collected and provided to the R&D team:

1. Debug Syslog file
Log in to the phone web interface and go to System > Support Page, then find System Log.

Configure the following settings:

1) Enable Syslog
2) Set the Server Address to the IP address of the local PC
3) Set the Server Port to 514
4) Set the System Log Level to Debug
5) Enable Export Log
6) After the issue is reproduced, click Export Log to download the Syslog file

Exporting the debug syslog

                                                                                                                                   Figure 2. Exporting the debug syslog

2. Debug package
The debug package contains cached logs, runtime information, firmware details, and other internal diagnostic data from the phone. It can be exported from the web interface.

Go to System > Support Tool, find the One-click Export Debug Information option, and click Export. This process may take about one minute to complete.

Exporting the debug package

                                                                                                                                        Figure 3. Exporting the debug package

3. Network packet capture file
A packet capture file records transmitted and received network packets and can be used for analysis in tools such as Wireshark.

To capture network traffic:

1) Click Start and wait for the web page to begin the capture process
2) Reproduce the issue
3) After the issue has been reproduced, click Stop
4) Open the browser download page to locate the captured packet file

Capturing network packets

                                                                                                                                          Figure 4. Capturing network packets

Special Cases

After providing the three files described above, additional information may still be required in some situations.

When Requested by R&D

After reviewing the Debug Syslog, debug package, and packet capture, the R&D team may ask for Android real-time logs to support deeper analysis. The following section explains how to collect Android real-time logs by using ADB.

Android real-time log
The Android platform continuously outputs runtime logs while the phone is operating. These logs can help engineers identify and analyze problems.

1. Install the ADB tool on the PC

You can download the appropriate ADB tool for your operating system from:

https://developer.android.google.cn/studio/releases/platform-tools

After installation, add the ADB installation path to the system environment variables. In Windows, go to This PC > Properties > Advanced system settings > Advanced > Environment Variables, then add the absolute ADB directory path to the Path variable.

Adding the ADB path

                                                                                                        Figure 5. Adding the ADB path

Open a command prompt on the PC and enter the adb command. If the command runs successfully, ADB has been installed correctly.

Successful ADB installation

                                                                                                          Figure 6. Successful ADB installation

2. Enable USB debugging on the phone

For Android firmware released after December 1, 2020, ADB debugging is disabled by default and must be enabled manually.

Insert a USB flash drive into the phone, then go to Settings > About Device and tap the firmware version number five times to enable Developer Mode.

Enabling developer mode

                                                                                                                     Figure 7. Enabling developer mode

Then go to Settings > System > Developer Options and turn on USB Debugging.

Developer options pageEnabling USB debugging

                                                                                                                Figure 8. Enabling USB debugging

3. Change the debug log level

The default phone log level is typically set to Notice, which records only essential information. To capture more detailed logs, change the log level to Trace.

Go to Phone Settings > System Maintenance > Tools, and set the log level to Trace.

Changing the log level

                                                                                                                  Figure 9. Changing the log level

4. Capture real-time logs

Use the following ADB commands:

adb connect 172.18.8.28
Replace 172.18.8.28 with the actual IP address of the phone. This command connects to the phone over the network.

adb devices
This command lists connected devices and lets you verify whether the phone is successfully connected.

adb logcat -G 16M
This command increases the log buffer size so more log content can be stored.

adb logcat > logcat-202111051708.log
This command saves the real-time log output to a file on the PC. A recommended naming format is: year + month + day + hour + minute + second + .log

Capturing real-time logs

                                                                                                              Figure 10. Capturing real-time logs

After logging is complete, run:

adb disconnect 172.18.8.28

This disconnects the PC from the phone. You can then find the generated real-time log file in the corresponding directory on your PC.

Real-time log file path

                                                                                                                   Figure 11. Real-time log file path

Screen-related Issues

If the issue is related to the LCD screen or display behavior, a screenshot file should also be provided.

Log in to the phone web interface and go to System > Support Page, then find Screen Screenshot. Click Save Image to download and save the screenshot.

Saving a screen screenshot

                                                                                                                 Figure 12. Saving a screen screenshot

catalogue
Professional industrial communication manufacturer, providing high reliability communication guarantee!
Cooperation Consultation
customer service Phone
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .