Permanent Android slowdown after 2-3 days of using - General Questions and Answers

Hello all.
Have a Xiaomi Redmi Note 8 Pro on MIUI with root. Has Samsung Galaxy S7 on Android 8.0 before for many years.
On both phones I get permanent slowdown after 2-3 days using. First day of using (first 6-8 hours after each restart) all is fine. But after 1-2 days I became huge "swapping" of each app I use.
For example, I begin type a text in a web page (forum, etc.), switch to gallery for 1-2 seconds, return to browser and... a web page loads from the beginning, all my typed text loosed. Or loosed another text or state in another apps, taxi-app, calendar, etc. Apps restarts, nothing stays in memory for a long time, even for 2-3 s. Also there is a slowdown in apps starts - it open more slowly then in first day after phone restart. First 1 day - all fine or mostly fine, but after - awful. Something in memory, something in apps...don't know what is that. People, are you experienced the same issues? Need help to diagnose this.
Also I see that phone can be very fast from time to time, but after a 10 minutes of jet-speeds phone slows and never reached those speeds again.
What is this? Thanks for all answers.

That's what ChatGPT answers:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I know about cache, unused software, lacks of a storage space. Many processes in a background - how many processes Android can hold without slowdown? 1 or 2? There is 6 GB RAM, 4 GB for user processes.
I see that 1,3 GB still free. But swapping begins anyway.

Great you already know all what matters.
FYI:
Basically Android - what by nature is a multithreading OS - can run as many processes ( read: services and applications ) as RAM for them is available. The maximum amount of RAM ( read: heap size ) an application can make use of is defined in system file build.prop. In general, the maximum heap size for Android apps is 256MB on devices running Android 4.0 or later. However, some devices may have a lower maximum heap size due to hardware limitations. It's important to note that setting the heap size too high can cause performance issues and may even cause the app to crash.
The following list presents the different types of processes in order of importance ( the first process is most important and is killed last ):
Foreground process
Visible process
Service process
Background process
Empty process
All Android applications will remain running and in memory until the system needs its resources for other applications.
Anyway:
1. Check the background process limit setting in developer settings
2. Run
Code:
su -c "dumpsys activity settings"
to get the values for
CUR_MAX_CACHED_PROCESSES
CUR_MAX_EMPTY_PROCESSES
CUR_TRIM_EMPTY_PROCESSES
CUR_TRIM_CACHED_PROCESSES

xXx yYy said:
Anyway:
1. Check the background process limit setting in developer settings
2. Run
Code:
su -c "dumpsys activity settings"
to get the values for
CUR_MAX_CACHED_PROCESSES
CUR_MAX_EMPTY_PROCESSES
CUR_TRIM_EMPTY_PROCESSES
...
Click to expand...
Click to collapse
CUR_MAX_CACHED_PROCESSES=32
CUR_MAX_EMPTY_PROCESSES=16
CUR_TRIM_EMPTY_PROCESSES=8
CUR_TRIM_CACHED_PROCESSES=5

xXx yYy said:
Anyway:
1. Check the background process limit setting in developer settings
Click to expand...
Click to collapse
Limitation of background processes is "Standard"
Also option "MIUI optimization" enabled.

Related

[APP][2.3+] Vcustomize 1.0

An app to make calls and record voice memos without having to unlock the screen or look at it.
After years of shying away from the new OS (WP, android, iOS) because of lack of control, I decided to give up my WM6.5 phone and write an app myself.
https://play.google.com/store/apps/details?id=com.vivekiny2k.vcustomize
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Vcustomize lets you make calls, record and listen to voice memo, turn on flash light, and tell time while the phone stays in its cover. Since Android does not allow keypress access to background services, I use proximity sensor to know when the phone is in cover and only then I bring the actual app up. This way it's almost invisible to the user. The sensor can be overridden though.
It's not perfect, but I am working with whatever resources android provides. I use it daily and could not live without it, despite the shortcomings. So I decided others should be able to benefit from it as well. I have tried to make the description as simple as possible, have uploaded a demo video, and made the app free with ad-support.
I hope to add more customizing options if there is enough interest.
Please send feedback and suggestions at [email protected]
I have released version 2.01. It includes many features available on the screen when phone is locked.
----------------------------------------------
2.01
- added flashlight
- added review calls (need directory configured in /sdcard0/vcustomize/callrecordings.txt)
-----------------------------------------------
update history
2.00 - fixed force close problem. App runs without crashing.
- added options on touchscreen to
- make calls (need directory configured in /sdcard0/vcustomize/contacts.txt. format is "name|number")
- record voice memos
- interval shooting ( can be termed spy cam)
- backup files (need backup script configured in /sdcard0/vcustomize/backup.txt. format is "source|destination|delete-source-after-copying-flag")
Going to give this a go thanks for this!
Release version 2.02. I have added timers and alarms (you lose them if phone reboots), full screen postview, and some general stability improvements
It took me two hours to add option to turn off data and wifi when screen is turned off. My android reported 4% battery loss in 6 hours, that's 150 hrs or 6 days of idle time! This was with a bunch of apps and messengers running in background (obviously deprived of data).
The only downside is you will not get any updates from network based apps (gtalk, messenger, email, whatsapp etc) when screen is turned off. but they will get updated in seconds after turning on the screen.
I'd really like to try this app but play store says my device is not compatible. I'm running gingerbread 2.3.4
O2Blevel said:
I'd really like to try this app but play store says my device is not compatible. I'm running gingerbread 2.3.4
Click to expand...
Click to collapse
I compiled using API level 9 which should support 2.3.4 per the table below. What is the device you are using?
http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
vivekiny2k said:
I compiled using API level 9 which should support 2.3.4 per the table below. What is the device you are using?
http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
Click to expand...
Click to collapse
My phone is LG Optimus Slider. Can you post a link to your app and I can try to sideload it.
O2Blevel said:
My phone is LG Optimus Slider. Can you post a link to your app and I can try to sideload it.
Click to expand...
Click to collapse
try this
View attachment Vcustomize.apk
It installed OK, but unfortunately it force closes.
O2Blevel said:
It installed OK, but unfortunately it force closes.
Click to expand...
Click to collapse
I guess google knows something about your phone that we don't.

Improve Performance Of Your Android Device With All In One Toolbox

With daily use, your Android may suffer specific yield losses due to overloading or increased my junk files. With All in one Toolbox, improve that performance immediately can be as simple as pressing a button on the screen of your Android.
1. IMMEDIATE OPTIMIZATION WITH ALL IN ONE TOOLBOX
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
According to statistics, every day more than 4 million apps are downloaded and installed and on average, each user installs between 25 and 30 new apps on your Android , in addition to those originally used to include the manufacturer or network operator.
Although these data do not imply that all these apps are used at the same time, if shows that, even in a timely manner, the processing power of your device can be seen collapsed by the simultaneous use of several apps or Storage Space can quickly be consumed because of temporary files and junk files generated by all those apps that you have installed on your Android … and even some you’ve deleted.
The use of this application can solve this problem and, on this occasion, I want to show the effectiveness of one of them: All in one Toolbox .
Imagine that all the inhabitants of your city decide circulate simultaneously on the same street. Probably they cause a significant bottleneck both on the street in question, and in adjacent.
Well, something similar happens in your device when you run multiple apps simultaneously, the processor capacity collapses to solve all requests.
This breakdown does not always occur because of poor management Android RAM , in most cases is the lack of optimization of the apps themselves that cause the collapse.
In this situation, it is best to close the least important step to give priority to those which are actually using. With All in one Toolbox that is as simple as touching a button.
Start by finding and installing All-in-one Toolbox in Google Play and start the app.
In her internal storage capacity and its use is shown, the use of RAM and storage of the user. Then you can choose between two alternatives with the same result. The first is to touch on the central indicator of RAM and immediately start optimizing your Android to give higher priority to services that require more resources.
The second alternative is to touch the icon Empowerment . Then analyze the apps that are loaded into RAM and will propose closing the least important.
At all times you can uncheck any of the select apps to avoid arrest. Then click on selected Detention and indicated my will stop giving higher priority to other to speed up performance and responsiveness.
[ Interesting: Top 70 Latest Android Apps For New Smartphone Users ]
2. CLEAN THE JUNK FILES FROM YOUR ANDROID
Another important aspect which also affects, to a lesser extent, the performance of your Android are junk files.
These files are usually residual error logs apps, temporary files or orphaned and forgotten after uninstalling the app. These files slow down the overall system performance because it must spend resources to organize and manage thousands of files you really are useless.
Perform periodic cleaning of these files helps to improve the performance of your Android and recover some of the lost storage space.
Doing so is as simple as the optimization process that you have seen in the previous step.
Touch the icon Clean and analysis of files will start. The results are classified into several categories depending on their nature.
Among them it is common to find files cache apps, temporary files or even obsolete remnants of uninstalled apps or longer.
Tap on a category to check that indeed everything that has been detected can be removed and is not included any documents you want to keep.
If everything is correct, click on Clear and the selected files will be deleted.
3. A BOX FULL OF TOOLS FOR ANDROID
In addition to the options to optimize the use of RAM and storage space , All-in-One Toolbox has some additional features that allow you to better manage your files and applications on your Android.
As its name suggests, All in one Toolbox is a complete toolbox that in addition to optimize the system , allows you to manage installing and uninstalling apps , backup or control apps auto start with the system .
To access these additional tools, tap on the icon guides . Here is a list of the various tools available is displayed.
One that have seemed more attractive is what allows you to customize the apps that are started by the system. Tap on the tool ON .
Then the tab User Apps, shows you a list of the applications you’ve installed and that are started by the system when you turn on your device. If you want to speed up the start of your Android , switch off the you do not need. You can also disable the start of some apps built into the system.
Go to the tab System Applications and disables do not use.
Pay special attention to disable the apps in this section, as some of these apps are essential for the correct functioning of the system. If, for example, you use the app for Gmail to manage your mail, you can disable the start of the native Mail app Android since it will not be of any use.
This is not Disabling the app, just you prevent it from loading into memory at startup.
4. INSTANT CLEAN YOUR ANDROID PHONE
If you want to further reduce the steps to optimize your Android , you can create a shortcut to the optimization options or cleaning .
To do this go to the respective sections in All in one Toolbox and click on Options . In the menu that appears, tap on Create a shortcut and a new shortcut on your home screen is created.
Clicking on it will run directly the task of optimizing or cleaning without starting All in one Toolbox.
Article forwarded from waowtech

