Android

De Admin -- TALEVAS.
(Différences entre les versions)
(Page créée avec « = ANDROID = == localisation auto start == http://forum.xda-developers.com/showthread.php?t=1386914 Try these commands in Terminal Emulator if you have root access : /opt/... »)
 
 
Ligne 10 : Ligne 10 :
 
  pm disable com.htc.laputa
 
  pm disable com.htc.laputa
 
  pm disable com.htc.laputa.HtcLaputaInstaller
 
  pm disable com.htc.laputa.HtcLaputaInstaller
 +
 +
== USB relai internet ==
 +
 +
You can connect permanently if you have a rooted phone (fre3vo worked for me). Execute the following with adb.
 +
 +
Enable usb mode for network and adb:
 +
 +
adb shell echo 6 > /sys/devices/platform/msm_hsusb/usb_function_switch
 +
 +
Assign an IP to the usb0 device on the phone:
 +
 +
adb shell ifconfig usb0 192.168.99.5 netmask 255.255.255.0 up
 +
 +
Add a default route. The IP should be the IP assigned to usb0 in linux:
 +
 +
adb shell route add default gw 192.168.99.1 dev usb0

Version actuelle en date du 3 avril 2012 à 13:30

ANDROID

localisation auto start

http://forum.xda-developers.com/showthread.php?t=1386914

Try these commands in Terminal Emulator if you have root access :

/opt/android-sdk-update-manager/platform-tools/adb shell
pm disable com.htc.laputa.trip.TripWidget
pm disable com.htc.laputa
pm disable com.htc.laputa.HtcLaputaInstaller

USB relai internet

You can connect permanently if you have a rooted phone (fre3vo worked for me). Execute the following with adb.

Enable usb mode for network and adb:

adb shell echo 6 > /sys/devices/platform/msm_hsusb/usb_function_switch

Assign an IP to the usb0 device on the phone:

adb shell ifconfig usb0 192.168.99.5 netmask 255.255.255.0 up

Add a default route. The IP should be the IP assigned to usb0 in linux:

adb shell route add default gw 192.168.99.1 dev usb0