Settings app issues - Xperia Z5 Premium Q&A, Help & Troubleshooting

I've been having some issues with the settings app for quite some time on android globally, as I like to abuse my phone and was wondering if anyone has found a fix for this.
I have a little over 700 apps on my phone and I've found that whenever I get above a certain amount on my phone, the settings app will no longer properly work when loading apps. This happens a little over 400 apps I believe, and catlog specifically crashes at:
exception at com.android.settings, PID: 25067
exception at com.android.settingsLib.applications.ApplicationsState $AppEntry.getBadgedIcon(ApplicationsState.java:1170)
exception at com.android.settingsLib.applications.ApplicationsState $AppEntry.ensureIconLocked(ApplicationsState.java:1149)
exception at com.android.settingsLib.applications.ApplicationsState $BackgroundHandler.handleMessage(ApplicationsState.java:856)
From what I can tell online this might be an out of memory exception, and will occur even if I directly load a single app for management from a program like Link2SD.
I'm on stock marshmallow now, though I've had issued in lollipop as well. I am rooted and using xposed, and have plenty of available RAM and storage space.

Related

[Q] Did the apps and memory handling change with froyo(?)

Hi all.. Has anyone noticed any difference on the way android treats running apps and memory after froyo upgrade?
I hv been using SystemPanel Lite (by NextApp Inc) as from the first days of my Desire (April); actually not as a task-killer but for monitoring system, running apps/services and memory. It shows apps that are running and visible, running in the background and those that are inactive at the moment.
Before froyo, there were fewer apps running in the background, and most of the apps that were opened by me or activated automatically by OS were in "inactive" status. Now -after froyo- there is almost no any apps/services that are reported as inactive (?); all of them (appr 41 apps/services right now!) are running in the background, some of them (14 pcs) third party apps which were installed from the market, all the rest are android or HTC system apps/services, and no any single app seen in "inactive" at the present.
(My device is unrooted, generic HTC Desire with official froyo)
I noticed that too, but I think it could be just down to some way the systempanel reads application state or some formal changes.
Me, too. I also noticed (ironcally) that several google apps seem less stable than before. I also had to do a soft reset as the only way to force close the FM Radio. Companionlink synching hasn't been the same, either, occasionally clearing all the data and starting from zero - very annoying when you have 1200 contacts...
But improved reception on phone and wi-fi have made up for all that.
chuk

Kaiser Android slowdown

I'm running dzo's kernel 09/09/10 and dzo's froyo 02/09/10, but I've been experiencing these problems with the CyanogenMod port as well. Basically the phone often becomes sluggish and unresponsive. I've tried using Startup Manager to trim down the running processes, but it doesn't seem to work for me. Taskpanel seems to show a typical free memory level of less than 30MB. I'm not running a huge number of apps, although everything is installed to flash, as is Android.
Is there anything I can do to prevent these slowdowns? I take it installing apps to SD card won't actually free up core memory.
Typically in my experience Froyo or rather CM6 tends to get sluggish after a while, due to more and more processes using up available RAM, I'm not sure this is actually helped by task management, since most tasks simply restart if killed before they have done their job.
It's not just confined to our Kaiser CM6 ports either, I had the same sort of thing on my G1.
I just went back to 2.1 builds and have been happy with my average 30Mb free ram ever since, without task management, and yes, that includes my G1.
Apps2sd will free up space on data storage, however it will not free up RAM sadly, which is where the problem is.
Another thing I have found recently on the froyo that is slowing me down is the stupid download folder on the sd card. The market uses this and if you have a partial download, ever, it seems to cause issues until you delete the files out of there.

[Q] Anyone know why my data/data folder keeps freaking out?

