[Q] Looking for Uninstaller that actually Meets ALL my needs - EVO 4G Q&A, Help & Troubleshooting

So there are many uninstallers. The ones I've have found that will uninstall system apps doesn't have a quick uninstall feature, or it won't allow me to quickly uninstall many system apps. I have root explorer and can just go through and delete the apk's, but I've found that I run into issues occasionally and have found that actually uninstalling the apps is cleaner and doesn't cause as many issues as when I just delete the apks. Any suggestions would be great, I'd rather not have to download many versions, as the descriptions aren't always accurate. Thanks

Code:
adb shell
su
rm /system/app/Nameofapp.apk
rm -rf /data/data/application.package.name
pm uninstall application.package.name
reboot
exit
Works every time.

Thats awsome, I get the first part of it, I'll check out what the rest of the code does However, I would like an app as I don't enjoy typing that much into a virtual terminal. If there is no app then I might just have to deal! I'd like to think with the thousands of apps that 1 uninstaller will allow me to quickly uninstall system apps, like a mass uninstall feature. I'll keep digging....

Well, you could make a bash script out of it...
Anyways, here's what it does:
Open ADB Shell
Get root
Remove unwanted System app
Remove the settings/data for said app
Remove the app from the package manager
Reboot
Close Command Prompt/Terminal

I've never tried writing a script before. Would I have to write one for each program that I would want to remove?

Related

[HOWTO] Install Latest WaveSecure in ROM

