FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

[APP] Facebook Icon Remover (ROOT) - Remove the new Camera and Messenger icons

195 posts
Thanks Meter: 141
 
By machx0r, Senior Member on 22nd April 2012, 06:04 PM
Post Reply Subscribe to Thread Email Thread
Hello everybody I was annoyed by the new camera and messenger icons that came with the latest Facebook update so I wrote Facebook Icon Remover to easily disable them. This application requires root. I've had reports that when disabling/enabling the icons the main Facebook icon may disappear from your home screen (but not your application drawer) but you can simply add it back. Let me know if you have any issues using this application.

EDIT: Just a heads up that I will no longer be supporting Facebook Icon Remover. If you wish to hide icons for any applications you should checkout my latest app CCSWE App Manager. More info here: http://forum.xda-developers.com/show....php?t=1639707
Last edited by machx0r; 7th May 2012 at 04:56 AM.
The Following 56 Users Say Thank You to machx0r For This Useful Post: [ View ]
 
 
28th April 2012, 12:10 AM |#2  
OP Senior Member
Thanks Meter: 141
 
Donate to Me
More
Quote:
Originally Posted by machx0r

NOTE: You shouldn't need this application if you are running ICS as it already provides a mechanism to hide applications in the app drawer.

Turns out it's very simple for manufactures to disable this option in the stock ICS settings app and from what I've seen it looks like most of them do. The latest version 1.0.4 has been updated to support ICS devices.
28th April 2012, 12:43 AM |#3  
Senior Member
Thanks Meter: 8
 
More
Thank you! Thank you! Thank you! Thank you!

Unintentionally sent from my Nexus One using xda Premium app.
28th April 2012, 06:34 PM |#4  
blackaholic's Avatar
Senior Member
Flag Bandung
Thanks Meter: 36
 
Donate to Me
More
Thank you very much, this is very useful.
28th April 2012, 08:16 PM |#5  
SektorZero's Avatar
Junior Member
Flag México City
Thanks Meter: 2
 
More
Yeah! Thanks!
28th April 2012, 08:20 PM |#6  
Cal8192's Avatar
Senior Member
College Station, Tx
Thanks Meter: 8
 
More
Works perfectly! AND! Keeps the icons off even after removing the app. Nice.
28th April 2012, 08:25 PM |#7  
sibbor's Avatar
Senior Member
Thanks Meter: 334
 
Donate to Me
More
Quote:
Originally Posted by machx0r

Turns out it's very simple for manufactures to disable this option in the stock ICS settings app and from what I've seen it looks like most of them do. The latest version 1.0.4 has been updated to support ICS devices.

Out of curiosity: in Java, how do you disable apps for ICS? Always met by segmentation faults when using the PackageManager.
28th April 2012, 09:26 PM |#8  
OP Senior Member
Thanks Meter: 141
 
Donate to Me
More
Quote:
Originally Posted by sibbor

Out of curiosity: in Java, how do you disable apps for ICS? Always met by segmentation faults when using the PackageManager.

I'm launching a process to start su and executing the pm command to disable components. There seems to be an issue in ICS with the LD_LIBRARY_PATH environment variable not getting set in a shell launched by su. See this thread for more details:

https://github.com/ChainsDD/su-binary/issues/6
The Following User Says Thank You to machx0r For This Useful Post: [ View ]
28th April 2012, 11:12 PM |#9  
mike1986.'s Avatar
Recognized Contributor
XDA-Developers
Thanks Meter: 75,621
 
Donate to Me
More
Quote:
Originally Posted by machx0r

I'm launching a process to start su and executing the pm command to disable components. There seems to be an issue in ICS with the LD_LIBRARY_PATH environment variable not getting set in a shell launched by su. See this thread for more details:

https://github.com/ChainsDD/su-binary/issues/6

so u simply use

pm disable com.facebook.katana

or some additional commands are needed?
28th April 2012, 11:30 PM |#10  
OP Senior Member
Thanks Meter: 141
 
Donate to Me
More
Quote:
Originally Posted by mike1986.

so u simply use

pm disable com.facebook.katana

or some additional commands are needed?

That would disable the entire Facebook application and all it's components. If you want to disable a specific component you need to provide the class also. From the pm help:


pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT


And...

The enable and disable commands change the enabled state of a given package or component (written as "package/class").
The Following User Says Thank You to machx0r For This Useful Post: [ View ]
28th April 2012, 11:39 PM |#11  
mike1986.'s Avatar
Recognized Contributor
XDA-Developers
Thanks Meter: 75,621
 
Donate to Me
More
Quote:
Originally Posted by machx0r

That would disable the entire Facebook application and all it's components. If you want to disable a specific component you need to provide the class also. From the pm help:


pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT


And...

The enable and disable commands change the enabled state of a given package or component (written as "package/class").

soo...

that would be:

pm disable com.facebook.katana.activity.media.CameraLauncherA ctivity
pm disable com.facebook.katana.orca.ThreadListLauncherActivit y

correct?

EDIT:

Nope, keep searching...
Last edited by mike1986.; 28th April 2012 at 11:42 PM.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes