1 first find this websiteHttp://git.android-x86.org /? P = platform/frameworks/base. Git; A = commitdiff; H = 73c8442658704e5749c5fc6fd6f93c15fcf1d7c6 # patch1
2 downloadHttp://android-x86.googlecode.com/files/0001-merge-ethernet-support-to-eclair.patch
3. Go to the frameworks/directory, copy the patch to some directories, and install the patch.
Patch-P1 <../0001-merge-ethernet-support-to-eclair.patch
4. Then make will be wrong
Frameworks/base/Ethernet/Java/Android/NET/Ethernet/iethernetmanager. aidl: 19: Couldn't find import for class android.net. ethernet. ethernetdevinfo is in the build/CORE/pathmap. modify the value of the global variable frameworks_base_subdirs In the MK file, that is, add our Ethernet path. This is because the frameworks_base_subdirs variable is used to declare and tell the compiling system the directory path of the Java aidl file to be compiled. 5. Then, make will prompt you have tried to change the API from what has been previously released in vrd2e an SDK. please fix the errors listed above, which is about 6. XML or 7. XML error. In this case, find and change the XML file, change the value of type_wifi to 2, and change the value of another value to 2.6, and then make, ethernet APIs are added to our frameworks layer.