[Q] usb tethering issue - Optimus One, P500, V General

I bought an LG P500 mobile phone and was trying to use usb tethering and it didnot work. Was able to ping the mobile but nothing beyond that.
Can you guys help
The details of the phone are
Model number : LG-P500
Android version : 2.2
Kernel Version : 2.6.32.9 [email protected] #1 Mon Oct 4 09:05:43 IST 2010
Build number : FRF91
Software Version : V10b-OCT-02-2010
Details of my PC are
Microsoft windows XP Professional version 2002 Service Pack 3
Here are the steps that i had taken and things i tried before reporting this
1. Installed USB drivers for the mobile on my pc
2. connected the mobile to the pc through usb cable
3. turned on the usb tethering button under tethering on mobile
4. on the laptop it shows as the following
Local Area Connectio 13
Connected,Firewalled
LG AndroidNet NDIS Ethernet Adapter #3
on the mobile it shows Tethering or hotspot Active
5. I turn on the wifi on the mobile phone (and turn off the wifi on the laptop)
6. i surf a website on mobile phone to make sure that i am connected to internet.
7. Now i open my internet explorer/firefox in my pc and try to surf the same website.
It does not open the website. for some time it says looking and then says address not found.
8. Now i open the command prompt and type ipconfig/all and i get the following
Windows IP Configuration
Host Name . . . . . . . . . . . . : cosmic-skghosh
Primary Dns Suffix . . . . . . . : cosmic.com
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : cosmic.com
Ethernet adapter Wireless Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Atheros AR9285 Wireless Network Adapter
Physical Address. . . . . . . . . : 20-7C-8F-07-23-6B
Ethernet adapter Local Area Connection 6:
Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller #2
Physical Address. . . . . . . . . : F0-4D-A2-50-19-0B
Ethernet adapter Local Area Connection 12:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : LG AndroidNet NDIS Ethernet Adapter
Physical Address. . . . . . . . . : 42-14-1A-50-76-BD
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.42.164
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.42.129
DHCP Server . . . . . . . . . . . : 192.168.42.129
DNS Servers . . . . . . . . . . . : 192.168.42.129
Lease Obtained. . . . . . . . . . : Saturday, March 05, 2011 7:16:02 PM
Lease Expires . . . . . . . . . . : Saturday, March 05, 2011 8:16:02 PM
9. Now i type route PRINT
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...20 7c 8f 07 23 6b ...... Atheros AR9285 Wireless Network Adapter - Packet Scheduler Miniport
0x3 ...f0 4d a2 50 19 0b ...... Realtek PCIe GBE Family Controller #2 - Packet Scheduler Miniport
0x30005 ...42 14 1a 50 76 bd ...... LG AndroidNet NDIS Ethernet Adapter #3 - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.42.129 192.168.42.164 25
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.42.0 255.255.255.0 192.168.42.164 192.168.42.164 25
192.168.42.164 255.255.255.255 127.0.0.1 127.0.0.1 25
192.168.42.255 255.255.255.255 192.168.42.164 192.168.42.164 25
224.0.0.0 240.0.0.0 192.168.42.164 192.168.42.164 25
255.255.255.255 255.255.255.255 192.168.42.164 2 1
255.255.255.255 255.255.255.255 192.168.42.164 192.168.42.164 1
255.255.255.255 255.255.255.255 192.168.42.164 3 1
Default Gateway: 192.168.42.129
===========================================================================
Persistent Routes:
None
10. Now i try ping 192.168.42.129 and i get
Pinging 192.168.42.129 with 32 bytes of data:
Reply from 192.168.42.129: bytes=32 time<1ms TTL=64
Reply from 192.168.42.129: bytes=32 time<1ms TTL=64
Reply from 192.168.42.129: bytes=32 time<1ms TTL=64
Reply from 192.168.42.129: bytes=32 time=3ms TTL=64
Ping statistics for 192.168.42.129:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 3ms, Average = 0ms
11. Now i try to ping forum.xda-developers.com and i get
Ping request could not find host forum.xda-developers.com. Please check the name and try again.

hey budy why don't u try just running a speed test before and after tethering?

Actually although it shows tether is active on the mobile but it really doesnot connect to the internet. i cannot ping say google.
Is there something i am missing...whats the speed test for if it really isnt connected to internet.

Well it happens if the speed is less or sometimes cuz of anti virus software.... It has happened to me before... Try again.
Sent from my LG-P500 using XDA App

y does it show a NDIS adapter for Phone....It doesnt in mine ..i do it old school way just dial through the android modem ...

@mithun
ok, so it may be antivirus but where...on the phone or on the pc.
how do i run a speed test and on which device?
Btw have u been able to get tethering woring on your device?
@sarfaraz
i am trying tethering. what probably u r refering to is usng the phone as modem which is different from tethering.
at this point can u guys confirm if i understand this right. basically i want to use the wifi on my mobile to connect my pc to internet thru usb tethering. in principle is it supposed to work?

