[Q] What happens when you uninstall? - Streak 5 Q&A, Help & Troubleshooting

Search brings up plenty of how to posts, but what I'm after is what actually goes on during the process. Is this a 100% no trace uninstall or is it like Windows where there always seems to be some trace left behind that frequently screws something else up?

It deletes the apk from /data and then deletes all the setting/data associated with it.
It might leave behind something in /cache or the dalvik cache though.
But those can be removed by cleaning them though streakmod

Related

[Q] What kind of system maintenance does Android require?

Is there a kind of system maintenance routine necessary (or beneficial) to keep Android running in top condition? I've seen that permissions can be repaired via CWMod and Dalvik cache, etc, but what else should we do to maintain the system performance and stability, etc.?
well, idk if this helps, but tmobile told me to clear the user data every 2 months or so...
User data holds what?
I'm not sure I trust the "expertise" of a T-Mobile rep, but thanks for the response.
I've had one instance where the system told me that my DB data was getting too full and asked me to purge it manually. I removed some stuff and then I noticed that the DB data went down in Titanium Backup, but I don't know what that does either, or how to keep it cleaned out.
If you are plain stock not rooted, delete cache data as the previous poster said. There is not an specific amount of time for this, but if you feel your phone starts too lag more than usual
If you are rooted, and have CWM installed wipe cache partition, and in Advanced do Wipe Dalvik cache, nad if you want wipe battery stats (Do this when your battery is full once in a while so yo get better battery reads)
I need to clear out the directories for apps from my internal SD card periodically. As I install and uninstall apps I get a bunch of directories on there that I don't need. I also like to reboot every few days to a week when my phone gets laggy.

[Q]/dbdata/databases and Task manager/Personal Info

I am curious as to why in my Task Manager it shows that I have 19mb of "Personal Info" (PI) when I know that is not true. I have googled and searched these threads about it and this is what I have found. It seems to be some dead apps. I am running Toxic8 w/ Bali 1.2 kernal but before I had stock 2.2 from Cincinnati Bell. While on Bell's 2.2, my PI was only around 2-4mbs max (facebook/ contacts/ media-those types of things). I wiped/reset/wiped again and flashed the Toxic8 ROM.
I have an app called DiskUsage (great app) which shows what is in each folder by apk/dalvik/data-pick one, two or all. I generally just use the /data as my view point. There is a Root point to that also scans you Root folders too. It can show, lets say Facebook. You can click on it>hit show and it takes you to that apps file in Manage Apps where you can delete data/cache.
Now, I say this b/c if I run it and it shows the /dbdata folder, it shows my normal amout of personal info +/-3mb but then it also shows that /system is taking up 16+/-mb of space. I think that is the problem. What is this /system part as I have looked all over the /system folder to see if there are any links or something and can find anything that matches.
Why is my Personal Information so big if I only have 3+/-mb of personal information on it.
This is what I have tried and searched.
SDmaidPro. Corpse, Clean system/apps/ Optimize No luck
Wiped, reset, reflashed, bootloop **crap.
Wiped, reset, relashed, wiped, bootloop **crap
Wiped, reset, restored only /system, bootloop **argg*crap.
Restored and it boots up just fine but PI is still sitting at 19mb b/c obviously it was restored.
I am thinking that it is maybe the symbolic links to my first ROM that came with the phone (only had it 2 weeks or so), PLUS all the apps that came with Toxic8, but a fair amount of those, I have deleted. Think this is a Samsung bug from what I have googled. I don't want to wipe internal SD card b/c I am fairly certain the bulk of what I am looking at is not there (so it would be pointless).
Ideas and sorry for the manifesto sized post?
This is what I am finding so far after some adb work. The /system is somehow mounted to the /dbdata partition. Maybe b/c of the voodoo making them both ext4 partitions. I ran Mount and confirmed both are ext4. I don't know how or why.
I also ran busybox df -h to see what partitions are and how munch total/free/used space there is. It shows that in my DBdata partition that I have way more that I should. My personal data should only be about 3mb but it is showing at now 20mb. Before you say "why worry, you have 126mb of space". I did some tests and if I install an app, fine that is great. But say that I install it, don't like it and uninstall, it is still inflating the Dbdata partition and will not come out. This can cause long term problems with partition filled and no where to install apps. They are not in /data/data anymore but are somehow getting linked to /system AND /dbdata.
The folders in Root Explorer are
dbdata/databases
dbdata/db-journal
dbdata/lost+found
dbdata/system The four of these are normal and contain the usual personal information like passwords, cache,...and total around the 3mb as stated above.
My problem is that the /dbdata and /system partitions are somehow linked and when I install and app, it gets pushed to that phantom link and cannot be deleted. See the long term problem now?

storage ?

whenever I try to install something it says I do not have sufficient storage. facebook is 3.92Mb, I have 2.3Gb on phone free for programs, 8+Gb free on phone, and 29+Gb free in card! app cache found nothing to clean and reboot did not work. I am lost!
Sent from Photon 4G code name "Neo" using XDA Premium!
Try the following:
Clear cache history and other bs is browser app.
Delete any long old or unnecessary text threads. If you'd prefer there are apps to back them up.
Go into recovery and wipe cache.
See if that helps
EDIT- might even squeeze a bit more out by using an app like sd maid to clean old logs and tombstones and other BS.
@Kenny, still no workie!! I just found it strange because if you look at my OP, I have more than enough space. I will try another app! FB is jacked anyway!
Google+ FTW
Try this and remember, no matter how much you dislike what im going to say, there's no crying in baseball (little tom hanks reference )
Menu>settings>apps>downloaded>market aka vending
Force stop, clear cache, clear data, uninstall update
Now reboot. Pretty sure that should do it and if the update doesn't immediately push let me know and ill give you my apk.
KSmithInNY said:
Try this and remember, no matter how much you dislike what im going to say, there's no crying in baseball (little tom hanks reference )
Menu>settings>apps>downloaded>market aka vending
Force stop, clear cache, clear data, uninstall update
Now reboot. Pretty sure that should do it and if the update doesn't immediately push let me know and ill give you my apk.
Click to expand...
Click to collapse
Your gonna have to send it to me because that did not work either. Only difference, before I got Orange Triangle in Notification bar, this time, I got message directly from market. I will do it from home on WiFi in a hour, why waste my data................I have WiFi here duh!
EDIT: Why am I sooooo stupid? linkedin and my news app just updated with no problem. I should have known FB was at the root of this. months ago, I was not getting my IM. They fixed that, but app keep freezing. Last month I could not get to pictures on the phone, they fixed that, but back to the freeing. Now this crap...........
http://db.tt/6H2dNfyP
Have you tried wiping dalvik cache? You can try it in CWM but check its size before and after to see if its wiping. I've seen many issues, which I'll bet a google search will validate, that if dalvik cache grows too large it's first victim is preventing apps from installing from the market.
If recovery isn't wiping you could delete with root explorer and it will recreate
What's this facebook thing you mention? I'll have to get on google plus sometime and see if any of my peeps have heard of it
Glad to hear you're back in business.
OK, I went into System Recovery and deleted Delvik Cache, no success. I went into ROM Toolbox Pro, I cannot find a Delvik Cache folder (Likely burried somewhere.)
Everything is data/delvik-cache should be deleted
The Dex's will regenerate
Just a tip, apps including old versions of google apps that are in system, but no longer used because a newer version has been installed to data, create dalvik-cache. This is why I would release a flashable zip to my rom users every time a google app was updated. Id have the script remove the old apk from /system/app and put the new one in and wipe /cache/dalvik-cache (I'll explain in a min). This kept precious /data space free before we had super phones and kept things neat and tidy. It was more my OCD than anything because id always implement a script that's moves dalvik-cache to cache (now does that path make sense?) Which resulted in more than 20mb of extra /data space that's usable.
Food for thought. I've implemented busy box run parts support on my rom but I haven't even bothered touching my scripts yet so ....
KSmithInNY said:
Everything is data/delvik-cache should be deleted
The Dex's will regenerate
Click to expand...
Click to collapse
Deleted, rebooted, viewed (personally, it looked like delvik had the same s**t as before I deleted!), attempted, same message. Although everyone's help is greatly appreciated, I think its FB.................It is FB!!! Punks! I just downloaded Pirates of the Caribbean, all 18Mb with no problem!!
dsims7_2000 said:
Deleted, rebooted, viewed (personally, it looked like delvik had the same s**t as before I deleted!), attempted, same message. Although everyone's help is greatly appreciated, I think its FB.................It is FB!!! Punks! I just downloaded Pirates of the Caribbean, all 18Mb with no problem!!
Click to expand...
Click to collapse
Well ... if other apps work then its a FB problem, not our mopho problem. Yes the dalvik cache will recreate although smaller and any cache that was left from a previously installed app that has since been removed would not have recreated.
OK, @Kenny, that explains alot. 2 quick questions, When I look at the folder in ROM Toolbox Pro, it tells me the size is "Null", how do you view its size?
Lastly, I deleted that folder and rebooted @ 6:45PM after I got off work. The date on that folder is today, but the time is 15:18, around the time I used System Recovery to clear it? I exited ROM Toolbox, went back in to assure it was gone, rebooted. So maybe the old crap is still there?
dsims7_2000 said:
OK, @Kenny, that explains alot. 2 quick questions, When I look at the folder in ROM Toolbox Pro, it tells me the size is "Null", how do you view its size?
Lastly, I deleted that folder and rebooted @ 6:45PM after I got off work. The date on that folder is today, but the time is 15:18, around the time I used System Recovery to clear it? I exited ROM Toolbox, went back in to assure it was gone, rebooted. So maybe the old crap is still there?
Click to expand...
Click to collapse
To be honest I don't use rom toolbox despite owning so I just installed it to see what your saying and mine shows null size as well. If you hit menu there's a setting you need to check to tell the app the show sizes. Checked it and still null. So my answer is I don't know. That's the longest I've spent using the app and they were all null.
Also make sure your not deleting the folder but rather the contents of it.
My preferred file explorer is root explorer. In fact, one of my most used apps and I'd buy it 100x's over. In root explorer I long pressed, selected properties and my dalvik-cache was 58mb. I did some cleanup of old apps in /system/app and moved the newer versions from /data/app to /system/app. Then I deleted the dalvik-cache contents and rebooted and gained 6mb from the dalvik-cache alone. Not sure how much room was freed in /data by moving the apps to /system but its 15mb as a guess. So by that I freed 20+ mb of space and did a quick general house cleaning.
If I redirecting dalvik-cache to cache and there's another 52mb.
hi all just got this photon used and it should have 16gigs inter space but phone says 8 gigs. is that right?
nuxbag said:
hi all just got this photon used and it should have 16gigs inter space but phone says 8 gigs. is that right?
Click to expand...
Click to collapse
Here is the breakup as given by a xda member bane949
http://forum.xda-developers.com/showpost.php?p=16321320&postcount=3

[Q] Directory Structure after Wipre/Reset

New user and first time rooting and flashing a new ROM. Actually the process appears to have gone well. I do have a keyboard issue which reflashing caused me to see another possible issue.
This is a GT-P7510 32 GB Wi-Fi only device. I had originally flashed to CM 10.1 which brought me up to Android 4.2.2. Also flashed gapps. After the initial ROM flash I had installed some Apps to begin playing with the new settings. But the keyboard issue became more annoying so decided to reflash and start over from scratch again.
After wiping, clearing cache and resetting the tablet I noticed some peculiarities in the directory structure of the memory. The top of the directory structure is a folder named 0 (zero). If I click on this one I get another almost identical directory structure also with another one named 0 as well. This one is almost identical to the root structure. I can then click on this next nested 0 directory structure to find even another directory structure. This last one however also has some files(downloaded data) remaining from a few of the programs that I had originally installed after the ROM upgrade.
I have tried to reflash, wipe, clear data, clear cache, clear dalvick cache and even resetting tablet but nothing seems to get rid of these nested folders. I have done this numerous times now. At first I thought this might have been my Google acct restoring these files but the last few times after wiping upon reboot I do not set up my Google acct or even connect to a Wi-Fi source for any files to be downloaded.
On a recent attempt soon after rebooting I connected my tablet to my computer via USB and observed the directory structure. After seeing the third nested directory structure beginning with a 0 I clicked on it and observed only two folders initially. However when I clicked on one of them I got an explorer error saying something to the affect it was in use and to try again. After several minutes I was then able to see the completely built third level nested directory structure that was busy rebuilding itself.
So my question is how does one truly and fully wipe the memory? If the ClockworkMod Recovery (v6.0.3.0) says I'm wiping data/factory reset is that not wiping all the files on the flash memory? Including wipe cache partition! What does a Factory data reset in the OS do? Where is this old data coming from? Why am I seeing almost three identical directory structure trees nested under each other?
I will admit to being a little weak on Linux file systems.

Factory reset - What EXACTLY happens?

Hello,
In my question, What EXACTLY happens during a factory reset, the emphasis is, obviously, on "exactly". I will explain why I need to know this - the research I've done has failed to answer my question.
Carrier-phones come with a bunch of pre-installed apps. Of all possible scenarios, Japanese smartphones, and particularly Sharp smartphones, are the worst case. They are very difficult to root, very finicky phones that seem to go into a boot loop whenever you do something to them that you're not supposed to - all the more challenging
If we manage to root a Sharp phone, the first thing we do is freeze some of the Docomo or Softbank pre-installed apps that take up precious memory. We know that if we want to do a factory reset, we must first un-freeze all those apps, or we risk going into a boot loop, and having to ship the phone back to Japan to get repaired (for those of use who don't live in Japan).
Now, the million dollar question is, what happens if we delete/uninstall those system apps? And here I am asking about the general case, hoping that Sharp haven't invented some twisted scheme here too.
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Does the phone look up a file which contains a list of all those pre-installed app, and verify the contents of the /system/app folder against it --- and if something is missing, it gets stuck during reboot? Or does it simply delete the contents of the /data folder, without paying attention to /system/app? And why does it go into a boot loop, if a system app was frozen?
In the end, I don't simply want to freeze some apps, I want to get rid of them completely --- you can't imagine the load of BS that Japanese carriers cram into their phones (a built-in Rakuten auctions app, a McDonald's app, a BeeTV app??? and so on and so forth) --- but I want to make sure the phone isn't checking what's supposed to be in /system/app.
---------------------
In the case of my 005SH, the rootkit came with a recovery that helps me "resurrect" the phone from a boot loop - and that has happened twice after a factory reset so far - I deleted some seemingly insignificant app, and Titanium Backup failed to restore it for some reason, so it's now gone forever. But not every rootkit comes with a proper recovery...
cheeseus said:
Now, the million dollar question is, what happens if we delete/uninstall those system apps?
Click to expand...
Click to collapse
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
cheeseus said:
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Click to expand...
Click to collapse
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
majdinj said:
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
Click to expand...
Click to collapse
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
cheeseus said:
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
Click to expand...
Click to collapse
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
majdinj said:
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
Click to expand...
Click to collapse
Really, read my question carefully, please, not just the title of the thread. You are talking about something very different.
It is known that on Japanese Sharp phones, if you uninstall and remove completely some of the apps that are installed by the manufacturer or the carrier in /system/app, when you do a factory reset, the phone may - or even will - go into a boot loop (will be bricked). This has nothing to do with apps that are installed in /data.
Is it possible that Sharp have added an extra "security" mechanism to their phones to prevent users from removing pre-installed apps (similar to their MIYABI LSM lock)? I want to know how to find this security mechanism, if it exists, and - hopefully, how to cheat it.
How does the phone know what apps are supposed to be in /system/app, and if it doesn't find them when rebooting after a factory reset, why does it go into a boot loop?

Categories

Resources