What app/technique to remove stock apps after root? - Xoom General

Right now I'm fully unlocked/rooted, but I'm wondering how any of you might have been able to successfully remove/uninstall stock apps? Obviously if this was on my N1 I'd just use TB, but as I'm sure others have found TB is currently unable to detect the apps (unless someone has gotten it to work??).
Thanks, hope someone has a suggestion!

I was able to uninstall them using Better Terminal Emulator. The code is pretty simple:
su
cd /system/app
mv Cordy.apk Cordy.apkb
mv DungeonDefenders.apk DungeonDefenders.apkb
exit
exit
This only changes the file type so the don't show up. If you want true uninstall (irreversible) use:
su
cd /system/app
rm Cordy.apk
rm DungeonDefenders.apk
exit
exit
If you want to know file names in the system apps folder, use:
cd /system/app
ls
Sent from my Xoom using XDA Premium App

alexdw369 said:
I was able to uninstall them using Better Terminal Emulator. The code is pretty simple:
su
/system/app
mv Cordy.apk Cordy.apkb
mv DungeonDefenders.apk DungeonDefenders.apkb
exit
exit
This only changes the file type so the don't show up. If you want true uninstall (irreversible) use:
su
/system/app
rm Cordy.apk
rm DungeonDefenders.apk
exit
exit
If you want to know file names in the system apps folder, use:
/system/app
ls
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
Ok, just tried this with another terminal emulator, but after entering "/system/app" I get "permission denied". Though it did show that I had superuser permissions after entering su.

I use root explorer. You just click mount r/w and delete or rename or move just like on your computer
https://market.android.com/details?id=com.speedsoftware.rootexplorer&feature=search_result

bwcorvus said:
I use root explorer. You just click mount r/w and delete or rename or move just like on your computer :]
Click to expand...
Click to collapse
Is there a free app that can do the same thing?

Root uninstaller
https://market.android.com/details?id=com.rootuninstaller.free

LPHS said:
Root uninstaller
https://market.android.com/details?id=com.rootuninstaller.free
Click to expand...
Click to collapse
Thanks a bunch.

would someone be so kind as to post a list of apps that are safe to remove?

derekstory said:
would someone be so kind as to post a list of apps that are safe to remove?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1341558
[Updated 9/11] Bloadware Freeze List
Instead of deleting it just freeze it. If you want it without all the bloatware just flash a rom.
Sent from my SGH-I727R using Tapatalk

Related

How do you remove apps using ADB?

I can't seem to figure out how to remove stock apps using adb? Can anyone list the commands needed to do this?
adb remount
adb shell rm /system/app/YourApplicationHere.apk
cloudedice said:
adb remount
adb shell rm /system/app/YourApplicationHere.apk
Click to expand...
Click to collapse
Does this completely remove the app? I mean in particular the listing in the app drawer, as well as in the "Manage Apps" section (if applicable). Also where will app data be stored, if used?
Thanks
yes, completely.
use "adb shell ls -1 /system/app/" to find out the exact name of the app you want to delete, it's caps sensitive.
you can try these 2 programs to remove apps
you should try using android commander or droid explorer. search for them in the forums. they are free and help out a lot.
+ For Droid Explorer: http://de.codeplex.com/ I use this and it is pretty handy. Though you can just be lazy like I usually am and just uninstall apps via Titanium Backup. I haven't tried Android Commander (yet, but maybe I should...) but in interest of being fair, you can find it here: http://handheld.softpedia.com/get/Desktop-and-Shell/Windows/Android-Commander-93099.shtml and the official site is here, but didn't find it very well laid out (no offense PanPiotr...): http://androidcommander.com/
One other thing if you want to backup the app to your sd use cp /system/apps/appnname /sdcard/backup/appname
Sent from my Eris using XDA App
Sorry to ask such a noob question, but I just ran Unrevoked 3 and unrevoked forever. Everything seemed to work correctly, but when I try and run androind commander to delete files it says I need root permissions. I saw the superuser permissions icon in my app list, but when I click it nothing happens. Did I miss something?
ryanmc2033 said:
Sorry to ask such a noob question, but I just ran Unrevoked 3 and unrevoked forever. Everything seemed to work correctly, but when I try and run androind commander to delete files it says I need root permissions. I saw the superuser permissions icon in my app list, but when I click it nothing happens. Did I miss something?
Click to expand...
Click to collapse
do you use other apps (setcpu, etc) that require Superuser permissions? any issues with those? if you do have other apps that have SU permissions, then uninstall/reinstall Android Commander... it should then request permission again.
if neither situation applies... use the directions above to remove the Superuser.apk file from /system/app and then go to this thread and download the new Superuser app
http://forum.xda-developers.com/showthread.php?t=682828

