Skip to content

Commit

Permalink
clean up usb tethering
Browse files Browse the repository at this point in the history
Change-Id: I4a6ab0904a301e32bde4a29689aacb9e2850578f
  • Loading branch information
KonstaT committed Oct 16, 2012
1 parent 27aa69a commit 013c2fc
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion device.mk
Expand Up @@ -99,7 +99,6 @@ PRODUCT_COPY_FILES := \
device/zte/blade/prebuilt/system/etc/media_profiles.xml:system/etc/media_profiles.xml \
device/zte/blade/prebuilt/system/etc/media_codecs.xml:system/etc/media_codecs.xml \
device/zte/blade/prebuilt/system/etc/audio_policy.conf:system/etc/audio_policy.conf \
device/zte/blade/prebuilt/system/etc/start_usb0.sh:system/etc/start_usb0.sh \
device/zte/blade/prebuilt/system/etc/gps.conf:system/etc/gps.conf

# Bluetooth configuration files
Expand Down
4 changes: 0 additions & 4 deletions overlay/frameworks/base/core/res/res/values/config.xml
Expand Up @@ -21,10 +21,6 @@
for different hardware and product builds. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

<string-array translatable="false" name="config_tether_usb_regexs">
<item>"usb0"</item>
</string-array>

<string-array translatable="false" name="config_tether_bluetooth_regexs">
<item>"bnep\\d"</item>
</string-array>
Expand Down
5 changes: 0 additions & 5 deletions prebuilt/root/init.blade.rc
Expand Up @@ -133,11 +133,6 @@ service dhcpcd_wlan0 /system/bin/dhcpcd -BKL
disabled
oneshot

service start_usb0 /system/bin/logwrapper /system/bin/sh /etc/start_usb0.sh
class main
disabled
oneshot

service iprenew_wlan0 /system/bin/dhcpcd -n
class main
disabled
Expand Down
3 changes: 0 additions & 3 deletions prebuilt/root/init.blade.usb.rc
Expand Up @@ -4,9 +4,6 @@ on init
write /sys/devices/platform/android_usb/functions/cur_pid 1351
write /sys/devices/platform/android_usb/functions/enable_switch 0

on boot
start start_usb0

on property:sys.usb.config=adb
write /sys/module/g_android/parameters/product_id 1352
start adbd
Expand Down
4 changes: 0 additions & 4 deletions prebuilt/system/etc/start_usb0.sh

This file was deleted.

0 comments on commit 013c2fc

Please sign in to comment.