this post was submitted on 12 Jan 2024
2 points (100.0% liked)

Android

27916 readers
123 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

[email protected]


founded 1 year ago
MODERATORS
 

Greeting all, I've only ever been an android user, but I don't think I've ever heard anyone talk about this. My Galaxy S21 is starting to have performance issues and I'm curious if a clean install would breath new life into it?

Does this help with android devices like a fresh install on a PC, or do android devices just get bogged down with updates? Would it be worth the trouble to back things up and do a factory reset?

Thanks!

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 9 months ago

I know this question was from last week, but I have an only slightly different angle that I'd like to share.

Android doesn't benefit from reinstallation in the same way that a PC does because it uses a different app model. A PC can slow down due to accumulation of useless junk files, plugins, and services running in the background that you no longer use. On Android, you can have junk apps, but Android does a good job of bringing them to your attention by requiring a notification while an app runs in the background or else the apps and services get heavily throttled to avoid using the CPU if the user doesn't access the app regularly. Android also provides clean removal of all files when you delete an application. Apps are very self-contained with few exceptions. If you removed all the apps you downloaded, the system is pretty much the same as its factory reset state.

In the really old days, a PC could slow down due to fragmentation of the files on the disc over years of use. This is no longer a significant problem because flash storage offers fast random access even to highly fragmented files. Manufacturers actually recommend against attempting to defragment this media.

[–] [email protected] 1 points 10 months ago (1 children)

Not really. If you uninstalled all apps, you'd effectively end up in the same state as a clean install (modulo system settings). Reversely, if you did a clean wipe and then installed all of your apps again, you'd end up in roughly the same state as before.

In 9/10 cases, it's not the OS that's bogging down your device but the apps. Take a look at memory usage and uninstall or stop things you don't need running in the background.

[–] [email protected] 0 points 10 months ago (1 children)

There's quite a bit of stuff that builds up that app installers don't remove. Because Android is still pretty open, the rules around this stuff aren't as mature as say the Windows MSI database.

When you factory reset, the entire user-data partition is wiped.

On a rooted phone I can emulate a data wipe by uninstalling apps and manually deleting a lot of stuff.

On a non-rooted phone, uninstalling then using tools like SD Maid will get you pretty far, maybe fsr enough to not notice the difference.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (1 children)

There’s quite a bit of stuff that builds up that app installers don’t remove.

Such as?

Because Android is still pretty open, the rules around this stuff aren’t as mature as say the Windows MSI database.

"Mature" and anything relating to the insanity that is Windows package management do not belong in the same sentence.

By default, Android has pretty strict guidelines where apps are even allowed to store state to begin with and will wipe all of those places upon uninstall. Integration state (default apps, app-related system settings etc.) is quite minimal and I've never had any remaining after an app has been uninstalled.
The only possible leftover state after uninstall I can think of is things apps can store in the user storage ("sdcard") when given explicit permission to do so.

Besides, app data storage of any sort is unlikely to "bog down" your phone anyways unless usage is abnormally excessive, making you run into IO or free space issues.

[–] [email protected] -1 points 10 months ago (1 children)

Uninstall enough apps and you'll see the crap left around.

And yes, MSI is mature compared to Android, by a country mile (as much as it sucks. I've done app packaging since the mid-90's, before MSI, and what a massive difference it made). Even with it's challenges that are largely a result of having a no-rules OS at first, just like Android, it very rarely has issues today, and then usually just for trying to do things that are work-around for apps that don't want to follow guidelines (very few of them anymore, 99% of the time I can just run through setup and let it build the difference file). Most apps today take a matter of hours, including full testing, when they used to take days.

In theory Android has a cleaner app install/uninstall process (it's really good, and getting better), but it still leaves stuff around sometimes. I've seen it plenty. I'm not sure why it happens, I just know what I see. App data folders left behind, downloaded files left behind (even with scope, because the download folder is still used).

Just because the latest versions of Android have scoped storage doesn't mean that there isn't crap spread around. Having reset many phones I've seen the difference between just uninstalling all your apps and wiping the partition.

I have folders all over the place that no uninstall will touch. My download folder is currently 8gb, and no app uninstall will clean that.

I have a half dozen folders from apps that are no longer on my phone. One has a file in it dating from over a year ago...I remember testing the app then, and uninstalling it.

Just yesterday I reinstalled an app and expected to have to create a new user account for it, but it found it's old data folder from when I uninstalled it in August.

[–] [email protected] 1 points 10 months ago

it still leaves stuff around sometimes. I’ve seen it plenty.

You still haven't declared what this "stuff" is and, more importantly, where it leaves it.

App data folders left behind

What kind of "app data folders"? In /data/data/? I doubt it.

downloaded files left behind

Duh. If the user downloaded files through the app and explicitly told the app to put those in downloads, those should remain. It's user data at that point, not app data.

Downloads are also just inane user files. They won't slow anything down (again, excluding excessive storage use; causing free space issues).

[–] [email protected] -1 points 10 months ago* (last edited 10 months ago)

depends

as long as it is an android image from the manufacturer for the drivers

beyond that the part that contains the operating system the memory module is the same as desktop/ laptop, auto, and any other computers in one regard

anything that contains, reads, or writes data will eventually lose integrity usually at 2-3 years sometimes up to five years