Android Oreo Nexus 5X Killing apps while switching - Nexus 5X Q&A, Help & Troubleshooting

As the title says, since i installed Oreo on my Nexus 5X, every time i switch apps they get killed. Trying to fill out forms in apps by copy pasting stuff from other apps, activating apps with sms codes and all that it's GONE completely, there is just no way to do that anymore.
- I disabled battery optimization for all the apps
- Phone is rooted with Magisk and all that. Rooted or non rooted does the same anyway. That's why i rooted, at least i get some other functions i like with xposed.
- Plenty of ram for apps to run, like it was on Android 7
- No other apps that can make this happen, everything is clean and nothing that i don't use or anything agressive. Automate-it Pro for sure doesn't do this.
I searched on them webs for so long and nothing, no one has any ideas how to disable this function or fix it or anything. So any help would be extremely appreciated.

There's not much we can do to help with the ram management on this phone besides buying a custom 4GB motherboard like these guys here: https://forum.xda-developers.com/nexus-5x/general/4gb-ram-upgraded-nexus-5x-t3588743
You could also try to change the LowMemoryKiller values so apps aren't closed as quickly. Here's the directory and some values I've grabbed from Franciscofranco's kernel(These values are the same as the Nexus 5) that you can use:
/sys/module/lowmemorykiller/parameters/minfree 18432,23040,27648,32256,36864,46080
Hopefully this helps you out dude.

Related

lowmemkiller app

Stock 4.0.4
guys
i was reading on lowmemkiller - is this an app or setting that's present in the factory default android system or an app that needs to be installed? I don't want to do anything funky but simply make sure memory is available at all times
thx
Android already handles RAM and makes sure the appropriate apps are kept or killed. You'll have enough RAM don't worry.
Yes but don't know if it's handling it optimally - even after a reboot, apps aren't as responsive as a factory default phone without apps and I've only installed 12 commonly used apps (none of them are sync apps like facebook, etc)
sam008 said:
Yes but don't know if it's handling it optimally - even after a reboot, apps aren't as responsive as a factory default phone without apps and I've only installed 12 commonly used apps (none of them are sync apps like facebook, etc)
Click to expand...
Click to collapse
It does handle it optimally. How are apps not responsive?
Search in the android development section for a V6 Supercharger Script, it has all u're looking for, there u'll read what's it all about
Edit: there u go
http://forum.xda-developers.com/showthread.php?p=12058585
Sent from my Galaxy Nexus using xda premium
Yes lowmemkiller is tweakable if you install an app to change the default ram levels for android. Auto memory or something is one of the apps.

Best battery life and performance.

Hey all. Just wanted to get some input on getting the best bang for your buck when it comes to battery life. Though I've never been one for task killers and battery saver apps, recently I've been testing out a few different apps. Avast (uninstalled as I've never seen the need for anti virus on Android personally), Battery Doctor, CleanMate (I think It was called) and a few other battery saver apps. However, I cant seem to come to a conclusion on whether they help or hinder. Or if I'm even using them right.
The thing is they all seem to tell me different, conflicting info so I can't really make heads or tails out of it. They all seem to tell me different apps are running in the background and all suggest I do different things like kill apps, clear cache, free up memory, etc. What I have always used is system panel to kill a malfunctioning app if needed, cachemate, and SetCPU to underclock when the device is not in use. Now I am on a stock ROM with root and dont have a kernel that supports over/under clocking.
So I was just wondering what any of you guys to to both increase performance and save battery. Some kind of balancing act. And I don't want my experience to suffer, ex- I like my screen bright so am not going to turn it down to 30%. Stuff like that. I am kind of with the thinking that I should just use my tablet and let the system do its own thing, but then I kinda get that ocd thing going and want to have total control. So anyway, would love to hear what you guys think and use. Also, i would love love love to try out tasker but am unemployed and broke so that cant happen anytime soon. Thanks.
Sent from my GT-N5110 using XDA Premium 4 mobile app
Out of curiosity, how long does your Note 8.0 last?
You know, I couldn't really tell you right now. I inherited it from a friend about a week ago. He thought it was bricked and junk. I just loaded up some stock firmware, rooted it and since it's new to me I have been playing around with it lots so haven't experienced "normal use" yet. I wasn't really asking because I thought the battery was bad, but I just like to have total control and wondered what everyone was doing these days. I used to be big in the android scene, as a power user not a dev or anything, but have been out of the game for awhile. So far the battery seems to be really good when it's on standby or say if I have spotify running or netflix or playing an audiobook. But it seems to drain pretty fast when im using it more actively- emailing, switching to facebook, switching to internet etc. Again, I'm not really having battery problems, and it's a new tablet to me, but I just wanna stay ahead of the game. Sorry I can't give you any numbers right now, but I'm sure you understand.
Sent from my GT-N5110 using XDA Premium 4 mobile app
Do a search about battery.. there are a dozen threads in the Q&A thread.
I am a minimalist and don't like any so claimed Battery Booster, Battery Enhancer, or Battery Calibrator apps that are all over the google play apps site. Most of the time I leave power saver on, and have most all sync settings and apps set to automatically update and poll info and retrieve email. As I do not like to jump through hoops to get some thing to operate as expected.
Security 360 does a great job with antivirus and memory consumption with apps. You may think that you may not need an Antivirus, but this one thoroughly checks apps if you decide to turn off Google's app checking, or use private party apps from forums or developers linking them to sites.
I use Xposed framework, mainly because of the ability to turn off functions without needing to install a custom ROM. I have been there done that and am not impressed with custom ROM of any type, over stock.
Turning off DVFS, thumbnail cache, and leaving Boost Mode alone as it is defaulted off... Is my primary setting with Winam Xposed module.
I use the app Greenify, Substrate, and its experimental plugin to Xposed. It has some nice features to complement Security 360.
Since Google has corrected some issues with some of its apps, and a few other apps have updated recently. I get 2% drain with 12 hours of standby.
Also under normal use, I get 8 to 9% drain per hour, and 6% per hour browsing.
For speed improvements, I have a 633X SD card that has been tested around 93MB/S and 44MB/s write on my laptop, there are some rated double but are about less in real life performance.
I use TweaksterMod Pro from my past custom ROM experiences, only to boost read a head cache to double the default. This only helps with super fast SD cards, the slower the SD card or having congested internal RAM the boost must be greatly increased.
With online video and media, I get about 12% per hour drain doing both streaming and miracasting to tv.
GT-N5110 & GT-N5120 - 64GB 633x on board, Status Official on SafeRooted OEM ROMs with Wanam Xposed and RootCloak. The only way to fly 8+ hours!
This badboy don't play with Play & Triangle away!
update to 4.4.2 and battery calibrate resulted in 30hr+ battery life
good to read from you andr0id23 and gooberdude. I'm a little sensitive from my battery. since I bought two n5100 for me and my sister,I compare them in many aspects like performance,physical keys (volume,home,..) quality,battery life,... first I thought there's a problem with my battery.I used to test a lot of apps (some you mentioned,battery doctor,task killer,clean master,..) on my 4.1.2 stock ROM.the result was disappointing. my note hardly lasted for 8 hours with normal use (browsing,email checking,no games).it was better on my sister's tablet.
so I updated to 4.4.2 stock rom. things were like before UNTIL i did a battery calibrate.using a method almost like this link.by deleting battery stats after full charge.
I've attached the result.
notice that i have done a full wipe before update and i don't have that tones of app from 4.1.2.only the stock bloatwares and 25 harmless apps and games.this is the best result.the battery was so stubborn to live on its last 3 percent. approximately 3 hours on 1 present and the turned off.
misunderstanding some terms
gooberdude you made it nice but I just didn't get some of these thing you said.would you please explain more?
gooberdude said:
Turning off DVFS, thumbnail cache, and leaving Boost Mode alone as it is defaulted off... Is my primary setting with Winam Xposed module.
Click to expand...
Click to collapse
which modules did you used and what is DVFS,boost mode
gooberdude said:
I use the app Greenify, Substrate, and its experimental plugin to Xposed. It has some nice features to complement Security 360.
Click to expand...
Click to collapse
what is substrate
gooberdude said:
GT-N5110 & GT-N5120 - 64GB 633x on board, Status Official on SafeRooted OEM ROMs with Wanam Xposed and RootCloak. The only way to fly 8+ hours!
This badboy don't play with Play & Triangle away!
Click to expand...
Click to collapse
can you link me to the safe rooting note 8 OP please?why dont u use google play and triangle away.
sorry for lots of question.I googled them before asking but I gained not a good result.some leaded to good result like RootCloak.
thanks in advance.
norits021 said:
gooberdude you made it nice but I just didn't get some of these thing you said.would you please explain more?
which modules did you used and what is DVFS,boost mode
what is substrate
can you link me to the safe rooting note 8 OP please?why dont u use google play and triangle away.
sorry for lots of question.I googled them before asking but I gained not a good result.some leaded to good result like RootCloak.
thanks in advance.
Click to expand...
Click to collapse
OK, if you rooted...
I recommend getting Xposed Framework installed, then install Wanam Exposed. It has a ton of mods to adjust about anything. Though depending on model and firmware, some stuff wont work.
If you want minimal... you can get Wanam Disable DVFS... Samsung's Touchwiz has a feature to assist with games called Dynamic Voltage File System. It seems to be the root of the evil with samsung devices. Google has made it clear that battery calibration tools don't do anything to calibrate the battery. By clearing the battery stats file, all you are doing is a temporary patch. DVFS does not play well with Androids battery stats, and corrupts the data for stats, thus giving bad battery status. Once DVFS is disabled, android will properly calibrate the status of the battery. It may take a few charge cycles or manual deletion of the battery stats file and a reboot.
Again if you root, you may want to add RootCloak to allow apps from detecting root. It does it automatically once you select the troubled app. It requires Substrate and allows you to click on a link to install. Once substrate is installed it will allow rootcloak to function properly
Saferoot.zip search for it in the note 8.0 threads... I placed my copy as a file in one of the requests.
It will allow a proper root without having to flash. So no need for triangle away unless you plan on a custom ROM.
If you use saferoot, you can always upgrade to 4.4.x at a later time without having to unroot or do any trickery.
Play is messed up... never worked right on my tablet, both with stock ROM or custom ROMs
Play music does not like a large amount of media on SD storage, let alone full Mp3tags... can't handle the data or just too many files.Also music does not stop when you reboot. after some time it starts up and plays again. Gallery is messed up with image caching. So I used Wanam to disable scroll cache. I use Nokia Music Player as it is the most robust player that is small and works well on a tablet.
Freezing google music will keep battery consumption down if you have a lot of media. as I have over 4,000 files and if any one of them has an odd character in the name, the media server goes ape and cycles a lot of CPU time into trying to index. Thus sucking power like it is cheap gas.
My sig shows what a stock ROM is capable with just a few add on apps to help get things sorted out with battery power. Right now I am in a fight with Security 360... they boogered up the app with Soccer Ads in splash screens during boot and starting the app. Other wise it is an excellent app for what it does. I use it to clean out krapp that usually is not monitored by other cleaning apps, and to tweak boot blocking apps and apps that are running in background after wake up.
Greenify works fine but you may find security 360 an added app cleaner for sleep / wakeup cycles.
great user
mmm.it worthed more than a simple thanks to me.
by the way you use it in a good way.it s about 1gb of used ram on start up for me.and 970 when killed processes.
I'll try those you mentioned.seems very usefull
gooberdude said:
OK, if you rooted...
I recommend getting Xposed Framework installed, then install Wanam Exposed. It has a ton of mods to adjust about anything. Though depending on model and firmware, some stuff wont work.
If you want minimal... you can get Wanam Disable DVFS... Samsung's Touchwiz has a feature to assist with games called Dynamic Voltage File System. It seems to be the root of the evil with samsung devices. Google has made it clear that battery calibration tools don't do anything to calibrate the battery. By clearing the battery stats file, all you are doing is a temporary patch. DVFS does not play well with Androids battery stats, and corrupts the data for stats, thus giving bad battery status. Once DVFS is disabled, android will properly calibrate the status of the battery. It may take a few charge cycles or manual deletion of the battery stats file and a reboot.
Again if you root, you may want to add RootCloak to allow apps from detecting root. It does it automatically once you select the troubled app. It requires Substrate and allows you to click on a link to install. Once substrate is installed it will allow rootcloak to function properly
Saferoot.zip search for it in the note 8.0 threads... I placed my copy as a file in one of the requests.
It will allow a proper root without having to flash. So no need for triangle away unless you plan on a custom ROM.
If you use saferoot, you can always upgrade to 4.4.x at a later time without having to unroot or do any trickery.
Play is messed up... never worked right on my tablet, both with stock ROM or custom ROMs
Play music does not like a large amount of media on SD storage, let alone full Mp3tags... can't handle the data or just too many files.Also music does not stop when you reboot. after some time it starts up and plays again. Gallery is messed up with image caching. So I used Wanam to disable scroll cache. I use Nokia Music Player as it is the most robust player that is small and works well on a tablet.
Freezing google music will keep battery consumption down if you have a lot of media. as I have over 4,000 files and if any one of them has an odd character in the name, the media server goes ape and cycles a lot of CPU time into trying to index. Thus sucking power like it is cheap gas.
My sig shows what a stock ROM is capable with just a few add on apps to help get things sorted out with battery power. Right now I am in a fight with Security 360... they boogered up the app with Soccer Ads in splash screens during boot and starting the app. Other wise it is an excellent app for what it does. I use it to clean out krapp that usually is not monitored by other cleaning apps, and to tweak boot blocking apps and apps that are running in background after wake up.
Greenify works fine but you may find security 360 an added app cleaner for sleep / wakeup cycles.
Click to expand...
Click to collapse
Anyone know a comand line to run in terminal emulator for reset the fuel gauge chip battery?
I cant find the folder in sys/class/power_supply/
fuel gauge reset via terminal emulator
PauloRMag said:
Anyone know a comand line to run in terminal emulator for reset the fuel gauge chip battery?
I cant find the folder in sys/class/power_supply/
Click to expand...
Click to collapse
have a look on this topic.it for galaxy tabs but I guess it works on Note 8 too,although it is on your own risk(seems no risk,nothing gets worth than current state )
http://forum.xda-developers.com/showthread.php?t=2398663
additionally,as I'm searching on batteries a few days,i found that there are different fuel chips out there.so we must do fuel gauge calibration method that fits our chip.If you found that please describe it here.

How can increase the performance and battery life for Note Pro

HI ALL,
I will root my device , but I want to know how to increase its performance and speed and reduce RAM usage?
and what is the best browser for Android for fast browsing and low memory usage?
Most of the speed increasing and RAM decreasing can be done without root. Replacing Touchwiz with Apex or Nova Launcher is the first step that makes the most difference. Disable most of the bloatware and turn down animations in developer options.
This post probably belongs in the Q&A section, not the software one.
Reduction in RAM usage doesn't necessarily equate to performance boost. Android memory management does a good job of keeping things running smoothly so the goal of debloating should not be to free up RAM. To maximize performance with regards to memory usage with Android what you'll want to do is debloat your device to the point that applications that you'll never use are no longer loading into memory automatically (either as active applications or cached) which will allow other frequently used applications a chance to load into RAM/cache for quick response times. Running memory management software is also counter productive as it will battle against Android's own memory management and kill background applications that you may want cached for quicker response when needed.
Personally I WANT RAM to fill up because if I'm jumping from application to application I don't want to wait for things to load from storage into RAM. I also refrain from cache cleaning frequently because I have a particular routine when I use my device (frequenting particular websites and using particular applications daily) so clearing cache frequently will only force my device to have to re-cache things unnecessarily.
Getting down to the nitty gritty of how to debloat, the approach I took for my device is to work with a few applications; SystemPanelLite Task Manager, Greenify, Boot Manager and Titanium Backup. I would clean boot my device and let it sit for a while (several minutes) to cache applications as it saw fit. I'd then pop into the system panel lite application and look at what was loaded into both active processes and cached. I'd evaluate each entry to determine for myself whether or not I wanted that application to load automatically or not OR NEVER. If the answer was never then I'd use Titanium Backup to freeze the application (of course for each app I'd do my research to see if it was serving an important function). If the answer was that I needed the application but not all of the time then I'd look into Greenifying it and also considered disabling it from starting at boot using boot manager.
I'd do the above iteratively until all I saw in RAM or cached were applications and services that I felt were important. Never during this process did I care how low memory usage was since the goal is to preload as much of the important stuff as possible.
In the end I ended up freezing a ton of Samsung apps, especially after uninstalling applications that relied on their own app store like Hancom.
Of course a quicker way to reduce bloat is to go to a ROM that someone else has debloated and start there as a base. I began my own debloating process early last year though so starting again on a ROM even if it already is debloated to a certain extent doesn't seem worth it for me at this time (but if a lollipop update rolls out and a ROM developer updates to that then I'll surely try it).
Sent from my SM-P900 using Tapatalk
ShadowLea said:
Most of the speed increasing and RAM decreasing can be done without root. Replacing Touchwiz with Apex or Nova Launcher is the first step that makes the most difference. Disable most of the bloatware and turn down animations in developer options.
Click to expand...
Click to collapse
thanks a lot man , I used nove launcher and its v nice , I guess need to root so I can freeze more apps as not all can be disabled using offical rom
muzzy996 said:
This post probably belongs in the Q&A section, not the software one.
Reduction in RAM usage doesn't necessarily equate to performance boost. Android memory management does a good job of keeping things running smoothly so the goal of debloating should not be to free up RAM. To maximize performance with regards to memory usage with Android what you'll want to do is debloat your device to the point that applications that you'll never use are no longer loading into memory automatically (either as active applications or cached) which will allow other frequently used applications a chance to load into RAM/cache for quick response times. Running memory management software is also counter productive as it will battle against Android's own memory management and kill background applications that you may want cached for quicker response when needed.
Personally I WANT RAM to fill up because if I'm jumping from application to application I don't want to wait for things to load from storage into RAM. I also refrain from cache cleaning frequently because I have a particular routine when I use my device (frequenting particular websites and using particular applications daily) so clearing cache frequently will only force my device to have to re-cache things unnecessarily.
Getting down to the nitty gritty of how to debloat, the approach I took for my device is to work with a few applications; SystemPanelLite Task Manager, Greenify, Boot Manager and Titanium Backup. I would clean boot my device and let it sit for a while (several minutes) to cache applications as it saw fit. I'd then pop into the system panel lite application and look at what was loaded into both active processes and cached. I'd evaluate each entry to determine for myself whether or not I wanted that application to load automatically or not OR NEVER. If the answer was never then I'd use Titanium Backup to freeze the application (of course for each app I'd do my research to see if it was serving an important function). If the answer was that I needed the application but not all of the time then I'd look into Greenifying it and also considered disabling it from starting at boot using boot manager.
I'd do the above iteratively until all I saw in RAM or cached were applications and services that I felt were important. Never during this process did I care how low memory usage was since the goal is to preload as much of the important stuff as possible.
In the end I ended up freezing a ton of Samsung apps, especially after uninstalling applications that relied on their own app store like Hancom.
Of course a quicker way to reduce bloat is to go to a ROM that someone else has debloated and start there as a base. I began my own debloating process early last year though so starting again on a ROM even if it already is debloated to a certain extent doesn't seem worth it for me at this time (but if a lollipop update rolls out and a ROM developer updates to that then I'll surely try it).
Sent from my SM-P900 using Tapatalk
Click to expand...
Click to collapse
Really helpfull man thanks a lot for all the information u shared, am ok with but guess will need to do more research for greenify cuz I didnt use it at all, secondly what office u used after uniinstalling hancom?
I'm currently using Microsoft's Word/Excel Preview apps and have an Office 365 account to enable editing. I've just started (1 month trial) so I haven't really gotten a lot of use out of the software yet.
I can't speak for anyone else but myself but my reason for dropping Hancom was twofold; 1) it did not support the review/commenting features that I needed in Word files and 2) it often required updates at inopportune times. My needs are quite specific, my tablet is a reference and note taking device for meetings and is never used for production type work. As such, I need the ability to take email attachments, open them for review and comment and then send the comments back out as email attachments. The limitations of Hancom when it comes to track changes were a deal breaker for me since I could not see the history of development of reports/documents.
Microsoft's mobile version of Word implements the best support of track changes/comments that I've found to date, so I'm forced to pay the premium of a 365 subscription on this device to get what I need.
muzzy996 said:
I'm currently using Microsoft's Word/Excel Preview apps and have an Office 365 account to enable editing. I've just started (1 month trial) so I haven't really gotten a lot of use out of the software yet.
I can't speak for anyone else but myself but my reason for dropping Hancom was twofold; 1) it did not support the review/commenting features that I needed in Word files and 2) it often required updates at inopportune times. My needs are quite specific, my tablet is a reference and note taking device for meetings and is never used for production type work. As such, I need the ability to take email attachments, open them for review and comment and then send the comments back out as email attachments. The limitations of Hancom when it comes to track changes were a deal breaker for me since I could not see the history of development of reports/documents.
Microsoft's mobile version of Word implements the best support of track changes/comments that I've found to date, so I'm forced to pay the premium of a 365 subscription on this device to get what I need.
Click to expand...
Click to collapse
thanks for reply and sorry for late , hoping the android 5 be great
Install cm12 lollipop ROM. Drastic improvement in browser performance and gaming. For example, Asphalt 8 is extremely slow on stock, even overclocked. On cm12 it runs perfectly with max graphics settings. Unfortunately you lose all the cool touchwiz features like multi window. For me, the performance improvement is enough that it's worth the lost features. I'm anxiously waiting for the official lollipop update.

[Q] Lollipop, The Aggressive App Killer

Does this even need an explanation? Lollipop kills apps like it's his hobby.
Even with only a few light (on RAM) user apps running in the background you sometimes find yourself staring at your launcher home screen that, you could've sworn, was just showing a different app a second ago.
Or the times when, after multi-tasking a bit, your phone starts becoming painfully slow. Turns out that some apps are so stubborn that they go on strike (continuously restarting) when LP kills them.
I'm sure many have experienced this. And I have seen some devs address this issue here and there. I though it would be useful to gather the info into one thread, to ease our (or my?) frustration on this issue.
What I wanna know is, what causes it exactly (why didn't it happen on KK?), and is there a solution to this? Or at some way to calm LP down a bit with his killing of innocent apps.
Thanks.
Djalaal said:
Does this even need an explanation? Lollipop kills apps like it's his hobby.
Even with only a few light (on RAM) user apps running in the background you sometimes find yourself staring at your launcher home screen that, you could've sworn, was just showing a different app a second ago.
Or the times when, after multi-tasking a bit, your phone starts becoming painfully slow. Turns out that some apps are so stubborn that they go on strike (continuously restarting) when LP kills them.
I'm sure many have experienced this. And I have seen some devs address this issue here and there. I though it would be useful to gather the info into one thread, to ease our (or my?) frustration on this issue.
What I wanna know is, what causes it exactly (why didn't it happen on KK?), and is there a solution to this? Or at some way to calm LP down a bit with his killing of innocent apps.
Thanks.
Click to expand...
Click to collapse
Im running 1/8 FML with synapse injected R10 kernel on my toro and with ksm and laptop mode enabled in synapse, I haven't had a launcher redraw in days. I don't have anything whitelisted either. However, the trade-off I have at the moment is I cant seem to stream videos on my stock browser. Havent tried a different browser or anything. I just uncheck those two settings and reboot and all is well, but my phone certainly works much better now, and no redraws, with neph settings for LMK
Hope something helps someone!
Thanks
erk1725 said:
Im running 1/8 FML with synapse injected R10 kernel on my toro and with ksm and laptop mode enabled in synapse, I haven't had a launcher redraw in days. I don't have anything whitelisted either. However, the trade-off I have at the moment is I cant seem to stream videos on my stock browser. Havent tried a different browser or anything. I just uncheck those two settings and reboot and all is well, but my phone certainly works much better now, and no redraws, with neph settings for LMK
Hope something helps someone!
Thanks
Click to expand...
Click to collapse
Perhaps you can noobify that a bit, lol. I had to google almost everything you mentioned. As I understand it, this Synapse allows you to tweak the kernel? And this KSM settings can improve this RAM issue? Care to elaborate? And what is laptop mode?
I've read about adjusting the LMK values to calm LP down a little. Any idea though why this was so necessary in LP, but not in KK? Is stock LP 'naturally' more RAM hungry than KK?
Djalaal said:
Perhaps you can noobify that a bit, lol. I had to google almost everything you mentioned. As I understand it, this Synapse allows you to tweak the kernel? And this KSM settings can improve this RAM issue? Care to elaborate? And what is laptop mode?
I've read about adjusting the LMK values to calm LP down a little. Any idea though why this was so necessary in LP, but not in KK? Is stock LP 'naturally' more RAM hungry than KK?
Click to expand...
Click to collapse
I can try to elaborate little bit, as Ive been flashing things and researching xda a lot, but I am still noob in how/why things are the way they are. From what I gather lollipop just handles memory differently then kk did. I think that is some of the reason as to why the "recent apps" persist through reboots now. Remember, our device was not really supposed to run kk and certainly not meant to run lollipop. The developers here are without a doubt amazing in what they know and what they do for us users. A new kernel and driver was necessary to run lollipop on the aging gnex. Now, some of the issues we are experiencing is a google issue and will only seem to get fixed when they get around to it. I know my nexus 7 (old) has some memory issues and lag and redraws from time to time....not as much as I noticed with my gnex before the changes were made I stated in the above post. I recently helped my friend root and upgrade his oneplus one to lollipop and he has the same issues we all have, maybe not as bad, but they are noticeable
A lot of the questions you have, have been discussed recently in bsmitty83 kernel thread, since I asked them. There are links there as to what KSM and laptop mode are and what they do. KSM-kernel same page merging helps with RAM and I believe laptop mode helps to conserve power. A lot of these things are geared at devices with low ram like the aging gnex, but the developers have done a great job at making lollipop a daily driver. Most users I think use trickstermod from playstore to tune kernel settings, and that is ok, however, you must purchase the paid version to tweak low memory settings, which I did. However, synapse, also found on playstore can also be used to tweak kernel settings, but the kernel has to contain UCI support for the synapse app to work. Synapse has more settings available to tweak than trickster does, like KSM and laptop mode, which have helped me very much. The only kernel I'm aware of that has UCI support for synapse is bsmitty83 Full_Auto R10, because osmosis made it work
Hopefully this was rather accurate and helpful and not convoluted! ha.....im sure some more knowledgeable people will come and correct anything I said that may be incorrect, but in the meantime, read through the R10 kernel thread and see what you come up with
What ROM and kernel are you currently using?
Thank you
erk1725 said:
...
The only kernel I'm aware of that has UCI support for synapse is bsmitty83 Full_Auto R10, because osmosis made it work.
...
What ROM and kernel are you currently using?
Click to expand...
Click to collapse
I'm currently using AOSP rom (by freshgimmi) and the Full Auto R10 you mentioned. I'll try injecting the new ramdisk now and see how it goes.
I noticed this issue as well for the first several days . However once I installed the new bootanimation from arter97 the issue doesn't occur anymore. Not sure if it's related but all I did was mount /system as rw and copied into the new lollipop boot animation from here: http://forum.xda-developers.com/android/software/arm-arm64-android-5-0-lollipop-t3032247
Djalaal said:
Does this even need an explanation? Lollipop kills apps like it's his hobby.
Even with only a few light (on RAM) user apps running in the background you sometimes find yourself staring at your launcher home screen that, you could've sworn, was just showing a different app a second ago.
Or the times when, after multi-tasking a bit, your phone starts becoming painfully slow. Turns out that some apps are so stubborn that they go on strike (continuously restarting) when LP kills them.
I'm sure many have experienced this. And I have seen some devs address this issue here and there. I though it would be useful to gather the info into one thread, to ease our (or my?) frustration on this issue.
What I wanna know is, what causes it exactly (why didn't it happen on KK?), and is there a solution to this? Or at some way to calm LP down a bit with his killing of innocent apps.
Thanks.
Click to expand...
Click to collapse
SpideyTheMan said:
I noticed this issue as well for the first several days . However once I installed the new bootanimation from arter97 the issue doesn't occur anymore. Not sure if it's related but all I did was mount /system as rw and copied into the new lollipop boot animation from here: http://forum.xda-developers.com/android/software/arm-arm64-android-5-0-lollipop-t3032247
Click to expand...
Click to collapse
I know about this issue. It is a memory leak during boot. It is a good catch, though all you're changing is the bootanimation.zip. AFAIK, it should not affect your system's performance after boot, once your phone is up and running. My issue is a different thing entirely. I never got bootloops (that is, when not messing around with xposed).
Okay, you're right. As a test last night I switched from FML 5.0.2 to LiquidSmooth's LP ROM and I'm not seeing any aggressive app kills in LiquidSmooth.
Djalaal said:
I know about this issue. It is a memory leak during boot. It is a good catch, though all you're changing is the bootanimation.zip. AFAIK, it should not affect your system's performance after boot, once your phone is up and running. My issue is a different thing entirely. I never got bootloops (that is, when not messing around with xposed).
Click to expand...
Click to collapse
erk1725 said:
Im running 1/8 FML with synapse injected R10 kernel on my toro and with ksm and laptop mode enabled in synapse, I haven't had a launcher redraw in days. I don't have anything whitelisted either. However, the trade-off I have at the moment is I cant seem to stream videos on my stock browser. Havent tried a different browser or anything. I just uncheck those two settings and reboot and all is well, but my phone certainly works much better now, and no redraws, with neph settings for LMK
Hope something helps someone!
Thanks
Click to expand...
Click to collapse
I have got synapse up and running. I AM wondering though, what LMK settings are you using? Cause the neph settings I know of tell me to set empty app to 370, but synapse only allows max 320... If you're following different settings, could you link the post for me?
Djalaal said:
I have got synapse up and running. I AM wondering though, what LMK settings are you using? Cause the neph settings I know of tell me to set empty app to 370, but synapse only allows max 320... If you're following different settings, could you link the post for me?
Click to expand...
Click to collapse
Glad you got everything up and running.....Im using Neph's settings for LMK, and your correct the empty app only goes up to 320 in synapse. There was a post somewhere where Neph said he was still tweaking his LMK values and I believe he mentioned about lower empty app to 330 or something, so I just set it to 320 in synapse and call it a day

Android Oreo (8.0) performance issues

I'm experiencing lot's of issues with the latest Android update.
Firstly I made an clean install. My System, Recovery and Bootlader is all stock or anything else got modded.
My RAM is always 99% used.
I have only Messaging apps and Media apps installed. (i.e. WhatsApp, Telegram, Allo, Hangouts, YouTube, Spotify)
So here is my issue:
My apps won't stay in the RAM.
If I write a message in Hangouts and than switch to WhatsApp, immediately switching back to Hangouts will cause this app to restart.
This is happening to all applications...
Btw app startup takes 5-10 seconds and unlocking the device with my fingerprint sensor takes also 5-10 seconds.
I made a factory reset twice. Nothing changed...
Do you expereince the same problems with Android Oreo or is it running smooth for you?
Updated to Oreo since day one. Yes, ram do stay at 90-95% at all time. My fix was simply using greenify with root of course and put everything to hibernate except for the very important stuff like IM and Mail app. Now it's back to the standard 70-80% and I'm pretty happy with it.
Aragur said:
I'm experiencing lot's of issues with the latest Android update.
Firstly I made an clean install. My System, Recovery and Bootlader is all stock or anything else got modded.
My RAM is always 99% used.
I have only Messaging apps and Media apps installed. (i.e. WhatsApp, Telegram, Allo, Hangouts, YouTube, Spotify)
So here is my issue:
My apps won't stay in the RAM.
If I write a message in Hangouts and than switch to WhatsApp, immediately switching back to Hangouts will cause this app to restart.
This is happening to all applications...
Btw app startup takes 5-10 seconds and unlocking the device with my fingerprint sensor takes also 5-10 seconds.
I made a factory reset twice. Nothing changed...
Do you expereince the same problems with Android Oreo or is it running smooth for you?
Click to expand...
Click to collapse
google is trying to throw nexus brand away!
so simple
My experience with it is good apart from battery life it's terrible.im thinking of selling my phone
anazhd said:
Updated to Oreo since day one. Yes, ram do stay at 90-95% at all time. My fix was simply using greenify with root of course and put everything to hibernate except for the very important stuff like IM and Mail app. Now it's back to the standard 70-80% and I'm pretty happy with it.
Click to expand...
Click to collapse
A much better solution would be to limit background processes which can be done in Oreo manually but is normally done automatically anyway.
Keeping apps in RAM and letting the system do the memory management is a great idea, manually force closing apps (which is what "hibernate" does) just removes it from RAM and sure, you'll have more free RAM but what are you going to use that for? To reload the same apps back into RAM again which is much slower and drains more battery.
Your RAM should be as full as possible, free RAM is wasted RAM.
---------- Post added at 02:49 PM ---------- Previous post was at 02:47 PM ----------
Aragur said:
I'm experiencing lot's of issues with the latest Android update.
Firstly I made an clean install. My System, Recovery and Bootlader is all stock or anything else got modded.
My RAM is always 99% used.
I have only Messaging apps and Media apps installed. (i.e. WhatsApp, Telegram, Allo, Hangouts, YouTube, Spotify)
So here is my issue:
My apps won't stay in the RAM.
If I write a message in Hangouts and than switch to WhatsApp, immediately switching back to Hangouts will cause this app to restart.
This is happening to all applications...
Btw app startup takes 5-10 seconds and unlocking the device with my fingerprint sensor takes also 5-10 seconds.
I made a factory reset twice. Nothing changed...
Do you expereince the same problems with Android Oreo or is it running smooth for you?
Click to expand...
Click to collapse
That the RAM is full is great, it shows that it's working as intended. That apps won't stay in RAM is a problem though, one that I don't have.
Battery life is about the same for me while the multitasking/memory management/background process limitations/performance is much, much better.
I just OTA'd it without wiping anything.
Nicktheprofessor said:
A much better solution would be to limit background processes which can be done in Oreo manually but is normally done automatically anyway.
Keeping apps in RAM and letting the system do the memory management is a great idea, manually force closing apps (which is what "hibernate" does) just removes it from RAM and sure, you'll have more free RAM but what are you going to use that for? To reload the same apps back into RAM again which is much slower and drains more battery.
Your RAM should be as full as possible, free RAM is wasted RAM.
---------- Post added at 02:49 PM ---------- Previous post was at 02:47 PM ----------
That the RAM is full is great, it shows that it's working as intended. That apps won't stay in RAM is a problem though, one that I don't have.
Battery life is about the same for me while the multitasking/memory management/background process limitations/performance is much, much better.
I just OTA'd it without wiping anything.
Click to expand...
Click to collapse
So if I run 10 apps in the early in the morning, and then only want to use 2 apps throughout the day, I should keep the other 8 apps so it would load faster the next time? But then due to the lack of ram, every time I'm trying to do task switching between ONLY those 2 apps, I MUST wait for a reload each time? Your logic checks out mt professor. I should've used an iPhone instead.
anazhd said:
So if I run 10 apps in the early in the morning, and then only want to use 2 apps throughout the day, I should keep the other 8 apps so it would load faster the next time? But then due to the lack of ram, every time I'm trying to do task switching between ONLY those 2 apps, I MUST wait for a reload each time? Your logic checks out mt professor. I should've used an iPhone instead.
Click to expand...
Click to collapse
Yes, you should keep them and NO, it doesn't work that way.
Your phone keeps the apps that are used and swaps out (ZRAM until that's full then back to disk) or flushes those that are not, the most recent apps are the ones that are prioritized and kept in RAM so your two apps will be kept in RAM at all times unless they are so large that one is swapped out but in that case "cleaning RAM" won't make any difference.
It's not my logic, it's simply the case that I know how memory management in Linux works and you don't.
BTW, the memory management in the Mach kernel (originally from FreeBSD) that IOS uses works exactly the same.
I'm having the same issues.
I made a fresh install of the Factory Image, and then flashed the OTA just to see if it helped any when it came out.
Going from any app to the home screen takes about 5 seconds, and you invariably get some time to stare at the blank wallpaper before the icons pop in several seconds later.
Starting up the camera takes probably as much. Trying to take a lens blur photo is hell, since the scrolling is all choppy.
Starting Chrome takes ages. Same thing with Facebook.
It often happens that I'm listening to music on Play Music, and I go to Facebook then task switch to, say WhatsApp, and Play Music dies.
Also nice when it happens with Uber. Ask for the car, answer WhatsApp and 10 minutes later, why isn't the car here? Surprise. The Uber app had died.
Using the Share dialog is also hell, and so is the Photos app.
Running better than Nougat here.
I have generally found that starting from scratch every major update is the way to go, instead of doing OTA updates.
Android is an open platform that allows you to customize in a lot of ways. The trade-off is you can often get rogue apps / services running in the background sucking away performance and battery life without you realising it (unless you use Better Battery Stats etc. Still, even then things can sneak under the radar).
Every now and again wiping everything and starting fresh can make your device seem like new again. The standard Google backup service is getting pretty good now as well. Combined with the new Google auto-fill service I have now ditched apps like Titanium backup completely. (Google is now backing up SMS's for you, which is a massive win).
I am using a few tweaks which is probably worth mentioning:
* EX Kernel - Glassfish 1.2 governor profile
* Magisk 13.3
* Greenify - systemized with Magisk
* Oreo Pixel mods
Using Magisk allows me to have root and still make Safetynet pass, which ensures Android Pay etc. can still be used.
tim.smart said:
Running better than Nougat here.
I have generally found that starting from scratch every major update is the way to go, instead of doing OTA updates.
Android is an open platform that allows you to customize in a lot of ways. The trade-off is you can often get rogue apps / services running in the background sucking away performance and battery life without you realising it (unless you use Better Battery Stats etc. Still, even then things can sneak under the radar).
Every now and again wiping everything and starting fresh can make your device seem like new again. The standard Google backup service is getting pretty good now as well. Combined with the new Google auto-fill service I have now ditched apps like Titanium backup completely. (Google is now backing up SMS's for you, which is a massive win).
I am using a few tweaks which is probably worth mentioning:
* EX Kernel - Glassfish 1.2 governor profile
* Magisk 13.3
* Greenify - systemized with Magisk
* Oreo Pixel mods
Using Magisk allows me to have root and still make Safetynet pass, which ensures Android Pay etc. can still be used.
Click to expand...
Click to collapse
Are you using stock ROM ?
I did a full wipe but the system was very laggy compared to Nougat. Maybe EX Kernel can optimize that...
Atok_fr said:
Are you using stock ROM ?
I did a full wipe but the system was very laggy compared to Nougat. Maybe EX Kernel can optimize that...
Click to expand...
Click to collapse
Yes I am using the factory images.
I don't think the EX Kernel will fix a laggy system. It will improve battery life but you won't see massive leaps in performance or anything - the stock kernel is still pretty good!
My guess is one of your installed apps is probably doing something weird.
You could try completely stock (don't install any apps) and see what the performance is like.
tim.smart said:
Running better than Nougat here.
I have generally found that starting from scratch every major update is the way to go, instead of doing OTA updates.
Android is an open platform that allows you to customize in a lot of ways. The trade-off is you can often get rogue apps / services running in the background sucking away performance and battery life without you realising it (unless you use Better Battery Stats etc. Still, even then things can sneak under the radar).
Every now and again wiping everything and starting fresh can make your device seem like new again. The standard Google backup service is getting pretty good now as well. Combined with the new Google auto-fill service I have now ditched apps like Titanium backup completely. (Google is now backing up SMS's for you, which is a massive win).
I am using a few tweaks which is probably worth mentioning:
* EX Kernel - Glassfish 1.2 governor profile
* Magisk 13.3
* Greenify - systemized with Magisk
* Oreo Pixel mods
Using Magisk allows me to have root and still make Safetynet pass, which ensures Android Pay etc. can still be used.
Click to expand...
Click to collapse
Thanks a lot!
I'm no rooted using Magisk 13.6.
I'm also using Greenify (PlayStore Version). Systemized Version (via Magisk) didn't work. (Crashed during setup). But the PlayStore Version is working fine.
I'm having the best performance I ever had with my device.
Why is Google releasing such a broken version?
Finaly what Oreo Pixel mods are you using?
Aragur said:
Thanks a lot!
I'm no rooted using Magisk 13.6.
I'm also using Greenify (PlayStore Version). Systemized Version (via Magisk) didn't work. (Crashed during setup). But the PlayStore Version is working fine.
I'm having the best performance I ever had with my device.
Why is Google releasing such a broken version?
Finaly what Oreo Pixel mods are you using?
Click to expand...
Click to collapse
I'm using these mods: https://forum.xda-developers.com/showthread.php?t=3663681
Sent from my Nexus 5X using Tapatalk
Upgraded to v8 and now system performance is terrible and many FC's. It seems this release was not ready for prime time or Oreo will require more than 2GB of RAM for a functionable experience.
---------- Post added at 09:55 AM ---------- Previous post was at 09:51 AM ----------
Upgraded to v8 and now system performance is terrible and many FC's. It seems this release was not ready for prime time or Oreo will require more than 2GB of RAM for a functionable experience.
One of the most annoying things are these notifications that Facebook Messenger is running in the background and you can't get rid of them.
BlueZinc said:
One of the most annoying things are these notifications that Facebook Messenger is running in the background and you can't get rid of them.
Click to expand...
Click to collapse
Here is a fix for that: https://www.xda-developers.com/hide-app-running-background-notification-android-oreo/
I have alot aof Lags with Oreo. Slow opening the camera and shot an Photo. Poor Performance when i using some Apps like Facebook, Google Plus and other. I just downgrade to Android 7.1.2.
Performance has been awful for me. Always stuttering and freezing up. I have had 3 Nexus phones (Nexus One, Nexus 5 and Nexus 5X). I've gotten many make major updates. The update to Oreo has been the worst by far. And the battery life has shown a large decline.
Clean flashed Oreo last night with the latest SuperSU/ElementalX/3Minit performance has been excellent; battery has been ok.
Here is the order in which I flashed:
- flashed stock via fastboot
- wiped userdata, flashed ElementalX (to unencrypt)
- booted, finished setup
- disabled most of Google's bloat (drive/Google App/TTS), updated internal GApps
- rebooted into recovery and flashed SuperSU, booted in (installed MinitResources) and rebooted back to recovery
- flashed Surround Sound/Aroma tweaks (3minit/Pixel Navbar)
- disabled A57 cluster (GhostPepper for small cluster), underclocked GPU to 367MHz, disabled KSM/ZRAM
- Buttery smooth even with a 60fps Nexus live wallpaper
:good:
Aragur said:
I'm experiencing lot's of issues with the latest Android update.
Firstly I made an clean install. My System, Recovery and Bootlader is all stock or anything else got modded.
My RAM is always 99% used.
I have only Messaging apps and Media apps installed. (i.e. WhatsApp, Telegram, Allo, Hangouts, YouTube, Spotify)
So here is my issue:
My apps won't stay in the RAM.
If I write a message in Hangouts and than switch to WhatsApp, immediately switching back to Hangouts will cause this app to restart.
This is happening to all applications...
Btw app startup takes 5-10 seconds and unlocking the device with my fingerprint sensor takes also 5-10 seconds.
I made a factory reset twice. Nothing changed...
Do you expereince the same problems with Android Oreo or is it running smooth for you?
Click to expand...
Click to collapse
My experience:
Battery life was great , apart from a drain when gaming, but I don't game so I didn't care
RAM Management - I know what you mean, my RAM was 1.8 GB consistently
Speeds - No consistent problem apart from games again. When gaming, my device would freeze and go jaggedly. :crying:
Fingerprint Scanner - 1-2 seconds to unlock
But alas, I installed TWRP and got a bootloop....
---------- Post added at 03:19 PM ---------- Previous post was at 03:16 PM ----------
jimv1983 said:
Performance has been awful for me. Always stuttering and freezing up. I have had 3 Nexus phones (Nexus One, Nexus 5 and Nexus 5X). I've gotten many make major updates. The update to Oreo has been the worst by far. And the battery life has shown a large decline.
Click to expand...
Click to collapse
That was me with Nougat. There wasnt a 7.x.x update which didnt bug my phone.
7.0 - Battery
7.1 - Battery, Bluetooth, WiFi
7.1.1 - Battery, WiFi
7.1.2 - Battery, WiFi, Bluetooth, Charging Decline
8.0.0 - Cannot handle gaming
8.0.1 - ???
I flashed the factory image, but I'm running into serous memory issues as well.
The biggest problem is that it's a toss-up if taking a picture will kill my music... Taking 2 pictures in a row will kill the music 100% of the time. I've tried turning HDR off, but I still run into the same issue every now and then. If I try to take a picture while using navigation and listening to music; it will hard crash. Not only will music and navigation close, but I will loose the picture AND my homescreen wallpaper. It will crash to the homescreen and reset whatever image or live wallpaper I have to the factory pink mountain image.
I've also had music crash when trying to send an MMS too... Multitasking just seems to be a nightmare after Oreo. My original plan was to move to a three year cycle when buying the Nexus 5X, but I doubt it'll make it another full year.

Categories

Resources