[MTCB Android Head Units Q&A] xrapidx:
3G Modem mode switching. I can confirm my 3G modem is now working on [MENTION=3590033]Malaysk[/MENTION] after flashing it with another firmware that puts it in "modem" mode.

Thanks to [MENTION=6041319]dsa8310[/MENTION] and [MENTION=434511]agentdr8[/MENTION] for pointing me in the right direction - and assisting with the logs.

The process I followed after googling a bit was actually found on a forum in my own country (South Africa).

Here is the thread: http://mybroadband.co.za/vb/showthread.php/507680-Huawei-HiLink-modems-(E303-E3131-etc-)

This is the post I followed to test it in windows: http://mybroadband.co.za/vb/showthr...3131-etc-)?p=10250878&viewfull=1#post10250878

Then in the last posts in the thread on MyBroadband - you'll see a link to firmware, which I used to flash - thereafter it was in modem mode.

---------- Post added at 11:53 AM ---------- Previous post was at 11:43 AM ----------

[MENTION=3590033]Malaysk[/MENTION] - I've found one problem with 3G - I'm not sure if its related to your rom - or my 3g modem - if the headunit goes to sleep and comes on again, 3G no longer works and I have to reboot, the 3G icon and signal strength display in the task bar, but it seems to be "locked" as it was from before going to sleep.

Here is the dmesg log, not sure if it helps anyone, PPP Widget 2 doesn't recognize the modem as being attached after the device comes out of sleep. I also tried unplugging and plugging it back in - it seems to pick it up, but the device is unusable? (attached is full log from start)