System ui memory leak

Do any of you facing an issue of system ui taking a lot of memory? It happens with me daily and only way to a temporary fix is reboot.
mujeeb999 said:
Do any of you facing an issue of system ui taking a lot of memory? It happens with me daily and only way to a temporary fix is reboot.
Click to expand...
Click to collapse
What device? What ROM? What mods? What's running in the background? What makes you think it's specifically a memory leak, instead of something else like a runaway process?
Without details, we cannot help you.
Moto turbo xt1225, stock marshmallow with December security patch. Everything stock, no mods or root. I think it's a memory leak because system ui takes as much as 400-500 mb in couple of days after rebooting.
mujeeb999 said:
Do any of you facing an issue of system ui taking a lot of memory? It happens with me daily and only way to a temporary fix is reboot.
Click to expand...
Click to collapse
mujeeb999 said:
Moto turbo xt1225, stock marshmallow with December security patch. Everything stock, no mods or root. I think it's a memory leak because system ui takes as much as 400-500 mb in couple of days after rebooting.
Click to expand...
Click to collapse
1) What is causing YOUR memory leaks? Could be anything. Lots of apps like to run in the background, even if you are not using them, so that when you do "open" them, they will snap open in an instant. (Since they are already running as a background process.) The developer thinks HIS app is so important it needs priority. Meanwhile all the time you don't have it actively open, it's still running in the background sucking up RAM. Every app developer thinks their app should be your most important app.
Greenify
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en
This is why an app like Greenify give you control back. Historically it was an app that needed root, but reportedly now also runs without root?
NEW: "Aggressive Doze" and "Doze on the Go" to maximize the battery saving on Android 6+, even without root!
(details explained in settings)
Click to expand...
Click to collapse
I don't know, as I've always been rooted and will always be rooted, but check it out. Anyway at least on my rooted phone Greenify will let you forcefully HIBERNATE all apps on a list of your apps that you choose, so that they will NOT run until you manually open them. Like my flashlight app doesn't need to be running in the background until I NEED my flashlight. HIBERNATE. Until I open the app. Then upon closing the app, will go back into HIBERNATION. Greenify will suggest apps to hibernate, but you can expand to a larger list of ALL your apps to choose from. I have over 200 apps, so I just went down through the list and checked most of them off.
Of course, you don't want to hibernate stuff like your email app or messaging app or weather widget. Those DO need to run in the background. But most everything else, yes.
_________
2) This won't necessarily help you, since you are not rooted, but I also use Auto Reboot to perform a daily scheduled reboot of my phone when I'm not using it. Like 4am, but would depend on each person's preference. Rebooting clears the RAM, prompts app updates, and generally just refreshes your phone. Same speed benefits as rebooting any PC. I have this set on my phone, my wife's phone, as well as all my friends' Androids who I tech support. We're all rooted of course.
Rebooting daily prevents a lot of the lag that seems to accumulate over time. So, I know you are thinking the reboot is "temporary fix", but rebooting daily can prevent any memory leaks from becoming a runaway process.
Auto Reboot (Root only)
https://play.google.com/store/apps/details?id=com.pereira.autoreboot&hl=en
This scheduled pre-emptive rebooting when you are NOT using the phone is better than having to reboot when you are actively using the phone, yes? At work, we have a server that seems to freeze up about once a week. It would freeze up when we were using it, really needing it! Finally our engineering staff got the idea to schedule a weekly reboot of this server during a down time when we were NOT using it, and now it never freezes up!

