yashsingh1/xdaforums huggingface dataset:
[Acer Iconia A500] csk213:
Thanks for your speedy reply. I am using android x86 versions on my acer d250. The PPP WIdget works fine int androidx86-2.2.r2 version without any problem. But in the latesr 4.0.r2 version it is giving error. I will be glad to test it in all the android x86 versions.

---------- Post added at 07:56 PM ---------- Previous post was at 07:44 PM ----------

When any USB modem is connected to the android, it is first detected as scsi device. It is detected as either /dev/block/sr0 or sr1 or sg0 or sg1. I used to just execute eject command and the modem ejects and reloads as ttyUSBs. In this way there is no need for usbmodeswitches. If possible, give this option a try.
[Acer Iconia A500] JFDee:
Believe me, I know quite a bit about mode-switching of mobile data sticks ...

There are many models that don't use the "SCSI Eject" command for mode-switching. It's really up to the manufacturer how to implement that trigger.

Besides, usb_modeswitch is actually using the eject command - transmitted as a UFI bulk message - to treat the respective devices. Others are getting different commands; all the collected knowledge is contained in the per-USB-ID config files.

Have a read on the usb_modeswitch main page in case you are interested:

http://www.draisberghof.de/usb_modeswitch/
[Acer Iconia A500] JFDee:
And here we go again ...

New "bc" tool which is supposed to not crash upon connection. Tested it on 4.0.3 stock Iconia 500. Needs to be tested on Jelly Bean and mods based on it.

See post #74 for usage hints.
[Acer Iconia A500] maris__:
Hi JFDee,

Thanks for the the updated bc tool. Works brillant with TegraOwners Jelly Bean v10 ROM. Only automatic device detection is not functional, but I guess this is an issue of the ROM.

Best regards, maris
[Acer Iconia A500] meduza:
Hi JFDee, hi maris :)

I just trayed the new bc.jar and was about to send a positive report but maris was quicker.

The internet connection and signal strength are even shown in notification bat :)

Only one thing, I was absolut not able to disconnect... .

m.
[Acer Iconia A500] JFDee:
Thanks for the feedback.

About device detection: did you get a system prompt when plugging your stick/phone for the first time (with PPPWidget installed) ?
[Acer Iconia A500] JFDee:
Maybe there is a problem with retrieving the process ID of pppd ...

While connected, can you open an onboard terminal window, go "su" and then run "ps pppd"? What do you see?

To disconnect, you can use "killall pppd" on the same terminal as a temporary workaround.
[Acer Iconia A500] meduza:
Here is what I see.

Strange - this time I was able to discconnect ... .

m.
[Acer Iconia A500] maris__:
I am not using the terminal for getting the connection with my Huawei 3g stick. I have switched off automatic and manual device detection in the widget options (following a suggestion in the TegraOwners forum). I am just putting in the stick, tapping the ppp icon, then select the Huawei stick in the "Available USB Device" menu, tapping Connect, and everything is fine.

With best regards, maris
[Acer Iconia A500] Laz35:
Confirmed working on cm10 as well! Very nice and thanks a lot :)
[Acer Iconia A500] JFDee:
Hmm, looks quite normal. Can't say what happened ...
[Acer Iconia A500] meduza:
...the main thing, it worked finaly :)

m.
[Acer Iconia A500] drapper:
I get

app_76@android:/ $ export PATH=/data/local/bin:$PATH

app_76@android:/ $ cd /mnt/sdcard

app_76@android:/mnt/sdcard $ logcat > q.txt

Unable to open log device '/dev/log/main': Permission denied

1|app_76@android:/mnt/sdcard $

my tab is rooted
[Acer Iconia A500] Laz35:
Start with "su" to get the root prompt.
[Acer Iconia A500] drapper:
That did the trick (dumb me!). Attached are the logact and the ppp.log. Thank for the help!
[Acer Iconia A500] JFDee:
drapper,

it looks like the problem showing in your logs is due to an inferior way of setting an important variable in some of the helper scripts.

This is one of the issues that I tried to correct in the new test version 0.99; see top post.
[Acer Iconia A500] JFDee:
Laz35, sphynxoid, meduza2 et al.,

I wonder if you could test version 0.99 (see top post). It includes the last version of the "bc" helper tool that you have tested, plus a fix for the BOOTCLASSPATH problem which may have caused crashes as well.

All in all, the main issue this time was to improve stability on Jelly Bean and custom ROMs.
[Acer Iconia A500] meduza:
Confirming it is working! After installation it didn't diconnect but after rebooting the tab it worked!

My procedure of using the widget is same as maris.

m.
[Acer Iconia A500] JFDee:
So you are not using automatic device detection?

What is the reason?
[Acer Iconia A500] Laz35:
Tested on cm10 and working beautifully :victory:
[Acer Iconia A500] meduza:
Oh, the reason was that it didn't work at the beginning and I left the preferences just like they are.

If you wish I could tray the automatic dedection and report.

m.

PS.

I Did the test but no success with automatic deduction. Bit it really doesn't border me at all.
[Acer Iconia A500] drapper:
Version 0.99 works like a charm and I can download as well. Great!!!
[Acer Iconia A500] amphi66:
PPP widget seems to install OK and appears in app list, but there is no icon in the app drawer. I am using Civ's Stryker v3. Thanks
[Acer Iconia A500] JFDee:
amphi66, keep in mind that it's a widget. It will be in the widget list, not in the app list.

It's only active when placed on the 'desktop'.
[Acer Iconia A500] amphi66:
'Duh' on me. I looked, but must have missed it the first time. Thank you!
[Acer Iconia A500] webjunky:
where do i enter the pin code of my sim card ?
[Acer Iconia A500] meduza:
I think the sim pin is a ROM issue not a widget issue. In my case it has to be disabled in the preferences.

m
[Acer Iconia A500] JFDee:
At the moment, the widget is working only with PIN-disabled SIMs.
[Acer Iconia A500] tiriloro:
Perfect

In Mexico ZTE MF 626 Telcel Works realy Nice Thank you soo much :laugh:
[Acer Iconia A500] Moustapha Aly:
I can't use my USB huawei modem

When I plug it on USB port the widget crashes and stop work :banghead:

I am using ics software

Plz help me for urgent
[Acer Iconia A500] JFDee:
Some things I need to know:

Do you have a modified ROM or do you have the standard system from Acer?

Do you have the latest version of PPPWidget installed (0.99)?

What happens if you plug the modem in with PPPWidget not open?

What happens if you uninstall PPPWidget (from the app management), install it again, place it on the destop and then plug the modem in for the first time? Do you get a pop-up dialog?

Can you provide a "logcat" output after the crash?
[Acer Iconia A500] webjunky:
ahhh ok ,

looking forward to a version with pin code :o
[Acer Iconia A500] dCrist:
Hi,

you can support pin enabled SIMs with the following command:

AT+CPIN="1234"

Widget working fine with Huawei E1752

Thanks for your work :)
[Acer Iconia A500] webjunky:
Where and how do i put the command in?
[Acer Iconia A500] JFDee:
webjunky,

you could add the command to /sdcard/pppwidget/ppp/gprs-chat.

Insert a line after the one containing "ATZ"; it should read "OK AT+CPIN='xxxx' "

I don't recommend this though - everyone (every application) can read that file and see your PIN. So there is no significant security advantage compared to disabling the PIN protection alltogether. This can be done using the software included with most sticks.
[Acer Iconia A500] antukubo:
I tried this app since v0.96 up to the latest v0.99 but still not working. I'm using Acer Iconia A200 / ICS Stock 4.0.3 with Huawei E220 modem. The app detect my modem and i got connected, but there is not data at all. What is the issue? Thanks in advance.

[ ppp.log ]
[Acer Iconia A500] webjunky:
Ok , i disabeld the pin and it works , thanks :
[Acer Iconia A500] JFDee:
antukubo, I can't access your ppp log file. Seems to require login.
[Acer Iconia A500] antukubo:
Sorry. My bad.

[ ppp.log ]
[Acer Iconia A500] JFDee:
antukubo, the log looks just perfect. Everything is there, IP address and DNS address ...

Do you get any actual errors, or does your application hang when accessing the Internet?
[Acer Iconia A500] antukubo:
No error notification. Just can't browse anything. No data. The application didn't hang. I still can disconnect, reconnect and reconfigure. But i did noticed that the application is a bit slow/laggy once connected. When i click disconnect button, it tooks almost a minute to properly disconnected. Same as connect & configure button. I've tried uninstall, reinstall, remove & re-add widget but still not working.

By the way, anybody success with Huawei E220 modem and willing to share infos?
[Acer Iconia A500] Wetzel402:
Hi,