<4>[ 1119.684700] ---------- error_count >= 2
<3>[ 1119.684720] option: option_instat_callback : error -100
<4>[ 1119.685696] ---------- error_count >= 2
<3>[ 1119.685715] option: option_instat_callback : error -100
<4>[ 1119.688698] ---------- error_count >= 2
<3>[ 1119.688721] option: option_instat_callback : error -100
<4>[ 1119.689709] ---------- error_count >= 2
<3>[ 1119.689741] option: option_instat_callback : error -100
<4>[ 1119.692699] ---------- error_count >= 2
<3>[ 1119.692733] option: option_instat_callback : error -100
<4>[ 1119.693696] ---------- error_count >= 2
<3>[ 1119.693722] option: option_instat_callback : error -100
<4>[ 1119.696702] ---------- error_count >= 2
<3>[ 1119.696731] option: option_instat_callback : error -100
<4>[ 1119.697699] ---------- error_count >= 2
<3>[ 1119.697724] option: option_instat_callback : error -100
<4>[ 1119.700697] ---------- error_count >= 2
<3>[ 1119.700718] option: option_instat_callback : error -100
<4>[ 1119.701698] ---------- error_count >= 2
<3>[ 1119.701719] option: option_instat_callback : error -100
<4>[ 1119.704700] ---------- error_count >= 2
<3>[ 1119.704726] option: option_instat_callback : error -100
<4>[ 1119.705699] ---------- error_count >= 2
<3>[ 1119.705718] option: option_instat_callback : error -100
<4>[ 1119.708702] ---------- error_count >= 2
<3>[ 1119.708729] option: option_instat_callback : error -100
<4>[ 1119.709702] ---------- error_count >= 2
<3>[ 1119.709732] option: option_instat_callback : error -100
<4>[ 1119.712700] ---------- error_count >= 2
<3>[ 1119.712723] option: option_instat_callback : error -100
<4>[ 1119.713702] ---------- error_count >= 2
<3>[ 1119.713728] option: option_instat_callback : error -100
<4>[ 1119.716701] ---------- error_count >= 2
<3>[ 1119.716728] option: option_instat_callback : error -100
<4>[ 1119.717700] ---------- error_count >= 2
<3>[ 1119.717726] option: option_instat_callback : error -100
<4>[ 1119.720701] ---------- error_count >= 2
<3>[ 1119.720731] option: option_instat_callback : error -100
<4>[ 1119.721699] ---------- error_count >= 2
<3>[ 1119.721722] option: option_instat_callback : error -100
<4>[ 1119.724699] ---------- error_count >= 2
<3>[ 1119.724725] option: option_instat_callback : error -100
<4>[ 1119.725701] ---------- error_count >= 2
<3>[ 1119.725722] option: option_instat_callback : error -100
<4>[ 1119.728704] ---------- error_count >= 2
<3>[ 1119.728730] option: option_instat_callback : error -100
<4>[ 1119.729699] ---------- error_count >= 2
<3>[ 1119.729718] option: option_instat_callback : error -100
<4>[ 1119.732699] ---------- error_count >= 2
<3>[ 1119.732718] option: option_instat_callback : error -100
<4>[ 1119.733698] ---------- error_count >= 2
<3>[ 1119.733722] option: option_instat_callback : error -100
<4>[ 1119.736698] ---------- error_count >= 2
<3>[ 1119.736718] option: option_instat_callback : error -100
<4>[ 1119.737698] ---------- error_count >= 2
<3>[ 1119.737716] option: option_instat_callback : error -100
<4>[ 1119.740698] ---------- error_count >= 2
<3>[ 1119.740718] option: option_instat_callback : error -100
<4>[ 1119.741702] ---------- error_count >= 2
<3>[ 1119.741735] option: option_instat_callback : error -100
<4>[ 1119.744700] ---------- error_count >= 2
<3>[ 1119.744733] option: option_instat_callback : error -100
<4>[ 1119.745697] ---------- error_count >= 2
<3>[ 1119.745723] option: option_instat_callback : error -100
<4>[ 1119.748699] ---------- error_count >= 2
<3>[ 1119.748720] option: option_instat_callback : error -100
<4>[ 1119.749697] ---------- error_count >= 2
<3>[ 1119.749722] option: option_instat_callback : error -100
<4>[ 1119.752712] ---------- error_count >= 2
<3>[ 1119.752772] option: option_instat_callback : error -100
<6>[ 1119.752903] usb 2-1.4.1: USB disconnect, device number 12
<3>[ 1119.753468] option: option_instat_callback : error -2
<4>[ 1119.753699] ---------- error_count >= 2
<3>[ 1119.753719] option: option_instat_callback : error -100
<6>[ 1119.753868] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
<6>[ 1119.753966] option 2-1.4.1:1.0: device disconnected
<6>[ 1119.754936] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
<6>[ 1119.755505] option 2-1.4.1:1.1: device disconnected
<6>[ 1119.756079] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
<6>[ 1119.756164] option 2-1.4.1:1.2: device disconnected
<6>[ 1119.759499] option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
<6>[ 1119.759812] option 2-1.4.1:1.3: device disconnected
<6>[ 1119.760732] option1 ttyUSB5: GSM modem (1-port) converter now disconnected from ttyUSB5
<6>[ 1119.761080] option 2-1.4.1:1.4: device disconnected
<6>[ 1119.762116] option1 ttyUSB6: GSM modem (1-port) converter now disconnected from ttyUSB6
<6>[ 1119.762370] option 2-1.4.1:1.5: device disconnected
<4>[ 1119.763415] ####usbdev_remove####
<6>[ 1126.898039] usb 2-1.4.2: new high speed USB device number 13 using usb20_host
<6>[ 1126.998530] usb 2-1.4.2: New USB device found, idVendor=12d1, idProduct=14fe
<6>[ 1126.998564] usb 2-1.4.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
<6>[ 1126.998603] usb 2-1.4.2: Product: HUAWEI Mobile
<6>[ 1126.998624] usb 2-1.4.2: Manufacturer: HUAWEI
<4>[ 1127.001395] Skip device
<4>[ 1127.001966] Skip device
<4>[ 1129.095518] ---------- error_count >= 2
<4>[ 1129.096556] ---------- error_count >= 2
<6>[ 1129.223971] usb 2-1.4.2: USB disconnect, device number 13
<4>[ 1129.224888] ####usbdev_remove####
<4>[ 1129.787682] ---------- error_count >= 2
<6>[ 1129.867889] usb 2-1.4.4: reset high speed USB device number 11 using usb20_host
<6>[ 1133.557961] usb 2-1.4.2: new high speed USB device number 14 using usb20_host
<6>[ 1133.659071] usb 2-1.4.2: New USB device found, idVendor=12d1, idProduct=1506
<6>[ 1133.659103] usb 2-1.4.2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
<6>[ 1133.659213] usb 2-1.4.2: Product: HUAWEI Mobile
<6>[ 1133.659236] usb 2-1.4.2: Manufacturer: HUAWEI
<4>[ 1133.661553] Skip device
<6>[ 1133.661641] option 2-1.4.2:1.0: GSM modem (1-port) converter detected
<6>[ 1133.662476] usb 2-1.4.2: GSM modem (1-port) converter now attached to ttyUSB0
<4>[ 1133.663139] Skip device
<6>[ 1133.663319] option 2-1.4.2:1.1: GSM modem (1-port) converter detected
<6>[ 1133.663714] usb 2-1.4.2: GSM modem (1-port) converter now attached to ttyUSB1
<4>[ 1133.663950] Skip device
<6>[ 1133.664023] option 2-1.4.2:1.2: GSM modem (1-port) converter detected
<6>[ 1133.664521] usb 2-1.4.2: GSM modem (1-port) converter now attached to ttyUSB2
<4>[ 1133.665139] Skip device
<6>[ 1133.665228] option 2-1.4.2:1.3: GSM modem (1-port) converter detected
<6>[ 1133.665873] usb 2-1.4.2: GSM modem (1-port) converter now attached to ttyUSB4
<4>[ 1133.666362] Skip device
<6>[ 1133.666529] option 2-1.4.2:1.4: GSM modem (1-port) converter detected
<6>[ 1133.667373] usb 2-1.4.2: GSM modem (1-port) converter now attached to ttyUSB5
<4>[ 1133.667862] Skip device
<6>[ 1133.668030] option 2-1.4.2:1.5: GSM modem (1-port) converter detected
<6>[ 1133.668665] usb 2-1.4.2: GSM modem (1-port) converter now attached to ttyUSB6
<6>[ 1144.114895] healthd: battery l=50 v=0 t=0.0 h=2 st=3 chg=a
<5>[ 1152.684895] type=1400 audit(1437219229.967:57): avc: denied { read } for pid=6011 comm="su" name="/" dev=selinuxfs ino=1 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:selinuxfs:s0 tclass=dir
<5>[ 1152.685008] type=1400 audit(1437219229.967:58): avc: denied { search } for pid=6011 comm="su" name="/" dev=selinuxfs ino=1 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:selinuxfs:s0 tclass=dir
<5>[ 1152.685094] type=1400 audit(1437219229.967:59): avc: denied { read } for pid=6011 comm="su" name="enforce" dev=selinuxfs ino=4 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:selinuxfs:s0 tclass=file
<5>[ 1152.685174] type=1400 audit(1437219229.967:60): avc: denied { open } for pid=6011 comm="su" name="enforce" dev=selinuxfs ino=4 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:selinuxfs:s0 tclass=file
<5>[ 1152.685260] type=1400 audit(1437219229.967:61): avc: denied { getattr } for pid=6011 comm="su" path="/sys/fs/selinux/enforce" dev=selinuxfs ino=4 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:selinuxfs:s0 tclass=file
<5>[ 1152.848646] type=1400 audit(1437219230.137:62): avc: denied { entrypoint } for pid=6035 comm="daemonsu" path="/system/bin/mksh" dev=mtdblock9 ino=1892 scontext=u:r:shell:s0 tcontext=u:object_r:unlabeled:s0 tclass=file
<5>[ 1152.868655] type=1400 audit(1437219230.157:63): avc: denied { ioctl } for pid=5963 comm="pal.androidterm" path="/dev/mali" dev=tmpfs ino=2300 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:device:s0 tclass=chr_file
<5>[ 1156.770297] type=1400 audit(1437219234.057:64): avc: denied { read write } for pid=5721 comm="ainfire.supersu" path="/dev/ump" dev=tmpfs ino=2298 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:device:s0 tclass=chr_file
root@rk3188:/ #