Found it.... on an EDGE network m pretty sure there is no difference whether u access internet on computer through phone by "dialing" through it or using your phone as an "ethernet adapter"

Related

X10 2.2 Custom ROM Newbie FAQ. Read first post before asking!

I will try to make a newbie FAQ thread regarding 2.2 here..
I ask you to wait until i reserved 5 posts first before before posting replies.
I will try to make a copy paste and run solution for you.
But keep in mind that 2.2 is not stable, so some solution will works, but might erase your 2.2 data.
I will try my best to spend my time to answer here.
If you find my answer is helping you, you may donate any small mount for my time spent on answering so i can buy beer to spend more time answering here while drinking
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ET68JQDGW3A86
Table of Content
X10 Custom ROM 2.2 AOSP Bug List and Fixes
Tools Usage FAQ Section
FAQ Section
More FAQ Section
Batch file for quick fix
Configuring Command Prompt
First we need to enable your quick copy paste in command prompt.
Open command prompt by invoking WIN + R, type cmd.exe.. then press enter. Then follow the guide in pictures below.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
With this you can copy codes from forum, and paste to command prompt by using right click.
ADB Tools
Download the View attachment tools.zip
Then extract into a directory named TOOLS. So we had a common root directory for solving all solution. To open the command prompt to the tools directory, simply double click cmd.bat in the TOOLS folder. If you see a new commands attachment below, just download and replace the files. I will keep adding shortcut for you to use.
Download the View attachment commands.zip and extract into TOOLS directory. The zip file contains bat files that can be use as shortcut to invoking adb commands.
Android Debug Bridge commands
Editting files
Text files in Android is in Unix format, you need an editor which capable of editing Unix format to have it modified properly.
You can try to look for UltraEdit for it. There still a lot of UNIX format capable editor out there if you don't like UltraEdit.
Submitting Questions
In order to properly analyze your problem, you must include a logcat log which usually contains the error. To get a logcat log, run logcat.bat or run this code in cmd window
Code:
adb logcat > logcat.txt
You don't need to send the whole logcat.txt content, open the file.. see anything related to your error, paste into another text file and send. Then the problem can be analyzed and solution may or may not be produced.
Then when you submit a log file copy paste, do in
Code:
block so.
[SIZE="4"][B]Things you need to know in 2.2 Custom ROM[/B][/SIZE]
[B]SD card cannot be mounted as USB to your PC[/B]
2.2 Custom ROM have its data partition inside your FreeX10 folder in SD card. Because of this, you cannot dismount SD card and mount to your PC because 2.2 Custom ROM requires the data partition to be always mounted.
[QUOTE="279Paddy, post: 9448029, member: 2949937"]it is not possible, because 2.2 is running from the sdcard...you can't pull a chair if there is someone sitting on it, if you still do, the person actually sitting on it will fall and crash - just like your 2.2 did ;D[/QUOTE]
[B]Battery is hot, and low battery life[/B]
2.2 Custom ROM was compiled with CPU governor set to Performance, meaning that your X10 run on 1Ghz constantly, even during idle. Download and install SetCPU to fix this.
[B]Dual boot, and you can't go back to 2.1[/B]
Instead of press and hold any button, you should keep on clicking any button you like. Click it all the way until you see SE 2.1 boot, or 2.2 Custom ROM boot if you changed your boot priority. Any key will work, but i haven't tried camera, and power button for it.
[SIZE="4"][B]Things you don't need to ask in 2.2 Custom ROM[/B][/SIZE]
[LIST]
[*]Its laggy and slow everywhere
[*]Laggy flash videos
[*]"Chipmunk" sound during call
[*]Music, Video and Camera problem
[*]Random reboot here and there
[/LIST]
2.2 Custom ROM is not alpha yet, do not need to ask this question again and again. As the development goes, things will get improved. The devs know this happens.
[SIZE="4"][B]Things what might not be implemented in 2.2 Custom ROM[/B][/SIZE]
[LIST]
[*]Translations to another language
[/LIST]
Tools Usage FAQ Section
How to invokes ADB command on post
Android Debug Bridge commands
Sometime people post their adb command which can be run in command prompt, or some need you to write into adb shell.
For commands like
adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
adb install -l com.rovio.angrybirds.apk
This code must be run in command prompt like below
Code:
C:\Tools>adb push ContactsProvider.apk /system/app/ContactsProvider.apk
C:\Tools>adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
C:\Tools>adb install -l com.rovio.angrybirds.apk
And this are the wrong way of doing it, because push, pull, install and so on are not shell command.
Code:
C:\TOOLS\>adb shell
# adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb: not found
For command like
adb shell pm setInstallLocation 1
adb shell killall servicemanager
adb shell /system/bin/wlan_tool
This code can be run view command prompt like this, because the shell command can be used like this "adb shell [shell command]"
Code:
C:\Tools>adb shell pm setInstallLocation 1
C:\Tools>adb shell killall servicemanager
C:\Tools>adb shell /system/bin/wlan_tool
or by invoking adb shell first, then entering the commands with prefixed by "adb shell"
Code:
C:\TOOLS\>adb shell
# pm setInstallLocation 1
# killall servicemanager
# /system/bin/wlan_tool
FAQ Section
INSTALL_FAILED_ALREADY_EXISTS during 2.2 /data/install execution
Code:
2544 KB/s (937926 bytes in 0.360s)
pkg: /data/local/tmp/z4root.1.1.0.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
This is because you already have z4root installed. This will not affect the execution.
WiFi Browsing Issue
Assuming you're WiFi is working, you already connected, but you cannot browse or open market. This is because the DNS is filled properly, probably caused by buggy DHCP. You can set DNS manually along with static IP from WiFi Setting. Open menu by clicking menu button. Select Advanced. Then enter your static IP there.
To know what static IP you need to insert there. Open cmd, type ipconfig /all, then you look for your computer wifi configuration, fill in everything exactly the same as your computer configuration except the IP address.. Usually change the fourth number to anything random within 2-255 will do the trick.
Below are example of ipconfig /all ountput
Code:
Wireless LAN adapter Безжична мрежова връзка 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Belkin 54g Wireless USB Network Adapter #
4
Physical Address. . . . . . . . . : 00-22-75-B1-5F-2E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f0:fa10:4c6f:e9b2%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 27 ноември 2010 г. 21:41:00 ч.
Lease Expires . . . . . . . . . . : 28 ноември 2010 г. 16:41:00 ч.
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 620765813
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-74-63-C4-00-1B-B9-E7-68-12
DNS Servers . . . . . . . . . . . : 195.24.89.12
195.24.90.1
NetBIOS over Tcpip. . . . . . . . : Enabled
This are your Wireless LAN configuration.
Then you put those values on your static IP config in Android
IP: 192.168.1.201
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS1: 195.24.89.12
DNS2: 192.24.90.1
Why the output show 101, but you need to use 201 in ip address? In case you have multiple computer and gadget connected to your WiFi, usually they are assigned in sequential numbering, so no one would use 201. If some one use that already, you will get ip conflict, just change the value to any other number.
What does it means? ADB server is out of date. killing....
That mean is the adb server running in your computer had it state invalidated. It will restart the ADB server automatically. You don't need to download SDK all over again to "update" your ADB.
killall servicemanager doesn't fix radio problem
Do it couple time, usually do the trick. I found that the radio is not connecting really fast in 2.2. After reboot, sometimes it takes like 1-2 minutes before the phone connects to network.
FAQ Section
Force close related to android.process.acore
Since there no logcat from the Custom ROM thread, but i can make assumption that your databases might be corrupted and removing the data usually will do the trick.
Open "adb shell", then paste this code
Code:
rm -r /data/data
mkdir /data/data
But if you do this, the Home button and Lock screen will be gone. You need to apply fix for that. Read them on this thread X10 Custom ROM 2.2 AOSP Bug List and Fixes
Force close related to android.process.media
You need to apply fix for that. Read them on this thread X10 Custom ROM 2.2 AOSP Bug List and Fixes
Reboot in 2.2 it says SEMCCheckin or alike errors
This is because you are using TitaniumBackup to restore your data, which brings some SE 2.1 apps and system apps that does not work on 2.2 Custom ROM
Quick Fixes
Batch file for fixes
Download the attachment below and extract into the same folder as the tools files you find in the first post.
You can apply fixes from my X10 Custom ROM 2.2 AOSP Bug List and Fixes by executing the batch files.
To install app like Angry Bird, you drag the AngryBird apk into "fix - drag drop to install apk.bat"
Some of the batch file will ask you to restart android, you can cancel by pressing CTRL+C
I did not understand only the thing with the WiFi.
When i type ipconfig /all im receiving a ****load of info, and i dont know which one is correct, also i tryed to add some info to dns,netmask, ip address, now i cant delete it, im receiving a message "please type a valid IP Address"
Code:
C:\Users\Тенчо>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Компютър
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Wireless LAN adapter Безжична мрежова връзка 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Belkin 54g Wireless USB Network Adapter #
4
Physical Address. . . . . . . . . : 00-22-75-B1-5F-2E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f0:fa10:4c6f:e9b2%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 27 ноември 2010 г. 21:41:00 ч.
Lease Expires . . . . . . . . . . : 28 ноември 2010 г. 16:41:00 ч.
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 620765813
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-74-63-C4-00-1B-B9-E7-68-12
DNS Servers . . . . . . . . . . . : 195.24.89.12
195.24.90.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Локална връзка:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NVIDIA nForce Networking Controller
Physical Address. . . . . . . . . : 00-1B-B9-E7-68-12
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{32337673-F851-42CC-8A25-828E8F7B963A}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:3833:ac0e:a248:404b(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::3833:ac0e:a248:404b%12(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled
C:\Users\Тенчо>
Have anyone idea how to fix my WiFi Connection ?
Code:
Wireless LAN adapter Безжична мрежова връзка 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Belkin 54g Wireless USB Network Adapter #
4
Physical Address. . . . . . . . . : 00-22-75-B1-5F-2E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f0:fa10:4c6f:e9b2%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 27 ноември 2010 г. 21:41:00 ч.
Lease Expires . . . . . . . . . . : 28 ноември 2010 г. 16:41:00 ч.
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 620765813
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-74-63-C4-00-1B-B9-E7-68-12
DNS Servers . . . . . . . . . . . : 195.24.89.12
195.24.90.1
NetBIOS over Tcpip. . . . . . . . : Enabled
This are your Wireless LAN configuration.
Then you put those values on your static IP config in Android
IP: 192.168.1.201
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS1: 195.24.89.12
DNS2: 192.24.90.1
xeviro said:
Code:
Wireless LAN adapter Безжична мрежова връзка 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Belkin 54g Wireless USB Network Adapter #
4
Physical Address. . . . . . . . . : 00-22-75-B1-5F-2E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f0:fa10:4c6f:e9b2%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 27 ноември 2010 г. 21:41:00 ч.
Lease Expires . . . . . . . . . . : 28 ноември 2010 г. 16:41:00 ч.
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 620765813
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-74-63-C4-00-1B-B9-E7-68-12
DNS Servers . . . . . . . . . . . : 195.24.89.12
195.24.90.1
NetBIOS over Tcpip. . . . . . . . : Enabled
This are your Wireless LAN configuration.
Then you put those values on your static IP config in Android
IP: 192.168.1.201
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS1: 195.24.89.12
DNS2: 192.24.90.1
Click to expand...
Click to collapse
God thanks! I love my 2.2.1 alpha!
Something went wrong for me please help
Hi guys
i have installed the custom rom starting with the 001 version......ok?
everythink worked fine and adb said : reboot device.............ok
whend i rebooted i only got some 2.1 rom not the one that starts with the freex10 logo.
can anybody tell me what could be wrong?
i have checked all the threads about that here on xda, the freex10 folder is on my sd card, all the files are supossed to be there ar there........
what went wrong?
Maximus223 said:
Hi guys
i have installed the custom rom starting with the 001 version......ok?
everythink worked fine and adb said : reboot device.............ok
whend i rebooted i only got some 2.1 rom not the one that starts with the freex10 logo.
can anybody tell me what could be wrong?
i have checked all the threads about that here on xda, the freex10 folder is on my sd card, all the files are supossed to be there ar there........
what went wrong?
Click to expand...
Click to collapse
for what you`ve told you`ve donne nothing wrong except the fact you must have donne somethings wrong
No more seriously. For what you`ve described this should be working. the only thing i can told you is try again from the start `couse you`ll never know...maybe some step you`ve miss
Noob question incoming.
I'm trying to install Angry Birds and Pocket Legends, but those two applications (and only those two; Asphalt 5 (paid version, even) for example, works) download properly, but after 'Installing...' shows up in the status bar for a few seconds, it pops up a box that says 'Installation Error, Unknown reason -18'.
Anyone else ever seen this?
EDIT: Turns out people with the Droid 2/ HTC G2 have had this problem on their regular old Froyo ROMs, and one way to get around the problem is to unmount the SD card, install your application and then mount your SD card. Obviously that is not an option with the FreeX10 Android 2.2.1 0.0.2 build because it runs off the SD card...
jenesuispasbavard said:
Noob question incoming.
I'm trying to install Angry Birds and Pocket Legends, but those two applications (and only those two; Asphalt 5 (paid version, even) for example, works) download properly, but after 'Installing...' shows up in the status bar for a few seconds, it pops up a box that says 'Installation Error, Unknown reason -18'.
Anyone else ever seen this?
EDIT: Turns out people with the Droid 2/ HTC G2 have had this problem on their regular old Froyo ROMs, and one way to get around the problem is to unmount the SD card, install your application and then mount your SD card. Obviously that is not an option with the FreeX10 Android 2.2.1 0.0.2 build because it runs off the SD card...
Click to expand...
Click to collapse
You need to install it manually from PC. Read the reason from this first page of this thread. http://forum.xda-developers.com/showthread.php?t=851443
Then you may read the newbie FAQ on this thread. You may also download the quickfix in the first page to install it to your ROM.
Maximus223 said:
Hi guys
i have installed the custom rom starting with the 001 version......ok?
everythink worked fine and adb said : reboot device.............ok
whend i rebooted i only got some 2.1 rom not the one that starts with the freex10 logo.
can anybody tell me what could be wrong?
i have checked all the threads about that here on xda, the freex10 folder is on my sd card, all the files are supossed to be there ar there........
what went wrong?
Click to expand...
Click to collapse
You cannot boot into 2.2 if your USB is connected to computer during the boot sequence.
xeviro said:
You need to install it manually from PC. Read the reason from this first page of this thread. http://forum.xda-developers.com/showthread.php?t=851443
Then you may read the newbie FAQ on this thread. You may also download the quickfix in the first page to install it to your ROM.
Click to expand...
Click to collapse
I'm guessing I need to manually get the .apk file first on my computer and then run 'adb install ', unlike say Debian's 'apt-get install ' which gets the application for you?
EDIT: In any case, I get a failure message '[INSTALL_FAILED_CONTAINER_ERROR]' with both the Angry Birds .apk and the Pocket Legends .apk.
EDIT 2: Also, thanks for the quick replies.
EDIT 3: Woohoo, it works. I had originally run the following steps (I'm guessing the 'exit' made things not work):
adb shell
# pm setInstallLocation 1
# exit
adb install -l com.rovio.angrybirds.apk
jenesuispasbavard said:
I'm guessing I need to manually get the .apk file first on my computer and then run 'adb install ', unlike say Debian's 'apt-get install ' which gets the application for you?
EDIT: In any case, I get a failure message '[INSTALL_FAILED_CONTAINER_ERROR]' with both the Angry Birds .apk and the Pocket Legends .apk.
Click to expand...
Click to collapse
yes, download first, then install. also there are another way is to backup with TB on 2.1, then restore in 2.2..
you cannot just install with adb install, you need to do it like this below
Code:
adb shell pm setInstallLocation 1
adb install -l com.rovio.angrybirds.apk
because angrybird set it self to be installed by sd, which is not supported by 2.2 custom rom.
xeviro said:
You cannot boot into 2.2 if your USB is connected to computer during the boot sequence.
Click to expand...
Click to collapse
it boots the same with or without the usb conected
i have the dual boot sequence but is two 2.1 rom's one the factory rom and the other one is the freex10 one only is does not look at all like its suposed to be "froyo"
and i tried at least 10 times and its still the same
does this work on any 2.1 firmware or just the nordic 2.1 one?that could be one of the problems since i have the global 2.1 firmware
rendeiro2005 said:
for what you`ve told you`ve donne nothing wrong except the fact you must have donne somethings wrong
No more seriously. For what you`ve described this should be working. the only thing i can told you is try again from the start `couse you`ll never know...maybe some step you`ve miss
Click to expand...
Click to collapse
i dont know what i have donne wrong but is still the same and i tried at least 10 times .
Maximus223 said:
it boots the same with or without the usb conected
i have the dual boot sequence but is two 2.1 rom's one the factory rom and the other one is the freex10 one only is does not look at all like its suposed to be "froyo"
and i tried at least 10 times and its still the same
does this work on any 2.1 firmware or just the nordic 2.1 one?that could be one of the problems since i have the global 2.1 firmware
Click to expand...
Click to collapse
I can only say that you might need to redo the whole thing from zero again. Flash your 2.1 SE ROM, then install 2.2 AOSP. You can use any 2.1 , not just nordic.
Now what if i want to uninstall 2.2? Where do i start? What do i do?!?
blehq said:
Now what if i want to uninstall 2.2? Where do i start? What do i do?!?
Click to expand...
Click to collapse
why dont you try and search a little?
for instance on the main thread on 2nd post?!!!!

[Q] Galaxy S2 firewall test: how to make port as "stealth"?

Hi.
I ran Gibson Research firewall test on my Galaxy S2 and it gave FAILED-result
URL: h t t p s : //w w w .grc. c o m/x/ne.dll?bh0bkyd2
All Service ports -test said that ports 500 ISAKMP and 1024 DCOM are "closed" (should be "stealth"): "Your computer has responded that this port exists but is currently closed for connections."
How to make those ports stealth?
I have Android 2.3.5, GINGERBREAD.XWKI8 and Opera Mobile 11.50.ADR-1111101157. Also ROOT applied and I use DroidWall as firewall to limit unnesessary traffic.

Connect USB Webcam

I am trying to connect my usb webcam to my Transformer Prime. The webcam uses a generic Realtek chipset, which should be supported by the linux kernel. When I connect the webcam via usb I can see the device when executing the lsusb command in the terminal. I can also see that the file /dev/video0 is created after I plug in the webcam, but I cannot find an application that is able to display the stream from the webcam. Is is possible to open this stream using an app under Android?
The problem is probably more that apps like Skype don't expect this to happen and will not provide an option for the webcam and instead rely on the in-built ones.
You might be able to access /dev/video0 from within ubuntu/BT5 on the TFP. I doubt the video performance would be stellar though.
I now found a way to access the webcam. I found an eclipse project under this url: http://brain.cc.kogakuin.ac.jp/research/usb-e.html
The application works and displays the picture from my webcam, but before running the app I had to execute the command "chmod 777 /dev/video0" in the terminal and every time I reconnected the device again.
Thenetstriker said:
I now found a way to access the webcam. I found an eclipse project under this url: http://brain.cc.kogakuin.ac.jp/research/usb-e.html
The application works and displays the picture from my webcam, but before running the app I had to execute the command "chmod 777 /dev/video0" in the terminal and every time I reconnected the device again.
Click to expand...
Click to collapse
nice find
so do you know what app allows you to use those cameras?
or is his app the only once that works atm?
I too am trying to get this to work, I have downloaded and compiled the kogakuin app but how do I compile/load the v4l2_camera_v2.patch? and/or make the necessary kernel mods?
Please Help.
lil-devil said:
nice find
so do you know what app allows you to use those cameras?
or is his app the only once that works atm?
Click to expand...
Click to collapse
This app is the only one I found that works. But so far it works only on my Transformer Prime. On my Samsung Galaxy S2 (Cyanogenmod 9) it crashes the phone when using /dev/video0 and when using /dev/bus/usb/002/003 it just doesn't work. (Maybe I have to compile a custom kernel using the settings the developer describes on his BitBucket page, I will try this tonight)
pjames1972 said:
I too am trying to get this to work, I have downloaded and compiled the kogakuin app but how do I compile/load the v4l2_camera_v2.patch? and/or make the necessary kernel mods?
Please Help.
Click to expand...
Click to collapse
On my Transformer Prime the app just works, I did not make any modifications to the kernel. Just compile the app and upload it to your TF201 and it should work.
Thanks Thenetstriker,
I failed to mention that i am using Iconia A500 rooted stock 3.2 not the TF201.
Today I bought a UVC compliant webcam and I now have the kogakuin eclipse project working on my device.
have you tried putting "chmod 777 /dev/video0" in your ueventd.xxxx.rc script?
Paul
http://forum.xda-developers.com/showpost.php?p=22884164&postcount=3
Thenetstriker said:
This app is the only one I found that works. But so far it works only on my Transformer Prime. On my Samsung Galaxy S2 (Cyanogenmod 9) it crashes the phone when using /dev/video0 and when using /dev/bus/usb/002/003 it just doesn't work. (Maybe I have to compile a custom kernel using the settings the developer describes on his BitBucket page, I will try this tonight)
Click to expand...
Click to collapse
I tried to compile my own Kernel with video 4 linux enabled and the app still doesn't work on my Samsung Galaxy S2. But the device shows up on android. Using the app "USB Device Info" I was able to get the following information about my Logitech webcam USB interfaces, but I don't have the knowledge on how to communicate with USB devices over these interfaces. I think someone who has this knowledge could write an application using the USB Host feature from Android 4.0 to show the webcam picture even without root access.
Code:
Device Info
Device Path: /dev/bus/usb/002/002
Device Class: Miscellaneous (0xef)
Vendor ID: 046d
Vendor Name: Logitech, Inc.
Product ID: 07d2
Product Name: not in db
Interfaces
Interface #0
Class: Video Device (0xe)
Endpoint: #0
Address : 135 (10000111)
Number : 7
Direction : Inbound (0x80)
Type : Intrrupt (0x3)
Poll Interval : 8
Max Packet Size: 16
Attributes : 000000011
Interface #1
Class: Video Device (0xe)
Endpoints: none
Interface #2
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 192
Attributes : 0000000101
Interface #3
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 384
Attributes : 0000000101
Interface #4
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 512
Attributes : 0000000101
Interface #5
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 640
Attributes : 0000000101
Interface #6
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 800
Attributes : 0000000101
Interface #7
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 944
Attributes : 0000000101
Interface #8
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 2688
Attributes : 0000000101
Interface #9
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 2848
Attributes : 0000000101
Interface #10
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 3040
Attributes : 0000000101
Interface #11
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 4992
Attributes : 0000000101
Interface #12
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 5116
Attributes : 0000000101
Interface #13
Class: Audio Device (0x1)
Endpoints: none
Interface #14
Class: Audio Device (0x1)
Endpoints: none
Interface #15
Class: Audio Device (0x1)
Endpoint: #0
Address : 134 (10000110)
Number : 6
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 4
Max Packet Size: 68
Attributes : 0000000101
I've just found a video on YouTube which shows an "UVC Player" which seams to be able to access UVC compatible webcams, but the website that is mentioned on this thread is written in japanese and I didn't find any source code or a sample application:
http://www.youtube.com/watch?v=aieJMBFLEdA
http://www.infinitegra.co.jp/technology/rd_android_uvc1.htm
And another link here:Google crimsonwoods UVCCapture (Sorry not enough posts yet)
Have compiled just need to work out what to do with it
Thenetstriker said:
I now found a way to access the webcam. I found an eclipse project under this url: http://brain.cc.kogakuin.ac.jp/research/usb-e.html
The application works and displays the picture from my webcam, but before running the app I had to execute the command "chmod 777 /dev/video0" in the terminal and every time I reconnected the device again.
Click to expand...
Click to collapse
Are you rooted?
jazzcat007 said:
Are you rooted?
Click to expand...
Click to collapse
Yes, the device has to be rooted for this application, The Android API does not seam to support the isochronous USB interfaces, so no non rooted access possible at the moment.
Thenetstriker said:
Yes, the device has to be rooted for this application, The Android API does not seam to support the isochronous USB interfaces, so no non rooted access possible at the moment.
Click to expand...
Click to collapse
Check this out
someone has already created an app for it .. we just need to cook a new kernel for it
josh_m said:
Check this out
someone has already created an app for it .. we just need to cook a new kernel for it
Click to expand...
Click to collapse
Ok, where do I find this app?
this is a good find, what's the image quality like? is it substantially better than the front facing camera of the Prime?
http://forum.xda-developers.com/showpost.php?p=22884164&postcount=3
josh_m said:
http://forum.xda-developers.com/showpost.php?p=22884164&postcount=3
Click to expand...
Click to collapse
Has anyone tried the files in that link? The thread is for the Xoom, so would the "Development Overlay" and "Tiamat Kernel" work with the other tablets ( I have the Acer A500, but I realize this is a transformer thread) ?
tried to compile my own Kernel with video 4 linux enabled and the app still doesn't work on my Samsung Galaxy S2. But the device shows up on android. Using the app "USB Device Info" I was able to get the following information about my Logitech webcam USB interfaces, but I don't have the knowledge on how to communicate with USB devices over these interfaces. I think someone who has this knowledge could write an application using the USB Host feature from Android 4.0 to show the webcam picture even without root access.
Click to expand...
Click to collapse
Thenetstriker,
Your USB Device info looks OK to mine and it looks like the USB stub is being created OK but my first non UVC compliant cam did the same and it just did not work.
Make sure your device is listed in http://www.ideasonboard.org/uvc/, if not you may need to buy a new cam.
For some reason I have to occasionally reboot my A500 with the webcam inserted, unplug it, start the app and then reinsert the webcam to get mine to work.
Normally though, mine works if I start the app first before plugging in.
Paul,

USB to Ethernet Adapter

Hello!
I've found this thread :
http://forum.xda-developers.com/showthread.php?t=1274656
And i can't find anything like it for the Sony Tablet S.
There's any way to install those drivers in the Sony S and make that work?
Has anyone tried to use an USB to Ethernet Adapter with the Sony S?, i've a male microUSB to Female USB and several USB to Ethernet adapters from several brands, and i can't make it work with the Sony Tablet S.
When i connect them, it says : "Unsupported USB Device".
Any help is highly appreciated, i tried to post in the developers forum (I'm a Software Developer), but it didn't let me since i don't have enough posts.
Thanks !
To my knowledge, the Sony does not support the USB to Ethernet adapter solution, but I can't be certain of this. Without opening it up, I couldn't say for sure whether the hardware is present to attach a wired Ethernet connection. With Sony's history, that seems unlikely. The USB port would need to be connected to the network module in just the right way to support one of those adapters and then you could try drivers, but I don't think they'd work either
I tried it
It does not work. My USB to ethernet adapter works with my Linux laptop but not with Sony tablet S.
I ordered adaptor from dealextreme (win 7 compatible, chip AX88772BLF)
Someone on this forum succesfuly tested it with asus TF101
But on ICS error "Unsupported USB Device".
Now our table is rooted.
Any way to use it? Some .ko mudule?
Strange because in the build.prop, Eth0 network interface is enabled which means it should work.
Sent from my Sony Tablet S using xda premium
---------- Post added at 09:55 PM ---------- Previous post was at 09:43 PM ----------
nikor4 said:
I ordered adaptor from dealextreme (win 7 compatible, chip AX88772BLF)
Someone on this forum succesfuly tested it with asus TF101
But on ICS error "Unsupported USB Device".
Now our table is rooted.
Any way to use it? Some .ko mudule?
Click to expand...
Click to collapse
No app for such thing but you can have a look at the details of the device
Remember, even if it says 'Unsupported USB Device' doesn't mean it does not work, i got some app which tests USB headsets ("Unsupported" USB Device for Sony Tablet S) and i still get audio from the microphone i spock in into the speakers in the USB headphones.
USB Device Info
https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator
USB Audio Tester
https://play.google.com/store/apps/details?id=de.sobe.usbaudio​
Sent from my Sony Tablet S using xda premium
Thank you for Links! App recognized device.
But from terminal emulator i don't see eth0 interface.
Can I set up this?
Netcfg
lo - UP
dummy0 - down
sit0 - down
ip6tn10 - down
rmnet0 - down
Code:
Device Info
Device Path: /dev/bus/usb/002/002
Device Class: Vendor Specific (0xff)
Vendor ID: 0b95
Vendor Name: ASIX Electronics Corp.
Product ID: 07d2
Product Name: not in db
Interfaces
Interface #0
Class: Vendor Specific (0xff)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Intrrupt (0x3)
Poll Interval : 11
Max Packet Size: 8
Attributes : 000000011
Endpoint: #1
Address : 130 (10000010)
Number : 2
Direction : Inbound (0x80)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
Endpoint: #2
Address : 3 (000000011)
Number : 3
Direction : Outbound (0x0)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
nikor4 said:
Thank you for Links! App recognized device.
But from terminal emulator i don't see eth0 interface.
Can I set up this?
Netcfg
lo - UP
dummy0 - down
sit0 - down
ip6tn10 - down
rmnet0 - down
Code:
Device Info
Device Path: /dev/bus/usb/002/002
Device Class: Vendor Specific (0xff)
Vendor ID: 0b95
Vendor Name: ASIX Electronics Corp.
Product ID: 07d2
Product Name: not in db
Interfaces
Interface #0
Class: Vendor Specific (0xff)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Intrrupt (0x3)
Poll Interval : 11
Max Packet Size: 8
Attributes : 000000011
Endpoint: #1
Address : 130 (10000010)
Number : 2
Direction : Inbound (0x80)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
Endpoint: #2
Address : 3 (000000011)
Number : 3
Direction : Outbound (0x0)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
Click to expand...
Click to collapse
Strange because i have some different network interfaces then you and no eth0 what so ever even if its in the build.prop
Properties in Build.prop:
wifi.interface=wlan0
ro.ethernet.interface=eth0
ro.ethernet.autoEnable=yes
EDIT: Try typing 'ifconfig eth0' with the device connected to the adapter which is connected to an wireless router, tell me what you get after that, after doing that try using 'ifconfig eth0 192.168.11.14 netmask 255.255.255.0 up'
EDIT1: I found out that you may need to be rooted D:
EDIT3: Bingo!, try using 'netcfg eth0 up' with the adapter connected
EDIT4: Read EDIT1.
Results: I checked the commands with my rooted android phone and it seems it works with root, so far there is an exploit from Bin4ry (Can take almost or if not 2 days just to try to get it working depending on your method.) and the root exploit works with the latest version
Sent from my Sony Tablet S using xda premium

[Q][08 Mar 2012]AmeriCanAndroid AOSP HD2 GB2.3.7 CM7.2 | bk2sdext [KERNEL:ACA0114-35]

First Post so I cant send this to the dev forum for the actual build!
I am suffering from the lack of "3G" which I have noticed is widespread across many users for this build of Android.
To help the developers I have tried doing my homework...and it's fair to say that the 3G connection is connecting, however it isn't getting any data routed via the 3G connection.
I found this out by doing the following:
From the Phone keypad type *#*#4636#*#*
I made a note of the following settings.
Ping IP Addr: Fail: IP addr not reachable
Ping Host Name w w w.google. co. uk):Fail Host unreachable
HTTP Client test: Fail IOException
GSM Service:In Service
GPRS Serice:Connected
Network Type: GPRS
GSM Disconnects:========DATA=======
StatecActiveState
connected at 7:00PM and elapsed 20:42 to ApnSettingV2 Vodafone Contract Iteernet, 196,23415, Internet, h t t p: / / mms .vodafone. co. uk/servlets/mms/212.183.137.012,8799,,-1, default | supl | mms, IP, IP
Interface:rmnet0
address:10.163.102.xx (all anyone needs to know is that the xx here and the xx what I pinged in busybox below were the same!)
gateway:10.163.102.yy
dns: 88.82.13.60, 88.82.13.60
ping 10.163.102.xx (10.163.102.xx): 56 data bytes
ping: send to: Network is unreachable
ping 127.0.0.1
64 bytes from 127.0.0.1 seq=0 time=0.427ms
64 bytes from 127.0.0.1 seq=1.....etc
(yes loopback worked)
However....
In BusyBox:
su root
route
Kernel IP Routing Table
Destination Gateway Genmask Flags Metric Reg Use Iface
#
The whole routing table is blank!
Now from what I have been taught this week, a routing table should at least have an ip address and an adaptor, a gateway via an adaptor,and an internal loopback address.
WIFI was turned off deliberately and so far has not been enabled. This was so that no settings were contaminated (plus I didn't have a wifi connection available to me at the time).
These settings were taken from a clean installation of the 08mar12 magldr version of the nand rom.
Developers....please please please help me in this matter - I am trying to do diagnostics by adding routes on the routing table or look at a cached routing table (if one exists).
This is a brilliant build of android - it's just a shame that there is this problem. I moved from the sd build to the nand build because I was so impressed - unfortunately this wasnt a wise move for the timebeing even as a stopgap until this problem is resolved - I can't go back to it because I dont have the pre 2012 sd build to hand and all prior sd releases from fileservers have been removed (....
Big thanks to the American Android and Cyanogenmod team so far for a brilliant piece of software development and programming!!!
Hope this data helps warrenb & copenhagen with diagnostics!
BW
Hi, did you find a resolution to this. I'm experiencing the same problem with this build and orange UK.
Nope....still waiting on some expert assistance...or a new build that works...whichever is the sooner.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

Categories

Resources