deleting app folders with terminal on g1

Supperz

New member
I have a rooted g1 and I uninstalled facebook application, planning to reinstall in right away to fix an issue. Now I believe the folder needs to be deleted, because when I try to redownload from market, both "uninstall" and "open" are greyed out. Not to mention, if it was all the way off my phone "open" would say "download" or "install" Any way you guys can help me out? I'm looking to be able to take care of it through terminal. Thanks in advance!
 
You can use adb command from command prompt (assuming you're using windows) and do the command 'adb shell.' A # is gonna come up, type in 'cd /' and hit enter, and enter the command 'ls', to see what folder you're in. Use this to navigate, through the folders, and use the command 'rm filename.apk' to delete.
 
I am using the g1, which is linux based. The market says that facebook is still installed, and its not. I went into sd card on computer and deleted anything that said facebook. And stillit says I already have it. =X
 
He meant use ADB on Windows to access the shell on your phone through USB.

You can do the same with the terminal of course locally on the phone.

Just find the folder the app is/was in, then do:

su
rm -rf whatever


...where "whatever" is the name of the folder you want to delete.

That will remove everything in that folder, and the folder itself.

However, check in Home -> Menu -> Settings -> Applications -> Manage applications -> (find the app you want to delete) and see if you can remove it from there first.
 
Sorry I hadn't been more clear, but exactly as Extorian explained. If I were you, though, I'd reboot my phone first to see if it clears the state of facebook being installed. If it still shows it's installed, I'd do what Extorian said.
 
Back
Top