Can't delete stock apps with adb or astro - Hero CDMA Q&A, Help & Troubleshooting

When I try to delete a stock app using adb a failure line pops up at the end..when i use astro and go to system/apps and try to manually deleting the apk's a "error deleting files message pops up"..please help so I can free up space on my phone..help in advance it greatly appreciated
Sent from hero running FROYO

allenmkelso said:
When I try to delete a stock app using adb a failure line pops up at the end..when i use astro and go to system/apps and try to manually deleting the apk's a "error deleting files message pops up"..please help so I can free up space on my phone..help in advance it greatly appreciated
Sent from hero running FROYO
Click to expand...
Click to collapse
Switch it to R/W.
Can use root explorer to do this
Sent from my Zen-Rom Hero!

if using adb make sure you type:
Code:
adb remount

Try titanium back up it might work look for it on the market
Root-Hack-Mod-Always™

Either you need a file explorer than can mount the system as R/W, such as root explorer or do
adb remount
adb shell rm /system/app/xxxx.apk
Click to expand...
Click to collapse
The system has to be read/write to delete the apps found in /system/app

kyouko said:
if using adb make sure you type:
Code:
adb remount
Click to expand...
Click to collapse
What he said.
Sent from my HERO200 using XDA App

Just use titanium back up I've yet to meet an app that it can't uninstall warning some system apps should not b removed read carefully on wich ones u can safely remove as it can throw ur system off
Root-Hack-Mod-Always™

allenmkelso said:
When I try to delete a stock app using adb a failure line pops up at the end..when i use astro and go to system/apps and try to manually deleting the apk's a "error deleting files message pops up"..please help so I can free up space on my phone..help in advance it greatly appreciated
Sent from hero running FROYO
Click to expand...
Click to collapse
I use root explorer, but you should also make sure you remount if you're attempting to do this with adb

THANKS TO ALL..it out of nowhere let me delete them using the android terminal must of been a typo.. ALL LOVE FOR THE ANDROID COMMUNITY
Sent from hero running FROYO

I use QtADB. Very simple, very effective, works great, removes ANY stock apps/widgets and so on.
No need to use cmd or adb lines or anything. It's just like Windows add/remove programs.

Related

[Q] Permission Issues