Has anyone had success with the Verizon UML290? I don't care if 4G doesn't work, I would even be happy with 3G only. I am running the A200 with the Flexreaper port which has been confirmed working with PPPWiget for some modems.

Thanks!
[Acer Iconia A500] antukubo:
Problem solved.

The reason i can't get data is because of Droidwall app. I'm using 'white list' and since PPPWidget is a 'widget', it did not appear on the app list. I have to completely disable the Droidwall IP Rules in order to make PPPWidget works. Maybe I should change to 'black list' method.

BTW, thanks for this awesome app. Now i don't have to entirely depends on wifi. I can use it outdoor, especially on navigation during driving. Great job guys!
[Acer Iconia A500] thelast3lack:
hey

i want this widget but the website is down i think?!

can anyone give me a link to this? i googled without any luck...

thx in advance
[Acer Iconia A500] webjunky:
http://www.draisberghof.de/android/pppwidget.html

website works perfectly :)
[Acer Iconia A500] Wetzel402:
Ok so my PPPWidget keeps hanging up on "dialing out". The log shows:

OK

OK

ERROR

Connect script failed

Any ideas why this would be?
[Acer Iconia A500] JFDee:
That is a strange log indeed.

Can you post the model of your phone/modem?
[Acer Iconia A500] JFDee:
I'd like to discourage everyone from linking the package file directly. Please link to the whole page as it may continue important information updates.

Keep in mind that it is me who will get unnecessary questions ...

http://www.draisberghof.de/android/pppwidget.html

Before anyone asks: there are no ads on any of my pages, so I'm not fishing for clicks :rolleyes:
[Acer Iconia A500] webjunky:
sorry for the link , i was only trying to help thelast3lack.

removed the direct link :)
[Acer Iconia A500] JFDee:
No worries - there may indeed have been a short offline stretch at my hoster. Not a high availability server.

Thanks!
[Acer Iconia A500] malik_syria:
please give me a help!

hi..this is my first post in this fourm..

i have HUAWEI 3G modem E1550 and Superpad iii، model : android tab10

i installed this widget..but it still saying "checking access" and i cannot press anything on it

also my modem still flashing "green" light which means there is no 3g signal

when i uninstalled it ..my modem back to work as before that it's connected normaly to the internet but only for almost 1 min then it disonnected..and this happens each time i connect to the internet !!..

so please what's the solving for this in the widget..what should i do ?

thank you
[Acer Iconia A500] Wetzel402:
I am using the uml290 Verizon modem with an Acer A200 running the Flexreaper A500 ROM port.

Thank you for you help good sir! :D
[Acer Iconia A500] JFDee:
Can you confirm the following things:

- You have root access on your tablet

- There is a "sdcard" folder in the root directory

- You have the latest version of the "Superuser" app installed
[Acer Iconia A500] JFDee:
Seems you have a rather peculiar modem ...

Have a look at this:

http://blogs.gnome.org/dcbw/2011/06/17/the-incredible-magical-pantech-uml290/

In a nutshell: it may or may not work.

Unfortunately there is not much that PPPWidget can do.
[Acer Iconia A500] malik_syria:
answers

-yes i do have root acess

-yes and it contains what files i have in local "my pad"

-i'm not sure if it the lastest or not..if you could give me the last version it would be better

and i allowed the widget as a super user
[Acer Iconia A500] JFDee:
It is available in Google Play which should tell you if there are any updates that you don't have yet.

Also, in the current version of the Superuser app there is an "Info" button which opens a page with all sorts of system information. There you can do a check if your "su" command line tool is up-to-date, offering an automatic update in case it is not.
[Acer Iconia A500] Moustapha Aly:
Q1 : i am using slandered system ics4.0.3 & kernel ver 2.6.39.4+ ,But i rooted my device !

Q2 : when i plug it ppp Widget open but superuser give me a message and i choose allow !! then widget shows "prepare device ...." !!

Q3 : when i re install it it shows same message then widget appears this message "No driver found"@@

finally i cant connect the modem to iconia in same time i connect it to pc cuz the usb & mini usb ports are so close to each other !!
[Acer Iconia A500] JFDee:
Remove all instances of PPPWidget from the workplaces. Then place it again from the widget selection. Open the "Configure" page of PPPWidget and enable "Logging" (last option at bottom).

Now plug your modem. Don't do anything else (except confirming device dialogues in case they pop up).

Next, create the system logs.

You can get a logcat without a PC connection. Use a terminal emulation (get "Android Terminal Emulator" if you don't have one yet), run the "su" tool to become root, and start "logcat >/sdcard/sys.log".

Then start "dmesg >/sdcard/dmesg.log".

Beside these last two log files, there should be annother one in

/sdcard/pppwidget/log, called usb_modeswitch_<something>.log
[Acer Iconia A500] Moustapha Aly:
i did it and here this pic shows that [/URL][/IMG]

then i installed Android Terminal Emulato but when i typed the code above it shows [/URL][/IMG]

and when i type "logcat >/sdcard/sys.log" it give me "permission denied unable to open log device"
[Acer Iconia A500] Wetzel402:
Would the modem itself cause the script to fail though? What I gather from your link is that I can, in theory, connect via 3G by dialing #777 using PPP does that sound correct?

Even if I can't get this app working it is amazing and you deserve props for it. Thank you!
[Acer Iconia A500] JFDee:
What I gather from the article I linked is that you may run into trouble if 4G is available and the modem is not set to limit itself to 3G.

Or it may be correctly set to only use 3G but in the area where 4G is available, the provider has shut down 3G.

You can try to find the AT command for your modem that limits the connection to 3G and below. It might be a variant of that AT+CGREG command that is already used in the chat script.

I recommend testing commands on a PC with the modem connected, using a terminal program (for Linux, there is "minicom").

Once you have found the command, you can edit /sdcard/pppwidget/ppp/gprs-chat and change/append it accordingly.
[Acer Iconia A500] JFDee:
You need to run "su" first in the terminal window (type "su" and Enter).
[Acer Iconia A500] tirannic:
Acer Iconia a200 and ppp widget - need support please

Dear Forum members,

Recently I have got an Acer Iconia A200 tablet (Android version 4.0.3; Kernel version 2.6.39.4+; Image version Acer_AV041_A200_RV07RC08_WW_GEN1; Build number Acer_AV041_A200_1.060.00_WW_GEN1).

For now, the only thing I'd like to do with it, is to use it for browsing the Internet and checking my e-mail while in the office, via 3G.

I have a KPN 3G USB modem (dongle MF190), with a SIM card and PIN disabled.

Next to that, I have the tablet rooted with simpleroot, and I have superuser installed.I have followed the instructions in this thread and tried several different things, but somehow I can't get it to work. I am new to Android and all this hacking, but I am sure I have strictly followed all instructions.

The PP Widget initially says that it doesn't have root access ('No root access'). When I connect the USB modem to the tablet, it is recognized. PPP Widget asks me whether to open PP Widget. After hitting OK, it says Preparing Device and I get an error message ('Unfortunately PP Widget has stopped'). Judging by the LED on the USB modem, 3G seems to work.

I guess I have to grant superuser priviliges to the PPP Wiget app, but somehow it doesn't get it. The PPP Widget app does not appear in the list of apps in the superuser app.

I am getting frustrated by now.... I really would like to make the USB modem work, as it works perfectly on my laptops, I feel no need to spend more money and buy a MIFI, for example.

Can anyone please help me and tell me what I can do to make this work?

Thank you very much in advance.
[Acer Iconia A500] Wetzel402:
It sounds to me like you have an issue with root or superuser. One quick thing to try is go into superuser and update the binaries. See if that helps.
[Acer Iconia A500] tirannic:
Thank you're Wetzel. I played around with the simple root, and somehow superuser now recognized the pppwidget request for superuser priviliges- so that's solved.

But the pppwidget still won't go further than prepare device. Do you have any idea what the reason for this may be and how to solve it? Agin , many thanks for your help, much appreciated

Btw: I have the feeling we're getting close to solving it.... ;)
[Acer Iconia A500] antukubo:
@tirannic

you might need to do fresh install. Let's start

- clear cache, data & uninstall PPPWidget

- reboot

- install PPPWidget v0.99

- reboot

- add widget

- configure

* untick Automatic Device Detection

* APN

* User Name

* Password

* Dialling Target

* Tick Enable Logging

- plug your modem

- touch PPP icon on your widget (just beside connect button)

- a pop up window will appear with your modem name... select

- connect

if still not working, pls post your log. Good luck!

* edit *

reboot, remove widget & re-add widget might also helps
[Acer Iconia A500] tirannic:
Dear antukubo,

This works I have the pop widget running now! :)

Many many thanks to you and Wetzel!