I found that [email protected]'s ROM had a good idea of adding WaveSecure to the system partition (preventing listing in the My Downloads part of market, and preventing uninstallation through normal means), but his version is slightly out of date now (latest version is 3.0.0.43)
As a result, I set about finding a means to install WaveSecure to ROM myself. Here are my findings for anyone interested in doing the same.
Install the latest version from the market (3.0.0.43 at this time). Now use adb pull to get it off the device onto your pc
Code:
adb pull /data/app/com.wsandroid.apk D:\com.wsandroid.apk
Now open Market back up from the menu, go to My Downloads, and choose Wavesecure Mobile Security Beta and uninstall it for just now (to get it off the data/A2SD location that normal apps are stored in) - thanks, my-space!
Then push the saved apk to the system partition after a remount (to make it read/write)
Code:
adb remount
Code:
adb push D:\com.wsandroid.apk /system/app/com.wsandroid.apk
Then set it all up as usual (will appear in apps list immediately)
and remount system as read only again
Code:
adb remount
And that seems to be it so far. Remember to change the D:\com.wsandroid.apk path to whatever you actually used.
Let me know if anyone finds any problems with this, but I've done it and, fingers crossed, it's worked OK for me.
Obviously, this is only for root users, and there are no guarantees for this.
Couple of questions that might need looked into -
- Do settings carry across after a wipe (as Paul claims Modaco's version does. I've never tried it so can't confirm)
- Is there any disadvantage to using this method? (I guess this is all Modaco's update.zip does, but I don't know)
you forgot to metion to uninstall wavesecure before it is pushed back into system....
my_space said:
you forgot to metion to uninstall wavesecure before it is pushed back into system....
Click to expand...
Click to collapse
Oops! Knew I'd forget something, as I always seem prone to do. Well spotted, and OP corrected.
Thanks
No worries I got a bit confused when i pushed it back onto the phone and was still in my downloads...
I've rooted my phone already but whenever i try to use the command adb remount I get "remount failed: operation not permitted". Suggestions?
I see more and more often, redundant threads.
What How-to will you post next time? How to change backlight settings?
You're pointlessly spamming the board.
I can't say i agree with the 'pointlessly spamming the board' comment, but i would have thought this would at least be better in the applications and themes subforum rather than in development.
Don't forget that an awful lot of android users (and more recently all HTC devices) are more and more 'newbs' and need stuff like this.
While this is good and provides info that people like that need (and myself cos i'm crap at adb and stuff like that so wouldn't have had a clue how to do this previously), maybe the development forum is not the best place for it....
I'm guessing one won't be notified via Market if there's an update available if you push an app to /system/app/, right?
usb0 said:
I'm guessing one won't be notified via Market if there's an update available if you push an app to /system/app/, right?
Click to expand...
Click to collapse
You won't be notified, correct
If anybody doesn't already know, WaveSecure have started hosting update.zip files. This means it's now easy to update your "baked-in" version of WaveSecure without much messing around.
https://www.wavesecure.com/installations/update.zip
Download the file, save it to your SD card, reboot into the recovery console and choose the option to apply an update.zip file.
Voila! Your version of WaveSecure will be updated to the very latest version
DJBenson said:
[...]
Click to expand...
Click to collapse
That's really awesome! Thanks for the tip!
Just a question of curiosity: If I push an app to /system/app/ and then issue the rm-command to remove its apk, won't there be lying a bunch of files associated with the program and with absolutely no function, since the app itself is removed? How do I know the name of these files and where they are located for removal?
I'm a bit confused by that question. My understanding (which may be incorrect but from what I've seen of the "guts of a ROM" appears to be the case) is that the applications reside in the apk files, they are not extracted. If you list the content of any of the app folders (/system/app, /data/app or /data/app-private) then all you get is a bunch of apk files (and some odex files). So when you 'push' an apk to the phone, that application is then "installed", when you rm/remove an application, you do so by removing the apk.
if you remove the apk you have left something in /data/dalvik-cache. wiping the dalvik-cache every now and then helps reclaiming that space, though it is not much.
the app settings and data are stored in /data/data, you could delete the files manually by checking their names (no idea if/what convention the names follow), imho not worth the trouble as it is only a few kb.
odex files aren't created if you don't do in a PITA process manually. don't worry about them, don't touch them, then you're good. odex files are only for system apps.
I bought a used phone and it had WaveSecure already installed. I couldn't find it in the applications list to uninstall, so I did a factory reset on the phone. The application was still there and it still didn't show up in the applications list.
I have the Superuser Permissions application, so someone must have rooted it.
Is there any way to uninstall this?
motomeup said:
I bought a used phone and it had WaveSecure already installed. I couldn't find it in the applications list to uninstall, so I did a factory reset on the phone. The application was still there and it still didn't show up in the applications list.
I have the Superuser Permissions application, so someone must have rooted it.
Is there any way to uninstall this?
Click to expand...
Click to collapse
""Just (re)flash a ROM................""
I just noticed that WaveSecure now points to this post for instructions to install as system application, and I am not sure that the update.zip maintained with them is up-to-date.
However, you can now select to download the .apk directly to your PC thus eliminating the first Market step in this guide.
strife242 said:
I just noticed that WaveSecure now points to this post for instructions to install as system application, and I am not sure that the update.zip maintained with them is up-to-date.
However, you can now select to download the .apk directly to your PC thus eliminating the first Market step in this guide.
Click to expand...
Click to collapse
I believe it is kept up to date, as VillainROM kitchen uses it as a source for the WaveSecure app (fetched each night to keep it up-to-date).
I've certainly never had any problems with it.
Excellent guide Pulser,... I should really reinstall Wavesecure now Im not using a MoDacO Custom ROM. Nice one bruv.
Found this to be helpful.
https://www.wavesecure.com/blog/how-to-make-wavesecure-hard-reset-proof.aspx
I just did a search in the Market fro 'wavesecure' and two things popped up WaveSecure and WaveSecure UninstallProtection Add-on which needs to be uninstalled before WaveSecure and if the add-on is uninstalled it is supposed to lock the phone. (all this is in the description I have yet to try)

Can't access my apps

For like a week I can't access my app list from the Android Market. The new version says "Once you have apps on this account you will see them here" (meaning that I haven't downloaded any apps, which isn't true); also tried unistalling to an older version which simply said "Server error. Can't access your apps right now".
I uninstalled a few phone apps using Titanium, and maybe I deleted something that is interfering with this? Or there could be a problem with my Google account? I sincerely don't know.
Do you remember which system apps you deleted?
another way to determine which apps are removed is to give us a list of all the apps.
i believe the command in ADB would be.
adb shell
ls /system/app > apps.txt
please note i have no idea if the above command will work not to good with ADB.
Or you could just install Terminal Emulator on your own phone, CD to /system/app and after that do a ls. Then do a screenshot and post it over here.
Sent from my R800i using XDA App

Uninstalling an app you can't see.

