celbertin / apndroid

Automatically exported from code.google.com/p/apndroid
0 stars 0 forks source link

doesn't switch back on properly on Nexus One #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Switch data connection off for some time (e.g. 30min)
2. Switch back on

What is the expected output? What do you see instead?
Data connection via GPRS / 3G should work again. - EDGE (in my case, I've
disabled 3G generally) is displayed as online in the status bar. However,
no data transfer is possible.

What version of the product are you using? On what operating system?
Nexus One / Firmware v.2.1-update1
APNDroid: Latest version from Android Market

Please provide any additional information below.
Manually switching between valid / invalid APN in the settings menu works fine.

Original issue reported on code.google.com by el.aeri...@googlemail.com on 14 Feb 2010 at 5:20

GoogleCodeExporter commented 8 years ago
I have exactly the same problem - there is no data connection after switching 
on.
Data connection works only after soft reboot.

Phone: Nexus One with the oficial firmware 2.1-update1
APNDroid: Latest version from the Android Market

Original comment by Evgeniy....@gmail.com on 24 Feb 2010 at 6:47

GoogleCodeExporter commented 8 years ago
Same here in Italy with Nexus One and TIM Ibox connection. I have to reboot 
after 
Switch back ON to make the connection REALLY on.
All works fine manually switching between correct/uncorrect APN in the settings 
menu 
and without reboot the Nexus.
PS: the SAME problem happens with "Toggle Data" widget.

Original comment by alessand...@gmail.com on 24 Feb 2010 at 11:54

GoogleCodeExporter commented 8 years ago
Soon (this or next week) i'm going to come back to development and will try to 
fix
this problem. 

Original comment by zeldigas on 24 Feb 2010 at 11:59

GoogleCodeExporter commented 8 years ago
Great!!! This in the very ONLY issue I've noticed with my Nexus One!!!

Original comment by alessand...@gmail.com on 24 Feb 2010 at 1:56

GoogleCodeExporter commented 8 years ago
It would be great. 
By the way "Quick settings" doesn't work either.

Original comment by Evgeniy....@gmail.com on 24 Feb 2010 at 4:02

GoogleCodeExporter commented 8 years ago
It seems it is Android problem rather APNDroid problem.

After long trying of an access point OS gives up and marks it as "bad". I 
suppose so.
Or some kind of pppd issue.

Original comment by gou...@gmail.com on 2 Mar 2010 at 5:59

GoogleCodeExporter commented 8 years ago
r14 does not work also.

"E" appears, but only downlink (down arrow) blinks. Uplink (up arrow) never 
shows
until reboot.

Original comment by gou...@gmail.com on 3 Mar 2010 at 10:31

GoogleCodeExporter commented 8 years ago
I will have Nexus One soon (thanks Google :-) so I will be able to dive deeper 
into 
this.

Original comment by martin.adamek on 3 Mar 2010 at 10:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
You know, HTC Hero (HTC Sense) also have built-in possibility to disable 
internet
access. Without changing APN.
And it also does not reconnect. It seems it's common problem for Android 
devices, it
does not depend on Nexus or something like that.

And if APN is incorrent, does device try to reconnect to wrong APN constantly? 
Tries,
tries, tries?

Original comment by gou...@gmail.com on 5 Mar 2010 at 7:59

GoogleCodeExporter commented 8 years ago
Actually no Android device reconnects after turning APNDroid off, then working
through wifi, and then switching back. I had three.

Original comment by gou...@gmail.com on 5 Mar 2010 at 8:02

GoogleCodeExporter commented 8 years ago
It seems that r16 works!

Original comment by gou...@gmail.com on 13 Mar 2010 at 7:11

GoogleCodeExporter commented 8 years ago
No, it doesn't work =(
I was wrong.

Original comment by gou...@gmail.com on 14 Mar 2010 at 3:33

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
First you need to turn on APNDroid, then you may turn off Wi-Fi. Then it will 
use
GPRS, otherwise won't.

Original comment by gou...@gmail.com on 15 Mar 2010 at 10:33

GoogleCodeExporter commented 8 years ago
Reposting from priv. account, with additional info:
> I tried r16 for several days, and the success ration is way better than 
before. 
> It still happens that the connection restore is unsuccesfull, though :(

I just tried the following sequence:
1) With APN disabled by APNdroid, browse web over Wi-Fi.
2) Turn down Wi-Fi, try to browse web, get "unreachable" error.
3) Turn APN on using APNdroid, 3G instantly turns on and works correctly.

It sometimes fails to start, though. I have not been able to isolate any 
sequence of events that would make it 
work or not work.

Original comment by jan.wro...@gmail.com on 15 Mar 2010 at 4:16

GoogleCodeExporter commented 8 years ago
===quote===
Comment 11  by goujat, Mar 05, 2010

Actually no Android device reconnects after turning APNDroid off, then working
through wifi, and then switching back. I had three.
===unquote===
Same here (on my nexus one). Can't re-connect to internet after turning off 
wifi even
3G icon appears in taskbar.

