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.
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://firstname.lastname@example.org -- 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
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:
At any time you can type any of the commands with --help, and it will give you options and examples on how to use it. try ls --help
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 with rmdir lib
. now cd ..
, and rmdir com.facebook.katana/
finally reboot your phone, cause you're done! reboot -f -d 2
after your phone reboots facebook no longer shows up in any of the lists or updates. Congratulations!
==========================Quick and Clean==============================
as an alternative tut I will give the commands needed to do this in the order in which they need to be executed.