Hey,
Like the topic says.. just wondering how you go about uninstalling an app you can't see. When I use a backed up apk file to install it, it says it will replace data and such, then I click okay, and then gives me a message, "application not installed". So that's how I know the app is there...
Its just that nothing recognizes the app as being installed. No uninstall app, no system app... anyone know how to get rid of this app by means of file exploring and not wiping the phone clean??
Thanks all.
Sent from my HTC Vision using Tapatalk 2
Maybe the "application not installed" means that it wasn't installed. This would explain why you can't see it.
Under settings/applications/all, can you find it there? You might be able to uninstall it from there.
Can you find it with a file manager? You could delete it, but it might leave the data behind. This is usually in /data/data if you want to scrub things clean.
Lastly, and my personal favorite, the command line. This is the no-click method. If you know the java name, you could probably type "pm uninstall android.your.package" Try typing "pm" from the command line to get the syntax/ Some thlng like "pm list" will give you a list of installed pacakges.
Be careful what you delete- some things don't react well with being deleted.
there may be some confusion here, you say the reason you know the app is in your phone and hidden is when you try to install it is says that it will be replaced? well you can use root explorer or similar file explorer to hunt it down, check:
/system/app
/data/app
/sd-ext/app
/sdcard
demkantor said:
there may be some confusion here, you say the reason you know the app is in your phone and hidden is when you try to install it is says that it will be replaced? well you can use root explorer or similar file explorer to hunt it down, check:
/system/app
/data/app
/sd-ext/app
/sdcard
Click to expand...
Click to collapse
Well the way I know the app is there is because when I try to install it. It prompts me and tells me that the program will be replaced but user data and settings will be saved. Usually if an app is not installed on the phone there is no prompt and you just have to hit install.
Sent from my HTC Vision using Tapatalk 2
gee one said:
Maybe the "application not installed" means that it wasn't installed. This would explain why you can't see it.
Under settings/applications/all, can you find it there? You might be able to uninstall it from there.
Can you find it with a file manager? You could delete it, but it might leave the data behind. This is usually in /data/data if you want to scrub things clean.
Lastly, and my personal favorite, the command line. This is the no-click method. If you know the java name, you could probably type "pm uninstall android.your.package" Try typing "pm" from the command line to get the syntax/ Some thlng like "pm list" will give you a list of installed pacakges.
Be careful what you delete- some things don't react well with being deleted.
Click to expand...
Click to collapse
Can't find it under settings/applications/all
I'll try to find it using root explorer... and if all else fails.. I guess I'll have to live without using the app or try the command line method.
Sent from my HTC Vision using Tapatalk 2
If you have upgraded from say GB to ICS, the app might not install because it is a GB app. Try upgrading from the market. Otherwise, I would guess that you don't actaully have the app installed, perhaps just the data.
gee one said:
If you have upgraded from say GB to ICS, the app might not install because it is a GB app. Try upgrading from the market. Otherwise, I would guess that you don't actaully have the app installed, perhaps just the data.
Click to expand...
Click to collapse
Well darn. Gotta fish this thing out then. Heh. There's gotta be a way! I guess I'll upgrade through the market if possible solutions are exhausted.
Sent from my HTC Vision using Tapatalk 2
More technical, but it was mentioned to use the package manager. Under the terminal or using adb shell enter:
Code:
pm list packages
This gives you a list of all the packages installed listed as something like android.application.com. Most are self explanatory. Using that information you can use:
Code:
pm path android.application.com
That gives you the location of the apk (i.e. /system, /data/app, etc). Then delete via explorer or use adb to remove:
Code:
adb uninstall /location/application.apk
I came across the same error when I manually copied an APK into /system/app folder. It showed in my drawer but was unable to execute it. In order to get rid I had to install it as well, then I was able to uninstall it which made is disappear. Any chance its something like that?
progress ughtsrr
Have you tried clearing the google play store data? If this has been corrupted with some partial entry for your app it might leave it in there and hence why you can't install/uninstall it...
Menu -> Settings -> Apps (and/or manage applications as per your ROM)
Choose "Google Play Store", then "Clear Data" and "Clear Cache"
Close the settings, then see if you can re-install the app.
Failing that, try the above, followed by a wipe cache/wipe Dalvik cache at recovery and see if that helps.
Good luck

