Cause of Chrome and Webview lag only solved by factory reset? - Galaxy S 5 Q&A, Help & Troubleshooting

Asked this in the Android help forum but reposting here in case its a GS5-specific issue somehow.
I have a Galaxy S5 (G900F) running official Samsung Marshmallow ROM, rooted with CF-Autoroot.
A short while back I found that on certain website (https://www.animenewsnetwork.com) Chrome would lock up for about 30 seconds with constant CPU usage by the sandboxed process every time when visiting the site or trying to change article list view type on the site. Clearing cache, uninstalling and reinstalling Chrome did not solve the problem. I am not sure if other websites were less smooth than they could have been otherwise but the problem was only especially apparent when trying to access the main page of this site.
Oddly the same problem would occur with any other browser that used Webview such as Lightning or Relay for Reddit's internal browser, but did not occur with Samsung's browser, and did not occur with Firefox. It also occurred with Chrome Beta and Chrome Dev. Disabling hosts file based ad blocking did not solve the problem either.
Eventually, after a full factory reset, the problem is no longer present, and Chrome is fully responsive when accessing this site again. My question is what could possibly have caused the problem in the first place, that causes Chrome and webviews to lock up when trying to render or re-render this page that isn't solved by reinstalling Chrome, so that I can avoid the problem in the future?

Related

Why is AdFree causing browsing to become slow/unusable?

Hi all,
Lately I've been having one hell of a headache because browsing on one network of mine is painfully slow. So much so it's not even worth trying.
It goes like this: Google.com and usually Google search results load instantly. No problem. Then anything beyond that (loading a result or manually inputting a URL) takes FOREVER and usually results in only the top of the page loading with the completion bar stuck on around 75%. Refreshing, clearing cache, etc. etc. made no difference.
It's def not a problem with the network - no other devices suffer and speed tests show no real slowdown.
I Googled a fair bit and found a couple of posts on other forums where people had the same problems with rooted devices. Someone suggested disabling AdFree and giving it ago. THIS FIXED IT! Disabling AdFree, for whatever reason, caused the slowdowns and partial loading of webpages to stop completely.
So my question is - why? As far as I'm aware AdFree just overwrites your HOSTS file with one which redirects ad servers back to 127.0.0.1, something we've all being doing on our PCs for years. It appears that this loopback to localhost is stopping nearly all of the rest of the webpage - everything bar the very top in many cases, possibly because that loads before the first 127.0.0.1 loopback.
So why does this happen under Android, or under certain Android builds? I'm using NexusHD2 based on Gingerbread 2.3.4.
Since reverting back to a clean hosts file, I've got no problem with browsing. Switching AdFree's host file back on causes the problem to return.
Bump!
Sent from my HTC HD2 (Android)

[Q] browser are force closing and more

This is my second Iconia, my first one I rooted the day I got it and 12 days later, my Iconia wouldnt stay connect to the internet. But anyways, I have tried Dolphin for Pad, Stock Browser, and even firefox for my Iconia. Everytime I browse a forum, or watch a simple video file on any of these browsers, it will force close. I have searched the forums to see if its a known problem or not. I typically will have no more than 2 tabs per browser open at a time. My question is, does anyone else have this problem, is there anything I can do to correct this?
The other issue I am having is, after switching over to a new tab the page will refresh itself losing its place/download progress of a video etc. Is there any way to correct this so it doesnt do that?
My Iconia is currently stock on 3.1 ( just in case I want to roll back to root access)
And this is happening with multiple browsers? If so, the refresh problem is also happening? That is extremely bizarre, and I unfortunately do not have much to offer than to let you know that this does not happen to me at all.
I can only confirm that this does not happen to me also, but I have applied all the latest updates, so maybe one of the updates has addressed this issue. Have you checking the system log (logcat or android system info app) to see what if any error is being thrown?
First of all, you need to update, 3.1 is so old school. Secondly, you can easily root 3.2 these days. Third, have you tried Opera, never had a problem with it. The other 2 you mentioned dolphin pad and firefox are beta releases.
Wow, that is kinda bizarre. I'm on rooted stock 3.2.1 and use Dolphin browser for tablets and don't have any of these problems. If you are interested in rooting and flashing a different ROM, I'd say go ahead and do it, and see if that fixes the issue. I generally read most of the posts on here, and have never seen anyone with a problem like yours. The closest thing I've had happen is the very occasional FC with Dolphin if I have tons of tabs open and try to DL a file or something. Sorry thats not much help, but maybe a new ROM might fix whatever is messed up for you.
Have you updated your Adobe Flash player in the marketplace? I had the same problem as yours before. Then I checked the market and there was an "update" button for adobe flash. So I updated, and the browser didn't for close after that.
I've got the same problem when a few apps are running in the background and when I try to open web pages that are a bit heavy (containing movies or large photographs, for instance).
I had the same problem with the stock browser and the Dolphin browser...
My guess is that the amount of RAM memory is not high enough... Maybe I'm wrong but it sounds to me simply logical.
No troubles for me either..
im wondering if you two are on the same sites d/loading playing the same videos..
i have issues with some site on my iconia netflix search function.. and similar boxes on other sites.. But some sites its fine..
i suggest do as told above.. get on a version of 3.21 try the honeylicious or other great near stock roms.. then if your trouble continue check with other web sites that you normally dont go to ..
Good Luck..
Thank's Renee
I will follow your advice and avoid webpages that include photos or videos.
castafiore said:
I've got the same problem when a few apps are running in the background and when I try to open web pages that are a bit heavy (containing movies or large photographs, for instance).
I had the same problem with the stock browser and the Dolphin browser...
My guess is that the amount of RAM memory is not high enough... Maybe I'm wrong but it sounds to me simply logical.
Click to expand...
Click to collapse
Yep, I agree.
You would be surprised the number of apps attempting to contact the Internet in the background. You could install 'Advanced Task Killer' (free version from the Android Market) and check if the RAM is running low prior to streaming a video.
HTC Desire
ROM: MIUI-XJ v2.2.10 (D2EXT X-PART)
Recovery: 4EXT Classic
Acer Iconia A500
ROM: civato-FLEXSTRIKER-R9.5

[Q] Google Chrome Stops loading webpages

Has anyone had an issue where Chrome stops rendering pages on the tabs? It looks like it loading and it loads blank pages. The only way I have been able to get it to work again is to force stop chrome and clear the cache, seems to be some issue loading pages after its been used for a little bit.
I use Task650 AOKP with Ktoonsez Kernel.. I havent quite been able to isolate what the issue is.

Browsers not saving in memory CM11.0

Hard to explain in the title with a few words, but both stock browser and dolphin are not saving in memory. Just upgraded to 11.0 CyanogenMod last night from 10.2.
Example: So if navigate to a webpage and it loads, then I hit the home button and go to my email, then come back to the browser, the webpage I was previously on is gone and the browser basically reloads and goes to my home page. My old version of CM kept the webpage in memory so I could always pick up where I left off. Same basic thing with Dolphin browser, except it remembers the last page but still has to reload it. Both browsers have default settings.
Other apps, like Google Maps and Gallery, remember where I was last time I exited the app. I can click on them and they come back up from where I left off before. This leads me to believe its related to the browsers only, which doesn't make sense to me.
One other side note... if I close an app, there is a half second refresh of my home screen as if its reloading it again and not saving it in memory. Kinda weird and maybe its related? My older version didn't have these issues. Any ideas I can try?
Update.
Flashed paranoid Android and everything working perfectly. No idea what happened with cm but something wasn't installed right on the system level. Mods can close this thread as solved.

Apps crashing when trying to load web content, Android System Webview problem?

Hi, so I've been having a serious issue with my Oneplus Two that I've been trying to troubleshoot for 2 months now and I feel like I've done everything but still have the issue. Wondering if I can get a second/third opinion or something.
My OS is currently Oxygen 2.2.0.
I've noticed many of my apps very frequently crash to the launcher when attempting to do specific actions. No messages, no "app has stopped responding". Just freeze, then launcher. These actions include:
* Opening an email in gmail
* Searching for something in Google now (what's funny is Google New will respond, and then mid-sentence stop, and boom crash, every time)
* Opening specific pages in the Steam app that looks like it loads web pages in the app?
* Pretty much every time a webpage is loaded in an app.
It doesn't crash every time, but I would say 85% of the time it does. After doing some research I started to look into the Android System Webview app as a possible source, since the phone runs flawlessly in every other aspect with no crashing, except when I specifically do those actions listed above. Also, when I notice that it keeps crashing, I've force stopped the Android System Webview app, then went and tried to open an email for example and it works. But 15 minutes later it begins crashing again.
What I've tried:
* Force stopped the ASW app
* Uninstalled all updates to ASW
* Re-installed the updates to ASW
* Factory reset the phone (what's funny about this one is even after factor resetting, there's a point in the initial setup where the setup app actually crashes when it tries to load the Google authenticator page and goes back to the beginning, thus making it impossible to complete the setup. Eventually after trying like 20 times it doesn't crash and allows you to complete.)
I'm convinced it's ASW and that's the only thing that makes sense, but I've tried everything to get it to work but this problem is still present across multiple factory resets and TWRP installations. I'm at a loss. Any ideas?
Strange, works great for me every time. Did you delete /Android/ folder when you resetet your phone? Maybe the failure sticks in there.
Donald Nice said:
Strange, works great for me every time. Did you delete /Android/ folder when you resetet your phone? Maybe the failure sticks in there.
Click to expand...
Click to collapse
No I didn't, I just did the standard TWRP wipe data/factory reset bit. I'll give that a shot though and see if it helps. Will edit back with results.
Uninstall updates of web view and see the difference.
If problem persists than format and don't update web view.

Categories

Resources