Hey Guys:
Here is an old but challengable subject to discussion:
( before going to discussion I must appreciate GSM Coolhawk for his message on Modify any USB GPS to XDA Serial RS232, afterrnoon project and also chat with me)
XDA and many of other handhels and ppcs dont support SDIO. But we have ActiveSync Port that support USB and RS 232. However these devices act as a slave USB so we cant connect any usb prepherals.
IS it possible we use an "USB to RS232 Converter" to convert output signal of prepheral devices as a readable signal for ActiveSync port of XDA device?
Thanks
yes it would be possible
problem nr 1
usb1.1 is 12Mbit /Sec
usb2 is 480Mbit /Sec
old style serial rs232 is about 160Kb/sec
many a device would malfunction if it's return signals from the master were delayed that much
problem nr 2
even the usb to serial and parallel ports you can get for using on pc's are not 100% transparent and many devices have problems with them (usb to serial and parallel ment as in you connect old devices to your converter which connect to the serial port)
problem nr 3
drivers you would still have to write drivers for all usb devices you wanted to use unless the manufactor already had the same device in a serial version and therefor a driver which would control it using rs232
so yeah it's possible
not really worth it imho
and as a replacement for the lack of a SDIO it would be easier and cheaper to buy a new device
There has been many problems in getting Internet Connection Sharing working properly in Linux. I had been using WModem/Wvdial which I have posted about here. The only problem is that this limited you to only certain ROMs as most chefs remove the Wmodem application as ICS is much easier to use. You can also use a BT dialup connection which is well documented for Linux/WM6 but this is not ideal for the faster HSDPA/HSUPA speeds.
So the problem exists with the current usb-rndis-lite implementation where the device is recognized but the rndis0 interface never gets a dhcp address from the phone. In my many google searches I have come across a real solution that works. I do not take ANY credit for this as I simply stumbled across this on my many google searches. All credit to José Oliveira for posting this solution. For the full version please see
Original Post
The Fix:
Code:
Step 1 - Install Pre-requisites
open a terminal (use same terminal in next steps)
Code:
$ sudo apt-get install subversion
Step 2 - Get the Source
Code:
$ svn co http://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
cd usb-rndis-lite/
Step 3 - Modify the source (Diamond only)
Code:
$ gedit rndis_host.c
on line 524, find this bit
Code:
if (tmp <>hard_mtu) {
dev_err(&intf->dev,
"dev can't take %u byte packets (max %u)\n",
dev->hard_mtu, tmp);
goto fail;
}
change it to this
Code:
if (tmp <>hard_mtu) {
dev_err(&intf->dev,
"dev can't take %u byte packets (max %u)\n",
dev->hard_mtu, tmp);
retval = -EINVAL;
/* goto fail;*/
}
save the file
Step 4 - Compile and make and install
Code:
$ make
$ sudo ./clean.sh
$ sudo make install
Step 5 - Start the Internet Connection Sharing
On OLD Tytn II's open Comm Manager on your phone and click on the Internet Sharing Now make sure USB is selected and choose connect
On Diamonds it's a seperate program called Internet Connection Sharing
Step 6 - Plug in the Phone (USB)
You may need so select that device in NetworkManager or "sudo dhclient rndis0".
Verified on a HTC AT&T Fuze (Touch Pro). Mods I apologize for the double post as I posted this solution in the Diamond forum as well.
-e
Have you tested Bluetooth using wmodem? It doesnt appear to work on my touch pro. I am using the Sprint stock rom, but I have added the wmodem application and done all the registery hacks. USB works perfectly, but I can't get Bluetooth to connect at all.
weird i had no issues with ICS and my kubuntu laptop.
Are you using wmodem (DUN) or Internet Sharing application (PAN)? I have no issues connecting BT using Internet Sharing (PAN), but (PAN) doesn't work well with my work VPN.
I made a little change into the fix and now it's working for me :
Code:
if (tmp < dev->hard_mtu) {
dev_err(&intf->dev,
"dev can't take %u byte packets (max %u)\n",
dev->hard_mtu, tmp);
retval = -EINVAL;
/* goto fail;*/
}
internet sharing not working for me.
I am totally stumped. I have compiled and installed the usb-rndis-lite modules, but my phone (HTC 8525) still won't provide internet to my debian linux box.
when I plug the phone into the usb port. I see that eth1 is created by the rndis_host module. This is with the connection sharing off. When I press connect on the phone, the computer acts like the usb was disconnected and reconnected. In the process the eth1 interface was deregistered.
I have tried to plug the usb cable in while the phone was already in the connected mode (internet sharing shows "check usb connection"). This way, I get no indication of rndis_host doing anything. No interface is created at all.
Here is dmesg output:
Code:
usb 3-1: new full speed USB device using uhci_hcd and address 68
usb 3-1: configuration #1 chosen from 1 choice
rndis_host 3-1:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
eth1: register 'rndis_host' at usb-0000:00:10.2-1, RNDIS device, 80:00:60:0f:e8:00
usb 3-1: New USB device found, idVendor=0bb4, idProduct=0b04
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: Generic RNDIS
usb 3-1: Manufacturer: HTC
usb 3-1: SerialNumber: 01145735-9943-0170-0800-0050bf3f5173
eth1: no IPv6 routers present
usb 3-1: USB disconnect, address 68
eth1: unregister 'rndis_host' usb-0000:00:10.2-1, RNDIS device
usb 3-1: new full speed USB device using uhci_hcd and address 69
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: New USB device found, idVendor=0bb4, idProduct=0303
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: Generic RNDIS
usb 3-1: Manufacturer: HTC
usb 3-1: SerialNumber: 01145735-9943-0170-0800-0050bf3f5173
usb 1-2: new full speed USB device using uhci_hcd and address 68
usb 1-2: device descriptor read/64, error -110
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 3-1: USB disconnect, address 69
Any Ideas?
Thanks,
David
When loading jasjam 6.5 rom upgrade activesync swithes off as soon as tricolor screen activates
any thoughts would be useful
Dave
May be a faulty miniUSB cable? I'd swap it out for another and try if you can.
Also, ensure the latest ActiveSync (XP) or Mobile Device Center (Vista/7) is installed on your PC.
I thought I had a copy of the JASJAM USB drivers, but I don't. Try Googling for them. I'm pretty sure AS/WMDC does them automatically, but it's been a long time
Good luck!
It is my first post here, so forgive me any mistakes. I'm a newbie to Android.
I've been drifting throughout the Internet and XDA-developers forum to find a solution to my problem, but I can't find it. You are my only hope. Even original support can't help. I bought a non-branded Android device for my car in April 2014, specifically this one: (happyshoppinglife[.com] / honda-civic-android-autoradio-dvd-navigation-with-dtv-wifi-3g-p-1168[.html]). Since then I can't connect to the Internet using 3G modem.
It seems to have some tailor-made Android version, since normal tablets don't have a DVD or FM radio or wheel-buttons.
Recently the manufacturer/developer upgraded the Android to a version 4.4.2 (chinabatemon [.com] / cargpss / android-update-442.rar)
Precisely it is:
Model SNT-210
Android 4.4.2-0140516-sntb-HOMEMADE
Kernel 3.0101-gdaab9de-dirty
[email protected] #9
Build omnisntb-eng 4.4.2 KOT49H eng.QDroid.20140516.133512 test-keys
iGo 9.6.7.235654-Thin1.1
Manual: autoradiodvdgpstv [.com] / user-manual / car-dvd / android-car-dvd-player-cp1.pdf
Currently I have 3g modems: Huawei E220 (VID 12d1:1003, PID 12d1:1003), Huawei K3770 (VID 12d1:14d1, PID 12d1:14c9), ZTE MF626 (VID 19d2:2000, PID 19d2:0031), Huawei E230 (VID 12d1:1003, PID 12d1:1003)
Wifi works fine, but I need 3g..
[EDIT]
I have no root access:
1|[email protected]: / $
after doing "su":
[email protected]: / $
I'm probably unable to root the device because I cannot connect to it (I got a cable: USB type A - USB type A, but it didn't work: no response from Android device nor from my laptop). After clicking "Build number" once (in the "About CarDVD" menu) it shows "No need, you are already a developer", but there are no "developer options" in the Settings menu.
There is the app "3g reconnect" already installed in the system, but after I connect a modem (E230, E220 or K3770) with working SIM (no PIN) in "Plus" (MCC 260 MNC 01) its LED is blinking green, and then blue after a while (one blink per 3-5 sec) but the system remains unchanged. The support (the Chinese via chat, not very nice experience talking: an hour waiting for response) said I .
I tried PPP Widget to help me, as well as Android Terminal and Slick USB 2 Serial Terminal.
I set PPP widget to start manually, set APN to "internet", left number to dial unchanged, no user, no password. After booting without 3g modem, PPP Widget starts and I connect the modem to a USB port. I click on the PPP icon, choose my E230 modem (12d1:1001) and I click connect. PPP Widget searches for the port and tries to connect.
When I turn on logging, portcheck.log says:
== START LOG ==
PPP Widget version 1.3.3
USB_ModeSwitch log from {date}
Raw args from udev: 1-1.1/portcheck
using top device dir /sys/bus/usb/device
SymLinkCheck called with /sys/bus/usb/ttyUSB0
My name is ttyUSB0
Checking my endpoints ...
in /sys/bus/usb/devices/1-1.1/1-1.1:1
checking ep_81 ...
ep_81 has interrupt transfer type
--> I am an interrupt port
--> No interrupt interface below me
{something was here}
== END LOG ==
When I check the Android Settings (Mobile status) there is:
Network: unknown
Signal strength: 2147483647 dBm 255 asu
Mobile network type: Unknown
Service state: Out of service
IMEI: {my SIM's IMEI}
IMEI SV: Unknown
IP address: Unavailable
WiFi MAC address: {some MAC address}
When I turn Android Terminal it goes:
lsusb:
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 05e3:0608
Bus 001 Device 003: ID 0bda:8176
Bus 001 Device 007: ID 12d1:1003
Bus 001 Device 005: ID 04e8:6860
Sometimes There is Bus 001 Device 005 instead of 007 by 12d1:1003
When I try to use Slick USB 2 Serial Terminal it connects to the modem and answers all the AT commands:
ATI
Huawei
E230
Rev. 11.104.20.00.00
IMEI...
+GCAP: +CGSM +DS +ES
AT+CSQ
15.99
AT^SYSINFO
2,3,0,5,1,,4
AT+COPS=?
(1,"Plus","PLUS","26001",0), (2,"Plus","PLUS","26001",2) ... {and other}
AT+COPS?
0,2,"26001",2
I can swich the modem's mode:
AT^U2DIAG=0
the default was AT^U2DIAG=257
After switching to AT^U2DIAG=0 the modem seems to be recognised by lsusb as 12d1:1001
I tried to connect manually:
AT+CGDCONT=1,"IP","internet"
ATD *99***1#
.. and it returned CONNECTED
but when I went back to the home screen and tried to check if there is Internet access (I turned on Chrome), there was no Internet access, but I have to revise this once more.
hi i'm italian and my english is bad, i've buy your same model but i have some problems because i've a short manual only for radio,bt,cd parts.
i want a complete manual to understand the several application infact i don't know which is the app for 3g, if is it possible to use logo of car, why when connect my phone (samsung s5) with bt when download the contacts remain in working without finish.
if i can help me, it is wonderful
thank you in advance
by
alfonso
3g problem => APN list & rooting problem
alfo79 said:
hi i'm italian and my english is bad, i've buy your same model but i have some problems because i've a short manual only for radio,bt,cd parts.
i want a complete manual to understand the several application infact i don't know which is the app for 3g, if is it possible to use logo of car, why when connect my phone (samsung s5) with bt when download the contacts remain in working without finish.
if i can help me, it is wonderful
thank you in advance
by
alfonso
Click to expand...
Click to collapse
HI, alfonso.
Answering to your questions:
1) I've had many problems, which I had to solve mysfel or using chat-support (It was not a pleasant experience, each talk lasted forever..)
2) There is no "a complete manual" for SNT-210. I can only share the one I got from Happyshoppinglife => Manual
3) Changing logo: there should be an application to do that, but in my case the user should enter a password, which was "121212" and could choose the logo for your car
4) I had the issue with downloading the contacts from my phone via BT either. I didn't resolve it, I just quit doing that (downloading contacts). The problem was probably too much records in the phonebook. But synchronising the Android's phonebook with Google Account might be a solution. But.. there is a 3g / wifi connection required, which I still don't have.
Sholud you have any more questions, don't hesitate to write.
Regarding the 3g connection problem:
I am still struggling with the 3g modem case. I found out (thanks to arnoldziq) that my 3g modem is ok (there are modem drivers in Android 4.4.2, Android finds the modem and the usb port the modem is attached to). All the problems may result from a wrong APN list in \system\etc\apns-conf.xml. In my case there is
Code:
<apn carrier="PlusGSM" mcc="260" mnc="01" apn="internet" type="default,supl" />
but it should be
Code:
<apn carrier="Plus" mcc="260" mnc="01" apn="internet" type="default,supl" />
But the next problem is - it is not editable (the device is not rooted). And I tried to root the device using a shor tutorial by an XDA user KID52 for a similar device. I connected both: the device and my laptop to a router so that both devices see each other (ping confirms that). I installed ADB ("15 seconds ADB v1.3.exe" from here) on my laptop. Then I tried to connect. In my cmd (laptop) I run:
Code:
C:\Users\Grreg>adb connect 192.168.170.3
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
unable to connect to 192.168.170.3:5555
C:\Users\Grreg>adb devices -l
List of devices attached
C:\Users\Grreg>adb tcpip 5555
error: device not found
I tried to install adbWireless.apk in the CarDVD device and run the commands again. Without chnage. I read that in order to use adb via Wifi / TCPIP you have to be connected with an USB cable. But I tried, and I can't do it - neither device noticed the connection with USB type A plug - USB type A plug cable.
A question to XDA users: is there an alternative way to root the device? Or am I doing something wrong?
Hi, thank for your assistance
now I'm having another problem, the car is connected to an external display, if I insert a USB stick containing a movie in automatic start a program to read music only, if I use an app for Android naturally from the external screen is impossible see anything ... is there a way to watch movies from usb directly with some programs of the car without using the app of android?
In fact there is a program for dvd....a program for aux in....a program for usb and a program for sd card (this last I have not used yet, infact I don't know is a program for music or movies ...I hope the second!!)
You know something about?
Scuse me for my bad english
thank you
alfo79 said:
Hi, thank for your assistance
now I'm having another problem, the car is connected to an external display, if I insert a USB stick containing a movie in automatic start a program to read music only, if I use an app for Android naturally from the external screen is impossible see anything ... is there a way to watch movies from usb directly with some programs of the car without using the app of android?
In fact there is a program for dvd....a program for aux in....a program for usb and a program for sd card (this last I have not used yet, infact I don't know is a program for music or movies ...I hope the second!!)
Click to expand...
Click to collapse
Hi,
what do you mean by "external display"? my device (youtube.com/watch?v=sEJMvUQhTJA) does not provide an option to connect an external screen - no DVI/HDMI output (maybe some AUX out, but I did not check that) - what would you need one for?
After iserting an SD card (or connecting a USB plug with SD reader or USB Flash memory) Android autimatically turns on a music app, but if you want to watch a movie, just close it and browse to the sdcard / flash using for instance "ES File Explorer File Manager" (I had it preinstalled), then when you see your file, click on it and choose an app you want to opent the file with, MX Player is one of the most popular (I had it preinstalled). is that what you needed?
i have your same software but the car device is different, i can connect an external display for person behind for example, but if i use an app of android to red movies on usb the external display doesen't receive nothing; infact if i use dvd ,or tv connet on aux ,i riceive them on external display.
Is strange that automatically device usa a program only for music fo usb or sd card....is not possible to instal a program (no app android) for use them to see movies?
I found a Russian forum where they've been discussing about this device, there is a lot of information and they are way ahead of us, the URL is
4pda dot ru/forum/index.php?showtopic=578873
you can find the latest firmwares for this device here
pan.baidu dot com/share/link?uk=1529874287&shareid=2934645460#dir/path=%2FCUSP%2FCSDVI-4.4.2[/url] ,
the Malay version always seems to be released first, and instructions on how to update can be found here
cusptech dot com/index.php?c=service
Hello Guys,
Well, I bought a Galaxy Note Edge and Everytime I try to connect to ANY computer it shows the message "Unknown Device Windows Cannot Recognize it" (I'm Currently Using Windows 10 on Hp Envy Laptop) then I Look at the computer manager and it shows my device as Unknown USB Device (Device Descriptor Request Failed Error 43) here is what i tried:
- Reinstall Samsung Drivers (Version : 1.5.45.0)
- Dial *#0808# and then change the USB Settings to MTP+ADB
- Reinstall ADB Drivers
- Reset the phone to factory defaults
- Change the USB Cord (I've Used all USB cords I found even the original that came with my phone)
- Enable USB Debugging
- Install Windows Media Feature Pack
- Change Regedit
- on Battery Setting on my Laptop I changed the USB Selective Suspend Settings to Disabled.
I have as well a Tab Pro 8.4 and my PC recognizes without problems.
I searched for everything, nothing works, even I try to connect my phone to the pc where I work, It shows the same message, so I think is a problem with the phone maybe I changed something that I didn't noticed.
Please Guys Help me I really need to work with this phone and I'm already outside of the US so I can't change it for about a year.
Thank you Very Much!
So, I bought a spare part from AliExpress, now I'm waiting for it. Guys FYI, I tried a cable from a Lamp (MicroUsb to USB) and it worked! but it stopped working since I start browsing some files on the SD Card.
Can you Guys Help me With That?
I'll ley you know if something happens after I change the Micro USB Port.