Files to be added to Android source to enable ethernet

1,105 views
Skip to first unread message

gowtham gowda

unread,
Mar 15, 2010, 10:04:38 AM3/15/10
to Android-x86
Hi,

I downloaded the android source code from google. I want to add the
Ethernet option for my build, like the one on the Android-x86 iso.
What files or patch should i apply from you source to get that working
on the original source.

Thanks,
Gowtham

Yi Sun

unread,
Mar 15, 2010, 12:41:19 PM3/15/10
to andro...@googlegroups.com
You should be able to find most of the changes on eclair in
http://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h=73c8442658704e5749c5fc6fd6f93c15fcf1d7c6

> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-x86...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
>
>

--
Android-x86
http://www.android-x86.org

gowtham gowda

unread,
Mar 22, 2010, 3:29:29 PM3/22/10
to Android-x86
thanks for the info.

On Mar 15, 12:41 pm, Yi Sun <beyo...@gmail.com> wrote:
> You should be able to find most of the changes on eclair inhttp://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h...


>
>
>
>
>
> On Mon, Mar 15, 2010 at 7:04 AM, gowtham gowda <gowth...@gmail.com> wrote:
> > Hi,
>
> > I downloaded the android source code from google. I want to add the

> >Ethernetoption for my build, like the one on the Android-x86 iso.

gowtham gowda

unread,
Mar 23, 2010, 3:03:26 PM3/23/10
to Android-x86
When i run the make command i am getting this error:
Aidl: framework <= frameworks/base/ethernet/java/android/net/ethernet/
IEthernetManager.aidl
frameworks/base/ethernet/java/android/net/ethernet/
IEthernetManager.aidl:2: couldn't find import for class
android.net.ethernet.EthernetDevInfo
make: *** [out/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/ethernet/java/android/net/ethernet/
IEthernetManager.java] Error 1

what am i doing wrong?

Thanks,
gowtham

On Mar 15, 12:41 pm, Yi Sun <beyo...@gmail.com> wrote:

> You should be able to find most of the changes on eclair inhttp://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h...


>
>
>
> On Mon, Mar 15, 2010 at 7:04 AM, gowtham gowda <gowth...@gmail.com> wrote:
> > Hi,
>
> > I downloaded the android source code from google. I want to add the

> >Ethernetoption for my build, like the one on the Android-x86 iso.


> > What files or patch should i apply from you source to get that working
> > on the original source.
>
> > Thanks,
> > Gowtham
>
> > --
> > You received this message because you are subscribed to the Google Groups "Android-x86" group.
> > To post to this group, send email to andro...@googlegroups.com.
> > To unsubscribe from this group, send email to android-x86...@googlegroups.com.

Yi Sun

unread,
Mar 23, 2010, 3:21:05 PM3/23/10
to andro...@googlegroups.com
you missed some directory. Just search the class in the normal
android-x86 tree and copy it over

Message has been deleted
Message has been deleted

gowtham gowda

unread,
Mar 30, 2010, 2:27:50 PM3/30/10
to Android-x86
The java class files are present on the folder, but when the make
command is executed, the class is not being used or found by the
compiler. Is there way to force it to pick the class?

Thanks,
Gowtham

gowtham gowda

unread,
Apr 1, 2010, 11:21:04 AM4/1/10
to Android-x86
The issue here was the ethernet directory was missing from the
pathmap.mk file in the build directory.

Added it and was able to compile.

Thanks,
Gowtham

gowtham gowda

unread,
Apr 22, 2010, 2:08:50 PM4/22/10
to Android-x86
When i try to compile i am getting the following error,

frameworks/base/ethernet/java/android/net/ethernet/
EthernetStateTracker.java:27: warning 11: Public class
android.net.ethernet.EthernetStateTracker stripped of unavailable
superclass android.net.NetworkStateTracker

How do i get past this error?

Thanks,
Gowtham

On Apr 1, 11:21 am, gowtham gowda <gowth...@gmail.com> wrote:
> The issue here was theethernetdirectory was missing from the
Message has been deleted

gowtham gowda

unread,
Apr 25, 2010, 6:39:19 PM4/25/10
to Android-x86, bey...@gmail.com
Hi Yi Sun,

I followed your instructions on adding ethernet support to normal
android. So far i am able to compile fine but when i compile i get
this warning:
frameworks/base/ethernet/java/android/net/ethernet/
EthernetStateTracker.java:27: warning 11: Public class
android.net.ethernet.EthernetStateTracker stripped of unavailable
superclass android.net.NetworkStateTracker

Do to this warning the device keeps crashing at connectivityservice
during startup. Any idea on now to get this issue fixed.

Thanks,
Gowtham

On Mar 15, 12:41 pm, Yi Sun <beyo...@gmail.com> wrote:
> You should be able to find most of the changes on eclair inhttp://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h...
>
>
>
> On Mon, Mar 15, 2010 at 7:04 AM, gowtham gowda <gowth...@gmail.com> wrote:
> > Hi,
>
> > I downloaded the android source code from google. I want to add the
> > Ethernet option for my build, like the one on the Android-x86 iso.
> > What files or patch should i apply from you source to get that working
> > on the original source.
>
> > Thanks,
> > Gowtham
>
> > --
> > You received this message because you are subscribed to the Google Groups "Android-x86" group.
> > To post to this group, send email to andro...@googlegroups.com.
> > To unsubscribe from this group, send email to android-x86...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/android-x86?hl=en.
>
> --
> Android-x86http://www.android-x86.org

Abhijeet Dev

unread,
Jun 7, 2011, 12:54:54 AM6/7/11
to andro...@googlegroups.com, bey...@gmail.com
Hide the EthernetStateTracker from droiddoc

/**
 * @hide
 */
public class EthernetStateTracker extends NetworkStateTracker {

Abhijeet Dev

unread,
Jun 7, 2011, 2:00:41 AM6/7/11
to andro...@googlegroups.com, bey...@gmail.com
And you must remove all references to the EthernetStateTracker - class definition and any class that uses it from api current.xml
Reply all
Reply to author
Forward
0 new messages