|HELP| - WIFI connection drops on Amazon Fire 5th Gen - CM12.1 - Fire Q&A, Help & Troubleshooting

Hello everybody,
I have a wifi connection drop issue with my Amazon Fire tablet - running CM12.1 (Unofficial Ford) - Build 30th May 2016 - however, the issue persists since I first replaced the FireOS with CM12.1 (a December 2015 build) using SuperTool.
As long as the fire does not fall into sleep mode, everything's fine with the wifi connection. However, I'd like to use the tablet as a Streaming device for Services like Spotify or Amazon Prime Music via BlueTooth to my HiFi-System. After a certain time (time duration varies), the wifi connection drops in the power savings mode and therefore, the music stops playing of course. If I unlock the screen at this point, the wifi connection re-establishes and the music resumes playing. I already checked, if the energy savings options are configured in that way, that the wifi connection is up all time.
I've done a lot of investigation (with my limited knowledge about the system), however I was not able to find the root cause of this issue
Not sure, if this is important, but I have a AVM Fritzbox 7490 as Wifi Access Point.
A few days ago, I did a clean install of CM12.1 (Build 30th May) using FlashFire and even after the clean install, the issue re-appers. :crying:
I would really appreciate, if someone can point me in the right direction, how to fix this issue or even where to look at.
If this is a known issue, please bear with me, however the search function in this forum presents an error message, if I search in the CM12.1 Main thread for the Fire tablet, saying:
"Sorry, we encountered an error processing your request. Please go back and retry or wait a minute.
The Administrators have been notified of this error"
Thanks and Cheers from Germany
Puempel

Related

[q] pptp vpn

I have a PPTP account with HideIPVPN which works perfectly on my iPod Touch and on my XP computers. It does not work on my Motorola Milestone - the connection is "successful" but no data gets through. At some point on some build of Froyo (I can't remember which), I was quite successfully able to use this VPN on my Nexus One for long extended periods to listen to Pandora Radio.
Recently I tried CyanogenMod 6 RC3, and to my disappointment, I could connect to the VPN but not get any data to go through. So I restored to my nandroid backup on FRF91 (which I'd originally applied via the pre-rooted update.zip). I retried the VPN and it works but after 30-90 seconds the data cuts out and won't work anymore.
Has anyone here had consistent success with a PPTP VPN on FRF91 or CM6 RC3? If so, did you have to do anything special to make it work?
Thanks
Charles
The "cut out" might be related to WiFi keepalive bug. Keep the phone awake and see if the connection still cuts out.
Jack_R1 said:
The "cut out" might be related to WiFi keepalive bug. Keep the phone awake and see if the connection still cuts out.
Click to expand...
Click to collapse
The phone remains awake the whole time. I connect to the VPN and then immediately jump to browser. I load one page and it pulls down successfully. Then I keep clicking links; after the second or third one nothing works anymore, and no apps are able to see data until I disconnect the VPN. This is reproducible.
On my iPod Touch, the same procedure does not have any trouble - I can connect to the VPN and browse for hours.
I located the post on HowardForums where I reported my success with VPN + Pandora on Froyo. It was June 6th, and at that time the latest Froyo build was FRF50.
So I've taken a nandroid backup and I'm going to try a little experiment... roll back to FRF50 via pre-rooted update.zip and see if PPTP works on that build. Don't know if my phone will have a problem with rolling backwards but worst case I can just restore.
Rollback test #1: Didn't clear data/cache first time round. Same results as before, ability to browse cuts out within about 30 seconds of the VPN connection.
Test #2: Wiped cache/data to get a blank (but still rooted) FRF50. Same results again... first page or two I browse to will load but then nothing else will.
Could rooting the phone somehow have destroyed the ability to use a PPTP VPN? So strange, I just can't figure out why it worked in June and not anymore today.
Ah well, since I can't get it working on *any* build right now, might as well go back to CM6 and try out the new stable mod. And I'll keep hoping/wishing/etc for a solution to this problem. Any ideas are welcome.
Well this is interesting. I can't get the VPN to work from my home or office wifi (and it works on both with iPod Touch) - but - when I brought my N1 into a WIND Mobile store and tried their test SIM, I was able to connect to the VPN over 3G just perfectly. The connection didn't stall out and I was able to listen to Pandora through the tunnel. This was using CyanogenMod 6.
I wonder why it's not working on wifi?
Am I the only one who cares about this, or is nobody else experiencing the same bug?
Same problem on the Galaxy S. I think its an Android issue, rather than phone. I understand, though never tested, that it works when doing VPN to a linux box, but never to windows or something like a cisco appliance.
OpenVPN works, but takes a fair amount of messing about to get it working.
On CyanogenMod 6.1 / 6.1.1, I can sometimes stay connected now to a PPTP VPN for 5-15 minutes at a time over Wifi. Not sure when it changed.

"Keep Wi-Fi on during sleep" not working? (CM10.2)

I have an app on my HD+ which is configured to download data once a day, at a time which happens to be when I am not usually using the device. The configuration setting tells the app only to do the download if wi-fi is available - obviously it can't download anything if wi-fi is off, since the Nook HD+ has no 3G. This scheduled download function doesn't seem to work.
I've noticed more recently that I only get mail notifications when I'm using the Nook HD+. That suggests to me that wi-fi isn't on when the device is sleeping, although I have specifically configured it to stay on.
Has anyone else seen this sort of behaviour, or have any suggestion how to fix it?
ejstubbs said:
I have an app on my HD+ which is configured to download data once a day, at a time which happens to be when I am not usually using the device. The configuration setting tells the app only to do the download if wi-fi is available - obviously it can't download anything if wi-fi is off, since the Nook HD+ has no 3G. This scheduled download function doesn't seem to work.
I've noticed more recently that I only get mail notifications when I'm using the Nook HD+. That suggests to me that wi-fi isn't on when the device is sleeping, although I have specifically configured it to stay on.
Has anyone else seen this sort of behaviour, or have any suggestion how to fix it?
Click to expand...
Click to collapse
Yes, but it wasn't or isn't nook device specific as in it happens on other devices.
If you search on google for the "android orange wifi icon" people have ideas how to fix it, though none of them worked when I tried.
(The wifi icon in the quick settings list should be orange (swipe very right side of status bar) ) This should switch to normal working color soon or very quickly after waking the device from sleep as wifi becomes available again and reaches google''s servers.
I have not noticed this on the nook hd+ since cm11 M8 as it does indeed download stuff all the time from wifi during sleep state. And that is basically all I can tell you as I have never found an actual fix (othen then a non-cm rom). It really does appear to be fixed on cm11's newest builds, yet someone else would have to confirm that.
The other thing you can do it download an app like "wifi fixer" that tests the wifi and fixes it when the wifi stops working during sleep. But, it isn't perfect and the problem will still occur only far less. Since your device is doing stuff at specific time it should then work the majority of the time and not all the time.
You could also do a full recovery backup and just test with cm11 m9 build then just go back and restore the backup if the problem occurred.
Warning for cm11: The recovery is different. cm10 and cm11 based recovery are not compatible. So to test you would need access to both recovery. I actually have cm10 recovery on internal and cm11 recovery on sdcard which works well other then reboots and ejecting the sdcard.
Don't know if there's any newer build available for cm10.2 or if you have the last/latest one, but if there is then updating could be another way as well as it could have been fixed.
Update: I have noticed it once recently. Though the tablet still pulls down stuff all the time from the net while sleeping.

Extremely long Wi-Fi access times

My WiFi has issues opening new connections, like checking my email can take anything from a normal 1 second to just sit there and spin for 30 seconds.
This gets worse if I ask the email client to check all three accounts at the same time.
Opening say facebook through a bookmark on the start screen, can either load instantly, or just show a white screen until I force close Chrome and retry.
I never get an actual timeout error, but it'll keep loading some items between 10 seconds, to just never connecting.
When I do a speed check, there's no issue, I get the same 12 Mbps as the wired computer, assuming it'll actually start downloading.
On the play store there's broken downloads though, it'll download at max speed instantly, but then hang in the middle until I force stop the play store (or reboot).
If I let it sit long enough, it might resume but often with corrupt downloads as a result.
I've had this problem for a while now, and I've tried connecting to various other networks with completely different configurations and it's pretty much consistent.
Disabling WiFi and using the LTE network instead, it doesn't display this behaviour at all, so it has to be something with the WiFi.
Has anyone else had this? I can't find anything useful through the search or google, they all suggest I do this and that on my router, but the other devices work fine.
Tested with the HTC M7, an old Motorola Razr, even the now ancient Moto XT720 has no issues.
If you are in the stock Lollipop 5.0, then you should check your logcat (or use CatLog app in PlayStore if you are rooted).
There are many many WifiStateMachine errors that are logged each second.... I made a thread about it:
http://forum.xda-developers.com/moto-x-2014/help/xt1095-pure-edition-stock-5-0-major-t3002124
I reverted back to 4.4.4 and had no more of those errors.
eyeoncomputers said:
If you are in the stock Lollipop 5.0, then you should check your logcat (or use CatLog app in PlayStore if you are rooted).
There are many many WifiStateMachine errors that are logged each second.... I made a thread about it:
http://forum.xda-developers.com/moto-x-2014/help/xt1095-pure-edition-stock-5-0-major-t3002124
I reverted back to 4.4.4 and had no more of those errors.
Click to expand...
Click to collapse
I checked your thread, and I had a bug like that on 4.4.4 actually.
Where it would work fine, go to sleep then not wake up again.
For me, it was a game from humble bundle that triggered this, "The Deer God"
There was another game on play that did the same, but I can't remember the name of that one.
After I emailed the devs of Deer God, they oddly found the bug immediately and their new version didn't have this problem.
I didn't even send them a log file or anything.. Which was weird.
So far this never happened after upgrading to Lollipop though.
My WiFi problems disappeared at work, but remained at home.
Thinking it was the router, I borrowed a WiFi repeater but the problem still occurred.
Even when I used the repeater as a hotspot with cable.
I was about to give up, and just use my 4G all the time..
But I installed DD-WRT, and lo and behold, WiFi works flawlessly?!
It's not like I'm using a cheap rubbish router, it's the Netgear Nighthawk for crying out loud..
You'd think the software for it would be well coded considering how long they've been doing these devices...

WiFi failing

I've owned over a dozen Nooks: two of each model except the new Glowlight (no uSD card slot). I've never had a significant problem with WiFi, until now. Any transient problems were infrequent, and were cured by either power-cycling the WiFi router, or cycling WiFi on the Nook (HD+).
About a year ago I abandoned B&N firmware and installed CM11 on the HD+. It's been stable and I've never updated it.
Recently I've had to cycle WiFi on the HD+ more often, but this last week that has not worked, nor has cycling power on the router. I've had to reboot the HD+, and then WiFi seems to work at full strength and speed.
Fortunately, I do very little on WiFi; 95% of my WiFi usage is updating the few apps I have. Virtually all of my use of the HD+ is displaying FAA instrument charts, which I download onto the HD+ every 28 days via USB.
So, if the WiFi were to fail completely, it would just mean that I would have to perform any app updates via USB. Given the annoyance of doing that, I would probably be happy with the status quo.
In the past 3+ years on the B&N forums, I occasionally seen complaints about WiFi problems, and can't really tell if they've been operator error, router problems, or Nook issues (I suspect a bit of each). However, in my case it seems clear that the WiFi chip is failing, which I find curious.

How to get Tasker to *actually* connect/disconnect VPN?

I have a problem with my recently purchased Tasker app. I tried posting on the official Tasker forum (https://tasker.helprace.com/s1-general/problems/top) but after I would click submit, nothing would come up. If anyone knows how to get in contact with the developers other than leaving a negative review on the Play Store that would be much appreciated.
I have a Samsung Galaxy S9 (not rooted) running whatever the latest version OS (Pie I want to say?).
I have a simple Profile setup to Connect to VPN when Wifi is connected, and Disconnect from VPN when Wifi is disconnected (as an Exit task) using the OpenVPN Tasker Plugin.
On rare occasion, everything works as expected.
Unfortunately, the majority of the time, it will indeed recognize the correct state (Wifi Connected), however, it will not connect to the VPN. When I go into Tasker, I see the Profile is green text, and if I go to More>Run Log I can see that it says something to the extent of:
"Active 2 Wifi Connected" then "Start TaskService" then "Running 3 VPN Connect" then "OK 3.1 VPN Connect.com.ffrog8.openVpnTaskerPlugin\n***\n*!" then "ExitOK 3 VPN Connect" then "Stop TaskService" (this is all in reverse order, since I think the run log puts the newest events at the top, but this is how I read them from bottom up).
Tasker even says 1 Task running on the notification bar on my lock screen. However the VPN is not connected. If I go into Tasker, turn off that profile, then turn it on again (via the toggle switch on the right hand side), the VPN will connect as expected and the run log will say the same exact thing.
Likewise for the Exit Task - when I disconnect from the network Tasker seems to recognize the state just fine (evident in Run Log and notification icon in lock screen), however my VPN remains connected (well my guess is it must disconnect for a short period as I transition from Wifi to 4g).
I have tried waiting a while to see if it's just a time issue, but I could wait hours and it will never trigger one way or the other (VPN Connect or VPN Disconnect). I have tried different Wifi networks. The Wifi State Active = "Any". In Android Settings>Apps>Tasker>Battery the toggle for "Allow background activity" is set to on, Optimize Battery Usage is set to off. Likewise for OpenVpn Tasker Plugin.
*Joao or anyone have any ideas?
Many thanks.
Troubleshooting = Because a Piece of Code went
Sorry to say that it looks like I am the 1st reply, as I have no real training in coding or programming myself.
I too recently began to play with such though with the intent to install it on some family member's devices ? However, like you I have not been able to get my desired automation regular enough to share it. When I 1st downloaded Tasker (I think) it had something about a "community" to share & get help with as well as more.
Trying to be helpful I ran a quick search for the specific site & as usual, Google had to go overboard with the results. Still hoping this will help you sooner as they all focus on that particular program:
https://community.home-assistant.io/t/tutorial-using-the-new-auth-system-with-tasker/82423
Just wondering if all the changes to Android OS as a whole may also have an affect on something minor such as whatever we choose to do with "automation" programming? Have seen throughout various post's & news that sort of thing....
for any other poor soul with the same problem, I read a couple of obscure comments on the interweb that the OpenVPN plugin for Tasker is no longer functioning, and all must be run through the Open VPN Connect app (NOT Open VPN for Android app) using intents. I found a guide once, and am testing it now and will report back if it works more reliably. Thank you Lone wolf for your reply.
just to update the poor souls, using intents like I said seems to work more reliably in terms of connecting to VPN. The only problem is if you go out of wifi range, it disconnects, but then are back within wifi range quickly (like somewhere with bad wifi signal), it will not connect again for some reason.

Categories

Resources