[SOLVED] Nexus 10 USB tether

Search This thread

agentx3r

Member
Nov 25, 2011
23
13
Hi, I'm trying to enable USB tethering on the Nexus 10, similar to how was done for the Nexus 7 in this thread.

I've done the required changes in the android os code, however I don't know how to modify the exynos kernel config to enable RNDIS (like was done for the tegra kernel in that same thread).

Anyone have any tips on how to go about doing this? I would really appreciate any help you could throw my way.
 
Last edited:

agentx3r

Member
Nov 25, 2011
23
13
Hi, I'm trying to enable USB tethering on the Nexus 10, similar to how was done for the Nexus 7 in this thread.

I've done the required changes in the android os code, however I don't know how to modify the exynos kernel config to enable RNDIS (like was done for the tegra kernel in that same thread).

Anyone have any tips on how to go about doing this? I would really appreciate any help you could throw my way.

Fixed. No kernel changes needed, just add this to /device/samsung/manta/overlay/frameworks/base/core/res/res/values/config.xml:

Code:
 <!-- List of regexpressions describing the interface (if any) that represent tetherable
         USB interfaces.  If the device doesn't want to support tething over USB this should
         be empty.  An example would be "usb.*" -->
    <string-array translatable="false" name="config_tether_usb_regexs">
        <item>"rndis0"</item>
    </string-array>

    <!-- Array of allowable ConnectivityManager network types for tethering -->
    <!-- Common options are [1, 4] for wifi and dun or [0,1,5,7] for -->
    <!-- mobile, wifi, hipri and bluetooth -->
    <integer-array translatable="false" name="config_tether_upstream_types">
        <item>0</item>
        <item>1</item>
        <item>5</item>
        <item>7</item>
    </integer-array>
 

unknown_owner

Senior Member
Nov 27, 2009
807
156
Fixed. No kernel changes needed, just add this to /device/samsung/manta/overlay/frameworks/base/core/res/res/values/config.xml:

Code:
 <!-- List of regexpressions describing the interface (if any) that represent tetherable
         USB interfaces.  If the device doesn't want to support tething over USB this should
         be empty.  An example would be "usb.*" -->
    <string-array translatable="false" name="config_tether_usb_regexs">
        <item>"rndis0"</item>
    </string-array>

    <!-- Array of allowable ConnectivityManager network types for tethering -->
    <!-- Common options are [1, 4] for wifi and dun or [0,1,5,7] for -->
    <!-- mobile, wifi, hipri and bluetooth -->
    <integer-array translatable="false" name="config_tether_upstream_types">
        <item>0</item>
        <item>1</item>
        <item>5</item>
        <item>7</item>
    </integer-array>

Where do you find that file path?
 

unknown_owner

Senior Member
Nov 27, 2009
807
156
Root of your source directory, it'll be there once you've completed everything you need to do before actually building android.

Thanks. If I have to do all that they did for the nexus 7, then it's really worth it to me. I'm constantly changing ROMs and such. Thanks anyway. Thought it was a simple solution.
 

agentx3r

Member
Nov 25, 2011
23
13
Thanks. If I have to do all that they did for the nexus 7, then it's really worth it to me. I'm constantly changing ROMs and such. Thanks anyway. Thought it was a simple solution.

Yeah, I wish it was baked into all of the modified ROMs that are made (since it's such an easy fix in source) but I guess it's not something most people would find useful.
 
Last edited:

jmueck

Member
Aug 27, 2010
33
8
Hi,

just found this thread via search.

Do you guys know any other solution than building android from source with the suggested changes?

Is there any Custom Rom which has USB tethering enabled?
 

jmueck

Member
Aug 27, 2010
33
8
BUMP... come on. I have CM10 can't do it... blew my mind. Need this added into CM10 for N10!

you should have that using cm10.1 ? at least my n7 has the tethering option on cm10.1..

we ordered a n10 for work and need tethering. if cm does not support i probably will have to built aosp with the suggested "fix".
 

jmueck

Member
Aug 27, 2010
33
8
so i just set up the nexus 10 at work.
flashed cm10.1 and I'm a little disappointed that tethering option is not enabled in cm. (since it is for the n7).

maybe we should ask the devs to for the n10 cm to enable it by default.

btw: downloading cm source now -.-
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Hi, I'm trying to enable USB tethering on the Nexus 10, similar to how was done for the Nexus 7 in this thread.

    I've done the required changes in the android os code, however I don't know how to modify the exynos kernel config to enable RNDIS (like was done for the tegra kernel in that same thread).

    Anyone have any tips on how to go about doing this? I would really appreciate any help you could throw my way.

    Fixed. No kernel changes needed, just add this to /device/samsung/manta/overlay/frameworks/base/core/res/res/values/config.xml:

    Code:
     <!-- List of regexpressions describing the interface (if any) that represent tetherable
             USB interfaces.  If the device doesn't want to support tething over USB this should
             be empty.  An example would be "usb.*" -->
        <string-array translatable="false" name="config_tether_usb_regexs">
            <item>"rndis0"</item>
        </string-array>
    
        <!-- Array of allowable ConnectivityManager network types for tethering -->
        <!-- Common options are [1, 4] for wifi and dun or [0,1,5,7] for -->
        <!-- mobile, wifi, hipri and bluetooth -->
        <integer-array translatable="false" name="config_tether_upstream_types">
            <item>0</item>
            <item>1</item>
            <item>5</item>
            <item>7</item>
        </integer-array>