Tips Removing Facebook from Precedent!

Thread Starter

Rank:

None

Points:

Posts:

Joined:

Dec 1, 2011

So many of you have probably noticed that you can't remove facebook from this phone. I tried multiple apps that were supposed to work after rooting to no avail. I was finally able to remove it from the memory so it won't come back after a reboot. Surprisingly it's not very hard, and can be done in about 15-30 minutes. I would like to state before going on about this, that if you mess up your phone, I'm not responsible. This tut is only what worked for me, and it may not even apply to you. As the old phrase goes -- measure twice, cut once.

==========================Apps needed==============================

You will need to have your phone rooted first with the rtto
Then you will need to install SSHDroid

You will also need to clear any of the data from facebook using the application info you get from settings>applications>manage applications.

Now run SSHDroid so it can gain superuser access. After you start the App, it will begin running an ssh server on your phone. To access it from windows get PuTTY. Should be the first in the exe table.

==========================Getting Under the hood==============================

Open PuTTY, in Hostname put your IP address SSHDroid gave you. It will be something like sftp://root@xxx.xxx.x.xxx -- just put the xxx.xxx.x.xxx -- Example: 192.168.1.105
Port will be 22, and hit open. Wait a few seconds, and it will ask for login. Default for SSHDroid is root password admin.

Now that you're officially inside your android's system, BE CAREFUL! Anything you screw up here could brick your phone at the least. there will be some commands that we use, in face all the commands that your phone can use is located in /system/xbin/. Some of the commands you will be using are as follows:

first you want to cd to the root of the filesystem do this by entering cd / .
the bit where your cursor is should now look like this ~ # . Now that you're at the root, we want to remount the directory system with read/write privileges. we do this by entering,mount -o remount ro/rw system . This so so we are able to remove the facebook apk backup that was installed on the system from factory.

now we just cd into the app directory inside the system directory. cd system/app . list the files within this directory with ls. You should see a file named FBAndroid-X.X.X_preload.apk (the x.x.x is the version number mine was 1.5.4). Once you have verified the presence of this file remove it! rm FBAndroid-X.X.X_preload.apk

we aren't done yet. There is one more file that needs to be removed. cd into the directory /data/data/ cd /data/data/ . now enter ls . look for a directory named com.facebook.katana/. Find it? good! cd into it. now there should only be one lib directory in it, remove it withrmdir lib . now cd .. , and rmdir com.facebook.katana/

Rank:

None

Points:

Posts:

Joined:

Nov 7, 2011

If you can get to a factory reset under settings, try that to get your phone back to normal. If that works and the market is working again, and you still want to pull out the bloatware, go for the simple approach.

I don't mind digging into my phone. I run Pandabomb's CM7 and run V6 Supercharger via Script Manager whenever it's updated, but when it came to pulling out crap on the stock ROM, Titanium was the pain free way. Just avoid system apps your phone actually needs to run.

As you've discovered though, your mileage may vary on the success of anything you do to your phone - cause, you know, those apple employees right?

Rank:

None

Points:

Posts:

Joined:

Mar 4, 2012

==========================Getting Under the hood==============================

Open PuTTY, in Hostname put your IP address SSHDroid gave you. It will be something like sftp://root@xxx.xxx.x.xxx -- just put the xxx.xxx.x.xxx -- Example: 192.168.1.105
Port will be 22, and hit open. Wait a few seconds, and it will ask for login. Default for SSHDroid is root password admin.

Click to expand...

This is the part I'm having trouble with. I give it the password of admin and it keeps saying access is denied. I've tried typing with one finger, holding my breath, crossing my toes...access is still denied. What am I doing wrong?

In the meantime, I'll look for another SSH client to use, and if that doesn't work, I'll try to find another method of uninstalling those useless pre-installed apps that are taking up all my internal memory.