Was getting low storage error and moved a bunch of apps to sd card and my data/data folder showed I had like 80mb free and error went away. Couple days later error came back without adding any new apps and I was under 15mb free, figured this was weird and restarted my phone and it went back to 78mb free.
So what could cause this? Is something not clearing out right here on its own? Btw I am on a stock deodexed rom.
if you don;t install the EXT4 fix, the stock configuration is for the Data partition to be a paltry 149 mb. That can get filled up pretty quickly-mostly by apps like the messaging app, Google Maps and anything else that needs to stored data in this "high performance/secure" location. i put it in quotes because it;s the "official reason" for doing this but I think it;s crap. in reality it;s a design flaw by HTC that never got fixed. also, files from the Playstore get cached to this partion which is why the free space available can jump up and down. there is only so much moving apps to SD Card will fix. the problem is certain apps accumulate data over time.
If you do install it you will have 749 mb available. if you have a rooted Dinc, I think there is no reason not to install it. then again I am not certain if your ROM is compatible. I hear that Touch of Blue has this fix integrated into it if you want to stay on Gingerbread.
this thread probably has all the info you need
http://forum.xda-developers.com/showthread.php?t=1488351
Thnaks man but it's not that, something is just "wrong" with it lol.
It will say I have close to 80mb free and just a few hours later be full. I noticed If I go into Titanium Backup and do some stuff (like removing orphan data) or something it seems to fix it and the low on storage space error goes away and frees up like 60-70mb instantly. This never used to be like this.
Wonder if it's just a sign of an aging cpu or phone not calculating how much free space is there properly.
did you install the fix? if you did not, then do it. the Dinc is a very well known device. Us users have beaten this device to death over the last 3 years. there is not too much new going on. it could be possible that your device is failing and if it is, get a new one.
before I rooted my Dinc, it was a daily struggle for me to keep this partition from filling up. for me the combo of data being consumed by Amazon App store, Google Play store and mostly my email client with 4 email accounts. 149 mb is just too small.

External storage is low warning?

I've been getting an external storage is low warning after downloading apps on google play. When I go to settings and check my storage space it shows that I'm not even close to being low. Has anyone else been having this problem?
Sent from my SM-N900T using Tapatalk 4
Yes, I have seen it only once. It happened when downloading multiple apps.
Sent from my SM-N900T
Hope it's just a fixable bug and won't cause any problems down the line.
Sent from my SM-N900T using Tapatalk 4
After this notification all my app updates fail to install!
Mexyl33t said:
Yes, I have seen it only once. It happened when downloading multiple apps.
Sent from my SM-N900T
Click to expand...
Click to collapse
I'm seeing the same thing, but not just once. For the past couple of weeks (since mid-October or so) this is happening every time I run Play Store update (which I have set not to occur automatically, but it makes no difference even when I change it back).
More importantly, once external storage reports it is in the range of 1 MB or so, every app thereafter dutifully downloads and then fails to install with error message: "Couldn't install on USB storage or SD card". Both "USB storage" (internal to phone but treated like a USB device) and SD card are multi-GB, and there is plenty of room. Still, no installation! :crying:
As I said, I have never saw this happen before the last couple of weeks.
Based on the limited info thus far on this little thread here, I'm not so sure it is my device or apps at all. Still, I will share what I did prior to finding this thread in the hope that it will help others and perhaps give clues to a skilled dev out there. :fingers-crossed:
At first, I thought it was something about my particular device/setup, which I find is almost always the case. Here are my basic particulars:
Droid Incredible "dinc", rooted, security OFF, with Tiny's mod of CM 10.1 (Jelly Bean 4.2.2), plus Tiny's ext4all patch to expand internal memory space to about 748MB.
My internal memory is getting a bit low despite moving most apps to SD card but it is still respectable:
"settings-->apps-->all" reports 200MB "internal storage" free, while Titanium Backup Pro summary for "internal" reports 249MB free.
(Can't quite figure why there is a difference in the numbers, but in this case it shouldn't matter.)
The only other significant recent additions of apps is that I purchased and installed the full version of "Air Control" game on 29 Sept. and purchased a 1-yr sub for Avast Mobile Security (AMS) on 3 Sept. The problem came about some time later, but Air Control's apparently forced presence in internal storage (see workaround #2 below) and AMS's involvement in scanning every app installation may be contributing factor(s).
As far as I can determine from Avast support resources, AMS scanning cannot be turned off temporarily and would have to be fully uninstalled, which is also not very easy on a rooted phone. So I have thus far left that stone unturned!
Maybe this bug is caused by Google Play Store client app or the Google online system? I followed the troubleshooting steps on the "known issues" Google Play Store page -- click on "Contact Us" to launch the troubleshooter and select "Download Unsuccessful":
Google Play Store support page
1. Clearing Google Play and Download Manager data caches alone made no difference.
2. Doing #1 AND rebooting my device did allow successful "update all" multiple installations.
3. Remounting SD Card was suggested, but I have not tried that option as yet. Maybe it would help?
Prior to tweaking the Play Store app (which may be all that is really needed), I found a couple of other workarounds that at least allow me to update my apps with a minimum of fuss -- no rebooting or labourious individual cache clearing required! Maybe these will help others, too:
1. Installed AVG Cleaner app that makes it easy to clear cache from download history + app caches in one swoop. It seemed to make a difference with some but not all of the smaller apps (<5MB), but no go with larger apps like Twitter and Chrome (>5MB). Not absolutely certain this tweak is really doing anything to help out this situation.
2. Uninstalled the game "Air Control" paid version that stubbornly refuses to be moved to SD Card. Titanium Backup Pro (TBP) says it moves it, but in fact it does not. At least some large chunk of it remains in internal storage. Once I uninstalled Air Control using TBP, I was able to install all updates, BUT ONLY MANUALLY (i.e. one at a time) in Play Store. Auto-updating and "update all" in Play Store continued to fail, whether the low external storage warning appeared or not.
3. I searched the web to see what fixes I could find, and came up with a recommendation for Lucky Patcher (LP), which reportedly can remove all traces of a misbehaving app through its "Troubleshooting" process.
Here is where I found this recommendation (see under "Option 1"):
How-to-fix-insufficient-storage-available-error-on-android-phones
I am now aware that LP is warez and does some pretty nasty things to crack security on apps (definitely not what I want to do -- I pay developers when they ask for it and am happy to support them!). :angel: I just wonder if LP's less nasty function of app cleaning would resolve this current issue. I actually haven't tried using LP yet in any respect.
Better yet, is there some other less potentially destructive app than LP or some other tweak/procedure that will fix this bug/issue?
As I said earlier, I have not taken the step of uninstalling Avast Mobile Security since it is so involved on a rooted Android.
Hoping there is a skilled dev or two out there who can tackle this one, or at least evaluate the workarounds and tweaks listed here. :fingers-crossed:
Autokiller Pro seems to help
Installing AutoKiller Pro (the paid version) and activating all the tweaks seems to end the problem.
I have had one forced reboot since setting up this app's tweaks, but this happens occasionally anyway, so unless it becomes a more common occurrence, I will not blame the app.
I have never recommended a particular app on XDA before, and I absolutely have no financial or other interest in the app or its dev.
It just seems to work, and all the manual workarounds recommended in my previous post are no longer required. I also do not waste time downloading app updates that the system refuses to install.
Try the free version first if you like, but I found that the tweaks that take effect with the Pro version are the key.
Has something to do with Android 4.3. It happens on my Nexus 7 also.
I would guess it is a TRIM bug. Perhaps the storage is not handling trim correctly.
sent from my sm-9005.

Clearing out log files

I have the Verizon version of the Moto Z2 Play, which no one has figured out how to root. About every four months or so, the internal memory gets so low that I have to perform a factory reset, then reinstall all of my apps. Google Backup does not back up everything, so I have to spend five hours or so getting everything reconfigured. I assume that this steady dwindling of storage is due to accumulated log files. Does anyone know a quicker way to clear these logs on an unrooted phone? The cleanup utilities I have tried, such as AVG Cleanup, don't resolve this issue.
Sent from my XT1710-02 using Tapatalk
Well, first of all it's plain impossible to root a Verizon device if you can't figure out a way to guess the unlock code. The times that Android itself could be rooted without something like an unlocked bootloader are long ago and methods through download modes are too difficult.
Second of all, as long as you didn't enable some very Experimental debugging feature in developer settings it's impossible that log files could clogg your memory, at least if you don't use to have your memory up to 99% full to begin with.
So either you have some app that downloads a huge amount of data that you are not aware of or some some app is going crazy in the background (since a full storage would only be something that you will notice when you get according notifications).
So you first of all have to figure out what actually bugs down your devices performance.
Disabled anything you might have enabled on developer options
Monitor apps RAM usage from dev options -> memory and running services. I know people always say unused RAM is wasted RAM, but what that small minded view leaves out of that you can find apps going crazy when they use a huge/unusual amount of RAM
See if you can find out how much memory is used by what data. Even though the systems view is broken on pretty much any Moto ROM, there should be Apps that are able to display that.
Find apps wasting battery with apps like GSam battery monitor, another way to find apps and process going crazy
Keep in mind you might have a hardware issue. If you have faulty memory it's possible you won't be able to fix it. That can only be fixed by formatting partitions to detect and disable faulty flash cells. I'm not sure if factory reset can do that and what you can achieve with stock recovery mode

Categories

Resources