[Q] Android uninstall - Galaxy Note II Q&A, Help & Troubleshooting

Hi friends.
Can someone please help me, I am having a doubt from so many days regarding android uninstall
When you are installing the app it is taking some time but for uninstall it is not taking even seconds, my doubt is that, is it removing all the relevant files from the root or its just removing the executable files. i have installed and uninstalled apps on my device, after uninstalling i did not see any performance, currently i dont have additional apps on my device but still it is taking time to launch the contacts why? if contacts are already open then the second time it is opening immediately but very first time it is lagging why? what was the root cause? galaxy note 2 having 2gb ram but i am not feeling so. Please hel[ me

I think on installing apps it need to unzip the app files first. Whereas on uninstall it is only deleting. Also just becaue it says ok on uninstall it dobt mean it is still deleting stuff on background.
I kbow what you are worried about. It is like windows that once you install and uninstall enough programs it leave behind a lot of rubbish on disk. There isnt much you csn do about that if the programer are lazy on doing uninstall correctly.
Nevertheless I believe that a factory reset or a reflash a rom is same as a window format reinstall.
Sent from my GT-N7100 using XDA Premium 4 mobile app

Use sdmaid app. It removes those files.
sent from my GT-N7100. Press thanks if I helped..

The procedure I use is:
1. Force stop (if necessary)
2. Clear Data
3. Uninstall
That gets rid of most of the cruft. If there's anything left over after that a reboot usually gets rid of it. If not then use a utility like the aforementioned sdmaid or clean master will do the job.

Related

[Q] Too many apps can clutter the system ....!

Alright I just flashed a new ROM with new KERNEL and I spent hours and hours to SET-UP the phone now it's in perfect condition ...
My question is if we install and then uninstall new apps will it leave random files in the system, like in windows uninstalling programs leave dlls, registries and temp files, resulting in cluttering, messing up and slowing down the system ...? Does Android work differently ...? Is it possible to try bunch of new apps without messing it up ...?
Pardon me if it's a repost, but I couldn't find anything smiler.
I've always been pretty curious about this as well. I'm sorry I can't help, but I'm going to keep an eye on this thread to see if anyone has an answer.
i heard it does create cache files and it should handle accordingly, but curious nonetheless as well...
You can use a free app in market called cache cleaner or boot into recovery and wipe cache and dalvik cache
Also can download this and flash periodically http://db.tt/pT7bKYi
sent via two tin cans and a string using Tapatalk
I am more curios about permanent files that might have been left after You uninstall an app. Clearing those undesired, useless, junk files is the main issue ...!
Mr.37 said:
I am more curios about permanent files that might have been left after You uninstall an app. Clearing those undesired, useless, junk files is the main issue ...!
Click to expand...
Click to collapse
I don't know about lib files or anything like that, but if I look at the contents of my sdcard (which I need to clean out), I have a ton of folders left over from apps I uninstalled a while ago.
Sent from my blah blah blah blah
they won't be in your RAM, so unless you get messages about low storage space (on stock roms) then i wouldnt worry about it.
i've installed and uninstalled 100's of apps to test this. because my dad when i was younger would always yell at me for installing/ uninstalling programs on windows because it causes fragmentation, registry errors ect ect ect.
i can say if you have 100 apps installed then you uninstall 90 of them you won't notice. your SD card will have a bunch of extra folders afterwards though

Malware or overreacting?

Last night I downloaded an app from the market: Anttek App Manager. I didn't really need it, I just came across it & it seemed like a good program that I could use to replace a couple of other apps.
I opened up the program & didn't do anything. I did grant it superuser permissions when it opened, but did nothing else except browse through & get a feel for the interface.
Suddenly I was having a force close party all over the screen. Market, maps, settings, homescreen, anything system was force closing. I tried opening settings to uninstall the app but it force closed immediately. Tried with Market, same result. I could get into user apps to uninstall but when it tried to uninstall through the system uninstaller it would force close. I finally uninstalled through Titanium Backup. I was still getting force closes so I rebooted. After the reboot I could open system apps again. I checked my apps in settings & the app was gone from he downloaded tab but remained under the all tab. I uninstalled again. I checked through root explorer & it wasn't there, but in protected apps there was a downloadfile.apk that was timestamped with when I rebooted. I emailed it to myself to check out later if needed & deleted the file.
What do you guys think? Was it just something buggy that I'm blowing out of proportion or is it something to worry about?
Edit: I'm running cyanogenmod 6.1.2 if it matters.
I honestly dont know if it was something malicious or not. I had an issue when I downloaded an app (Don't remember what it was) and it downloaded 300+ downloadfile.apk. As you probably guessed it filled up my sd card. In my case I found it prudent to do a complete wipe and reflash my ROM. I set everything back up and havent had any more issues.
I would probably wipe and start over or Nandroid back to before you downloaded the app. Just my opinion...
Yeah, I think I'm just going to restore from a backup. I just don't want to have to reflash my theme & font, but it doesn't take that long, I'm just lazy.
I was wondering if there's anyway a virus could go deeper than what is changed by wiping/flashing/restoring? I'm somewhat technologically literate but when it comes to the deep down stuff I'm lost.

[Q] Problem installing / uninstalling apps

Hi,
I tried to install Angry Birds Space last week, the download and installation seemed to complete normally, however once the installation was complete the app wasn't present and the memory the game uses (~24mb) was gone. I tried again the day after and the same thing happened. So I'm now down 48mb of RAM and my phone has started to freeze as there's only ~ 1mb of RAM free. I tried to uninstall the apps in the Manage Applications section but they don't seem to be listed there. Is there anyway I can find where these files are stored and delete them? I've already had to do a factory reset on my Desire twice in the 21 months I have it, I don't particularly want to do it again.
Thanks!
it happened to me too, are still with stock 2.3 (or 2.2) rom?
Best thing I could do was root and flash another rom, and it's really worthed
I'm still on 2.2. Did the same thing happen to you with Angry Birds Space or just in general?
No, I cannot rememeber what I was triyng to install (it was in dec!), and surely, that time, I had just applied the 2.3 offical update for desire (which btw is really awful).
Another thing you can do of course is uninstalling most of your app so that you sort of "clean" your memory, checking if any folder related to these app is really deleted from your sd (you can check in the system directory too, but I don't think you can delete folders without superuser permission). Then try to re-install everything.
Anyway, the suggestion is still the same: try a new rom
You probably just have to clear the cache of the market app, or you can use something like this to clear the cache of all apps
play.google.com/store/apps/details?id=mobi.infolife.cache
If that doesn't work you can try to clear /data/local/download, that's where the market stores its downloads IIRC (don't know if you can clear it without root though)
Had the same problem. (Not with the same app as you have) but clearing the market cache did the trick for me
Sent from my GT-P7500 using XDA

How do I disable an elitemod/aokp system app?

Hopefully the question says it all really. How can I disable a system app in the EliteMod/AOKP ROM? I've tried googling this but can't find any way of disabling the system delivered Facebook app.
Under andromadus or cyanogen mod ROMs I could use the pm command in a terminal but this doesn't seem to be applicable here as it fails. Does AOKP bring its own package manager?
Thanks
Sent from my HTC Vision using xda app-developers app
There is no 'system delivered' Facebook app in EliteMod (nor in AOKP I don't think). You actually have to download and install Facebook from the Play store. Yours was probably automatically installed when you signed into google, in which case, just uninstall it.
But normally for 'system' apps you goto Manage app, tap on it, and then the 'disable' button. Just be aware that some actual system apps may break the phone if disabled.
facebook is safe to get rid of altogether, use titanium backup to delete it or root explore, or through terminal or adb. any of these methods can remove it
Sent from my HTC Vision using xda premium
demkantor said:
facebook is safe to get rid of altogether, use titanium backup to delete it or root explore, or through terminal or adb. any of these methods can remove it
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
Assuming you know where exactly to look if the OP is talking about more than just the downloaded Facebook app you could just 'uninstall' from Manage Apps.
I wonder if the OP is talking bout an AOKP rom with EliteKernel on it? In which case it would depend on how AOKP itself was distributed, I know That EliteMod Rom (kernel and rom, and nothing else) does not come with Facebook.
All,
Thanks for your responses. I was able to delete it using titanium backup. manage apps gave me options only to uninstall updates, but not the app itself which makes me believe it was shipped with the ROM. I'm using the EliteMod ROM with kernel for ICS as per this thread...
http://forum.xda-developers.com/showthread.php?t=1700436
I don't like the Facebook app as it seems a bit cumbersome, hence why I wanted to get rid of it, but hopefully its removal won't impact on other Facebook apps I have installed. We shall see... I don't recall installing it, but I'll admit that it could have been installed automagically
Thanks again.
Sent from my HTC Vision using xda app-developers app
KeepTriin said:
All,
Thanks for your responses. I was able to delete it using titanium backup. manage apps gave me options only to uninstall updates, but not the app itself which makes me believe it was shipped with the ROM. I'm using the EliteMod ROM with kernel for ICS as per this thread...
http://forum.xda-developers.com/showthread.php?t=1700436
I don't like the Facebook app as it seems a bit cumbersome, hence why I wanted to get rid of it, but hopefully its removal won't impact on other Facebook apps I have installed. We shall see... I don't recall installing it, but I'll admit that it could have been installed automagically
Thanks again.
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
I'm using the same (note my signature), it doesn't come with Facebook, but your google account will re-install it automatically upon signing in if you have your google account set up to do so. You should be able to uninstall the main Facebook app itself form manage apps (would appear under downloaded).
Though I get the same thing you do, and I imagine that you would have to uninstall updates before you can uninstall the main app.
however if you searched Facebook for Android in the Google Play market, you would see the Open / Uninstall options right there.
So next time (for a downloaded app, as we determined Facebook is not a system app in this case):
1) Try from Manage Apps
2) Try from Google Play
3) Try other means (titanium backup, or going in thru 'adb shell' and removing the apk from /data/app/)
Hi,
I noticed you were/are running the same ROM, but it's still odd. I did try looking at Facebook in the play store, but again there was no uninstall option. Still, the end result is that Facebook is no more. At some point I'm going to implement dataswap, after I've backed up my sd card and I'll take another look then.
I did check the EliteModICS120706.zip and it does contain a com.facebook.katana.zip under the system/app directory. Whilst I'm familiar with Linux (and of course Android is based on this), does its inclusion in the ROM zip file mean that it is automatically installed
Thanks for your help
Sent from my HTC Vision using xda app-developers app
KeepTriin said:
Hi,
I noticed you were/are running the same ROM, but it's still odd. I did try looking at Facebook in the play store, but again there was no uninstall option. Still, the end result is that Facebook is no more. At some point I'm going to implement dataswap, after I've backed up my sd card and I'll take another look then.
I did check the EliteModICS120706.zip and it does contain a com.facebook.katana.zip under the system/app directory. Whilst I'm familiar with Linux (and of course Android is based on this), does its inclusion in the ROM zip file mean that it is automatically installed
Thanks for your help
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
I can confirm that both the likes of com.twitter.android.apk and say com.facebook.katana.apk are present under /system/app but course com.facebook.katana-1.apk is present under /data/app for me since I installed it.
I *think* the two that comes with Android are notification/tie-ins with the rest of the system, i.e.: what allows you to connect say Twitter/Facebook/Yahoo/Google/Etc account to the rest of the phone for means of notification and contact imports etc. I just know that I actually had to install the Facebook app before that option would even show up under System Settings -> Accounts.
By the way when you partition the SD Card for sd-ext (which is what is advised for dataswap), depending on your type of recovery, do not create a second sd-ext, and preferably skip the swap as well, so you should only have two partitions on the SD Card, a sd-ext and the FAT32 (for your normal /sdcard stuff). The dataswap mod will put a swap file within /data/local since most of your apps will be moved from /data/app and /data/app-private over to /sd-ext/app*
And furthermore, don't bother to move any of your apps "to SD card" when using sd-ext, since they are all already on the SD card (just in the faster, more efficient /sd-ext/ partition that's mapped to /data/).
the apps twitter and facebook came with the rom and are installed under system app, can not be removed with market, nor settings>manage apps. many roms nowadays come with those so you can either remove them from the rom before download or remove them after via adb, terminal, tb, rootexplorer, or whatever means.
you do not need to unistall updates before you uninstall apps, even system apps, you just need to uninstall them diffrently than just settings>manage apps>uninstall
that will only work for apps stored in /data
Sent from my HTC Vision using xda premium

Link2SD & CM11: Optimal Strategies

I am super-curious if & how anyone here is using Link2SD successfully with CM11 (on the Epic 4G, specifically).
I've tried scouring these forums, and the Internet in general, to figure out the best way to get this to work...
But everything that I've tried, it all seems to be working great, only up until the first time that the phone reboots, then it all goes to hell.
I am wondering if there are any extra steps to follow, specifically for the Epic 4G, or any particular pitfalls known to avoid?
That's why I wanted to ask here, specifically to Epic 4G users...
If you are getting Link2SD to work well with CM11, then please chime in here, and can you explain how you got it all set up and working well?
(I feel like this is the one last thing that if I could conquer it, then I could really continue to get a lot of life out of this phone... as it stands, it seems too risky to put much faith in Link2SD, because if the phone happens to spontaneously reboot while I'm out running around, then I'm screwed because so many apps just disappear, and then it's a pain to re-download, re-install, and re-setup each of them...)
Thanks in advance for any help,
AS
I am using Link2SD on my Epic 4G with CM11 with some success. I just did a reboot, and as usual lost any icons that had links created in Link2SD, so I go to the app locker & re-add them to my home screen. This is typical of what happens on a reboot for me. One thing I did notice is that it takes a minute or so for the deleted app icons to show up in the app locker again, so if you are reinstalling them, it may be a matter of waiting for them to show back up. Also on occasion(not this time), Link2SD will prompt me about a problem with the links and then prompt me to reinitiate the partition or something to that affect. Once I do that and it reboots, the app icons are still gone, so I just re-add them. Anyway, I know its not a perfect solution, but with this device its better than running out of RAM. One last thing, needless to say, I only create links for enough apps to free up enough RAM to keep my Epic working properly.
I've finally got a system going that seems to work for me, and so I thought I'd share some things.
I'm on CM11 (as of today, cm-11-20140602-NIGHTLY-epicmtd.zip) and I'm using Link2SD.
HERE'S A "GOTCHA" THAT HAD ME PULLING MY HAIR OUT FOR AT LEAST A DAY OR TWO:
Link2SD was having problems mounting the 2nd partition - it would just say "Mount script cannot be created." or something like that (not a very helpful error message), no matter how many times I rebooted and tried again. What I *finally* figured out (somehow), was that this error was being caused by /system being completely full. When I went and deleted a few things from /system (such as goofy wallpapers or that 'Apollo' app that I never use), then Link2SD was able to successfully create the script, and then I'd reboot and could use the 2nd partition successfully.
It's still a little aggravating that any reboot of the phone will cause all of my "Linked" apps to disappear - I've played with this until I am blue in the face, and have resigned myself to accepting that this is just "how it is" (?) - but I'm now using Titanium Backup as my workaround.
STEPS I TAKE WHEN THE PHONE REBOOTS:
1) Go into Link2Sd and make sure the 2nd partition is usable, otherwise recreate mount scripts (deleting wallpapers/Apollo if necessary)
2) Under Link2SD's "More" menu, perform the following:
a) Clean up the 2nd partition
b) Clean up the dalvik-cache
c) Clear all app caches
3) Restore apps from Titanium Backup
a) starting with Facebook app (the biggest hog) and then immediately go and make Facebook a "Linked" app again
b) restore a few more apps (to internal/phone), then go and shuffle those over to "Linked" apps via Link2SD
c) (repeat step 'b' until all apps are restored and "Linked" via Link2SD
^ This is the only way I've been able to get this to work for me... but now I can put about as many apps on the phone as I'll ever possibly need, and I have to say everything is running pretty smoothly now - but if anyone can see a better way, or how to improve what I'm doing, then I'm all ears... please let me (us) know.
Thanks!
Apex launcher doesn't lose the icons. I can free about 66MB of system space by swapping the launcher, deleting CM wallpapers, live wallpaper and Google keyboard.
I verified link2SD plus was not working properly but free link2SD works as advertised. For me, just installing the plus version will break the working functions of the free version. The free version scripts, links and launcher icons survive reboots. The plus version continually lost mount and wouldn't properly clean up the second partition and was not copying the lib files and placing them in the second partition.
Edit: per the developer's request, after verifying free link2SD was setup and surviving reboots, I added plus link2SD and rebooted: OK so far. Next I linked a file with plus version; OK until reboot. The application was not found except in directories. Dalvik cache cleanup finds the dex link and file in second partition as unneeded files. Had to manually delete all the files and links for the broken application and reinstall it. Also had to uninstall plus link2SD to properly link again. Sent the results back to developer.
Sent from my SPH-D700 using Tapatalk
Edit: 6/20/2014; link2SD 3.4.8 fixed the reboot issue for the link2SD Plus version for me. Sent email to developer to thank him for the fix.
See post #8.
Update on my last entry:
I emailed the link2SD developer and got a reply asking me to check the plus version again. In my reply back I linked him to this thread.
Another tip to add for nightly flashers that use link2SD and modify the zip prior to flashing: pull the mount script, 11link2SD, found at /system/etc/init.d and move it same location on zip before flashing. If retaining data, ie: dirty flashing; the mount securely retains your apps after flashing new nightly. Just checked with free version of link2SD: works.
Sent from my SPH-D700 using Tapatalk
Arson Smith said:
I am super-curious if & how anyone here is using Link2SD successfully with CM11 (on the Epic 4G, specifically).
I've tried scouring these forums, and the Internet in general, to figure out the best way to get this to work...
But everything that I've tried, it all seems to be working great, only up until the first time that the phone reboots, then it all goes to hell.
I am wondering if there are any extra steps to follow, specifically for the Epic 4G, or any particular pitfalls known to avoid?
That's why I wanted to ask here, specifically to Epic 4G users...
If you are getting Link2SD to work well with CM11, then please chime in here, and can you explain how you got it all set up and working well?
(I feel like this is the one last thing that if I could conquer it, then I could really continue to get a lot of life out of this phone... as it stands, it seems too risky to put much faith in Link2SD, because if the phone happens to spontaneously reboot while I'm out running around, then I'm screwed because so many apps just disappear, and then it's a pain to re-download, re-install, and re-setup each of them...)
Thanks in advance for any help,
AS
Click to expand...
Click to collapse
I'm using link2SD for all minus 16gb internal android device. Here is what i do in epic 4g, currently on CM11 20140523, use 20131209 gapps. I just write the part involved link2sd :
1. Buy atleast 16gb microSD and class 10 is a must, make 2nd partition (usually about 4gb - 6gb) as ext2 - ext4 (depends on the OS).
2. Device rooted, install titanium backup & root explorer 3.1.3 (make sure the root explorer working). Uninstall system apk (one of the launcher, whisper push, terminal emulator (I prefer use better terminal emulator, install as user app), CM filemanager, etc - still more that can be uninstalled for more space in system.
3. install link2SD, pick ext2 - ext4 (depends), dont restart yet. go to setting, uncheck everything then restart.
4. After back to launcher, open root explorer, go to root/data/, check app & dalvik-cache folder, press copy. Go to sdext2 folder, delete lost&found folder (usually there), and paste. So the app & dalvik-cache folder is there now (you could copy data/data folder too if you really want maximum extra space in internal, but in epic 4g i didn't copy data folder because it's enough space).
5. At the sdext2 folder, long press app folder, select "link to this folder", go to root/data/, press "create link" - "yes". Then go to sdext2 folder again, long press dalvik-cache folder, select "link to this folder", go to root/data/, press "create link" - "yes". Do the same if you copy data/data folder to sdext2 folder.
6. Reboot. Done. Then installing others app or restore with titanium backup.
I hope this is useful. Some Screenshot attached.
Hello
Thanks for that solution.
I`m searching for this solution since 1-2 weeks.
I had the same Problem on xcover 2 Link2SD.
Now it`s clear i have installt Link2SD and works perfect for just 3-4 days then i upgrade to Link2SD plus and then it happend like the Threat above.
I`m wondering that Lin2SD works perfectly on CM11 and if you go to Link2SD plus for money and this don`t work.
Free works perfectly and paid work not.
I have go back and everything its fine.
I hope the autor will fix the problem then i go back to plus.
Thank Thanks Thanks works fine!
regards marle.m
Good news! It appears the link2SD version 3.4.8 released today has a bug fix to survive reboots for linked apps when linking with link2SD plus version.
So far, I've only linked one app with plus version enabled and it survived one reboot. Then Ⓘ linked the data folder and rebooted again which also survived the reboot.
Looks like plus version is fully functional; I'll update if it fails some time later.
Sent from my SPH-D700 using Tapatalk
Finally had a chance to sit down and mess with this...
Yeah! Success! Freeing up space in /system worked.
Next question...Will I have to remove the bloat prior to flashing from now on? ie no more CyanDelta easy flashing
Anyone have any Scripting-Fu to come up with an automated method of stripping out said bloat?
thx sno
Snoshrk said:
Finally had a chance to sit down and mess with this...
Yeah! Success! Freeing up space in /system worked.
Next question...Will I have to remove the bloat prior to flashing from now on? ie no more CyanDelta easy flashing
Anyone have any Scripting-Fu to come up with an automated method of stripping out said bloat?
thx sno
Click to expand...
Click to collapse
I was thinking the gapps could be modified at the updater-script to remove some system bloat. Then remove some bloat from that as well. Most remove their own bloat choices so maybe a diy tut would be more useful?
I agree, the script would make the nightly flashing easier.
Sent from my SPH-D700 using Tapatalk
Just realized that if using Link2SD Plus to multi link all folders of an app to sdext2 after a clean install is still broken, if using intended method. Apps linked this way are missing after reboot.
Working on a safer suggested method that focuses more on removing apps from Gapps but also removing some other system apps after flashing a nightly that requires no modification of the nightly zip on a computer. Have to focus on linking only a minimum amount of apps with free Link2SD considered less risky to move, like larger stand alone apps, not needed tools.
I've got a working script and method that works but the risks to be avoided need to be detailed along with the tut to script and tool your own modified Gapps that minimizes the flash to flashing the nightly as-is and then flashing a custom Gapps that includes preferred launcher and restore methods.
Removing CMWallpapers, Apollo music and Trebuchet launcher. Substituting blacked out Google play. Replacing removed apps with Apex beta test launcher for test group, blacked out Pandora (these will be installed at /data partition where they can be easily uninstalled or updated) I use my own borrowed wallpaper.
Along with the removed bloat from Gapps, this frees a bit more than 40 MB of system space.
Sent from my SPH-D700 using Tapatalk
UPDATE: the latest version of Link2SD (3.5.2) has "fixed the bug that causes linked apps disappear on reboot when internal data is linked".
So... if you've also ponied up the buck or two for Link2SD Plus (as I have), then this finally works again like you'd always hoped it would.
I just loaded a bazillion apps back on the phone, and have been able to reboot multiple times without losing them.
The only time I "lost" them for a moment was after flashing to the latest CM11 nightly, but then doing the "Recreate mount scripts" and reboot brought them right back, with no other shenanigans necessary.
(Just wanted to let people know, because this is such a relief to me now....)
HURRAY!
OK I'm trying this again. Reboots are fine as long as I don't select quick or soft reboots; I lose mount, linked apps not installed.
Now need to try the clean install of nightly.
Snoshrk said:
Finally had a chance to sit down and mess with this...
Yeah! Success! Freeing up space in /system worked.
Next question...Will I have to remove the bloat prior to flashing from now on? ie no more CyanDelta easy flashing
Anyone have any Scripting-Fu to come up with an automated method of stripping out said bloat?
thx sno
Click to expand...
Click to collapse
One possible solution:
more scripts to limit steps
Another possible solution (click link)

Categories

Resources