Defrosting system apps with Titaniun Backup Pro

I was experimenting with the freezing feature of Titaniun Backup Pro for the first time since I started using my phone in order to enable/disable the Maps application; everything was going smoothly until I wanted to kind of automate the process and thus I started using the widget. I thought that the Freeze widget would only freeze the only application in the freezable app list (in fact I don't know why it was only showing Maps there) but instead it slowly froze all my apps including the system ones.
To make it short, I can't obviously access settings/launcher/titanium backup or anything like that. I am staring at a black screen and I can only drag down the notification bar (if I click on the settings icon there, SystemUI crashes since it's frozen).
It's the first time something like this happens, I guess I could fix it by wiping everything and refleshing but I don't really feel like it. Any solutions? USB debugging is enabled.
That's the route I would take. I hope you made a backup. I'm not too familiar with TBP as I use ROM Toolbox for that, so there may be another user who can find a better workaround. You may be able to enable via ADB since you have USB debugging enabled. I'm not sure if when you run the packagemanager if it'll actually list the frozen processes though. Its been a while since I've used it.
From what I understood, I have to edit /data/system/packages.xml. I am in the ADB shell but I am not sure how I can do that. I've searched a bit and I don't think it's possible to edit files in the shell itself so I tried to copy it to my PC using the pull command (and push) but it's not a valid command for that ADB shell. Any idea on how I can copy that packages.xml file to my PC and then back to my phone?
EDIT: oh, you cannot ADB PULL in a ADB shell, my bad!
EDIT2: according to some research I did on xda, frozen apps should've been displayed with an enabled=2 tag in the packages.xml which wasn't the case. There was no "enabled" attribute at all and since I was at a loss I decided to go for a clean wipe instead.

Titanium Backup unable to delete system apps?