Original comment by kazum...@gmail.com on 18 Mar 2010 at 12:13

GoogleCodeExporter commented 8 years ago
I've heard that other applications like Toggle Data do not rename APNs, instead 
they 
change the APN type from default or "mms" to "-" and then restore it back. It 
seems to 
work better than APN renaming and may help to solve this problem.

Original comment by sbara...@gmail.com on 18 Mar 2010 at 12:20

GoogleCodeExporter commented 8 years ago
Same problem here with a Nexus One and Simyo (Spanish carrier). The wifi or 
airplane
trick doesn't work for me either...

Original comment by loko...@gmail.com on 26 Mar 2010 at 8:38

GoogleCodeExporter commented 8 years ago
this is actually DNS and most probably pppd's problem. In described conditions 
It 
doesn't update DNS'es to GPRS/3G ones. However, trick with probing access when 
WiFi and 
APN toggled OFF and only after that toggling APN on works for me (at least once 
:)) 

Original comment by laplande...@gmail.com on 11 Apr 2010 at 1:14

GoogleCodeExporter commented 8 years ago
r17 doesn't work also.

Original comment by gou...@gmail.com on 19 Apr 2010 at 12:32

GoogleCodeExporter commented 8 years ago
Merging all the 'Not working' issues into Issue 12.

Original comment by martin.adamek on 19 Apr 2010 at 1:29

GoogleCodeExporter commented 8 years ago
I experienced the same problem. Still not fixed...WHY?

Original comment by cristian...@gmail.com on 30 Apr 2010 at 6:53

GoogleCodeExporter commented 8 years ago
It is hard to track down. I have new Nexus One and APNdroid works perfectly. 
But we 
will continue to hunt this bug!

Original comment by martin.adamek on 30 Apr 2010 at 6:56

GoogleCodeExporter commented 8 years ago
Easy: off internet, leave 10 min the phone and try to reconnect data. It wont 
work...

Original comment by cristian...@gmail.com on 30 Apr 2010 at 1:33

GoogleCodeExporter commented 8 years ago
I have the same problem with my nexus one and Simyo as carrier.

I'm a developer so I can send you logcats of my tries and everything that can 
help to
find a solution.

Original comment by loko...@gmail.com on 30 Apr 2010 at 3:22

GoogleCodeExporter commented 8 years ago
@cristiandan1970 I left my Nexus One with internet OFF for 4 hours, and then it 
just came back immediately. I 
am not saying it doesn't happen (for sure it does, we have many reports), I am 
just saying that I can't reproduce 
it, so fixing might be really complicated.

@lokoyaw yes please, send the logs, definitely would help!

Original comment by martin.adamek on 1 May 2010 at 7:53

GoogleCodeExporter commented 8 years ago
Ahaaa, I can reproduce now. That's good, I can deep dive into the problem now. 
Let's 
see.

Original comment by martin.adamek on 2 May 2010 at 7:21

GoogleCodeExporter commented 8 years ago
thank you so much el.aerisch, i finally dont need to restart my n1 everytime 
after 
enabling data using apndroid or QuickSetting. I used ur work ard under 
"Additional 
info", unfortunately no quick shortcut to that setting page, which means i have 
to 
click down 4 pages to get to the APNs. =)

Original comment by chris...@gmail.com on 3 May 2010 at 1:58

GoogleCodeExporter commented 8 years ago
@martin.adamek: being able to reproduce the error mean that soon will be fixed? 
Because 
I really appreciate your application...

Original comment by cristian...@gmail.com on 6 May 2010 at 6:44

GoogleCodeExporter commented 8 years ago
PS I would rise the Priority level since all of us using this application are 
facing 
the same issue...

Original comment by cristian...@gmail.com on 6 May 2010 at 6:46

GoogleCodeExporter commented 8 years ago
@cristiandan1970 well, this is my highest priority on APNdroid right now. I 
spent whole 
evening looking at android sources and debugging. Though I have no idea how 
long it 
will take to fix it :-(

Original comment by martin.adamek on 6 May 2010 at 7:58

GoogleCodeExporter commented 8 years ago
But you are concentrating on the nexus one? Would be cool for a fix for say the 
magic 
etc.

I assume there is something in android making it not retry APNs quickly enough 
or not 
at all.

Original comment by sop...@gmail.com on 6 May 2010 at 8:00

GoogleCodeExporter commented 8 years ago
I have Nexus One where I can reproduce it, but that doesn't mean I am 
concentrating on 
N1. I think it is general issue.

Original comment by martin.adamek on 6 May 2010 at 8:07

GoogleCodeExporter commented 8 years ago
Thank you for your time spent on this. I'read about some DNS change but I'm not 
sure this is the issue.

Original comment by cristian...@gmail.com on 6 May 2010 at 2:08

GoogleCodeExporter commented 8 years ago
Here are some findings that might be useful?

If APN is on and before switching on/off Wifi, the problem is much less likely 
to
occur. But if Wifi is being switch on/off when APN is off, then the problem 
would occur.

Hope that helps?

Original comment by ackaz...@gmail.com on 9 May 2010 at 3:20

GoogleCodeExporter commented 8 years ago
I am reopening this one as all discuccion happens right here.
I just found this interesting info from cyanogen issues: 
http://code.google.com/p/cyanogenmod/issues/detail?
id=1320

Original comment by martin.adamek on 9 May 2010 at 3:54

GoogleCodeExporter commented 8 years ago
And also bug in Android itself: 
https://code.google.com/p/android/issues/detail?id=2207

Original comment by martin.adamek on 9 May 2010 at 8:29

GoogleCodeExporter commented 8 years ago
can't wait for Nexus One fix to rectify 'not toggling back APN settings'. What 
do you 
mean "Uninstall with enabled Internet access. Otehrwsie YOu'll need to change 
APNs 
manually" ?? Could this be the toggle issue on N1? Please explain?

Original comment by dukezon...@gmail.com on 13 May 2010 at 8:26

GoogleCodeExporter commented 8 years ago
No this note just tell that if you remove APNdroid in the off state you'll have 
to
restore apn entries manually. This thing does not lost connection bug

Original comment by zeldigas on 13 May 2010 at 8:43

GoogleCodeExporter commented 8 years ago
I love apndroid, but it doesn't properly turn back on the data access for me on 
my
Nexus One. As a workaround, instead of using apndroid, I ended up creating 
another
fake APN and if I want to turn off data, I just switch to it. Turning data back 
on by
switching back to the proper APN seems to work every time for me. Is there a way
apndroid could mimic this behavior?

I wrote a simple app that calls the APN settings configuration dialog on my 
device to
make switching APNs easier. If anyone is struggling with this bug as well, and 
wants
to use my hack, here's a link to what I wrote: 
http://jmdsdf.yi.org/share/ApnSettings.apk

Original comment by jmd...@gmail.com on 15 May 2010 at 7:52

GoogleCodeExporter commented 8 years ago
@jmdsdf On my Nexus One creating fake APN doesn't work, phone always selects 
the correct one :-( Problem 
with turning back the data connection is a very popular bug in Android itself - 
look at 
https://code.google.com/p/android/issues/detail?id=2207

Original comment by martin.adamek on 15 May 2010 at 7:57

GoogleCodeExporter commented 8 years ago
@martin.adamek What you are saying is strange. Are you sure you have selected 
the
fake APN? (indicated with a green dot on the right beside the name) It works
perfectly on mine. My Nexus One does not automatically select the working APN 
when I
have the non-working APN selected.

Here are two screen shots I took with DDMS of what I see:
http://jmdsdf.yi.org/blog/media/blogs/jmdsdf/2010_0515_nointernet.png
http://jmdsdf.yi.org/blog/media/blogs/jmdsdf/2010_0515_internet.png

Original comment by jmd...@gmail.com on 15 May 2010 at 10:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I do exactly the same thing with fake APN :) 
To force Nexus One to not to switch to the working APN you have to set fake 
APN's type 
as "default".

Original comment by Evgeniy....@gmail.com on 15 May 2010 at 10:26

GoogleCodeExporter commented 8 years ago
@jmdsdf I'll have to try Evegeniy's suggestion with APN type

Original comment by martin.adamek on 17 May 2010 at 2:01

GoogleCodeExporter commented 8 years ago
Any news? Maybe is fixed in Android 2.2?

Original comment by cristian...@gmail.com on 23 May 2010 at 7:23

GoogleCodeExporter commented 8 years ago
Android 2.2 itself contains data on/off switch (have a look at the attached 
screenshot). I didn't have enough 
time, but I didn't see this reconnect problem so far (doesn't mean it's not 
there). Other than that, we have also 
new way of turning data on/off without modifiing APNs that could be ready to 
test in few days. With this method 
and short testing I didn't see this problem either (but personnally I think it 
is there, because Android bug 2207 is 
not fixed yet)

Original comment by martin.adamek on 24 May 2010 at 6:06

GoogleCodeExporter commented 8 years ago
Android 2.2 itself contains data on/off switch (have a look at the attached 
screenshot). I didn't have enough 
time, but I didn't see this reconnect problem so far (doesn't mean it's not 
there). Other than that, we have also 
new way of turning data on/off without modifiing APNs that could be ready to 
test in few days. With this method 
and short testing I didn't see this problem either (but personnally I think it 
is there, because Android bug 2207 is 
not fixed yet)

Original comment by martin.adamek on 24 May 2010 at 6:07

GoogleCodeExporter commented 8 years ago
That's cool. I didn't see a screen shot, but on Froyo I see it under Menu | 
Settings | 
Wireless & Networks | Mobile Networks | Data enabled. By the way, the app & 
idea I 
posted still works well under Android 2.2 on my Nexus One.

Original comment by jmd...@gmail.com on 26 May 2010 at 12:33