[Launcher][5.0+] Fast Draw

I wanted a launcher that immediately shows the installed apps and has an option to categorize them. As I couldn't find one I liked, I decided to make Fast Draw.
It's basically an app drawer without support for widgets (but it does support shortcuts) and it's somewhat configurable. That's about it, it's a pretty simple little launcher.
Please give it a try and leave a comment (I have only tested it on two devices so far, please let me know of anything unusual).
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download
Install on Google Play
or
Download APK
XDA:DevDB Information
Fast Draw, App for all devices (see above for details)
Contributors
Fußbodenheizung
Version Information
Status: Testing
Created 2017-09-01
Last Updated 2017-09-18
Reserved
Very fluid on my Oneplus One, currently running the SultanXDA Cm14.1 ROM. All the pref settings seem to work, no problem at all. A very nice launcher for anyone wanting to get right down to business when they turn on their phone, and can do without all the eye-candy of transitions and tons of widgets. Perhaps you might consider enabling just one or two widgets sometime in the future for display on the Home category tab.. All in all, I believe it to be a great start, for what it is.
As far as attaching image files of any sort, I believe all you need to do is to scroll to the bottom of the message pane in the "Additional Options" section, and select "Attach Files" manage attachments. I'll give it a test here to confirm...
Nevermind, I see you figured it out...
Nice job :good:
Works on my tablet with android 5.0.1.
It would be great if we could place the apps freely (to have them organized in way comfortable for us), since it's simple and clean it runs very smooth. It feels like the screen is bigger ?.
My only "worry" is that it consumes more than default (launcher3) even though it has less stuff, so idk, hope to see how you improve this app~
Atsukai said:
Works on my tablet with android 5.0.1.
It would be great if we could place the apps freely (to have them organized in way comfortable for us), since it's simple and clean it runs very smooth. It feels like the screen is bigger ?.
My only "worry" is that it consumes more than default (launcher3) even though it has less stuff, so idk, hope to see how you improve this app~
Click to expand...
Click to collapse
Could you tell me the numbers? I also noticed that it consumed a lot more RAM, until checking launcher3's memory use in Android Studio, and noticing it's a much bigger number than it says on the phone. In Android Studio's monitor both apps seemed to use about the same amount (if not using widgets in launcher3). I don't know why there's a difference.
Fußbodenheizung said:
Could you tell me the numbers? I also noticed that it consumed a lot more RAM, until checking launcher3's memory use in Android Studio, and noticing it's a much bigger number than it says on the phone. In Android Studio's monitor both apps seemed to use about the same amount (if not using widgets in launcher3). I don't know why there's a difference.
Click to expand...
Click to collapse
Numbers? (Sorry I'm not very experienced with android related stuff) but well, I checked the ram usage as soon as I went home and it was consuming around 20mb, whereas launcher 3 was consuming 15mb. The difference is not much but as a simple launcher I thought it would consume less.
Maybe making an option to add the apps like the "shortcut" option on old androids 2.3.6 (like, holding tap then finding the app) that way it doesn't have to load all the app icons on the tab of "unmoved apps" ).
Atsukai said:
Numbers? (Sorry I'm not very experienced with android related stuff) but well, I checked the ram usage as soon as I went home and it was consuming around 20mb, whereas launcher 3 was consuming 15mb. The difference is not much but as a simple launcher I thought it would consume less.
Maybe making an option to add the apps like the "shortcut" option on old androids 2.3.6 (like, holding tap then finding the app) that way it doesn't have to load all the app icons on the tab of "unmoved apps" ).
Click to expand...
Click to collapse
Thanks. Yeah, I meant the megabytes.

Enabling Push Notifications on Oppo A77 (Australian version)

Hi Everyone,
I recently purchased an Oppo A77 (in Australia), and am very impressed by the cost of the phone and the excellent hardware (Octa-core processor, 4 Gigs of RAM, and 64 Gigs of Storage - all for AU$350, or AU$300 on special!!!).
It has taken me some time to get used to ColorOS, which is Oppo's UI for Android. Make no mistakes an Android purist will struggle with this OS because it has clearly been designed to mimic the iPhone!
Once I got my head around the fact that there is no traditional Android menu and that all App icons must live on the home screen (just like on iPhone) I began to enjoy using ColorOS.
However there are at least two functional issues which I have noted with my A77, and the most glaring of these is the fact that it does not do Push notifications by default for almost all apps.
To make things interesting there are four individual settings, in four different locations, which must all be set correctly for Push notifications to work!
Section 1 - Add Apps to Startup
In order to save battery the A77 only starts what it sees as essential Apps.
As a result the first step in our process is to enable Apps at startup for which we wish to receive Push notifications.
a). Open the Security App (looks like a 'shield with a tick inside' on my A77)
b). Click on Privacy Permissions
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
c). Click on Startup Manager
d). Enable Apps which you want to startup with the phone (e.g.: Yandex Mail)
Section 2 - Enable Apps for Priority Notification
a). Open the Settings App (looks just like the one on an iPhone!)
b). Select App Management
c). Select All
d). Select an App of interest (e.g.: Yandex Mail)
e). Select Notification Manager
f). Enable Priority Notification
Note: You may also (optionally) want to enable 'Notification Light Flashing' to make it easier to see when a new message is present (should you not hear the phone)
Section 3 - Stop Apps Optimization
a). Open the Settings App
b). Select Battery
c). Select Energy Saver
d). Select the App of interest (e.g.: Yandex Mail)
e). Turn off Freeze when in Background
Section 4 - Lock Apps in Background
a). Start an App of interest (e.g.: Yandex Mail)
b). Press the Home button (to clear the screen)
c). Press the Recent Apps button (square button to the left of the Home button)
d). Lock App (of interest) by dragging down on it
The lock icon can be a little hard to see due to its size and transparency. Furthermore only one icon exists and it looks like an unlocked padlock. Make no mistake the unlocked padlock icon actually indicates that the App is now locked. Whereas the absence of a padlock icon indicates that the App is not locked!
At times the Security App may ask you to 'Optimize' your phone! Ignore alerts of this type as the phone is essentially asking you if you want to stop certain Apps from running at Startup; these will be the Apps that you have deliberately decided to start!!!
Following the instructions above will result in the Apps of your choice running at all times, and this does consume additional RAM, however with 4 Gigs of RAM to begin with I have not found this to be a concern. Furthermore additional battery consumption will occur, however in my experience the extra consumption is negligible.
Additional Apps which I have enabled at Startup are Carsales, Dropbox, Find My Device, Outlook, Roomster, Yandex.Mail and Yandex.Disk. Under normal operating conditions I usually have in excess of 1.5 to 2 Gigs of RAM spare despite having these Apps running.
Kind Regards,
Davo
Thank you!
Thank you so much! I purchased an OPPO r11s plust and not receiving e-mail notifications was driving me crazy.
Hi, i am user of OPPO F7 and i don't have startup setting rest all i applied but still no notification
Legend.
Absolute legend, thanks heaps.
Found myself in the same situation after the death of my Sony Xperia, and had tried everything but my alarm app and a couple of others kept getting force-closed and/or failing to show notifications after going to the background no matter what. That final tip for dragging down to lock an app in the app manager was the thing that did it, worked a charm. :good:

Categories

Resources