Writing to /system/app...

I'm trying to push a file to /system/app but it's read-only. I know there's a command to allow me to write to it, but do I need to be rooted to do so? I'm attempting to put SprintZone.apk back in /system/app so I can update firmware. Feel free to PM me on this, too...I'm not doing so well hahaha.
Thanks,
-Rob
TheRob44 said:
I'm trying to push a file to /system/app but it's read-only. I know there's a command to allow me to write to it, but do I need to be rooted to do so? I'm attempting to put SprintZone.apk back in /system/app so I can update firmware. Feel free to PM me on this, too...I'm not doing so well hahaha.
Thanks,
-Rob
Click to expand...
Click to collapse
You need to mount r/w
Sent from my Epic 4G
...
Thanks for the tip. Can you let me know the proper adb commands to get this done? Also, after I'm finished, what are the commands to unmount?
Thanks!
-Rob
TheRob44 said:
Thanks for the tip. Can you let me know the proper adb commands to get this done? Also, after I'm finished, what are the commands to unmount?
Thanks!
-Rob
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=719542
I'm not taking credit for the answer just the time it took to search for it.
TheRob44 said:
Thanks for the tip. Can you let me know the proper adb commands to get this done? Also, after I'm finished, what are the commands to unmount?
Thanks!
-Rob
Click to expand...
Click to collapse
Put the file in the android sdk tools folder
Use adb commands
Adb remount
Adb push exactfilename.apk /system/app
Sent from my SPH-D700 using Tapatalk
I think its something like this...
adb shell
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
Click to expand...
Click to collapse
then what I had to do was instead of the usual:
mv /sdcard/yourfile.ext /system/app/yourfile.ext
Click to expand...
Click to collapse
I had to type this:
busybox mv /sdcard/yourfile.ext /system/app/yourfile.ext
Click to expand...
Click to collapse
it was either MV or CP
Sorry, I am not a programmer....
None of theese work for me and i have driver installed,sdk folder im using the right path but nothing it says adb not found 8(
I'm pretty sure you can just do this:
Adb shell
Su
Remount rw
That was enough to let me edit my build.Prop when root explorer wasn't remounting correctly.
Although I would recommend root explorer for stuff like this... remounts on the epic now and it let's you Remount in the application without adb. I think it's $0.99 in the market and we'll worth it.
Sent from my superphone using the XDA App
I second the suggestion of root explorer.
Sent from my (rooted) SPH-D700 using Tapatalk
I've noticed weirdness using mv or cp sometimes even using -f.
This always worked for me without fail:
cat dir/file.ext > /system/app/file.ext
Of course, you'll need to type the proper dir(s) and file.
Sent from my SPH-D700 using Tapatalk
Thread moved to General.
What I had to type was
cd\
cd android-sdk-windows\tools
adb devices
Adb shell
Su
Then it dropped me to the #
Hope that helps. Btw, I'm running windows vista 64bit
Sent from my SPH-D700 using my fingures.

Guys need help adb is driving me crazy!!!

Right guys,
Im trying to list the apk's in /data/app through adb so i can pull one of them!
I keep getting an error opendir failed permission denied!
BUT!!! I can get into /system/app fine with no problems.
Im running darkyy's 9.5 with his new kernel. Could this be a problem?
Its strange how i can get in system/app but not data/app
I have never had this problem in the past.
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb shell ls /data/app
opendir failed, Permission denied
c:\AndroidSDK\platform-tools>
zolah said:
Right guys,
Im trying to list the apk's in /data/app through adb so i can pull one of them!
I keep getting an error opendir failed permission denied!
BUT!!! I can get into /system/app fine with no problems.
Im running darkyy's 9.5 with his new kernel. Could this be a problem?
Its strange how i can get in system/app but not data/app
I have never had this problem in the past.
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb shell ls /data/app
opendir failed, Permission denied
c:\AndroidSDK\platform-tools>
Click to expand...
Click to collapse
Either :
adb root
adb shell ls /data/app
or
adb shell
su
ls /data/app
Reason /system is accessible is because system is ro by default. So they allow you to browse it knowing u won't be able to do anything w/o root. Whereas /data is rw and hence they restrict you, unless you have root.
Fyi : Wrong section to ask questions.
Daneshm90 said:
Either :
adb root
adb shell ls /data/app
or
adb shell
su
ls /data/app
Reason /system is accessible is because system is ro by default. So they allow you to browse it knowing u won't be able to do anything w/o root. Whereas /data is rw and hence they restrict you, unless you have root.
Fyi : Wrong section to ask questions.
Click to expand...
Click to collapse
I am rooted with superuser...
zolah said:
I am rooted with superuser...
Click to expand...
Click to collapse
The default superuser timeout is 10 secs, either increase it or keep looking at your screen.
PS : Have you tried a an app called Mount R/W? works great.
zolah said:
I am rooted with superuser...
Click to expand...
Click to collapse
Im confused, what are you implying by that response ?
To me that statement was equivalent to "The sky is blue"
Daneshm90 said:
Im confused, what are you implying by that response ?
To me that statement was equivalent to "The sky is blue"
Click to expand...
Click to collapse
..... sigh
You was telling me that i have to have root and su to be able to poke around in /data... i said i am rooted with su obviously as im on custom rom...
zolah said:
..... sigh
You was telling me that i have to have root and su to be able to poke around in /data... i said i am rooted with su obviously as im on custom rom...
Click to expand...
Click to collapse
Yes, but by default, if u dont run
adb root....ur not running the shell in root mode
Also on most roms if u run :
adb shel
u'll see $......
when u type su
u see #
So to enter # mode u need root but still need to execute either adb root or adb shell n then su.
Hope that clears it.
install android commander and forget about command line for simple listing and coping tasks
Sent from my GT-I9000 using Tapatalk
This is what i get ...
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb root
adbd cannot run as root in production builds
c:\AndroidSDK\platform-tools>adb shell
/ $ su
su
ls /data/app
ls /data/app
Permission denied
/ $ ls /data/app
opendir failed, Permission denied
/ $
zolah said:
This is what i get ...
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb root
adbd cannot run as root in production builds
c:\AndroidSDK\platform-tools>adb shell
/ $ su
su
ls /data/app
ls /data/app
Permission denied
/ $ ls /data/app
opendir failed, Permission denied
/ $
Click to expand...
Click to collapse
I dont see a # anywhere in there...
Are u accepting the dialog on ur phone when u type su ?
There shud b a popup on ur phone once u do that.
Am I being daft or is root explorer 10 times easier than using adb for this?
Sent from my GT-I9000 using XDA Premium App
woolf clubs said:
Am I being daft or is root explorer 10 times easier than using adb for this?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
Maybe he's trying to learn how to navigate using adb. Very useful skillset to acquire imho.
But yes for general purpose, a gui is better.
the plot thickens...
Ill fill you guys in from the start in a short story..
Updated to darkyy v9.5 from v9.3
I thought the phone went a bit funny when it loaded the first boot as on the boot animation it vibrated like crazy and the animation started again as it was going to loop but then the phone loaded...
Been using the phone a few days and everything fine and wanted to pull an app from /data/app
All the above stuff happened and it wouldnt let me.
I thought something wasnt right so i took out the battery for a few minutes and put it back in and went into download mode and plugged my phone into computer to see of odin would still recognise it ok...
My windows vista computer started installing device drivers???? ive had this phone 7 months and plugged in about 100,000,000 times lol
Odin recognised my phone so i rebooted and tried again and now it works fine...
Something weird going on there which is concerning me with it installing new drivers...
This is what i get now and used to get before when i used adb...
Code:
C:\Users\Paul>cd c:\AndroidSDK\platform-tools
c:\AndroidSDK\platform-tools>adb shell ls /data/app
FasterFix.apk
Vending.apk
com.adobe.flashplayer-1.apk
com.android.wallpapersetandsave-1.apk
com.darkyrom.darkyconfig-1.apk
com.ebproductions.android.launcher-1.apk
com.google.maps.apk
com.google.youtube.apk
org.projectvoodoo.controlapp-1.apk
circular_battery_indicator.apk
com.androidapps.spareparts.apk
com.haxor-1.apk
com.sgsinfo.apk
com.sgstoolbox.apk
de.Fr4gg0r.SGS.Tools-1.apk
neldar.bln.control.free-1.apk
ymst.android.homeswitcherfroyo-1.apk
com.android.vending-1.apk
com.handcent.nextsms-1.apk
com.keramidas.TitaniumBackup-1.apk
com.pants.sc.lite-1.apk
com.navigon.navigator_select-1.apk
org.adwfreak.launcher-1.apk
com.speedsoftware.rootexplorer-1.apk
com.anddoes.fancywidget.pro-1.apk
adw.creativethemez.gingerbread-1.apk
com.quoord.tapatalkxda.activity-1.apk
c:\AndroidSDK\platform-tools>
Thank you for all the responses by the way...
Any one have any idea what could have happened?
woolf clubs said:
Am I being daft or is root explorer 10 times easier than using adb for this?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
For what i was doing no because i wanted to just quickly pull an apk, decompile it and edit something and compile it and push it back...
Daneshm90 said:
Maybe he's trying to learn how to navigate using adb. Very useful skillset to acquire imho.
But yes for general purpose, a gui is better.
Click to expand...
Click to collapse
I know how to navigate with adb very well. I just couldnt figure out why i was being blocked from entering /data/app...
I even have a video tutorial in my sig that i made showing how to use adb and its commands...
Seems a quick battery pull did the trick although i still now dont know why new drivers where auto installed on reboot to my pc

[Q] Deleting a folder with a ridiculously large amount of subfolders

For some reason the app Text+ has made a folder in sdcard/android/data with a massive amount of subfolders.
After entering com.gogii.textplus, there are two initial subfolders. The subfolders contained within them both repeat their own 5 or so folder sequence (For example: storage/emulated/0/data/com.gogii.texplus/storage/emulated/0/data/com.gogii.textplus....etc etc
I just want to delete the damn thing, but every app I use crashes when I try to delete it. I have no idea how deep the rabbit hole goes, but ES file manager did mange to over 10k before crashing.
Any advice?
silverwater25 said:
For some reason the app Text+ has made a folder in sdcard/android/data with a massive amount of subfolders.
After entering com.gogii.textplus, there are two initial subfolders. The subfolders contained within them both repeat their own 5 or so folder sequence (For example: storage/emulated/0/data/com.gogii.texplus/storage/emulated/0/data/com.gogii.textplus....etc etc
I just want to delete the damn thing, but every app I use crashes when I try to delete it. I have no idea how deep the rabbit hole goes, but ES file manager did mange to over 10k before crashing.
Any advice?
Click to expand...
Click to collapse
Did you open /Setup/Apps and delete the app itself rather than just trying to delete the folders?
yes
lewmur said:
Did you open /Setup/Apps and delete the app itself rather than just trying to delete the folders?
Click to expand...
Click to collapse
Yep, haven't had it installed for awhile actually
Perhaps via adb shell
or via a terminal emulator
$ su
# rm -rf /data/media/0/data/com.gogii.textplus/
Worth a try, anyway.
Any reason you are using /storage/emulated as the root instead of /data/media/ ?
nothing doing
bftb0 said:
Perhaps via adb shell
or via a terminal emulator
$ su
# rm -rf /data/media/0/data/com.gogii.textplus/
Worth a try, anyway.
Any reason you are using /storage/emulated as the root instead of /data/media/ ?
Click to expand...
Click to collapse
It was in sdcard/android/data/, but I tried to cut and paste it somewhere else to she if that would help. Now its in another folder in the /sdcard
silverwater25 said:
It was in sdcard/android/data/, but I tried to cut and paste it somewhere else to she if that would help. Now its in another folder in the /sdcard
Click to expand...
Click to collapse
Have you tried using RootExplorer to delete the parent folder?
Yes. I've also tried ES file manager and Rom Toolbox.
Twrp has a built in file manager... I don't know if cwm has one too (if you use cwm)
Sent from my Nexus 7 using xda premium

[Q] how to uninstall this app

hiiiii
i used NexusHD2-Gingerbread V3.3a, it have superuser app, it always give me force close message, i need to uninstall it, i can't uninstall it from application manger, any help please ???
Using any file explorer app with root permissions, go into /system/app/ and delete its apk.
thank you so much
Marvlesz said:
Using any file explorer app with root permissions, go into /system/app/ and delete its apk.
Click to expand...
Click to collapse
I try last version of es file explorer and enable root explorer, when i delete superuser.apk i got errer message says can't delete superuser.apk
Wait, why does it force close? It shouldn't. That's what I do for usual apps that disagree with me. But I haven't had the need to remove superuser before. I'm sorry.
You could try using a different browser, but that's all I can suggest.
Are the Superuser.apk and the su-binaries (!) up to date?
You should be able to delete the apk in system/app/ using the ADB:
adb shell
cd system/app
ls
rm nameofapp.apk
reboot
If that all doesn't help you might just do a clean reflash of the rom...
PS: You may also try installing busybox which to fix the problem.

Categories

Resources