Android 8.1 killing VPN - Android Q&A, Help & Troubleshooting

I have an Alcatel Tetra running Android 8.1. Any always on VPN app is getting killed for some reason. It's definitely not a high memory user, and I've whitelisted it in every optimization setting I can find. I talked to the app developer, and they said Android is killing it. 8s there any way to prevent this? Like an app or setting? I'd prefer not to have to root my device, as it's new enough that there may not be a way yet(released September 2018)

Turns out Android 8 has an extra layer of security that doesn't allow apps to "monitor" their data.VPN apps have yet to adapt to that.So,some of them are getting killed.But big companies are fine.I use VPS Express Premium and faced Nothing on my New Pixel While some apps get killed.
Sent from my Pixel 3 XL using Tapatalk

Atifbaig786 said:
Turns out Android 8 has an extra layer of security that doesn't allow apps to "monitor" their data.VPN apps have yet to adapt to that.So,some of them are getting killed.But big companies are fine.I use VPS Express Premium and faced Nothing on my New Pixel While some apps get killed.
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
I've been told by the developer that they've adapted to Oreo, but Android still randomly kills it. It has a watchdog process, a persistent notification, and a high priority. It use ~157mb ram on a 2gb ram Alcatel Raven. Any help appreciated

I don't know about that but on Pixel 3 XL not many VPNs work.I only get 2-3 apps working.Maybe a daemon is killing them due to low ram warning as your ram is too low and 150+ is a lot of ram for a background network process combined with other apps and the new system memory hog Android Oreo UI.You might want to compile a kernel which allows app memory allocation or swap support to stop this from happening.Also log them to see why or what killed them.
Sent from my Pixel 3 XL using Tapatalk

Atifbaig786 said:
I don't know about that but on Pixel 3 XL not many VPNs work.I only get 2-3 apps working.Maybe a daemon is killing them due to low ram warning as your ram is too low and 150+ is a lot of ram for a background network process combined with other apps and the new system memory hog Android Oreo UI.You might want to compile a kernel which allows app memory allocation or swap support to stop this from happening.Also log them to see why or what killed them.
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
Not likely. According to Android, I average 1.3 to 1.4gb ram used. And system ui had always been a ram hog. It's essentially what makes the Android gui work. And it's not like it dies when I should be low on ram, like a game that I play that averages 579mb. Then it didn't die. My biggest thing, is there an app that will act as a watchdog? My antivirus has a companion app for that, but it only watches the antivirus
I used to use KeepRunning, but it doesn't work on 7.0+

There are a lot of apps that logs for you even in rooted mode.I've never had the need to install any so I don't know about any.
Sent from my Pixel 3 XL using Tapatalk

UPDATE:
I, for the most part, solved my problem. It was a pre installed app called smart manager (com.tct.onetouchbooster) indiscriminately killing background apps. Used ADB to remove it (for user 0), and the VPN now works.
**Alcatel users, please ensure (if apps are not started on boot or killed) to remove Smart Manager via ADB**
Sent from my Alcatel 5041C using XDA Labs

Nice I missed this
clcombs262 said:
UPDATE:
I, for the most part, solved my problem. It was a pre installed app called smart manager (com.tct.onetouchbooster) indiscriminately killing background apps. Used ADB to remove it (for user 0), and the VPN now works.
**Alcatel users, please ensure (if apps are not started on boot or killed) to remove Smart Manager via ADB**
Sent from my Alcatel 5041C using XDA Labs
Click to expand...
Click to collapse
Visit us over here for everything awesome on alcatel Tetra,
Root
roms
Tools
recoveries
https://t.me/Android_General_Chat

Related

Help with deleting ram hogging apps

I recently installed a Rom and the ram is consistently at 700mb can anyone advise me on how to lower this say yo 500 - 600mb.
Also is there a app or task manager that will allow me to decide what apps I want to stay open and what ones close after a pre defined time. Dont know if im thinking ahead with this app
Sent from my GT-I9300 using xda app-developers app
V6 supercharge and greenify, Google these
Actually it doesn't really matter about RAM...
Sent from my GT-I9300 using xda premium
Thanks
I gave greenify a go looks pretty promising, once I actually get the hang of it
Sent from my GT-I9300 using xda app-developers app
Are you managing app auto starts? If not get LBE Security Master and set which apps you want to start up after booting. That will save you some RAM.
m0cha5hake said:
Are you managing app auto starts? If not get LBE Security Master and set which apps you want to start up after booting. That will save you some RAM.
Click to expand...
Click to collapse
actually i have been using LEB for a year or so, and only use it as bandwidth monitor ... that function about disable autostart seems is not very working well because my RAM always got over 700+ MB.
but anyway , consider the Android's RAM management which is quite different to Windows , so i am fine with that ...
just my music player get killed frequently which is very annoying !!!
jcurran.jc said:
I recently installed a Rom and the ram is consistently at 700mb can anyone advise me on how to lower this say yo 500 - 600mb.
Also is there a app or task manager that will allow me to decide what apps I want to stay open and what ones close after a pre defined time. Dont know if im thinking ahead with this app
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Freeze some things with titanium backup. Greenify apps you don't need running in the background. I normally always have around 180mb of ram free with widgets on the homescreen, messaging and exdialer in memory, whatsapp, headset manager, google services, quickpic, Facebook notifications etc. Personally not a fan of Swap/ZRam/Supercharger. My best experience has easily been running stock or WanamLite with no tweaks/build.prop edits other than Jkay Deluxe. Also, Perseus kernel has some ram modifications in the kernel so you get an extra 20mb or so of ram
Still do not understand why people want more free RAM; free RAM is doing nothing, while RAM that is being used is caching apps in memory so it can be loaded faster, making a more responsive system. Please research. With that being said, too much RAM usage is not good; about 5% (45mbs on our GS3) should always be left idle.
qtwrk said:
actually i have been using LEB for a year or so, and only use it as bandwidth monitor ... that function about disable autostart seems is not very working well because my RAM always got over 700+ MB.
but anyway , consider the Android's RAM management which is quite different to Windows , so i am fine with that ...
just my music player get killed frequently which is very annoying !!!
Click to expand...
Click to collapse
If you want more ram then you must setup which apps can launch in the background after startup. These are the apps that eat ram because they begin running by themselves and continue running even if you never use them. Of the 80+ plus apps that I have only 4 of them are allowed to startup on boot.

Question about ram usage

Well as the title says
I first had a stock s2 and the memory usage would always be 700+
In the task manager and it would close 28 apps and go down but always after doing stuff its back to 700+
Now i rooted the phone and deleted all apps i did not use like google+ chaton and all the stock samsung stuff thinking it would improve but it wont
Does anyone have any clue either how to stop these 28 things from running or all the time or see wat they actually are
Any help or tips appreciated
Gr.
Boss
Sent from my GT-I9100 using xda premium
The short version re: Android & memory is - as Android is a Linux 'variant', and Linux variants don't like 'free memory', Android will reserve as much free memory as possible in order to make it immediately available when required (so there's no killing some processes in order to run other processes for example), it will also keep memory in reserve for apps you've recently closed/apps that are used a lot even after you close them in order to start them more quickly/get them up to speed when you do want to use them
Constantly manually 'freeing up' memory will actually make your phone less responsive.
In other words, let Android do its thing. People on here/elsewhere obsess about free memory because they're used to Windoze & even other phones/OS's.
This is the 'plain language' explanation, if you want the technicals, they're easily found online.
Edit - This is also a good explanation of how/why it works.
Thanks wasnt aware of the ram thing like this bit it sounds logic
But why are there 28things running ?
Makes nu sense to me
Sent from my GT-I9100 using xda premium
Depends what those 28 process are.
With all operating systems, there's a lot of system processes running at any given time, Android is no exception to this.
You should never need to 'free up memory', and the only time you should need to manually close an app (with a task killer or similar) is if it's badly coded & doesn't exit 'gracefully' (99% of apps do these days).
What is a program u can advice me to use to check what is running (free app) preffered
Thanks
Sent from my GT-I9100 using xda premium
Internal config option
KooolaNL said:
What is a program u can advice me to use to check what is running (free app) preffered
Thanks
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
You don't need any app to see what is running; go to Settings / Applications and choose "Running" tab. It will show you the processes and services that are currently in use. Depending on the version of your Android, you will have an additional option already visible at bottom or available via menu: "show cache processes"; these are the processes for which Android reserved some memory in order to quickly re-execute them (like MistahBungle explained above.
Regards.

Not understanding Greenify at all

I understand the whole approach Android uses to memory management as opposed to Windows etc....
I also found this blurb below
It's important to note that Greenify is not a task killer (which you shouldn't use anyway), and it doesn't "freeze" apps. The apps that Greenify hibernates are still usable if you want to switch to them, and you can still pass data to them as though they were running. When you switch back to them, it's like you never left. Greenify just keeps those apps from launching new background processes (a problem with task killers) and you don't have to unfreeze or thaw an app to use it when you want to (a problem with "frozen apps").
Click to expand...
Click to collapse
But here is what I don't understand:
1) Even though it isn't a Task Killer per-say, it sure sounds like an advanced task killer to me. If it is preventing something from starting up, it is killing it.
2) What benefit is Greenify supposed to have? Having all (by all I mean maybe 5 at most) desired apps hibernating, I have 700MB of free memory (using xposed method). If I remove Greenify I have 1.5GB of free RAM. These numbers are with ALL applications already open since boot that I use on a daily basis.
While full memory is not a bad thing in Android, how can it be better having 1 app hog all of the memory vs having 5 apps running in the background using less memory. Can someone shed some further light on this?
mikemikemikexxx said:
While full memory is not a bad thing in Android, how can it be better having 1 app hog all of the memory vs having 5 apps running in the background using less memory. Can someone shed some further light on this?
Click to expand...
Click to collapse
If I understand you correctly you're saying that greenify uses a lot of ram? Greenify for me is idling at 5-7 mb of ram all for time.
cAase said:
If I understand you correctly you're saying that greenify uses a lot of ram? Greenify for me is idling at 5-7 mb of ram all for time.
Click to expand...
Click to collapse
Correct, it was literally using around 700Mb. I rebooted to make sure it wasn't a fluke. I removed Greenify, rebooted again and had 1.5Gb free Ram
mikemikemikexxx said:
Correct, it was literally using around 700Mb. I rebooted to make sure it wasn't a fluke. I removed Greenify, rebooted again and had 1.5Gb free Ram
Click to expand...
Click to collapse
Sounds completely weird.
the main benefit of greenify is the point that it prevents apps from starting (they are frozen untill you open them) this way the apps can't force wakelocks and your device kann stay in deepsleep state longer
mikemikemikexxx said:
Correct, it was literally using around 700Mb. I rebooted to make sure it wasn't a fluke. I removed Greenify, rebooted again and had 1.5Gb free Ram
Click to expand...
Click to collapse
As I understand, greenify to me is more to battery saver depends on stopping unwanted and unneeded wakelock when app is Greenified. Also as I understand, when an apps launch or relaunched, it will consume more ram in normal way (without being Greenified).
Try this, its not a solution, more to suggestion. Try use Wake Lock Detector along with Greenify, one app will detect the problem and another will execute an action to prevent "unwanted battery and RAM usage".
Above all, it depends on how and what method of modding you perform on your device.
Its just my logic thought(not black n white proven). Hope it will help us a little.
i8190n SlimKat9.0(Android-Andi)
But all the settings. It won't let me hibernate the apps before I've completed 10 - 15 settings and there are no explanations to what the settings are. Greentify is totally useless if you're not a techie.
RolfyBerg said:
But all the settings. It won't let me hibernate the apps before I've completed 10 - 15 settings and there are no explanations to what the settings are. Greentify is totally useless if you're not a techie.
Click to expand...
Click to collapse
Well - not my experience; defaults work well on most devices. There are brief in-app explainations for many options with expanded material in FAQs, XDA forum and G+ pages. Best consider an iDevice if you need/want handholding; genius bars everywhere.

BAD Nougat RAM management (all devices with pure android)

Hi eveyone,
Title tells you everything. Why i made this conclusion? Because android nougat system uses all your RAM in vain.(I would like to mention that Linux os is famous for its low ram usage and fast ui so, google, why android is using so much RAM?) . Any installed app data which are stored on your Ram on a boot, so why apps are slowly opening,Why they are reloading everytime when switching back to that app? All apps which are running in multitasking mode(recents apps) when switching between apps , app is reloading but not switching to the last opened moment. Also there are some other bad behaviour like when youre updating your apps through google play store. If you switch to another app , google play app stops doing update process. These problems gets pixel and nexus devices and all devices which uses ROMs based on aosp or lineage.
I'm on a purenexus(aosp) rom and My device (kenzo)uses 1.8/1.8 GB of ram. It's a real problem. Comparing samsung galaxy s8 vs pixel device you can see what i'm talking about. (Youtube link is below) Why OEMs gets better results with their own UI and kernel customizations? Atleast, Can we get better Ram management on android o with stock kernel? I'm not talking about apple's iOS which is better in multitasking in any way..
https://youtu.be/UK8K-lhDFVw
I would like to get your opinion and suggestions how to improve RAM management on nougat. Atleast prove me that you don't have these my mentioned problems (please tell me your using ROM name, kernel and other mods you use).
Tried a lot ROMS but after some days of usage they end with poor ui performance with bad ram management behaviour..
Some saintly person with infinite knowledge is coming here to tell you that "free ram is wasted ram".
He won't care if your phone lags, apps reload and ui is unresponsive. He'll just repeat his favorite phrase.
"Free ram is wasted ram."
Let's see the first Saint's comment.
Oh and btw..
I'm facing the exact same problem. And I'm very pissed off with these saintly people repeating their favorite phrase. No solution found so far. Use greenify on as many apps as you can. It'll cause the problem to be a little more bearable.
Sent from my Redmi Note 3 using Tapatalk
Use custom kernel.
Also lately play services started hogging ram so I disabled some of the services :
https://www.dropbox.com/sh/ibsk0e1yens5suc/AACU4nhZGu0UuBcwHV1VT2pLa?dl=0
Third if you have social media apps running they are the culprit, my gfs s7e lagged with Facebook, Instagram, viber, whatsapp etc.
Greenify solved the issue.
1emrys1 said:
Some saintly person with infinite knowledge is coming here to tell you that "free ram is wasted ram".
He won't care if your phone lags, apps reload and ui is unresponsive. He'll just repeat his favorite phrase.
"Free ram is wasted ram."
Let's see the first Saint's comment.
Oh and btw..
I'm facing the exact same problem. And I'm very pissed off with these saintly people repeating their favorite phrase. No solution found so far. Use greenify on as many apps as you can. It'll cause the problem to be a little more bearable.
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
LOL so true, I was just thinking the same ? They'll say free ram is wasted but that's not true for a multitasker, like me, because I like to use 4 apps and be able to switch amongst them without reloading(I have 2GB variant)
Anyway, checkout my screenshot, I use greenify + 512mb zram(ElementalX kernel default settings)
P.s I'm on XenonHD
Never had such issue on any nougat rom. I use Resurrection remix 5.8.2 and Agni Kernel. Use Zram in kernel Auditor to boost performance little bit. I always have 700 to 800 free ram on 2g variant.
I set my LMK to 9-32-64-100-156-214 and I swear i can switch around with browser, facebook, message and gallery without reload anything . I'm on 2gb Kenzo with franco kernel
guys, use privacy guard / appops , and disable background working of unnecessary apps like
Solution: Root; tweak
A little bit of my story: Galaxy Tab S. What laptop (tablet - in the old days, laptops were great with that much ram, weren't they?) with 3 gb ram won't let you multitask?! When it was Kitkat, it was, well, alright. I upgraded to Marshmallow, and I was not able to multitask. Marshmallow on Galaxy J5 Prime leaves 800 MB without cache and over 1.2 GB without cache, out of 3 GB. Similar with Marshmallow/Tab S (+ overheating processor!). I mean what the ****? Is that planned obsolescence?
And now I am here, typing from Tab S, with: 5 tabs open in Chrome, 2 tabs in Xodo, Settings, Play Store, ES File Explorer, Task Bar (Braden Farmer) [at the least] - having changed to Lineage OS 14.1 (no good. by default), rooted and learnt about Low Memory Killer (in Deathly Adiutor); tweaked it and I have less than 300 MB free ram with cache and less than 875 MB free without cache. Yay! (Btw, the overheating problem is solved too by underclocking - to save battery and avoid overheating!) [I have spent at least two days testing out different OS and possibility-of-root and features.] So, this paragraph is my 2 cents.
Would like to hear from you if your problem is solved.
[PS: J5 Prime is still under warranty, and is used for basic functionalities - no problem there as of yet.]
I'm currently running RR nougat with randon kernel
The ram management is great i can swith fb ,youtube, chorme, mess without loading, but in long term the phone start slow, hang and battery drop super fast ( 5H SOT)
So i have to force 3 app running background to keep battery longer and stay away from lag.
Any ideas to keep great ram and free - lag ?!?
Tks in advance
Any idea
vkass said:
Use custom kernel.
Also lately play services started hogging ram so I disabled some of the services :
https://www.dropbox.com/sh/ibsk0e1yens5suc/AACU4nhZGu0UuBcwHV1VT2pLa?dl=0
Third if you have social media apps running they are the culprit, my gfs s7e lagged with Facebook, Instagram, viber, whatsapp etc.
Greenify solved the issue.
Click to expand...
Click to collapse
How do you disable the services?
mehrshad.shafaghi said:
How do you disable the services?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=cn.wq.disableservice

S3 unusable

Hi guys. For a while my s3 has problems. With any rom, the applications after 1 or 2 days start to trouble and the phone becomes unusable. The Applications are forced to close on their own. Is there a solution to this problem or do I have to change rom every 2 days?
Sorry for my english. I'm italian
Inviato dal mio GT-I9300 utilizzando Tapatalk
Lack of RAM is showing up. Try to greenify apps that work in background and open them when you need them. this will free up some ram and make phone kind of usable
McXred said:
Lack of RAM is showing up. Try to greenify apps that work in background and open them when you need them. this will free up some ram and make phone kind of usable
Click to expand...
Click to collapse
Thanks!
You have a rom to recommend?
Inviato dal mio GT-I9300 utilizzando Tapatalk
This happens with the latest stock rom too?
audit13 said:
This happens with the latest stock rom too?
Click to expand...
Click to collapse
With any rom 5.1.1 or up [emoji53]
The stock rom is very slow...
Inviato dal mio GT-I9300 utilizzando Tapatalk
Any OS higher than the last official firmware will have issues because the hardware wasn't designed to incorporate the newer features. These new features must be either removed or patched out which causes instability issues because apps are looking for something that doesn't exist.
Only the last official firmware and os is stable enough to be called a release candidate.
RAM in android is not meant to be free. Android is programmed to use ALL of the RAM at ALL TIMES. This allows apps to open quicker as they have been preloaded because they are determined to be an app you will use regularly. If you don't use the app it will eventually be omitted from RAM automatically and replaced with the next app deemed to be used more regularly.
People should be paying attention to how Android is actually programmed before recommending false hopes on apps like "greenify".
Apps like greenify will run in RAM and try to omit the running processes. Android will override the decision and make the app run regardless, only to be closed again by greenify. This causes a 'war' between os and app and uses excessive power. Greenify is and always will be a placebo.
Common causes for apps not behaving are:
1, Interference from other apps
2, manual interference ie permissions being manually revoked.
3, apps not installed via playstore.
4, incompatible operating systems.
5, poor programming in the first place.
So in summary, if you use anything but unrooted stock firmware you will encounter issues. This comes with the territory of messing with things you have no clue about, including apps that claim to make everything better.
Beamed in by telepathy
shivadow said:
Any OS higher than the last official firmware will have issues because the hardware wasn't designed to incorporate the newer features. These new features must be either removed or patched out which causes instability issues because apps are looking for something that doesn't exist.
Only the last official firmware and os is stable enough to be called a release candidate.
RAM in android is not meant to be free. Android is programmed to use ALL of the RAM at ALL TIMES. This allows apps to open quicker as they have been preloaded because they are determined to be an app you will use regularly. If you don't use the app it will eventually be omitted from RAM automatically and replaced with the next app deemed to be used more regularly.
People should be paying attention to how Android is actually programmed before recommending false hopes on apps like "greenify".
Apps like greenify will run in RAM and try to omit the running processes. Android will override the decision and make the app run regardless, only to be closed again by greenify. This causes a 'war' between os and app and uses excessive power. Greenify is and always will be a placebo.
Common causes for apps not behaving are:
1, Interference from other apps
2, manual interference ie permissions being manually revoked.
3, apps not installed via playstore.
4, incompatible operating systems.
5, poor programming in the first place.
So in summary, if you use anything but unrooted stock firmware you will encounter issues. This comes with the territory of messing with things you have no clue about, including apps that claim to make everything better.
Beamed in by telepathy
Click to expand...
Click to collapse
Thanks!
The solution is to go back to the stock rom? Or even custom rom Based on the official firmware?
Inviato dal mio GT-I9300 utilizzando Tapatalk
shivadow said:
Any OS higher than the last official firmware will have issues because the hardware wasn't designed to incorporate the newer features. These new features must be either removed or patched out which causes instability issues because apps are looking for something that doesn't exist.
Only the last official firmware and os is stable enough to be called a release candidate.
RAM in android is not meant to be free. Android is programmed to use ALL of the RAM at ALL TIMES. This allows apps to open quicker as they have been preloaded because they are determined to be an app you will use regularly. If you don't use the app it will eventually be omitted from RAM automatically and replaced with the next app deemed to be used more regularly.
People should be paying attention to how Android is actually programmed before recommending false hopes on apps like "greenify".
Apps like greenify will run in RAM and try to omit the running processes. Android will override the decision and make the app run regardless, only to be closed again by greenify. This causes a 'war' between os and app and uses excessive power. Greenify is and always will be a placebo.
Common causes for apps not behaving are:
1, Interference from other apps
2, manual interference ie permissions being manually revoked.
3, apps not installed via playstore.
4, incompatible operating systems.
5, poor programming in the first place.
So in summary, if you use anything but unrooted stock firmware you will encounter issues. This comes with the territory of messing with things you have no clue about, including apps that claim to make everything better.
Beamed in by telepathy
Click to expand...
Click to collapse
Im not telling him that the ram should be free. What im telling him that if you are low on ram (like our gs3 has 831 mb of ram) each time you open an app it loads into the ram that previously most probably has been used by other app causing lag because of the time needed to remove old app from app and load a new one. When you have more ram in device it just replaces the "dummy file" from the ram so there is no lag because there is no app that will not want to be killed
@shivadow: your RAM-lecture is IMO quiet irrelevant here. 800MB available means constantly moving necessary things out of /into RAM. Custom-kernels add x-RAM therefore, but freezes /FCs are just caused by hickups during x-RAM-ops. @antony991: I could use S3 stable and battery friendly by using a lite-ROM, without GApps, with a few lite apps only. My favourite was an unofficial Slim-build.
rp158 said:
@shivadow: your RAM-lecture is IMO quiet irrelevant here. 800MB available means constantly moving necessary things out of /into RAM. Custom-kernels add x-RAM therefore, but freezes /FCs are just caused by hickups during x-RAM-ops. @antony991: I could use S3 stable and battery friendly by using a lite-ROM, without GApps, with a few lite apps only. My favourite was an unofficial Slim-build.
Click to expand...
Click to collapse
I currently have the slim rom 7.1.2. The apps close however, but I installed the gapps. I will try to download apk apps that I use and keep the rom without gapps.
Inviato dal mio GT-I9300 utilizzando Tapatalk
@antony991: for comfortable downloading/updating apps you can use Yalp (or FDroid).
rp158 said:
@antony991: for comfortable downloading/updating apps you can use Yalp (or FDroid).
Click to expand...
Click to collapse
FDroid is safe? are there malware apps?
FDroid offers open-source apps only: checked carefully, fewer choice.
Yalp gives you a link to GPlay: free versions only.
Both offers you the lowest chance of malware, but no insurance.

Categories

Resources