So a while back I used a 1-Click root app. Don't recall which one. Then flashed CM6. Lately I've been noticing some permissions issues.
It started when I attempted to install the new Car Home from the market and couldn't. I tried using RootExplorer to unistall the old version with no luck. I've given it SU permissions but still no dice.
Today I tried to install the new YouTube app from the market but got the same results.
So I tried through ADB and can't navigate to /system/app.
# cd /system/app -- gives "cd: can't cd to /system/app"
# su cd /system/app -- gives "Permission denied"
I've also tried fix_permissions in the terminal with no luck. (I remember this from the G1 days. don't know if it is still used)
Anyone know what could be going on?
I'm not concerned about my warranty any more so I suppose I could unlock my bootloader if anyone thinks rooting the official way would help.
Thanks for your time.
Are you mounting Root Explorer in R/W?
Edit: I had probs mounting my Root Explorer into R/W, and eventually found out I had a bad version of busybox...
Sent from my Nexus One using XDA App
danger-rat said:
Are you mounting Root Explorer in R/W?
Click to expand...
Click to collapse
Wow I feel dumb. I was forgetting to mount in R/W. Got the old apps uninstalled. Still can't get the new apps installed.. Oh well I never use either of them anyway.
BTW any reason I couldn't cd to /system/app in ADB? Probably something else stupid.
Just confirm that the apps are removed (my busybox issue sometimes made it appear like the apps were gone, but when I looked again, they were back).
Did you reboot after removing?
Sent from my Nexus One using XDA App
To upgrade system apps:
1. Uninstall the old version using Root Explorer or Titanium Backup (I've found Titanium to be easier).
2. Reboot.
3. Install the new system app from the Market.
Dude,
Did you not read the OP? He's having trouble uninstalling with Root Explorer... how does telling him to uninstall with Root Explorer help?
Sent from my Nexus One using XDA App
danger-rat said:
Dude,
Did you not read the OP? He's having trouble uninstalling with Root Explorer... how does telling him to uninstall with Root Explorer help?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Dude,
I read the op. I also read the followup where he figured out he had to remount in rw mode. I was attempting to offer the procedure that works 100% of the time for upgrading system apps.
Fair enough...
Sent from my Nexus One using XDA App

UPDATED Dark gmail-you asked for it i found it

Dark Gmail FOUND Version 2.3.2 (http://www.droidforums.net/forum/droid-themes/104950-inverted-2-3-2-gmail-test-release.html) I pulled the apk from the update zip from the link (dont want to take any chances flashing it)
UPDATE- Replaced the check boxes on the left of your emails with the gingerbread ones to better tie the whole dark theme in with gingerbread!
EDIT if having issues
go into recovery, and mounting both /system/ and /data/
Remove old gmail
adb shell
rm /system/app/gmail.apk
rm /system/app/gmail.odex
PUSH NEW GMAIL
adb push Gmail.apk /system/app/
exit
reboot.
adb push Gmail.apk /system/app/
Thank
Anderdroid said:
adb push Gmail.apk /system/app/
Click to expand...
Click to collapse
Figured thats what it was but thanks
Can you guys confirm the exact version number of this Gmail please.
Is it 2.3.2?
EDIT: nevermind, clicked the source thread and it is 2.3.2
Thanks.
drexman8244 said:
Dark Gmail FOUND (http://www.droidforums.net/forum/droid-themes/104950-inverted-2-3-2-gmail-test-release.html) I pulled the apk from the update zip from the link (dont want to take any chances flashing it)
Remove old gmail
adb shell
rm /system/app/gmail.apk
rm /system/app/gmail.odex
exit
unmount /system from recovery
reboot.
I then Pushed the apk to system/app from android Commander, someone with better adb knowledge please post the adb commands
screenshots to come after i blurr out my email
Click to expand...
Click to collapse
Much thanks once again!
Blacks are so sexy on this phone, beyond just looking great(where's the screen, where's the casing, I don't know!) and the power savings.
Hmm this is odd, I'm having issues.
ADB Push is giving me permission denied.
I also have Root Explorer and made sure /system/app is read/write access.
I also tried using Root Explorer to move the gmail.apk to /system/app and rebooting several times and nothing. Gmail app won't start at all.
Also tapping on gmail.apk to try to install it to /system/data gives a, "installation not succeed"
I have root working just fine, do I need to install the unsecure boot image?
nxt said:
Hmm this is odd, I'm having issues.
ADB Push is giving me permission denied.
I also have Root Explorer and made sure /system/app is read/write access.
I also tried using Root Explorer to move the gmail.apk to /system/app and rebooting several times and nothing. Gmail app won't start at all.
Also tapping on gmail.apk to try to install it to /system/data gives a, "installation not succeed"
I have root working just fine, do I need to install the unsecure boot image?
Click to expand...
Click to collapse
hmm. Make sure your root is secure. denied on adb push sounds like a root issue to me
nxt said:
Hmm this is odd, I'm having issues.
ADB Push is giving me permission denied.
I also have Root Explorer and made sure /system/app is read/write access.
I also tried using Root Explorer to move the gmail.apk to /system/app and rebooting several times and nothing. Gmail app won't start at all.
Also tapping on gmail.apk to try to install it to /system/data gives a, "installation not succeed"
I have root working just fine, do I need to install the unsecure boot image?
Click to expand...
Click to collapse
Try adb remount
Okay so I followed the steps, except I just did it with root explorer since I don't have a computer by me. The new gmail.apk just kept saying that it would not install so I put the old one back, and now that one won't install either. Help please?
Sent from my Nexus S using Tapatalk
brian6685 said:
Okay so I followed the steps, except I just did it with root explorer since I don't have a computer by me. The new gmail.apk just kept saying that it would not install so I put the old one back, and now that one won't install either. Help please?
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
Delete gmail.apk and gmail.odex from system/app with root explorer.
then dont install the black version just copy and paste in into system/app and reboot
that should work
Nope didn't work I can't even get the stock gmail back on there now ugh
Sent from my Nexus S using Tapatalk
my apologies, guess youll have to wait until you get near a computer unless someone else can guide you in a better direction with root explorer
drexman8244 said:
my apologies, guess youll have to wait until you get near a computer unless someone else can guide you in a better direction with root explorer
Click to expand...
Click to collapse
Do you think it will work with a computer and adb, at least to get my stock gmail back? I dunno why it would be different then root explorer.
Sent from my Nexus S using Tapatalk
Okay well I got stock back from market and that worked... but the black mms mod I had went back to the stock also lol. Weird
Sent from my Nexus S using Tapatalk
sure
brian6685 said:
Do you think it will work with a computer and adb, at least to get my stock gmail back? I dunno why it would be different then root explorer.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
Definately would work with a pc and adb. but glad your back to normal for now. let me know how it turns out with the pc
Yeah this is weird. Before I had to do it in recovery and adb push, and it worked.
Now with the updated gmail i tried that, and it won't push, i move it with root explorer, rebooted, and gmail isn't detected.
keeps giving me permission denied again.
I think we need an updated root.
nxt said:
Yeah this is weird. Before I had to do it in recovery and adb push, and it worked.
Now with the updated gmail i tried that, and it won't push, i move it with root explorer, rebooted, and gmail isn't detected.
keeps giving me permission denied again.
I think we need an updated root.
Click to expand...
Click to collapse
Just delete gmail.apk from system/apps and then download from market and it will install
Sent from my Nexus S using Tapatalk
Hmmm
nxt said:
keeps giving me permission denied again.
I think we need an updated root.
Click to expand...
Click to collapse
Yeah permission denied sounds like a root problem.
drexman8244 said:
Definately would work with a pc and adb. but glad your back to normal for now. let me know how it turns out with the pc
Click to expand...
Click to collapse
Yeah ill try when I get home with adb. Maybe it doesn't work with root explorer because the system is running when you delete gmail or something. Thanks anyways! Ill get it working and report back later
Sent from my Nexus S using Tapatalk
drexman8244 said:
Yeah permission denied sounds like a root problem.
Click to expand...
Click to collapse
Fixed it again by going to recovery, and mounting both /system/ and /data/ then the adb push worked (while in recovery) now gmail is detected and works.

Remove F-Secure

Anyone know the command for adb to remove the F-Secure from a stock rom (rooted)
Also is the a way to copy text and paste in the command prompt?
adb shell pm disable package-name
As for copy & paste, use the mouse
Rusty! said:
adb shell pm disable package-name
As for copy & paste, use the mouse
Click to expand...
Click to collapse
Does that leave f-secure on the phone but disabled?
And also does anyone know the full file name of it as when I looked it was somthing like F-Secure_android_device and the rest is off the screen so can't see the full path name
Yes it does, but I don't know the name as I'm on CM7
Why don't you just freeze it using titanium backup, that is what I have done. ;-)
Sent from my LG-P990 using Tapatalk
you can uninstall it with titanium as well, make sure chuck norris mode is on.
I simply removed the apk file from system/apps.
Ok you will need to have root permissions and some kind of file browser like root explorer.
Sent from my LG-P990 using XDA Premium App
holoduke said:
I simply removed the apk file from system/apps.
Ok you will need to have root permissions and some kind of file browser like root explorer.
Sent from my LG-P990 using XDA Premium App
Click to expand...
Click to collapse
It's not that simple to remove a system apps as they are installed as Read Only files, tried with titanium and it still did not uninstall, but i did manage to freeze it
There is a way to make it so it doesn't run... Do a hard reset (non root) and never open the app. That's what I have done and never get the stupid sounds from it or anything else.
Sent from my LG-P990 using XDA Premium App
titan
with titanium backup, make af backup of f-secure and then uninstall it...
Kickasskev said:
It's not that simple to remove a system apps as they are installed as Read Only files, tried with titanium and it still did not uninstall, but i did manage to freeze it
Click to expand...
Click to collapse
Why not, i did this too..??
Nexus 4
Kickasskev said:
It's not that simple to remove a system apps as they are installed as Read Only files, tried with titanium and it still did not uninstall, but i did manage to freeze it
Click to expand...
Click to collapse
i have tried setting>security>device administrator>then unchecking that app....but it says that it will erase all my data? will uninstalling frm titanium backup will also do that?

[Q] System app question

Does anyone know if there is any way to install an app that would be a system app as just a normal app?
Only on way to find out
Sent from my SGH-I897 using XDA Premium App
I don't think so, /system/app is usually mounted r/o. You'd have to use adb or root explorer to get into that directory with r/w permissions.
BlackSideburns said:
Does anyone know if there is any way to install an app that would be a system app as just a normal app?
Click to expand...
Click to collapse
To the best of my knowledge, it's possible. Whether it's well advised, that's another story altogether.
If you're wanting to try it, you could do this:
1. Reboot into recovery and use the adb command "adb pull /system/app/appname.apk" to make a backup copy of the .apk file.
2. Reboot and use TiBu to uninstall the system app (or just use adb while still in recovery to do this. The commands would be adb root, adb shell, cd /system/app, rm -i appname.apk, exit.
3. Once the app is uninstalled from the system, just copy your backup (from wherever your adb folder is located) over to your phone and reinstall it. At this point, I would assume it would behave like any other non-system installed app.
Again, I can't guarantee this would work, and it's likely to cause FC's (or worse). But yes, in theory, I believe you could do it. Maybe someone more knowledgeable could verify this?

ADB mount issues on captivate

I did Google and searched in this forum
Once i have rooted my device i wanted delete some stuff rename some stuff and intall some new apk's. I chose ADB and my device does get listed when i search using ADB devices and i granted SU(Super user) permissions. and I can isntall 3rd party apps without any issues.
i was try to push the nosecurity.email.apk to my phone when ever I tried to mount or delete overwrite or push a file i get permission denied or read only file or some kinda message which means that i can do what I'm trying to do.
3. now i want to replace my existing email.apk with the provided here
I was able to rename existing apk using Super Manger but i have to install the modified email.apk using ADB and now i'm stuck. I cant figure out how to install this apk using ADB or any other way.
i get SU permissions using Super manager and i have some root required tools like Busty Box Titanium backup........
????????
what can be done to resolve issues with ADB
jhogal1 said:
I did Google and searched in this forum
Once i have rooted my device i wanted delete some stuff rename some stuff and intall some new apk's. I chose ADB and my device does get listed when i search using ADB devices and i granted SU(Super user) permissions. and I can isntall 3rd party apps without any issues.
i was try to push the nosecurity.email.apk to my phone when ever I tried to mount or delete overwrite or push a file i get permission denied or read only file or some kinda message which means that i can do what I'm trying to do.
3. now i want to replace my existing email.apk with the provided here
I was able to rename existing apk using Super Manger but i have to install the modified email.apk using ADB and now i'm stuck. I cant figure out how to install this apk using ADB or any other way.
i get SU permissions using Super manager and i have some root required tools like Busty Box Titanium backup........
????????
what can be done to resolve issues with ADB
what is alternative way to install APPS(system apps not 3rd part apps) besides ADB and Side load wonder machine
Click to expand...
Click to collapse
The way that I switch out keyboards (smart keyboard or swype which are system apps) is to use root explorer (paid app) and drop the .apk into the system/app folder after mounting it as read/write.
It may take a reboot for them to take effect.
There are other file system apps that will get you into the root directory that are free.
Sent from my GT-I9000 using XDA Premium App
Frank the Funkasaurus Rex said:
The way that I switch out keyboards (smart keyboard or swype which are system apps) is to use root explorer (paid app) and drop the .apk into the system/app folder after mounting it as read/write.
It may take a reboot for them to take effect.
There are other file system apps that will get you into the root directory that are free.
thanks for your reply
the issue is i can get to monut my device in RW mode atll ADB dosent allow me to that, the real issue for me is with ADB. once i have ADB working withh kinda acess i can write/rename/copy files
Click to expand...
Click to collapse
jhogal1 said:
I did Google and searched in this forum
Once i have rooted my device i wanted delete some stuff rename some stuff and intall some new apk's. I chose ADB and my device does get listed when i search using ADB devices and i granted SU(Super user) permissions. and I can isntall 3rd party apps without any issues.
i was try to push the nosecurity.email.apk to my phone when ever I tried to mount or delete overwrite or push a file i get permission denied or read only file or some kinda message which means that i can do what I'm trying to do.
3. now i want to replace my existing email.apk with the provided here
I was able to rename existing apk using Super Manger but i have to install the modified email.apk using ADB and now i'm stuck. I cant figure out how to install this apk using ADB or any other way.
i get SU permissions using Super manager and i have some root required tools like Busty Box Titanium backup........
????????
what can be done to resolve issues with ADB
Click to expand...
Click to collapse
Try this: Reboot to recovery, make sure your /system is mounted, and then plug in your usb.
After you've done that, in adb, type "adb root", and then try doing what you need to do.
Could try using Droid explorer to push the apk to phone, get root explorer to open files and change permissions. If adb isn't working for you, have you checked your environmental variables path? Something like c:/android-sdk/platform-tools etc. Also remember USB debugging enable. Remember when asking your phone for root priviledges to type in SU
Sent from SGS Captivate CM7 or MIUI with Escapist orTKGlitch using XDA premium app.

Categories

Resources