Skip to content

Instantly share code, notes, and snippets.

@xlfe
Last active January 4, 2016 18:28
Show Gist options
  • Save xlfe/8660411 to your computer and use it in GitHub Desktop.
Save xlfe/8660411 to your computer and use it in GitHub Desktop.
Facebook for Android Background Services
I wanted to see how many of Facebook for Android's background services I could
disable and still have a functioning Facebook app.
Using the 'DisableService' app
https://play.google.com/store/apps/details?id=cn.wq.disableservice
(I've also disabled all permissions using AppOps except for the camera).
### Versions
Android 4.2.2 (Rooted)
Facebook for Android version 5.0.0.26.31
I was able to get Facebook fully functioning with
just the following Background Services enabled:
### Login
* FacebookAuthenticationService
* PlatformService
* FacebookService
### Newsfeed, messages, Liking, comments, notifications
* DefaultBlueService
### Post status updates:
PrivacyService
That left me with the following services disabled (I'll update
this Gist if I find I need to enable any others) - some of them
might be necessary, (eg TokenRefreshService might be useful later)
but that begs the question -
### what do the rest of them do?!
### Disabled services
* FacewebAssassinService
* AttributionIdService
* RemoveRawContactsService
* VaultSyncJobProcessor
* VaultManagerService
* VaultUpdateService
* VaultSyncService
* VaultObserverService
* RemoteClearNotificationsService
* ADMRegistrarService
* ADMService
* ADMBroadcastReceiver
* PhotosUploadHelperService
* SuggestProfilePicUploadService
* MemoryDumpUploadService
* ComposerPublishService
* TokenRefreshService
* FacebookSyncAdapterService
* VideoAdsFetchService
* BackgroundLocationService
* MediaCacheCleanupService
* TempFileCleanupService
* MessagesNotificationService
* AnalyticsService
* NotificationPrefsSyncService
* ContactLocaleChangeService
* DashBlueService
* KeyguardService
* DisableDashService
* OverlayViewService
* KeyguardServiceBooterService
* WallpaperChangeBroadcastService
* CrossProcessLogoutService
* DashSsoPreloadService
* HomeNotificationService
* DisableHomeNotificationService
* SystemNotificationsListenerService
* GooglePlayINstallRefererService
* FixCrashLoopService
* SystemTrayNotificationsLogService
* SystemTrayInlineLinkingService
* FbPushDataHandlerService
* MqttPushService
* MqttReceiver
* C2DMService
* SelfUpdateFetchService
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment