Activation Codes and Methods, Hardware Details, Sniffing
rios66
Posts: 2
Joined: 13 Feb 2017, 11:42

rockchip and Huawei E3372

Post by rios66 » 13 Feb 2017, 12:26

Hi
I have autoradio device manufactured rockchip with firmware malaysk and modem Huawei E3372.
I tried all three widgets to internet but can not seem to connect with either the logs here. Please help if possible. well thank you

at PPP widget connects but immediately but is also down. Connection does not work.

at ppp 2 widget trying to connect but freeze when connecting. Remains message "building network"

at ppp 3 widget will appear hláška modem not answer and I can not even set APN

ppp 3 usb.log

Device manufacturer string: rockchip
Start search for USB devices
visible on Android OS level ...
Check device 0bda:b720, interface 2, might be a modem
Check device 12d1:1506, interface 2, might be a modem
Found possible 3G USB device 12d1:1506
New device on /dev/bus/usb/001/015
Class of interface 0 is 0xFF
Looking at USB device 12d1:1506 with class 255
Device top dir: /sys/bus/usb/devices/1-1.1, active cfg: 1
Active configuration ID: 1
Device layout (config 1) - cl:00 sc:00 pr:00
if:0 as:0 - cl:ff sc:02 pr:12 - bi:82 bo:02
if:1 as:0 - cl:ff sc:02 pr:01 - ir:84 bi:83 bo:03
if:2 as:0 - cl:ff sc:02 pr:16 - ir:86
if:2 as:1 - cl:ff sc:02 pr:16 - ir:86 bi:85 bo:04
if:3 as:0 - cl:08 sc:06 pr:50 - bi:87 bo:05
if:4 as:0 - cl:08 sc:06 pr:50 - bi:88 bo:06

Found 2 serial ports
Can't disable USB power-save, kernel attribute missing
Opening port type HUAWEI_NCM
13.2.2017 10:25:31 AM

ppp 3 ppp.log

Starting modem command sequence ...
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
No modem reply
====
Attachments
ppp.log
ppp 2
(1.25 KiB) Downloaded 551 times
ppp.log
ppp ppp.log
(1.97 KiB) Downloaded 550 times
portcheck.log
ppp portcheck
(939 Bytes) Downloaded 535 times

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: rockchip and Huawei E3372

Post by LOM » 13 Feb 2017, 13:14

Your car radio has already built in programs and drivers for 3G connection so you have two possibilities:

1. Find out yourself which the already built-in 3G programs are. Disable them because they conflict with pppwidget. You can use pppwidget after having done that.

2. Use the already built-in 3G programs, remove pppwidget.
Use only a modem that is listed on the car radios compatibility list of modems

rios66
Posts: 2
Joined: 13 Feb 2017, 11:42

Re: rockchip and Huawei E3372

Post by rios66 » 14 Feb 2017, 15:06

When I insert the modem into the USB port without instaled widget so nothing happens. I did not find any programs that would be linked to the 3G / 4G modems. As far as the widget is installed by connecting a modem message will appear if we want to use the widget to control the modem. But as I've written I can not connect. If you can help make that message. well thank you

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

Re: rockchip and Huawei E3372

Post by Josh » 14 Feb 2017, 15:41

What does the manual of the car radio say about which modems are supported?

StanoC76
Posts: 8
Joined: 17 Jan 2018, 14:44

Re: rockchip and Huawei E3372

Post by StanoC76 » 17 Jan 2018, 17:52

i have board with rockchip too, Tinkerboard run with Android Marshmallow, huawey 3372, instaled ppp widget 3 and result is same as rios66, i test it at my Lenovo P70 phone with android 4.4.4 and there it works perfect, but there USB log says that device info is vid: 12d1 pid:14fe, at rockchip it is 12d1:1506
Attachments
PPPlog.txt
(205 Bytes) Downloaded 503 times
USBlog.txt
(1015 Bytes) Downloaded 496 times
Last edited by StanoC76 on 18 Jan 2018, 09:12, edited 1 time in total.

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

Re: rockchip and Huawei E3372

Post by Josh » 17 Jan 2018, 19:24

Please post your "USB Log" and "PPP Log" that you get on the Tinkerboard when using PPP Widget.

(No screenshot please, use plain text.)

StanoC76
Posts: 8
Joined: 17 Jan 2018, 14:44

Re: rockchip and Huawei E3372

Post by StanoC76 » 18 Jan 2018, 09:14

I added them to the my original message, thx for answer

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

Re: rockchip and Huawei E3372

Post by Josh » 18 Jan 2018, 09:34

The USB log does not include the mode switch that normally happens when you insert the modem with PPP Widget active on the workspace. It looks like you recorded the manual device search.

Can you post the USB log that is created automatically when inserting the modem?

StanoC76
Posts: 8
Joined: 17 Jan 2018, 14:44

Re: rockchip and Huawei E3372

Post by StanoC76 » 18 Jan 2018, 10:03

USB:
Device manufacturer string: rockchip
New device on /dev/bus/usb/003/008
Class of interface 0 is 0xFF
Looking at USB device 12d1:1506 with class 255
Device top dir: /sys/bus/usb/devices/3-1.4.2, active cfg: 1
Active configuration ID: 1
Device layout (config 1) - cl:00 sc:00 pr:00
if:0 as:0 - cl:ff sc:02 pr:12 - bi:82 bo:02
if:1 as:0 - cl:ff sc:02 pr:01 - ir:84 bi:83 bo:03
if:2 as:0 - cl:ff sc:02 pr:16 - ir:86
if:2 as:1 - cl:ff sc:02 pr:16 - ir:86 bi:85 bo:04
if:3 as:0 - cl:08 sc:06 pr:50 - bi:87 bo:05
if:4 as:0 - cl:08 sc:06 pr:50 - bi:88 bo:06

Found 2 serial ports
Opening port type HUAWEI_NCM

PPP:
Starting modem command sequence ...
>
ATE0
>
ATE0
Transmission to modem failed, abort

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

Re: rockchip and Huawei E3372

Post by Josh » 18 Jan 2018, 12:47

There is still a lot missing in your USB log. PPP Widget does never see your modem in "install mode".
This is important since there are several possible "modem modes" for Huawei modems. PPP Widget needs to have the opportunity to choose the right mode.

If you haven't tampered with the modem to permanently disable the install ("CD") mode, then it is likely that your Android system is trying to do some mode switching itself.

Here is the USB log for my Huawei E3372 for comparison:

Code: Select all

Device manufacturer string: Acer
New device on /dev/bus/usb/001/004
 Class of interface 0 is 0x08
Looking at USB device 12d1:1f01 with class 8
 Device top dir: /sys/bus/usb/devices/1-1, active cfg: 1
Device layout (config 1) - cl:00  sc:00  pr:ff
 if:0 as:0 -  cl:08  sc:06  pr:50 -  bi:81  bo:01

Found 0 serial ports
No dedicated modem port found
Preparing to switch mode of USB device 12d1:1f01 ...
Device info:
 VID=	 12d1
 PID=	 1f01
 Manufact.= HUAWEI_MOBILE
   Product= HUAWEI_MOBILE
Found matching configuration in collection: 12d1.#android
Wait for 200 ms
Bulk message 1: 55534243123456780000000000000011063000000100010000000000000000
  device gone after message 1
New device on /dev/bus/usb/001/005
 Class of interface 0 is 0xFF
Looking at USB device 12d1:155f with class 255
 Device top dir: /sys/bus/usb/devices/1-1, active cfg: 1
Device layout (config 1) - cl:02  sc:00  pr:ff
 if:0 as:0 -  cl:ff  sc:02  pr:03 -  ir:83  bi:82  bo:02
 if:1 as:0 -  cl:ff  sc:02  pr:03 -  bi:84  bo:03
 if:2 as:0 -  cl:ff  sc:02  pr:12 -  bi:85  bo:04
 if:3 as:0 -  cl:08  sc:06  pr:50 -  bi:86  bo:05
 if:4 as:0 -  cl:02  sc:0d  pr:00 -  ir:88
 if:5 as:0 -  cl:0a  sc:00  pr:01 -
 if:5 as:1 -  cl:0a  sc:00  pr:01 -  bi:87  bo:06

Found 3 serial ports
Opening port type HUAWEI_NCM

StanoC76
Posts: 8
Joined: 17 Jan 2018, 14:44

Re: rockchip and Huawei E3372

Post by StanoC76 » 18 Jan 2018, 13:06

pls what can i do with my usb stick? how can i disable install /CD mode? thx for answer

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

Re: rockchip and Huawei E3372

Post by Josh » 18 Jan 2018, 14:00

I'm not sure you have understood what I wrote. You don't want the install mode to be permanently disabled!
The mode switch is done dynamically every time when inserting the stick.

It is likely that your system does some mode-switching with your E3372 - before PPP Widget can access it.

See if you can find a file named "usb_modeswitch" on your Tinkerboard system. Use a file manager like "Total Commander" and go to the folder "/system/bin" or "/system/xbin".

If it is not present, look for any other file that has "usb" in its name.

StanoC76
Posts: 8
Joined: 17 Jan 2018, 14:44

Re: rockchip and Huawei E3372

Post by StanoC76 » 18 Jan 2018, 16:49

ok, now i'm underestand, i was tryed plug stick and after boot android, PPP widget controling and anwer is modem not response, but there is another USB lob like before:

Device manufacturer string: rockchip
Start search for USB devices
visible on Android OS level ...
Check device 0bda:2838, interface 2, might be a modem
Check device 12d1:1506, interface 2, might be a modem
New device on /dev/bus/usb/003/006
Class of interface 0 is 0xFF
Found possible 3G USB device 12d1:1506
Looking at USB device 12d1:1506 with class 255
Device top dir: /sys/bus/usb/devices/3-1.4, active cfg: 1
Active configuration ID: 1
Device layout (config 1) - cl:00 sc:00 pr:00
if:0 as:0 - cl:ff sc:02 pr:12 - bi:82 bo:02
if:1 as:0 - cl:ff sc:02 pr:01 - ir:84 bi:83 bo:03
if:2 as:0 - cl:ff sc:02 pr:16 - ir:86
if:2 as:1 - cl:ff sc:02 pr:16 - ir:86 bi:85 bo:04
if:3 as:0 - cl:08 sc:06 pr:50 - bi:87 bo:05
if:4 as:0 - cl:08 sc:06 pr:50 - bi:88 bo:06

Found 2 serial ports
Opening port type HUAWEI_NCM

PPP log is :
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
>
ATE0
No modem reply


i was looking for file with usb in name but dont find them :(

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

Re: rockchip and Huawei E3372

Post by Josh » 18 Jan 2018, 17:22

StanoC76 wrote: i test it at my Lenovo P70 phone with android 4.4.4 and there it works perfect, but there USB log says that device info is vid: 12d1 pid:14fe, at rockchip it is 12d1:1506
This is exactly the point. Something makes your stick change to "1506" before PPP Widget can access it.

Compare the USB log that you get on the Lenovo P70. I think it will look very much like my USB log that I posted before. Note that my E3372 ends up as "155f", not "1506".

What is the USB ID on the P70 in the end?

The conclusion:
There is something on the Tinkerboard that brings your modem to the wrong mode when you connect it. Unless you find out what it is, there is nothing we can do.
Maybe you can ask the creators of the Tinkerboard system? Do they have a support forum?

StanoC76
Posts: 8
Joined: 17 Jan 2018, 14:44

Re: rockchip and Huawei E3372

Post by StanoC76 » 18 Jan 2018, 17:59

this is positive and nice USB log from P70:

Device manufacturer string: LENOVO
New device on /dev/bus/usb/001/026
Class of interface 0 is 0x08
Looking at USB device 12d1:14fe with class 8
Device top dir: /sys/bus/usb/devices/1-1, active cfg: 1
Device layout (config 1) - cl:00 sc:00 pr:00
if:0 as:0 - cl:08 sc:06 pr:50 - bi:81 bo:01

Found 0 serial ports
No dedicated modem port found
Preparing to switch mode of USB device 12d1:14fe ...
Device info:
VID= 12d1
PID= 14fe
Manufact.= HUAWEI_MOBILE
Product= HUAWEI_MOBILE
Found matching configuration in collection: 12d1.14fe
Go for alternate Huawei mode as configured ...
Wait for 200 ms
Bulk message 1: 55534243123456780000000000000011063000000100010000000000000000
transmitted
New device on /dev/bus/usb/001/027
Class of interface 0 is 0xFF
Looking at USB device 12d1:155e with class 255
Device top dir: /sys/bus/usb/devices/1-1, active cfg: 1
Device layout (config 1) - cl:02 sc:00 pr:00
if:0 as:0 - cl:ff sc:ff pr:ff - ir:83 bi:82 bo:02
if:1 as:0 - cl:ff sc:ff pr:ff - bi:84 bo:03
if:2 as:0 - cl:ff sc:ff pr:ff - bi:85 bo:04
if:3 as:0 - cl:02 sc:0d pr:00 - ir:87
if:4 as:0 - cl:0a sc:00 pr:01 -
if:4 as:1 - cl:0a sc:00 pr:01 - bi:86 bo:05

Found 3 serial ports
Opening port type HUAWEI_NCM

PPP log:
Starting modem command sequence ...
>
ATE0
<
OK
>
AT+CGSN
<
865035034774760

OK
--> Device ID: 865035034774760
>
AT+CPIN?
<
+CPIN: SIM PIN

OK
>
AT+CPIN="****"
<
OK
>
AT+CPIN?
<
^SIMST:1,0
^SIMST:1,0
^SRVST: 0
^MODE: 0,0
^SRVST: 0
^PLMNSELEINFO:0,4
^RSSI:99
+CPIN: READY

OK
>
AT+CIMI
<
231020109913042

OK
--> Profile ID: 231020109913042

SIM is ready to use
====

Tinkerboard forum is there : https://tinkerboarding.co.uk/forum/

except this Huawei stick i have pluged GPS, i thing that it is modem too, i will try to unplug it, i will send info latter,

thanx for answers

Post Reply