Author Message

<  The PPP Widget Family for Android  ~  ZTE MF628 "no configuration found for device preparation"

PostPosted: Sun Feb 19, 2017 12:27 pm Reply with quote
Posts: 38 Joined: Sun Dec 23, 2012 9:43 pm
Thank you. Error is gone, but I cannot test it, as I have no root on that tablet. On phone with Android 7.1 it hangs on dialing, and on a tablet with Android 4.2.1 I cannot install it, because Google Play says it is not compatible. Do you know why? It is Allwinner A10 tablet, and earlier version of PPP Widget 2 worked on it (although it is not compatible as well as PPP Widget 3 now).


Offline
PostPosted: Sun Feb 19, 2017 1:35 pm Reply with quote
Site Admin Posts: 6420 Joined: Sat Nov 03, 2007 12:30 am
1. Android 7 is totally untested. I have no device to work with that version yet.

2. I have never added any device restrictions to the PPP Widget app family. The only requirement is USB host ability - which should be self-evident ...

Try to open a browser on that Allwinner tablet and go to Google Play's WEB site. If you display the PPP Widget app details page you may get some extended information about why that tablet is deemed incompatible.


Offline
PostPosted: Sun Feb 19, 2017 2:29 pm Reply with quote
Posts: 38 Joined: Sun Dec 23, 2012 9:43 pm
No, it does not display information why it's incompatible.
Why the restriction that it does not work if apk is installed manually? I think I would overcome it like this.

Edit: I added ro.usb_host=1 to build.prop, changed model to Nexus 7, did not help, still incompatible.
Edit2: changing persist.sys.usb.config=mass_storage,adb to persist.sys.usb.config=mass_storage,diag,serial_smd,rmnet_bam,adb in build.prop made it compatible.
Or you updated version, as it is now 1.1.6.


Offline
PostPosted: Sun Feb 19, 2017 3:59 pm Reply with quote
Site Admin Posts: 6420 Joined: Sat Nov 03, 2007 12:30 am
I can see that the hint about why a device is not compatible is not available anymore ...

This is plain stupid. The requirements of the app are very modest standard ones:

android.hardware.FAKETOUCH (all sorts of touch screens and mouse)
android.hardware.usb.HOST
android.hardware.WIFI

There are over 5000 devices listed as incompatible, with a range of current ones that clearly match the OS version (>= Android 4.0) and the hardware features.

I have sent a request to Google Play developer support. They usually give some kind of response.

I also have issued yet annother update where the Bluetooth feature is optional. Previously, it was added automatically by Google Play as "required", just based on the permissions I'm asking for. I have only just discovered this. Don't know if that solves your issue though.

Re. the "Google Play Only" installation method: I have decided to not make any exceptions. There were unsolicited downloads offered all over the place before I enforced that.


Offline
PostPosted: Sun Feb 19, 2017 4:11 pm Reply with quote
Posts: 38 Joined: Sun Dec 23, 2012 9:43 pm
It now hangs on "Building network...", and after some time Disconnected.

ppp.log:
<
Received non-PPP packet: 0D0A2B....., as text:
+ZUSIMR:2
Maximum number of requests for adresses reached (40)
PPP negotiation finished

(BTW, adresses should be addresses)


Offline
PostPosted: Sun Feb 19, 2017 4:30 pm Reply with quote
Site Admin Posts: 6420 Joined: Sat Nov 03, 2007 12:30 am
That looks like the widget did not pick the correct port for connecting ...

Please post your full USB log - we need to have a clear look on the modem ports.


Offline
PostPosted: Sun Feb 19, 2017 4:59 pm Reply with quote
Posts: 38 Joined: Sun Dec 23, 2012 9:43 pm
usb.log:

Device manufacturer string: Asus
New device on /dev/bus/usb/001/005
Class of interface 0 is 0x08
Looking at USB device 19d2:0015 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:87 bo:08
if:1 as:0 - cl:ff sc:ff pr:ff - ir:81 bi:82 bo:02
if:2 as:0 - cl:ff sc:ff pr:ff - bi:84 bo:04
if:3 as:0 - cl:ff sc:ff pr:ff - bi:86 bo:06

Found 3 serial ports
ZTE modem in ambiguous modem mode, don't mode-switch
Opening port type SERIAL


Offline
PostPosted: Sun Feb 19, 2017 9:23 pm Reply with quote
Site Admin Posts: 6420 Joined: Sat Nov 03, 2007 12:30 am
Is there a hint about which interface (number) is actually used?


Offline
PostPosted: Sun Feb 19, 2017 9:52 pm Reply with quote
Posts: 38 Joined: Sun Dec 23, 2012 9:43 pm
on Linux I used /dev/ttyUSB0 successfully, but IIRC others (ttyUSB1, 2) worked too.


Offline
PostPosted: Mon Feb 20, 2017 12:13 am Reply with quote
Site Admin Posts: 6420 Joined: Sat Nov 03, 2007 12:30 am
I don't think 1 and 2 can connect even if they take AT commands. Anyway, we need to make sure PPP Widget uses the first serial port (which is interface 1 in your modem - not interface 0).

Try to set the modem port manually (see configuration, troubleshooting options). Set it to "Interface 0" which is actually the first serial port, the storage interface is not counted.


Offline
PostPosted: Mon Feb 20, 2017 12:59 am Reply with quote
Posts: 38 Joined: Sun Dec 23, 2012 9:43 pm
If I use USB interface 0, I get the same behaviour. usb.log is the same with a few lines added:
...
Found 3 serial ports
ZTE modem in ambiguous modem mode, don't mode-switch
Manual port index set to 0, trying to start there
Port 0 has type SERIAL
Using port 0 for connecting
Opening port type SERIAL

ppp.log before trying to connect has lots of AT commands and they return successful values (can show if needed), after trying to connect:
<
Received non-PPP packet: 0D0A2B5A5553494D523A320D0A, as text:
+ZUSIMR:2
Maximum number of requests for adresses reached (40)
PPP negotiation finished


Offline
PostPosted: Wed Feb 22, 2017 6:55 pm Reply with quote
Site Admin Posts: 6420 Joined: Sat Nov 03, 2007 12:30 am
The problem is clearly that the modem is sending out 'unsolicited messages' (diagnostic info) on the AT level. This should not happen during PPP negotiation on the same port.

The strange thing is that PPP Widget 2 is following the exact same steps when connecting IIRC.
Are you sure that the modem still works with it?

Also, I'd really like to see the full PPP log of PPP Widget 3 (and PPP Widget 2 for comparison, if possible).


Offline
PostPosted: Wed Feb 22, 2017 7:02 pm Reply with quote
Posts: 38 Joined: Sun Dec 23, 2012 9:43 pm
Could you please release PPP Widget 2 version which works on devices without bluetooth?
Then I could test.


Offline
PostPosted: Wed Feb 22, 2017 7:09 pm Reply with quote
Posts: 38 Joined: Sun Dec 23, 2012 9:43 pm
ppp.log on Android 7 device - https://da.gd/KY2w


Offline
PostPosted: Wed Feb 22, 2017 8:13 pm Reply with quote
Site Admin Posts: 6420 Joined: Sat Nov 03, 2007 12:30 am
digital0 wrote:
Could you please release PPP Widget 2 version which works on devices without bluetooth?

Done!


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 2 of 3
41 posts
Go to page   Previous 1 2 3 Next
Users browsing this forum: No registered users and 3 guests
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum