Batteries included
Post Reply
drack
Posts: 4
Joined: 07 Jul 2014, 17:55

Unbranded chinese 2din CarDVD w/Android 4.4.2

Post by drack » 07 Jul 2014, 19:21

Hi, after having searched tens of solutions, I dare to say my problem with 3g in Android is kinda unsusual. Please help.

I bought an unbranded 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. Recently the manufacturer/developer upgraded the Android to a version 4.4.2 (chinabatemon.com/cargpss/android-update-442.rar), so now my system is:
- Model SNT-210
- Android 4.4.2-0140516-sntb-HOMEMADE
- Kernel 3.0101-gdaab9de-dirty
- QDroid@DevServer #9
- Build omnisntb-eng 4.4.2 KOT49H eng.QDroid.20140516.133512 test-keys
Manual: http://www.autoradiodvdgpstv.com/user-m ... er-cp1.pdf. It says NOTHING about the 3g modem connection.

I have no root access:
1|u0_a10@SNT-210: / $
after doing "su":
u0_a10@SNT-210: / $

I don't have permission to run
echo "12d1 1003" > /sys/bus/usb-serial/drivers/option1/new_id

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 the modems should work flawlessly

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. Option "Disable USB device sleep" IS enabled. 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

Adding port tag file "ttyUSB0" and return
== 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.

What can I do?

Greg

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Unbranded chinese 2din CarDVD w/Android 4.4.2

Post by Josh » 08 Jul 2014, 07:51

drack wrote:PPP Widget searches for the port and tries to connect.
Do you get the message "Connecting ..." after you hit the connect button?

If so, do you get a PPP log in PPP Widget as well?

It looks like everything is working up to the point of using the "pppd" tool which negotiates the network connection right after successful dialling.

drack
Posts: 4
Joined: 07 Jul 2014, 17:55

Re: Unbranded chinese 2din CarDVD w/Android 4.4.2

Post by drack » 08 Jul 2014, 20:25

Josh wrote:Do you get the message "Connecting ..." after you hit the connect button?
Josh, thanx for your reply. I'll record a video so that everything is clearly visible and nothing ommited and post a link here.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Unbranded chinese 2din CarDVD w/Android 4.4.2

Post by Josh » 08 Jul 2014, 21:53

The point is that we need to see what the "pppd" program is doing (or not doing).

If you don't get a PPP log with PPP Widget (that is, the "PPP Log" button at the bottom of the configuration page is inactive), then we don't have many other options to get to the bottom of the problem.

Also note that your Android system is obviously equipped to work with 3G modems, and there are likely several conflicts because PPP Widget is trying to do the same.

drack
Posts: 4
Joined: 07 Jul 2014, 17:55

Re: Unbranded chinese 2din CarDVD w/Android 4.4.2

Post by drack » 09 Jul 2014, 12:52

Josh wrote:The point is that we need to see what the "pppd" program is doing (or not doing).

If you don't get a PPP log with PPP Widget (that is, the "PPP Log" button at the bottom of the configuration page is inactive), then we don't have many other options to get to the bottom of the problem.

Also note that your Android system is obviously equipped to work with 3G modems, and there are likely several conflicts because PPP Widget is trying to do the same.
Josh, PPP log says only "Using port ttyUSB0 for connection". You can see that in the video I recorded today: https://www.youtube.com/watch?v=sEJMvUQhTJA.

Before checking what the pppd is doing I think I need to verify what processess are in deed running with "ps" command. And I don't see any process called pppd. "Ps" gave me the result (3g modem connected, SD card inserted in /sdcard2/ slot):

ps

Code: Select all

USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
root      1     0     688    432   ffffffff 00000000 S /init
root      2     0     0      0     ffffffff 00000000 S kthreadd
root      3     2     0      0     ffffffff 00000000 S ksoftirqd/0
root      4     2     0      0     ffffffff 00000000 S kworker/0:0
root      5     2     0      0     ffffffff 00000000 S kworker/u:0
root      6     2     0      0     ffffffff 00000000 S khelper
root      7     2     0      0     ffffffff 00000000 S suspend
root      8     2     0      0     ffffffff 00000000 S sync_supers
root      9     2     0      0     ffffffff 00000000 S bdi-default
root      10    2     0      0     ffffffff 00000000 S kblockd
root      11    2     0      0     ffffffff 00000000 S khubd
root      12    2     0      0     ffffffff 00000000 S kworker/0:1
root      13    2     0      0     ffffffff 00000000 S cfg80211
root      14    2     0      0     ffffffff 00000000 S cardroid_wq
root      15    2     0      0     ffffffff 00000000 S adc_key_wq
root      16    2     0      0     ffffffff 00000000 S adc_end_wq
root      18    2     0      0     ffffffff 00000000 S uc6511_wq
root      19    2     0      0     ffffffff 00000000 D kswapd0
root      20    2     0      0     ffffffff 00000000 S ksmd
root      21    2     0      0     ffffffff 00000000 S fsnotify_mark
root      22    2     0      0     ffffffff 00000000 S crypto
root      36    2     0      0     ffffffff 00000000 S kapmd
root      37    2     0      0     ffffffff 00000000 S pvr_timer
root      38    2     0      0     ffffffff 00000000 S kworker/u:1
root      45    2     0      0     ffffffff 00000000 S f_mtp
root      46    2     0      0     ffffffff 00000000 S file-storage
root      48    2     0      0     ffffffff 00000000 S binder
root      49    2     0      0     ffffffff 00000000 S row_idle_work
root      50    2     0      0     ffffffff 00000000 S mmcqd/0
root      51    2     0      0     ffffffff 00000000 S row_idle_work
root      52    2     0      0     ffffffff 00000000 S mmcqd/0boot0
root      53    2     0      0     ffffffff 00000000 S row_idle_work
root      54    2     0      0     ffffffff 00000000 S mmcqd/0boot1
root      55    2     0      0     ffffffff 00000000 S kworker/u:2
root      56    2     0      0     ffffffff 00000000 S krfcommd
root      57    2     0      0     ffffffff 00000000 S goodix_wq
root      58    1     608    264   ffffffff 00000000 S /sbin/ueventd
root      62    2     0      0     ffffffff 00000000 S jbd2/mmcblk0p2-
root      63    2     0      0     ffffffff 00000000 S ext4-dio-unwrit
root      66    2     0      0     ffffffff 00000000 S flush-179:0
root      68    2     0      0     ffffffff 00000000 S jbd2/mmcblk0p6-
root      69    2     0      0     ffffffff 00000000 S ext4-dio-unwrit
root      73    2     0      0     ffffffff 00000000 S jbd2/mmcblk0p5-
root      74    2     0      0     ffffffff 00000000 S ext4-dio-unwrit
root      85    1     1432   124   ffffffff 00000000 S /sbin/healthd
root      86    1     3560   176   ffffffff 00000000 S /sbin/adbd
system    87    1     1008   284   ffffffff 00000000 S /system/bin/servicemanager
root      88    1     4740   1024  ffffffff 00000000 S /system/bin/vold
root      89    1     57600  1388  ffffffff 00000000 S /system/bin/vild
root      90    1     1420   424   ffffffff 00000000 S /system/bin/splash
root      93    1     9708   944   ffffffff 00000000 S /system/bin/netd
root      94    1     1032   292   ffffffff 00000000 S /system/bin/debuggerd
radio     95    1     4504   744   ffffffff 00000000 S /system/bin/rild
root      97    1     964    300   ffffffff 00000000 S /system/bin/u3gmonitor
system    101   1     39184  21336 ffffffff 00000000 S /system/bin/surfaceflinger
root      102   1     315384 25924 ffffffff 00000000 S zygote
drm       103   1     9432   2520  ffffffff 00000000 S /system/bin/drmserver
media     104   1     25948  4732  ffffffff 00000000 S /system/bin/mediaserver
install   105   1     992    316   ffffffff 00000000 S /system/bin/installd
keystore  106   1     3344   812   ffffffff 00000000 S /system/bin/keystore
root      107   1     928    388   ffffffff 00000000 S /system/bin/sh
root      112   2     0      0     ffffffff 00000000 S pvr_workqueue
root      433   2     0      0     ffffffff 00000000 S flush-253:0
system    473   102   390508 39436 ffffffff 00000000 S system_server
root      495   2     0      0     ffffffff 00000000 S kworker/0:2
u0_a7     531   102   352552 42524 ffffffff 00000000 S com.android.systemui
root      535   1     860    356   ffffffff 00000000 S /system/bin/logwrapper
wifi      536   535   3320   1544  ffffffff 00000000 S /system/bin/wpa_supplicant
root      577   2     0      0     ffffffff 00000000 S RTKTHREAD
root      578   2     0      0     ffffffff 00000000 S RTKTHREAD
media_rw  609   1     3584   564   ffffffff 00000000 S /system/bin/sdcard
u0_a37    626   102   342980 32324 ffffffff 00000000 S com.google.android.inputmethod.latin
radio     640   102   339208 17716 ffffffff 00000000 S com.android.phone
u0_a54    645   102   358980 48244 ffffffff 00000000 S com.gtp.nextlauncher
u0_a60    675   102   321652 13788 ffffffff 00000000 S com.android.smspush
u0_a5     774   102   330660 23836 ffffffff 00000000 S android.process.media
u0_a8     804   102   348156 17660 ffffffff 00000000 S com.android.vending
u0_a17    812   102   360968 21916 ffffffff 00000000 S com.google.process.location
u0_a17    924   102   354804 21284 ffffffff 00000000 S com.google.process.gapps
u0_a9     937   102   341880 30732 ffffffff 00000000 S spinninghead.carhome
u0_a58    954   102   323672 15812 ffffffff 00000000 S com.sntron.bt
u0_a75    973   102   323744 16584 ffffffff 00000000 S com.sntron.volume
u0_a87    978   102   324644 16892 ffffffff 00000000 S com.sntron.ivi
root      987   1     3588   1464  ffffffff 00000000 S /system/xbin/usbmuxd
u0_a89    988   102   322424 14776 ffffffff 00000000 S com.snts.clockwidget:main
u0_a17    1165  102   456628 20820 ffffffff 00000000 S com.google.android.gms
u0_a21    1186  102   354208 21424 ffffffff 00000000 S com.google.android.googlequicksearchbox:search
u0_a90    1239  102   327448 17740 ffffffff 00000000 S com.appeggs
bluetooth 1372  102   326712 16876 ffffffff 00000000 S com.android.bluetooth
u0_a11    1449  102   323884 14916 ffffffff 00000000 S eu.chainfire.opendelta
u0_a25    1582  102   332816 16504 ffffffff 00000000 S com.google.android.calendar
root      1624  2     0      0     ffffffff 00000000 S row_idle_work
root      1625  2     0      0     ffffffff 00000000 S mmcqd/1
u0_a70    1639  102   327080 21608 ffffffff 00000000 S com.sntron.storage
root      1656  2     0      0     ffffffff 00000000 S flush-179:24
media_rw  1659  1     2988   1208  ffffffff 00000000 S /system/bin/sdcard
u0_a32    1764  102   336464 21128 ffffffff 00000000 S com.google.android.tts
u0_a2     1838  102   324564 17672 ffffffff 00000000 S android.process.acore
u0_a73    1852  102   321664 14060 ffffffff 00000000 S com.TPCalibration
u0_a80    1885  102   371484 37332 ffffffff 00000000 S com.estrongs.android.pop
u0_a80    1917  1885  1920   344   ffffffff 00000000 S /data/data/com.estrongs.android.pop/files/libestool2.so
u0_a84    1989  102   323620 16220 ffffffff 00000000 S com.shere.easytouch
u0_a84    2006  102   327160 24388 ffffffff 00000000 S com.shere.assistivetouch.service
u0_a88    2024  102   322660 14496 ffffffff 00000000 S berserker.android.apps.sshdroid
u0_a96    2039  102   322944 14936 ffffffff 00000000 S de.draisberghof.pppwidget
u0_a1     2056  102   323660 16496 ffffffff 00000000 S com.android.providers.calendar
u0_a38    2075  102   323904 15964 ffffffff 00000000 S com.android.inputmethod.latin
u0_a89    2089  102   322424 14820 ffffffff 00000000 S com.snts.clockwidget
system    2104  102   328644 16544 ffffffff 00000000 S com.android.settings
u0_a10    2118  102   330220 23660 ffffffff 401c5818 S jackpal.androidterm
u0_a6     2144  102   321716 14188 ffffffff 00000000 S com.android.externalstorage
u0_a10    2181  2118  928    476   c004216c 400371ec S /system/bin/sh
u0_a96    2197  2039  916    428   ffffffff 00000000 S sh
u0_a10    2215  2181  1236   452   00000000 400463a4 R ps
I'm attaching other command results just in case:

netcfg

Code: Select all

lo       UP                                   127.0.0.1/8   0x00000049 00:00:00:00:00:00
ifb0     DOWN                                   0.0.0.0/0   0x00000082 12:19:65:ee:15:86
ifb1     DOWN                                   0.0.0.0/0   0x00000082 5e:bb:69:86:ad:d6
sit0     DOWN                                   0.0.0.0/0   0x00000080 00:00:00:00:00:00
ip6tnl0  DOWN                                   0.0.0.0/0   0x00000080 00:00:00:00:00:00
wlan0    UP                                     0.0.0.0/0   0x00001003 00:11:7f:30:fa:ed
p2p0     UP                                     0.0.0.0/0   0x00001003 02:11:7f:30:fa:ed
lsusb

Code: Select all

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 004: ID 12d1:1001
ls

Code: Select all

acct
cache
charger
config
d
data
datadata
default.prop
dev
etc
external_sd
file_contexts
fstab.goldfish
fstab.sntb
init
init.environ.rc
init.goldfish.rc
init.omni.rc
init.rc
init.recovery.sntb.rc
init.sntb.rc
init.sntb.usb.rc
init.trace.rc
init.usb.rc
lpm.rc
mnt
proc
property_contexts
radio
res
root
sbin
sdcard
sdcard2
seapp_contexts
sepolicy
storage
sys
system
ueventd.goldfish.rc
ueventd.rc
ueventd.sntb.rc
usbdisk1
usbdisk2
usbdisk3
usbdisk4
vendor

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Unbranded chinese 2din CarDVD w/Android 4.4.2

Post by Josh » 10 Jul 2014, 22:03

And there is the problem right there in your process list:

Code: Select all

...
root      97    1     964    300   ffffffff 00000000 S /system/bin/u3gmonitor
...
Googling for that program returns the source code:
https://github.com/allwinner-ics/device ... tor/main.c

As you can see it tries to be a replacement for "udevd" which usually runs on desktop Linuxes.

It will run this command when a stick is plugged:

Code: Select all

/system/etc/usb_modeswitch.sh /system/etc/usb_modeswitch.d/
There must be total disturbance if PPP Widget tries to use its own instance of usb_modeswitch, and there will likely be a conflict when the port ttyUSB0 is accessed by PPP Widget because it is blocked already by the internal tools.

The only thing that you can do is to check if there are configuration files in "/system/etc/usb_modeswitch.d" and possibly try to fix the right one to put your modem into PPP mode.

I do not recommend disabling the CD-ROM (install) mode completely with the UDIAG command.

drack
Posts: 4
Joined: 07 Jul 2014, 17:55

Re: Unbranded chinese 2din CarDVD w/Android 4.4.2

Post by drack » 11 Jul 2014, 08:13

Josh wrote: The only thing that you can do is to check if there are configuration files in "/system/etc/usb_modeswitch.d" and possibly try to fix the right one to put your modem into PPP mode.
Josh, I am a total newbie with Android. Do you have some idea how to fix the configuration files?
Did you mean these files? (the files correspond to the VID&PID I found to the modems I own)

For E230
/system/etc/usb_modeswitch.d/12d1_1003

Code: Select all

# Huawei E220, E230, E270, E870
TargetClass=0xff
HuaweiMode=1
For E230 (CD turned off)
/system/etc/usb_modeswitch.d/12d1_1001

Code: Select all

# Huawei E169
TargetClass=0xff
HuaweiMode=1
For K3770
/system/etc/usb_modeswitch.d/12d1_14d1

Code: Select all

# Vodafone / Huawei K3770
TargetVendor=0x12d1
TargetProduct=0x14c9
MessageContent="55534243123456780000000000000011062000000101000100000000000000"
For K3770 (modem only mode?)
/system/etc/usb_modeswitch.d/12d1_14c9

Code: Select all

(no file)
For MF626
/system/etc/usb_modeswitch.d//system/etc/usb_modeswitch.d/19d2_2000

Code: Select all

# ZTE devices
TargetVendor= 0x19d2
TargetProductList="0001,0002,0015,0016,0017,0019,0031,0033,0037,0052,0055,0061,0063,0064,0066,0091,0108,0117,0128,0157,0177,1402,2002,2003"
StandardEject=1
MessageContent="55534243123456702000000080000c85010101180101010101000000000000"
MF626 (modem only mode?)
/system/etc/usb_modeswitch.d/19d2_0031

Code: Select all

(no file)
There is also a file
/system/etc/usb_modeswitch.d/Android.mk
in the installation package (I did not check, if it is also in the device, I'm currently not in the car).

Code: Select all

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_POST_PROCESS_COMMAND := $(shell mkdir -p $(TARGET_OUT)/etc/usb_modeswitch.d/)
include $(CLEAR_VARS)
LOCAL_POST_PROCESS_COMMAND := $(shell cp -r $(LOCAL_PATH)/* $(TARGET_OUT)/etc/usb_modeswitch.d)
Is there anything I could do to check what is going on in the device?

------------------------

There are some files that may contain some configuration:

Code: Select all

/system/etc/3g_dongle.cfg
/system/xbin/call-pppd
/system/etc/apns-conf.xml
/system/xbin/call-pppd

Code: Select all

#!/system/bin/sh
# An unforunate wrapper script 
# so that the exit code of pppd may be retrieved


PPPD_EXIT=""

/system/bin/setprop "net.gprs.ppp-exit" ""

/system/bin/log -t pppd "Starting pppd"

/system/bin/log -t pppd "PORT: $1"
/system/bin/log -t pppd "USER: $2"
/system/bin/log -t pppd "PSWD: $3"
/system/bin/log -t pppd "CONN: $4"
/system/bin/log -t pppd "DISC: $5"

/system/bin/pppd $1 debug defaultroute noauth connect-delay 5000 ipcp-max-failure 60 nodetach nocrtscts novj noipdefault usepeerdns user "$2" password "$3" connect "$4" disconnect "$5"

PPPD_EXIT=$?

/system/bin/log -t pppd "pppd exited with $PPPD_EXIT"

/system/bin/setprop "net.gprs.ppp-exit" "$PPPD_EXIT"
/system/etc/3g_dongle.cfg:

Code: Select all

#####################################################################################################################################
# Readme:
# External 3g dongle configuration file
# 1. This file must be named 3g_dongle.cfg
# 2. The path of this file must be put in the /system/etc/.
#     eg. /system/etc/3g_dongle.cfg
# 3. # means a comment line.
# 4. Section name and Key mustn't be contain space,tab and comment character,otherwise it will lead to ERROR.
# 说明:
# 1.此文件路径和文件名必须是"/system/etc/3g_dongle.cfg",注释必须第一个字符使用#符号;
# 2.Section和Key字段前后都不能有空格、tab键、注释等字符,否则解析过程会报错;
# 3.本配置文件包含两个部分:
#        第一部分为上网拨号号码,必须填写,
#                各个运营商不同,默认是中国的三大运营商拨号号码,国外的运营商拨号号码需要修改;
#       第二部分为新增dongle的配置填写,一般不支持的3g dongle只需要填写几个必要参数即可支持,如果还不支持,请反馈给我们,谢谢!
#####################################################################################################################################
# Part 1:operator dial number
# dial number detals:
# 拨号号码例子:
# pppd拨号号码,根据各运营商实际号码填写,例中国三家运营商:联通为ATDT*99#,电信为ATDT#777,移动为ATDT*98*1#
# 不同国家需要修改下面的拨号号码,tdscdma只在中国使用,不用修改,保留。
# 国外的运营商只需要更改wcdma和cdma2000的拨号号码。
# 
#[DIAL_NUMBER]
#wcdma=ATDT*99#            -- gprs,edge,wcdma,hspda,hspua,hspa for China Unicom,国外wcdma网络运营商需要修改这个拨号号码.
#cdma2000=ATDT#777         -- cdma2000,evdo Rev.O,Rev.A,Rev.B for China Telecom,国外cdma2000网络运营商需要修改这个拨号号码.
#tdscdma=ATDT*98*1#         -- gprs,edge,td-scdma... for China Mobile,仅仅对中国移动的网络有效:gprs/edge/td-scdma,无须修改.
#####################################################################################################################################
# Part 2: newly add dongle
# Section、Key各字段说明见下面例子:
#
#[E1750]               #dongle name,可以是相同的,最好根据dongle的名字填写.
#dongle_name=E1750         #dongle name,同上
#production_name=E1750      #It must get the production_name from AT command "AT+CGMM",no matter what the string is.<必须填写正确>
#vendor_name=huawei         #the vendor,eg. huawei,zte,ASB,ation...,just named it with a easy way.制造dongle的厂商
#network_type=GSM_MODE      #  可选参数只有三个:GSM_MODE,CDMA_MODE,TD_MODE;<必须填写正确>
#                     #  1. GSM_MODE对应gprs,edge,wcdma,hsdpa,hsupa,hspa等网络,在中国对应中国联通;
#                           #  2. CDMA_MODE对应cdma2000及其演进网络,在中国对应中国电信;
#                     #  3. TD_MODE对应中国移动的目前所有网络,仅仅对中国移动有效。
#pid_vid_origin=0x12d11446   #dongle转化前的pid/vid,可以填0x0
#bcdDevice_origin=0x0      #dongle转化前的bcdDevice,可以填0x0
#pid_vid_now=0x12d11001      #dongle转化后的pid/vid,必须根据实际值来填写,不能填0x0,<必须填写正确>
#bcdDevice_now=0x0         #dongle转化后的bcdDevice,可以填0x0
#at_port=2               #AT command port,ril库通信使用的AT端口,        <必须填写正确>
#ppp_port=0               #pppd use this port to dial,pppd拨号使用的端口,<必须填写正确>
#####################################################################################################################################


[DIAL_NUMBER]
wcdma=ATDT*99#
cdma2000=ATDT#777
tdscdma=ATDT*98*1#


[E1750]
dongle_name=E1750
production_name=E1750
vendor_name=huawei
network_type=GSM_MODE
pid_vid_origin=0x12d11446
bcdDevice_origin=0x0
pid_vid_now=0x12d11001
bcdDevice_now=0x0
at_port=2
ppp_port=0

[E353]
dongle_name=E353
production_name=E353
vendor_name=huawei
network_type=GSM_MODE
pid_vid_origin=0x12d11446
bcdDevice_origin=0x0
pid_vid_now=0x12d114ac
bcdDevice_now=0x0
at_port=3
ppp_port=0

[EC1261]
dongle_name=EC1261
production_name=EC1261
vendor_name=huawei
network_type=CDMA_MODE
pid_vid_origin=0x12d11505
bcdDevice_origin=0x0
pid_vid_now=0x12d1140c
bcdDevice_now=0x0
at_port=3
ppp_port=0

[EC1261]
dongle_name=EC1261
production_name=EC1261
vendor_name=huawei
network_type=CDMA_MODE
pid_vid_origin=0x12d11446
bcdDevice_origin=0x0
pid_vid_now=0x12d11001
bcdDevice_now=0x0
at_port=2
ppp_port=0
..and there are dirs
Code:
/system/etc/usb_modeswitch.d
/system/etc/ppp


Inside /system/etc/ppp:

Code: Select all

/system/etc/ppp/ip-down
/system/etc/ppp/ip-up
/system/etc/ppp/ip-up-vpn
/system/etc/ppp/modem_config

/system/etc/ppp/modem_config:

Code: Select all

E261 12d1:1446 /dev/ttyUSB2 /dev/ttyUSB0 0
E169 12d1:1001 /dev/ttyUSB2 /dev/ttyUSB0 0
E173 12d1:1446 /dev/ttyUSB2 /dev/ttyUSB0 0
E153 12d1:1446 /dev/ttyUSB2 /dev/ttyUSB0 0
E1552 12d1:1446 /dev/ttyUSB3 /dev/ttyUSB0 0
E176 12d1:1003 /dev/ttyUSB1 /dev/ttyUSB0 0
E180 12d1:1003 /dev/ttyUSB1 /dev/ttyUSB0 0
E17X 12d1:1003 /dev/ttyUSB1 /dev/ttyUSB0 0
E160X 12d1:1003 /dev/ttyUSB1 /dev/ttyUSB0 0
E172 12d1:1003 /dev/ttyUSB1 /dev/ttyUSB0 0
MF190 19d2:2000 /dev/ttyUSB1 /dev/ttyUSB2 0
MF637U 19d2:2000 /dev/ttyUSB1 /dev/ttyUSB2 0
K3765 12d1:1520 /dev/ttyUSB2 /dev/ttyUSB0 0
E353 12d1:14fe /dev/ttyUSB3 /dev/ttyUSB0 0
E1750 12d1:1446 /dev/ttyUSB2 /dev/ttyUSB0 0
HSPA 1e89:f000 /dev/ttyUSB1 /dev/ttyUSB2 0
W880 05c6:1000 /dev/ttyUSB1 /dev/ttyUSB0 0
EC122 12d1:1446 /dev/ttyUSB0 /dev/ttyUSB3 1
EC150 12d1:1446 /dev/ttyUSB0 /dev/ttyUSB3 1
EC1261 12d1:1446 /dev/ttyUSB0 /dev/ttyUSB2 1
154 21f5:1000 /dev/ttyUSB3 /dev/ttyUSB0 1
EC156 12d1:1505 /dev/ttyUSB0 /dev/ttyUSB3 1
AC580 19d2:0026 /dev/ttyUSB2 /dev/ttyUSB0 1
EA100A 19d2:fff5 /dev/ttyUSB2 /dev/ttyUSB0 1
QUAL 1c9e:6061 /dev/ttyUSB2 /dev/ttyUSB0 0

lilycollins9
Posts: 4
Joined: 27 Jan 2024, 05:31

Re: Unbranded chinese 2din CarDVD w/Android 4.4.2

Post by lilycollins9 » 27 Jan 2024, 05:38

I understand your frustration about the unusual 3G connection problem on your car's bitlife audio device. It sounds like you've got a lot of troubleshooting done, and I appreciate the insight you provided.

farare
Posts: 6
Joined: 30 Nov 2023, 06:41

Re: Unbranded chinese 2din CarDVD w/Android 4.4.2

Post by farare » 05 Feb 2024, 03:41

One standout feature of these microphones is their versatility. Whether you're a Snow Rider vocalist, instrumentalist, or content creator, the PVM38 series adapts seamlessly to various audio applications. The cardioid polar pattern minimizes unwanted background noise, providing a clean and focused sound reproduction that is essential for professional audio projects.

Post Reply