So now I can configure it. For Kpn I have to leave the account name and password blank, but the pop widget does not allow me to do this. Do you know how I can get around that?

I think that if I can solve this, I can finally connect to 3g. Many thanks again in advance.
[Acer Iconia A500] May.Assem:
Write any random username and password. My modem doesn't need one as well but I added them anyway and now PPPWidget is running flawlessly on my A500.

Sent from either my Iconia-A500 or my LG-P990, depending.
[Acer Iconia A500] antukubo:
@tirannic

Pls refer apn-conf for required settings. It is not 100% accurate but you may try it. I tried APN from this file & from my provider, both is usable. Username & password normally can't be blank. Any value will do. Dialling Target is based on your provider. For me, i changed from *99***1# to *99#. Some user use #777.
[Acer Iconia A500] tirannic:
@antakubo, May.Assem,Wetzel402: many many thanks, I finally got it working. What it solved was the right APN name. I tried antakubo's list, but finally found the right apn name on the KPN site (I'm such an amateur ;) ).

@antakubo: I think your list is a bit outdated, for example my prepaid internet for KPN has the APN name of prepaidinternet these days.

Anyway, thanks all for solving this (the world would be such a greater place if everyone in the real world would also be so helpful). And big thanks for the developers of these tools, good job!
[Acer Iconia A500] faisol:
My pppwidget installed properly, granted root access, dialling out, then shows disconnected. And i have not find any pppwidget folder in sdcard, i dont know how to see the log! Help me pls,

sorry because i don't have an acer 500, so i am out of this thread. I have flytouch 6 running ics. Please never mind, i am really need your help. Please.
[Acer Iconia A500] JFDee:
I don't recommend to use the on-device APN list.

It should be fairly easy to google the up-to-date APN for your provider and your plan. Any decent provider will post these somewhere.

I strongly recommend to leave the default alone. The "1" tells the modem to use the profile where the previous APN setting is stored.

#777 is for CDMA networks, *99# for GPRS. These are two different (incompatible) network systems.
[Acer Iconia A500] JFDee:
If this folder is missing, connection will not work.

Usually it is created when the widget is placed on the home screen for the first time.

Can you check if you have the "sdcard" folder in the top level of your file system?
[Acer Iconia A500] faisol:
the custom rom i am using has internal sdcard mounted as external and external as internal. May be this is the problem. I am going to try in a stock rom,

another question, in many thread i have seen, they use 3g modem in 'modem only ' mode by hyperterminal. Do i have to change my modem in 'modem only ' to run in pppwidget. Pls don't mind if my question is too dumb as i am newbie in android os.
[Acer Iconia A500] JFDee:
It should not be a problem if any of these is available as "/sdcard" in the top filesystem directory.

Anyway, I will soon release a new version which does away with the hard-coded sdcard path. Keep an eye on the top post in this thread !

Not such a dumb question ... Most modems have an install mode where they look like a memory stick. PPPWidget takes care of the mode-switching automatically.

There are some devices which do have more than one "target" mode; they can act as a network card as well. The Linux kernel on Android is not likely to provide the correct drivers for this though, so we need the standard modem mode that you are mentioning.

Usually, you don't have to care about this if your modem is known and supported. Just plug it in ...
[Acer Iconia A500] faisol:
My top directory in root explorer shows that there is no sdcard folder but only external_sd. Sdcard is in mnt/sdcard. How can i create or restore sdcard folder in top directory? Pls help.

And thanks, waiting for the new version.
[Acer Iconia A500] JFDee:
The new version does not rely on the fixed path anymore.

I have just released version 1.00 to Google Play. :cool:
[Acer Iconia A500] Nexus Phreak:
Portuguese translation. Oh yeah! :good:
[Acer Iconia A500] JFDee:
At the time of writing this, version 1.00 can't be found in Play by searching directly.

You can get it though by searching for "Solitaire NG", viewing the details and then clicking "More from this developer" (that would be me ...)
[Acer Iconia A500] faisol:
Sorry for too much bothering you. But i can't access google play by my nokia mobile, so i can't download it. I have no wifi access in our area. So pls if u post the .apk in the thread i will be ever grateful.
[Acer Iconia A500] antukubo:
Nice! Downloaded and working flawlessly. Automatic Device Detection is working well with my modem (previously have to detect manually)
[Acer Iconia A500] csk213:
Does it make any difference, if it is loaded as system app. In the folder /system/app/pppwidget.apk