EDIT: SEE POST #8 FOR THE WORK-AROUND TO UNINSTALL SYSTEM APPS
Rooted last night and one of the first things I did was install TB so I could remove some of the system apps.
But while TB says they're removed (like Chrome & easter egg), I reboot and they're still there.
I did have latest BusyBox installed.
So I tried using TB's built-in BusyBox and had the same issue.
I also made sure to get /system_root Read/Write and still couldn't uninstall using TB.
Are we gonna have to wait for either SuperSU or TB to get an update with fixes.
Any suggestions on a way to get TB working? Other than manually removing apps via Root Explorer which I already know how to do and is not the point of this thread.
try system remove app
Sent from my Nexus 6P using Tapatalk
Isn't current root system-less.?
Root is actually in system_root and system is not being mounted rw?
If its true you cant change anything in system until it can be switched to rw..
I've already set it to R/W using this command: mount -o rw,remount /system_root.
Didn't help. The apps are still there after rebooting.
An odd thing I noticed. Titanium is showing "Android System Webview" and "Device setup 7.1" as frozen. And I didn't do it. Anyone else noticing this?
DinarQ8 said:
try system remove app
Click to expand...
Click to collapse
Just tried it. Doesn't work either.
Thanks for helping me rule out Titanium Backup specifically though.
Definitely something to do with Google's partition setup (or with root) then.
No big deal, I'll just use Root Explorer to remove the ~35 system apk's I'm trying to get rid of.
I just feel safer seeing app names rather than guessing at apk names when I'm removing stuff.
Plus, TB is just faster & more convenient. And I'm probably going to have to do this a few times over the next few weeks as I make & break my phone.
Btw, I'm a little disappointed there are a bunch of Verizon apps on my Google purchased phone.
DM-Verity, I think it is, is still active with this root. Think that's what your running into.
By the way, I found a work-around.
If you want to uninstall SYSTEM apps via Titanium Backup (or any other method), it helps to do the following first.
Open up a terminal session on your phone.
I use the free app Termux to do this:
https://play.google.com/store/apps/details?id=com.termux
Then type the following two commands:
Code:
su
setenforce 0
This sets SElinux to "permissive". Then you can uninstall all your system apps. Then after you reboot, the phone automatically goes back to "enforcing" for SElinux.
Works great. Doesn't screw up any of my user apps after removing the system apps I don't want (like Chrome, Messaging, etc).
If you want permissive on a permanent basis then check out this thread.
I haven't tried it yet, don't need to:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
CZ Eddie said:
By the way, I found a work-around.
If you want to uninstall SYSTEM apps via Titanium Backup (or any other method), it helps to do the following first.
Open up a terminal session on your phone.
I use the free app Termux to do this:
https://play.google.com/store/apps/details?id=com.termux
Then type the following two commands:
Code:
su
setenforce 0
This sets SElinux to "permissive". Then you can uninstall all your system apps. Then after you reboot, the phone automatically goes back to "enforcing" for SElinux.
Works great. Doesn't screw up any of my user apps after removing the system apps I don't want (like Chrome, Messaging, etc).
If you want permissive on a permanent basis then check out this thread.
I haven't tried it yet, don't need to:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
Click to expand...
Click to collapse
I really only wanted to backup, switch chrome from a system app to a user app, and restore data but couldn't do this using TiB until I ran these commands. Thanks!!!
CZ Eddie said:
By the way, I found a work-around.
If you want to uninstall SYSTEM apps via Titanium Backup (or any other method), it helps to do the following first.
Open up a terminal session on your phone.
I use the free app Termux to do this:
https://play.google.com/store/apps/details?id=com.termux
Then type the following two commands:
Code:
su
setenforce 0
This sets SElinux to "permissive". Then you can uninstall all your system apps. Then after you reboot, the phone automatically goes back to "enforcing" for SElinux.
Works great. Doesn't screw up any of my user apps after removing the system apps I don't want (like Chrome, Messaging, etc).
If you want permissive on a permanent basis then check out this thread.
I haven't tried it yet, don't need to:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
Click to expand...
Click to collapse
this.. worked..
i friggin love you guys here on xda... combined knowledge ftw
The workaround doesn't work for me. After reboot, selinux is back to 'enforcing' but the app still isn't Uninstalled.
However, thanks for letting me know about the apk delete method from system/app. It's the only method that works with some MIUI apps.
Yeah, setenforce 0 doesn't work for my N9100ZC (6.0.1)
What's working is, reboot into TWRP, choose Mount -> System -> Internal memory. TWRP main menu -> Advanced -> File Manager.
Make sure to delete the folder and subfolder of your bloatware (\system\app and \system\priv-app).
Hope this help
CZ Eddie said:
By the way, I found a work-around.
If you want to uninstall SYSTEM apps via Titanium Backup (or any other method), it helps to do the following first.
Open up a terminal session on your phone.
I use the free app Termux to do this:
https://play.google.com/store/apps/details?id=com.termux
Then type the following two commands:
Code:
su
setenforce 0
This sets SElinux to "permissive". Then you can uninstall all your system apps. Then after you reboot, the phone automatically goes back to "enforcing" for SElinux.
Works great. Doesn't screw up any of my user apps after removing the system apps I don't want (like Chrome, Messaging, etc).
If you want permissive on a permanent basis then check out this thread.
I haven't tried it yet, don't need to:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
Click to expand...
Click to collapse
It seems that the workaround doesn't work anymore.
Have you find another one ?
chimmot307 said:
Yeah, setenforce 0 doesn't work for my N9100ZC (6.0.1)
What's working is, reboot into TWRP, choose Mount -> System -> Internal memory. TWRP main menu -> Advanced -> File Manager.
Make sure to delete the folder and subfolder of your bloatware (\system\app and \system\priv-app).
Hope this help
Click to expand...
Click to collapse
Thanks that worked for me.
chimmot307 said:
Yeah, setenforce 0 doesn't work for my N9100ZC (6.0.1)
What's working is, reboot into TWRP, choose Mount -> System -> Internal memory. TWRP main menu -> Advanced -> File Manager.
Make sure to delete the folder and subfolder of your bloatware (\system\app and \system\priv-app).
Hope this help
Click to expand...
Click to collapse
this work for me on my redmi note 8 stock rom miui 11.0.40
Yeah setenforce did not work for me too
DinarQ8 said:
try system remove app
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Atleast name the app properly
Atharkhan101 said:
Atleast name the app properly
Click to expand...
Click to collapse
You ask me a question after been 5 years anyway just search in Play Store System App Remove and choose what work with you

Categories

Resources