Get the Phone kernel config turn

Source: Internet
Author: User
Tags gz file

While Google claims to support ADK development from 2.3.4 and 3.1, it's not a lot of real support for ADK development. It is certain that the Google Pro son is supporting ADK development when using the official system package, such as the Nexus S on my hand. Those on the market upgraded to 2.3.4 or more versions of mobile phones, many because the underlying kernel does not support the USB accessory feature, so ADK development can not be done. For example, my hand on the V880 phone, ZTE will fully rewrite the USB function, there is no f_accessory.c this file.
Here's how to see if your phone supports the ADK feature:
The principle is to check whether the phone core contains USB accessory function
The first method, extract the current phone's kernel config file to see if it contains USB accessory function
Use command: ADB pull/proc/config.gz/home/user_name/androkern/cm-kernel/config.gz
Then extract the. config file from the config.gz file
The second method, extracted from the boot.img in the system brush package. config
Use command: Scripts/extract-ikconfig boot.img >. config
By looking at the. CONFIG file to determine if there is a USB accessory function, search for "config_usb_android_accessory", if the search is not found or the result is "config_usb_android_ Accessory is not set ".

Get the Phone kernel config turn

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.