notes/android: 66disablegsf

File 66disablegsf, 46.5 KB (added by root, at 2016-01-02T06:06:48Z)
Line 
1#!/system/bin/sh
2## Disable GSF GMS service and checkin
3## Cleaning
4rm -f /data/system/dropbox/*.txt
5rm -f /data/system/dropbox/*.gz
6sleep 55
7
8## Vending
9pm disable com.android.vending/com.google.android.finsky.services.ContentSyncService
10
11## CheckinService
12pm enable com.google.android.gms/.checkin.CheckinService
13pm enable com.google.android.gms/.checkin.EventLogService
14pm enable com.google.android.gms/.update.SystemUpdateService
15pm disable com.google.android.gsf/.checkin.CheckinService\$Receiver
16pm disable com.google.android.gsf/.checkin.CheckinService\$TriggerReceiver
17pm disable com.google.android.gsf/.checkin.CheckinService\$SecretCodeReceiver
18pm disable com.google.android.gsf/.checkin.EventLogService\$Receiver
19pm disable com.google.android.gsf/.update.SystemUpdateActivity
20pm disable com.google.android.gsf/.update.SystemUpdateService
21pm disable com.google.android.gsf/.update.SystemUpdateService\$SecretCodeReceiver
22pm disable com.google.android.gsf/.update.SystemUpdateService\$Receiver
23pm disable com.google.android.gsf/.checkin.CheckinService
24pm disable com.google.android.gsf/.checkin.EventLogService
25pm disable com.google.android.gsf/.update.SystemUpdateService
26pm disable com.google.android.gsf/.loginservice.MigrateToAccountManagerBroadcastReceiver
27pm disable com.google.android.gms.gcm.HeartbeatAlarm\$HeartbeatTaskService
28pm disable com.google.android.gms.droidguard.DroidGuardService
29pm disable com.google.android.gms.common.stats.GmsCoreStatsService
30pm disable com.google.android.gms/com.google.android.gms.analytics.internal.GServicesChangedReceiver
31pm disable com.google.android.gms/com.google.android.gms.checkin.CheckinService\$ActiveReceiver
32pm disable com.google.android.gms/com.google.android.gms.update.SystemUpdateService\$ActiveReceiver
33
34## Analytics
35pm disable com.google.android.gms/.analytics.internal.PlayLogReportingService
36pm disable com.google.android.gms/.analytics.service.PlayLogMonitorIntervalService
37pm disable com.google.android.gms/com.google.android.gms.common.stats.GmsCoreStatsServiceLauncher
38pm disable com.google.android.gms/com.google.android.gms.common.analytics.CoreAnalyticsReceiver
39pm disable com.google.android.gms/.common.analytics.CoreAnalyticsIntentService
40pm disable com.google.android.gms/.analytics.service.AnalyticsService
41pm disable com.google.android.gms/.wallet.service.analytics.AnalyticsIntentService
42pm disable com.google.android.gms/.analytics.service.RefreshEnabledStateService
43pm disable com.google.android.gms/com.google.android.gms.ads.social.DoritosReceiver
44pm disable com.google.android.gms/com.google.android.gms.ads.jams.SystemEventReceiver
45pm disable com.google.android.gms/.ads.GservicesValueBrokerService
46pm disable com.google.android.gms/.ads.AdRequestBrokerService
47pm disable com.google.android.gms/.ads.social.GcmSchedulerWakeupService
48pm disable com.google.android.gms/.ads.identifier.service.AdvertisingIdService
49pm disable com.google.android.gms/.ads.identifier.service.AdvertisingIdNotificationService
50pm disable com.google.android.gms/.ads.jams.NegotiationService
51pm disable com.google.android.gms/com.google.android.gms.feedback.FeedbackConnectivityReceiver
52pm disable com.google.android.gms/.feedback.SendService
53pm disable com.google.android.gms/.feedback.FeedbackService
54pm disable com.google.android.gms/.feedback.LegacyBugReportService
55pm disable com.google.android.gms/.feedback.FeedbackAsyncService
56pm disable com.htc.cs.pns/com.baidu.android.pushservice.PushService
57pm disable com.htc.cs.pns/com.htc.lib1.cs.push.receiver.BaiduMessageReceiver\$HandleBroadcastServiceImpl
58pm disable com.htc.cs.pns/com.htc.lib1.cs.push.receiver.BaiduMessageReceiver
59pm disable com.htc.cs.pns/com.htc.lib1.cs.push.receiver.OneTimeOnGooglePlayServicesPackageRecoveredReceiver
60pm disable com.htc.cs.pns/com.baidu.android.pushservice.PushServiceReceiver
61pm disable com.htc.cs.pns/com.baidu.android.pushservice.RegistrationReceiver
62pm disable com.estrongs.android.pop/com.baidu.share.message.ShareReceiver
63pm disable com.google.android.gms/.deviceconnection.service.DeviceConnectionServiceBroker
64
65## Kids
66pm disable com.google.android.gms/.kids.account.UserSwitchListenerService
67pm disable com.google.android.gms/.kids.common.service.KidsService
68pm disable com.google.android.gms/.kids.common.service.KidsApiService
69pm disable com.google.android.gms/.kids.common.service.SlowOperationService
70pm disable com.google.android.gms/.kids.account.AccountSetupService
71pm disable com.google.android.gms/.kids.GcmReceiverService
72pm disable com.google.android.gms/.kids.creation.services.AvatarUploadService
73pm disable com.google.android.gms/.kids.creation.services.ContentDeleteService
74pm disable com.google.android.gms/.kids.device.RingService
75pm disable com.google.android.gms/.kids.timeouts.TimeoutsSystemAlertService
76pm disable com.google.android.gms/.kids.common.sync.KidsDataSyncService
77pm disable com.google.android.gms/com.google.android.gms.kids.account.BootCompletedReceiver
78pm disable com.google.android.gms/com.google.android.gms.kids.common.receiver.InternalEventReceiver
79pm disable com.google.android.gms/com.google.android.gms.kids.account.GmsCoreUpdateReceiver
80pm disable com.google.android.gms/com.google.android.gms.kids.common.sync.ManualSyncReceiver
81pm disable com.google.android.gms/com.google.android.gms.kids.account.AccountChangeReceiver
82pm disable com.google.android.gms/com.google.android.gms.kids.timeouts.DeviceTimeAndDateChangeReceiver
83pm disable com.google.android.gms/com.google.android.gms.kids.common.receiver.PackageChangedReceiver
84pm disable com.google.android.gms/com.google.android.gms.kids.restrictions.receiver.LocationModeChangedReceiver
85pm disable com.google.android.gms/com.google.android.gms.kids.account.receiver.ProfileOwnerReceiver
86pm disable com.google.android.gms/com.google.android.gms.kids.common.receiver.InternalEventReceiverLmp
87
88##disable Push Notifications
89pm disable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
90pm disable com.google.android.gms/.gcm.GcmService
91pm disable com.google.android.gms/.gcm.GcmRegisterService
92pm disable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
93pm disable com.google.android.gms/.gcm.GcmReceiverService
94pm disable com.google.android.gms/.gcm.GcmSenderProxy
95pm disable com.google.android.gms/.gcm.GcmConnectionTestReceiver
96pm disable com.google.android.gms/.gcm.GcmProxyReceiver
97
98pkgs=`pm list packages -e 2>/dev/null`
99
100##disable if use Google Mail
101if printf "%s\n" $pkgs | grep 'package:com\.google\.android\.gm$'; then
102 pm disable com.google.android.gm/com.android.email.service.AttachmentService
103 pm disable com.google.android.gm/com.android.email.service.EasAuthenticatorService
104 pm disable com.google.android.gm/com.android.email.service.EasAuthenticatorServiceAlternate
105 pm disable com.google.android.gm/com.android.email.service.LegacyEmailAuthenticatorService
106 pm disable com.google.android.gm/com.android.email.service.LegacyEasAuthenticatorService
107 pm disable com.google.android.gm/com.google.android.gm.EmailMigrationService
108fi;
109
110##disable if use facebook
111if printf "%s\n" $pkgs | grep 'package:com\.facebook\.katana$'; then
112 pm disable com.facebook.katana/com.facebook.common.errorreporting.memory.MemoryDumpUploadService
113 pm disable com.facebook.katana/com.facebook.videoads.scheduler.VideoAdsFetchService
114 pm disable com.facebook.katana/com.facebook.analytics.service.AnalyticsService
115 pm disable com.facebook.katana/com.facebook.places.suggestions.common.SuggestProfilePicUploadService
116fi;
117
118##disable Google Wear
119pm disable com.google.android.gms/.auth.be.proximity.authorization.userpresence.UserPresenceService
120pm disable com.google.android.gms/.wearable.node.bluetooth.BluetoothClientService
121pm disable com.google.android.gms/.wearable.node.bluetooth.BluetoothServerService
122pm disable com.google.android.gms/.wearable.node.btle.BtleCentralService
123pm disable com.google.android.gms/.wearable.node.emulator.NetworkConnectionService
124pm disable com.google.android.gms/.wearable.service.GcmIntentService
125pm disable com.google.android.gms/.common.GmsWearListenerService
126#pm disable com.google.android.gms/com.google.android.location.wearable.LocationWearableListenerService
127pm disable com.google.android.gms/.config.ConfigFetchService
128pm disable com.google.android.gms/com.google.android.gms.wearable.service.AutoStarterReceiver
129pm disable com.google.android.gms/com.google.android.gms.wearable.service.GcmBroadcastReceiver
130pm disable com.google.android.gms/com.google.android.gms.wearable.service.GcmRegistrationReceiver
131
132##enable if use Google Music
133if printf "%s\n" $pkgs | grep 'package:com\.google\.android\.music$'; then
134 pm enable com.google.android.gms/.wearable.service.WearableService
135 pm enable com.google.android.gms/.wearable.service.WearableControlService
136 pm disable com.google.android.music/com.google.android.music.wear.WearMetadataSyncService
137 pm disable com.google.android.music/com.google.android.music.wear.MusicWearableListenerService
138 pm disable com.google.android.music/com.google.android.music.wear.WearDataTransferConnectionService
139 pm disable com.google.android.music/com.google.android.wearable.datatransfer.DataSyncService
140else
141 pm disable com.google.android.gms/.wearable.service.WearableService
142 pm disable com.google.android.gms/.wearable.service.WearableControlService
143fi;
144
145##enable if use FITBIT fithnes
146if printf "%s\n" $pkgs | grep 'package:com\.fitbit\.FitbitMobile$'; then
147 pm enable com.google.android.gms/.fitness.service.proxy.FitProxyBroker
148 pm enable com.google.android.gms/.fitness.service.recording.FitRecordingBroker
149 pm enable com.google.android.gms/.fitness.service.sessions.FitSessionsBroker
150 pm enable com.google.android.gms/.fitness.service.history.FitHistoryBroker
151 pm enable com.google.android.gms/.fitness.service.sensors.FitSensorsBroker
152 pm enable com.google.android.gms/.fitness.service.ble.FitBleBroker
153 pm enable com.google.android.gms/.fitness.service.config.FitConfigBroker
154 pm enable com.google.android.gms/.fitness.service.internal.FitInternalBroker
155 pm enable com.google.android.gms/.fitness.sensors.activity.ActivityRecognitionService
156 pm enable com.google.android.gms/.fitness.sensors.sample.CollectSensorService
157 pm enable com.google.android.gms/.fitness.sync.FitnessSyncAdapterService
158 pm enable com.google.android.gms/.fitness.wearables.WearableSyncService
159 pm enable com.google.android.gms/.fitness.store.maintenance.StoreMaintenanceService
160 pm enable com.google.android.gms/.fitness.disconnect.FitCleanupService
161 pm enable com.google.android.gms/.fitness.service.DebugIntentService
162 pm enable com.google.android.gms/com.google.android.gms.fitness.service.FitnessInitReceiver
163 pm enable com.google.android.gms/com.google.android.gms.fitness.sensors.sample.CollectSensorReceiver
164 pm enable com.google.android.gms/com.google.android.gms.fitness.wearables.WearableSyncServiceReceiver
165 pm enable com.google.android.gms/com.google.android.gms.fitness.disconnect.FitCleanupReceiver
166 pm enable com.google.android.gms/.auth.be.proximity.authorization.userpresence.UserPresenceService
167 pm enable com.google.android.gms/.wearable.node.bluetooth.BluetoothClientService
168 pm enable com.google.android.gms/.wearable.node.bluetooth.BluetoothServerService
169 pm enable com.google.android.gms/.wearable.node.btle.BtleCentralService
170 pm enable com.google.android.gms/.wearable.node.emulator.NetworkConnectionService
171 pm enable com.google.android.gms/.wearable.service.WearableService
172 pm enable com.google.android.gms/.wearable.service.WearableControlService
173 pm enable com.google.android.gms/.wearable.service.GcmIntentService
174 pm enable com.google.android.gms/com.google.android.gms.wearable.service.AutoStarterReceiver
175 pm enable com.google.android.gms/com.google.android.gms.wearable.service.GcmBroadcastReceiver
176 pm enable com.google.android.gms/com.google.android.gms.wearable.service.GcmRegistrationReceiver
177# pm enable com.google.android.gms/com.google.android.location.wearable.LocationWearableListenerService
178 pm enable com.google.android.gms/.config.ConfigFetchService
179 pm enable com.google.android.gms/.deviceconnection.service.DeviceConnectionServiceBroker
180else
181 pm disable com.google.android.gms/.fitness.service.proxy.FitProxyBroker
182 pm disable com.google.android.gms/.fitness.service.recording.FitRecordingBroker
183 pm disable com.google.android.gms/.fitness.service.sessions.FitSessionsBroker
184 pm disable com.google.android.gms/.fitness.service.history.FitHistoryBroker
185 pm disable com.google.android.gms/.fitness.service.sensors.FitSensorsBroker
186 pm disable com.google.android.gms/.fitness.service.ble.FitBleBroker
187 pm disable com.google.android.gms/.fitness.service.config.FitConfigBroker
188 pm disable com.google.android.gms/.fitness.service.internal.FitInternalBroker
189 pm disable com.google.android.gms/.fitness.sensors.activity.ActivityRecognitionService
190 pm disable com.google.android.gms/.fitness.sensors.sample.CollectSensorService
191 pm disable com.google.android.gms/.fitness.sync.FitnessSyncAdapterService
192 pm disable com.google.android.gms/.fitness.wearables.WearableSyncService
193 pm disable com.google.android.gms/.fitness.store.maintenance.StoreMaintenanceService
194 pm disable com.google.android.gms/.fitness.disconnect.FitCleanupService
195 pm disable com.google.android.gms/.fitness.service.DebugIntentService
196 pm disable com.google.android.gms/com.google.android.gms.fitness.service.FitnessInitReceiver
197 pm disable com.google.android.gms/com.google.android.gms.fitness.sensors.sample.CollectSensorReceiver
198 pm disable com.google.android.gms/com.google.android.gms.fitness.wearables.WearableSyncServiceReceiver
199 pm disable com.google.android.gms/com.google.android.gms.fitness.disconnect.FitCleanupReceiver
200fi;
201
202##enable if use android wear
203if printf "%s\n" $pkgs | grep 'package:com\.fitbit\.FitbitMobile$'; then
204 pm enable com.google.android.gms/.fitness.service.proxy.FitProxyBroker
205 pm enable com.google.android.gms/.fitness.service.recording.FitRecordingBroker
206 pm enable com.google.android.gms/.fitness.service.sessions.FitSessionsBroker
207 pm enable com.google.android.gms/.fitness.service.history.FitHistoryBroker
208 pm enable com.google.android.gms/.fitness.service.sensors.FitSensorsBroker
209 pm enable com.google.android.gms/.fitness.service.ble.FitBleBroker
210 pm enable com.google.android.gms/.fitness.service.config.FitConfigBroker
211 pm enable com.google.android.gms/.fitness.service.internal.FitInternalBroker
212 pm enable com.google.android.gms/.fitness.sensors.activity.ActivityRecognitionService
213 pm enable com.google.android.gms/.fitness.sensors.sample.CollectSensorService
214 pm enable com.google.android.gms/.fitness.sync.FitnessSyncAdapterService
215 pm enable com.google.android.gms/.fitness.wearables.WearableSyncService
216 pm enable com.google.android.gms/.fitness.store.maintenance.StoreMaintenanceService
217 pm enable com.google.android.gms/.fitness.disconnect.FitCleanupService
218 pm enable com.google.android.gms/.fitness.service.DebugIntentService
219 pm enable com.google.android.gms/.auth.be.proximity.authorization.userpresence.UserPresenceService
220 pm enable com.google.android.gms/.wearable.node.bluetooth.BluetoothClientService
221 pm enable com.google.android.gms/.wearable.node.bluetooth.BluetoothServerService
222 pm enable com.google.android.gms/.wearable.node.btle.BtleCentralService
223 pm enable com.google.android.gms/.wearable.node.emulator.NetworkConnectionService
224 pm enable com.google.android.gms/.wearable.service.WearableService
225 pm enable com.google.android.gms/.wearable.service.WearableControlService
226 pm enable com.google.android.gms/.wearable.service.GcmIntentService
227# pm enable com.google.android.gms/com.google.android.location.wearable.LocationWearableListenerService
228 pm enable com.google.android.gms/.config.ConfigFetchService
229 pm enable com.google.android.gms/.deviceconnection.service.DeviceConnectionServiceBroker
230 pm enable com.google.android.music/com.google.android.music.wear.WearMetadataSyncService
231 pm enable com.google.android.music/com.google.android.music.wear.MusicWearableListenerService
232 pm enable com.google.android.music/com.google.android.music.wear.WearDataTransferConnectionService
233 pm enable com.google.android.music/com.google.android.wearable.datatransfer.DataSyncService
234 pm enable com.google.android.gms/.common.GmsWearListenerService
235 pm enable com.google.android.gms/com.google.android.gms.wearable.service.AutoStarterReceiver
236 pm enable com.google.android.gms/com.google.android.gms.wearable.service.GcmBroadcastReceiver
237 pm enable com.google.android.gms/com.google.android.gms.wearable.service.GcmRegistrationReceiver
238fi;
239
240##disable if not use Google TALK Hangouts
241if printf "%s\n" $pkgs | grep 'package:com\.google\.android\.talk$'; then
242 pm enable com.google.android.gsf/.gtalkservice.service.GTalkService
243 pm enable com.google.android.gsf/.gtalkservice.service.ConnectionService
244 pm enable com.google.android.gsf/.gtalkservice.service.ConnectionServiceProxy
245 pm enable com.google.android.gsf/.gtalkservice.service.GTalkServiceProxy
246 pm enable com.google.android.gsf/.gtalkservice.PushMessagingRegistrar
247 pm enable com.google.android.gsf/.gtalkservice.PushMessagingRegistrarProxy
248 pm enable com.google.android.gms/.gcm.ProxyGTalkService
249 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
250 pm enable com.google.android.gms/.googlehelp.service.VideoCallStatusUpdateService
251 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
252 pm enable com.google.android.gms/.gcm.GcmService
253 pm enable com.google.android.gms/.gcm.GcmRegisterService
254 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
255 pm enable com.google.android.gms/.gcm.GcmReceiverService
256 pm enable com.google.android.gms/.gcm.GcmSenderProxy
257 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
258 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
259 pm enable com.google.android.gms/.deviceconnection.service.DeviceConnectionServiceBroker
260 pm enable com.google.android.gms/.people.sync.PeopleSyncService
261 pm enable com.google.android.gms/.people.pub.PeopleSyncRawContactService
262else
263 pm disable com.google.android.gsf/.gtalkservice.service.GTalkService
264 pm disable com.google.android.gsf/.gtalkservice.service.ConnectionService
265 pm disable com.google.android.gsf/.gtalkservice.service.ConnectionServiceProxy
266 pm disable com.google.android.gsf/.gtalkservice.service.GTalkServiceProxy
267 pm disable com.google.android.gsf/.gtalkservice.PushMessagingRegistrar
268 pm disable com.google.android.gsf/.gtalkservice.PushMessagingRegistrarProxy
269 pm disable com.google.android.gms/.gcm.ProxyGTalkService
270 pm disable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
271 pm disable com.google.android.gms/.googlehelp.service.VideoCallStatusUpdateService
272 pm disable com.google.android.gms/.people.sync.PeopleSyncService
273 pm disable com.google.android.gms/.people.pub.PeopleSyncRawContactService
274fi;
275
276##disable if not use Google PLUS
277if printf "%s\n" $pkgs | grep 'package:com\.google\.android\.apps\.plus$'; then
278 pm enable com.google.android.gms/.plus.service.PlusService
279 pm enable com.google.android.gms/.plus.service.DefaultIntentService
280 pm enable com.google.android.gms/.plus.service.ImageIntentService
281 pm enable com.google.android.gms/.plus.service.OfflineActionSyncAdapterService
282 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
283 pm enable com.google.android.gms/.googlehelp.service.VideoCallStatusUpdateService
284 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
285 pm enable com.google.android.gms/.gcm.GcmService
286 pm enable com.google.android.gms/.gcm.GcmRegisterService
287 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
288 pm enable com.google.android.gms/.gcm.GcmReceiverService
289 pm enable com.google.android.gms/.gcm.GcmSenderProxy
290 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
291 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
292 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
293 pm disable com.google.android.apps.plus/com.google.android.libraries.social.autobackup.AutoBackupSyncService
294 pm disable com.google.android.apps.plus/com.google.android.libraries.social.albumupload.impl.UploadSchedulerService
295 pm enable com.google.android.gms/.deviceconnection.service.DeviceConnectionServiceBroker
296 pm enable com.google.android.gms/.people.sync.PeopleSyncService
297 pm enable com.google.android.gms/.people.pub.PeopleSyncRawContactService
298else
299 pm disable com.google.android.gms/.plus.service.PlusService
300 pm disable com.google.android.gms/.plus.service.DefaultIntentService
301 pm disable com.google.android.gms/.plus.service.ImageIntentService
302 pm disable com.google.android.gms/.plus.service.OfflineActionSyncAdapterService
303 pm disable com.google.android.gms/.people.sync.PeopleSyncService
304 pm disable com.google.android.gms/.people.pub.PeopleSyncRawContactService
305fi;
306
307##disable if not use Google Games
308if printf "%s\n" $pkgs | grep 'package:com\.google\.android\.play\.games$'; then
309 pm enable com.google.android.gms/.games.service.GamesAndroidService
310 pm enable com.google.android.gms/.games.service.GamesIntentService
311 pm enable com.google.android.gms/.games.service.GamesSignInService
312 pm enable com.google.android.gms/.games.service.GamesSignInIntentService
313 pm enable com.google.android.gms/.games.service.GamesAsyncService
314 pm enable com.google.android.gms/.games.service.GamesSyncServiceMain
315 pm enable com.google.android.gms/.games.service.GamesSyncServiceNotification
316 pm enable com.google.android.gms/.games.service.RoomAndroidService
317 pm enable com.google.android.gms/.games.service.GamesUploadService
318 pm enable com.google.android.gms/.games.service.SnapshotEventService
319 pm enable com.google.android.gms/com.google.android.gms.games.receiver.GamesSystemBroadcastReceiver
320 pm enable com.google.android.gms/com.google.android.gms.games.receiver.InternalIntentReceiver
321else
322 pm disable com.google.android.gms/.games.service.GamesAndroidService
323 pm disable com.google.android.gms/.games.service.GamesIntentService
324 pm disable com.google.android.gms/.games.service.GamesSignInService
325 pm disable com.google.android.gms/.games.service.GamesAsyncService
326 pm disable com.google.android.gms/.games.service.GamesSignInIntentService
327 pm disable com.google.android.gms/.games.service.GamesSyncServiceMain
328 pm disable com.google.android.gms/.games.service.GamesSyncServiceNotification
329 pm disable com.google.android.gms/.games.service.RoomAndroidService
330 pm disable com.google.android.gms/.games.service.GamesUploadService
331 pm disable com.google.android.gms/.games.service.SnapshotEventService
332 pm disable com.google.android.gms/com.google.android.gms.games.receiver.GamesSystemBroadcastReceiver
333 pm disable com.google.android.gms/com.google.android.gms.games.receiver.InternalIntentReceiver
334fi;
335
336#-##disable if not use Google Maps
337#-if printf "%s\n" $pkgs | grep 'package:com\.google\.android\.apps\.maps$'; then
338#- pm enable com.google.android.gms/com.google.android.location.fused.FusedLocationService
339#- pm enable com.google.android.gms/com.google.android.location.fused.NlpLocationReceiverService
340#- pm enable com.google.android.gms/com.google.android.location.internal.PendingIntentCallbackService
341#- pm enable com.google.android.gms/com.google.android.location.geocode.GeocodeService
342#- pm enable com.google.android.gms/com.google.android.location.network.NetworkLocationService
343#- pm enable com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService
344#- pm enable com.google.android.gms/com.google.android.location.geofencer.service.GeofenceProviderService
345#- pm enable com.google.android.gms/com.google.android.location.fused.service.FusedProviderService
346#- pm enable com.google.android.gms/com.google.android.location.activity.HardwareActivityRecognitionProviderService
347#- pm enable com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService
348#- pm enable com.google.android.gms/com.google.android.location.reporting.service.ReportingAndroidService
349#- pm enable com.google.android.gms/com.google.android.location.reporting.service.ReportingSyncService
350#- pm enable com.google.android.gms/com.google.android.location.reporting.service.LocationHistoryInjectorService
351#-else
352#- pm disable com.google.android.gms/com.google.android.location.fused.FusedLocationService
353#- pm disable com.google.android.gms/com.google.android.location.fused.NlpLocationReceiverService
354#- pm disable com.google.android.gms/com.google.android.location.internal.PendingIntentCallbackService
355#- pm disable com.google.android.gms/com.google.android.location.geocode.GeocodeService
356#- pm disable com.google.android.gms/com.google.android.location.network.NetworkLocationService
357#- pm disable com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService
358#- pm disable com.google.android.gms/com.google.android.location.geofencer.service.GeofenceProviderService
359#- pm disable com.google.android.gms/com.google.android.location.fused.service.FusedProviderService
360#- pm disable com.google.android.gms/com.google.android.location.activity.HardwareActivityRecognitionProviderService
361#- pm disable com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService
362#- #pm disable com.google.android.gms/com.google.android.location.reporting.service.ReportingAndroidService
363#- pm disable com.google.android.gms/com.google.android.location.reporting.service.ReportingSyncService
364#- pm disable com.google.android.gms/com.google.android.location.reporting.service.LocationHistoryInjectorService
365#-fi;
366
367##enable if use youtube
368if printf "%s\n" $pkgs | grep 'package:com\.google\.android\.youtube$'; then
369 pm disable com.google.android.youtube/com.google.android.libraries.youtube.upload.service.UploadService\$BootReceiver
370 pm disable com.google.android.youtube/com.google.android.apps.youtube.app.offline.transfer.OfflineTransferService\$DeviceStateReceiver
371 pm disable com.google.android.youtube/com.google.android.apps.youtube.core.player.preload.PreloadVideosTransferService\$DeviceStateReceiver
372 pm disable com.google.android.youtube/com.google.android.apps.youtube.app.system.LocaleUpdatedReceiver
373 pm enable com.google.android.youtube/com.google.android.apps.youtube.core.identity.AccountsChangedReceiver
374 pm enable com.google.android.gms/com.google.android.location.reporting.service.ReportingAndroidService
375fi;
376
377##enable if use rolle youtube
378if printf "%s\n" $pkgs | grep 'package:com\.rolle\.android\.youtube$'; then
379 #pm enable com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService
380 pm enable com.google.android.gms/com.google.android.location.reporting.service.ReportingAndroidService
381fi;
382
383##disable if use Google Mail Inbox
384if printf "%s\n" $pkgs | grep 'package:com\.google\.android\.apps\.inbox$'; then
385 pm disable com.google.android.apps.inbox/com.google.android.apps.bigtop.service.OfflineNotificationService
386 pm disable com.google.android.apps.inbox/com.google.android.apps.bigtop.service.NotificationReceiverService
387fi;
388
389##enable if use Vkontakte
390if printf "%s\n" $pkgs | grep 'package:com\.vkontakte\.android$'; then
391 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
392 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
393 pm enable com.google.android.gms/.gcm.GcmService
394 pm enable com.google.android.gms/.gcm.GcmRegisterService
395 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
396 pm enable com.google.android.gms/.gcm.GcmReceiverService
397 pm enable com.google.android.gms/.gcm.GcmSenderProxy
398 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
399 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
400 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
401fi;
402
403##enable if use Odnoklasniky
404if printf "%s\n" $pkgs | grep 'package:ru\.ok\.android$'; then
405 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
406 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
407 pm enable com.google.android.gms/.gcm.GcmService
408 pm enable com.google.android.gms/.gcm.GcmRegisterService
409 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
410 pm enable com.google.android.gms/.gcm.GcmReceiverService
411 pm enable com.google.android.gms/.gcm.GcmSenderProxy
412 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
413 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
414 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
415fi;
416
417##enable if use Mailru Agent
418if printf "%s\n" $pkgs | grep 'package:ru\.mail$'; then
419 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
420 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
421 pm enable com.google.android.gms/.gcm.GcmService
422 pm enable com.google.android.gms/.gcm.GcmRegisterService
423 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
424 pm enable com.google.android.gms/.gcm.GcmReceiverService
425 pm enable com.google.android.gms/.gcm.GcmSenderProxy
426 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
427 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
428 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
429fi;
430
431##enable if use WhatsApp
432if printf "%s\n" $pkgs | grep 'package:com\.whatsapp$'; then
433 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
434 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
435 pm enable com.google.android.gms/.gcm.GcmService
436 pm enable com.google.android.gms/.gcm.GcmRegisterService
437 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
438 pm enable com.google.android.gms/.gcm.GcmReceiverService
439 pm enable com.google.android.gms/.gcm.GcmSenderProxy
440 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
441 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
442 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
443fi;
444
445##enable if use gameloft
446if [ -e /data/app/com.gameloft.android.* ]; then
447 pm enable com.google.android.gms/.games.service.GamesAndroidService
448 pm enable com.google.android.gms/.games.service.GamesIntentService
449 pm enable com.google.android.gms/.games.service.GamesSignInService
450 pm enable com.google.android.gms/.games.service.GamesSignInIntentService
451 pm enable com.google.android.gms/.games.service.GamesSyncServiceMain
452 pm enable com.google.android.gms/.games.service.GamesSyncServiceNotification
453 pm enable com.google.android.gms/.games.service.RoomAndroidService
454 pm enable com.google.android.gms/.games.service.GamesUploadService
455 pm enable com.google.android.gms/.games.service.SnapshotEventService
456fi;
457
458##enable if use evolution
459if [ -e /data/app/com.my.evolution.* ]; then
460 pm enable com.google.android.gms/.games.service.GamesAndroidService
461 pm enable com.google.android.gms/.games.service.GamesIntentService
462 pm enable com.google.android.gms/.games.service.GamesSignInService
463 pm enable com.google.android.gms/.games.service.GamesSignInIntentService
464 pm enable com.google.android.gms/.games.service.GamesSyncServiceMain
465 pm enable com.google.android.gms/.games.service.GamesSyncServiceNotification
466 pm enable com.google.android.gms/.games.service.RoomAndroidService
467 pm enable com.google.android.gms/.games.service.GamesUploadService
468 pm enable com.google.android.gms/.games.service.SnapshotEventService
469fi;
470
471##enable if use KateMobile
472if printf "%s\n" $pkgs | grep 'package:com\.perm\.kate_new_2$'; then
473 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
474 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
475 pm enable com.google.android.gms/.gcm.GcmService
476 pm enable com.google.android.gms/.gcm.GcmRegisterService
477 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
478 pm enable com.google.android.gms/.gcm.GcmReceiverService
479 pm enable com.google.android.gms/.gcm.GcmSenderProxy
480 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
481 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
482 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
483fi;
484
485##disable if use facebook
486if printf "%s\n" $pkgs | grep 'package:com\.facebook\.katana$'; then
487 pm disable com.facebook.katana/com.facebook.common.errorreporting.memory.MemoryDumpUploadService
488 pm disable com.facebook.katana/com.facebook.videoads.scheduler.VideoAdsFetchService
489 pm disable com.facebook.katana/com.facebook.analytics.service.AnalyticsService
490 pm disable com.facebook.katana/com.facebook.places.suggestions.common.SuggestProfilePicUploadService
491fi;
492
493##enable if use IM+Lite
494if printf "%s\n" $pkgs | grep 'package:de\.shapeservices\.impluslite$'; then
495 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
496 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
497 pm enable com.google.android.gms/.gcm.GcmService
498 pm enable com.google.android.gms/.gcm.GcmRegisterService
499 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
500 pm enable com.google.android.gms/.gcm.GcmReceiverService
501 pm enable com.google.android.gms/.gcm.GcmSenderProxy
502 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
503 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
504 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
505fi;
506
507##enable if use IM+Pro
508if printf "%s\n" $pkgs | grep 'package:de\.shapeservices\.implusfull$'; then
509 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
510 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
511 pm enable com.google.android.gms/.gcm.GcmService
512 pm enable com.google.android.gms/.gcm.GcmRegisterService
513 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
514 pm enable com.google.android.gms/.gcm.GcmReceiverService
515 pm enable com.google.android.gms/.gcm.GcmSenderProxy
516 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
517 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
518 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
519fi;
520
521##disable if use google quicksearch
522if printf "%s\n" $pkgs | grep 'package:com\.google\.android\.googlequicksearchbox$'; then
523 pm disable com.google.android.googlequicksearchbox/com.google.android.hotword.service.HotwordService
524 pm disable com.google.android.googlequicksearchbox/com.google.android.hotword.benchmark.service.HotwordBenchmarkServiceImpl
525 pm disable com.google.android.googlequicksearchbox/com.google.android.velvet.VelvetBackgroundTasksImpl\$Service
526 pm disable com.google.android.googlequicksearchbox/com.google.android.sidekick.main.notifications.NotificationRefreshService
527 pm disable com.google.android.googlequicksearchbox/com.google.android.voicesearch.handsfree.HeadsetQueryCommitService
528 pm disable com.google.android.googlequicksearchbox/com.google.android.search.core.hotword.HotwordDownloadProcessorService
529 pm disable com.google.android.googlequicksearchbox/com.android.launcher3.MemoryTracker
530 pm disable com.google.android.googlequicksearchbox/com.google.android.remotesearch.RemoteSearchService
531fi;
532
533if [ -e /data/app/com.ea.game.* ]; then
534 pm enable com.google.android.gms/.games.service.GamesAndroidService
535 pm enable com.google.android.gms/.games.service.GamesIntentService
536 pm enable com.google.android.gms/.games.service.GamesSignInService
537 pm enable com.google.android.gms/.games.service.GamesSignInIntentService
538 pm enable com.google.android.gms/.games.service.GamesSyncServiceMain
539 pm enable com.google.android.gms/.games.service.GamesSyncServiceNotification
540 pm enable com.google.android.gms/.games.service.RoomAndroidService
541 pm enable com.google.android.gms/.games.service.GamesUploadService
542 pm enable com.google.android.gms/.games.service.SnapshotEventService
543fi;
544
545##enable if use KatePro
546if printf "%s\n" $pkgs | grep 'package:com\.perm\.kate\.pro$'; then
547 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
548 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
549 pm enable com.google.android.gms/.gcm.GcmService
550 pm enable com.google.android.gms/.gcm.GcmRegisterService
551 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
552 pm enable com.google.android.gms/.gcm.GcmReceiverService
553 pm enable com.google.android.gms/.gcm.GcmSenderProxy
554 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
555 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
556 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
557fi;
558
559##enable if use viber
560if printf "%s\n" $pkgs | grep 'package:com\.viber\.voip$'; then
561 pm enable com.google.android.gms/.googlehelp.service.ChatStatusUpdateService
562 pm enable com.google.android.gms/.gcm.GcmDiagnosticsReceiver
563 pm enable com.google.android.gms/.gcm.GcmService
564 pm enable com.google.android.gms/.gcm.GcmRegisterService
565 pm enable com.google.android.gms/.gcm.gmsproc.GcmReceiverService
566 pm enable com.google.android.gms/.gcm.GcmReceiverService
567 pm enable com.google.android.gms/.gcm.GcmSenderProxy
568 pm enable com.google.android.gms/.gcm.GcmConnectionTestReceiver
569 pm enable com.google.android.gms/.gcm.GcmProxyReceiver
570 pm enable com.google.android.gms/.auth.authzen.GcmReceiverService
571fi;
572
573##enable if use weatheradfree
574if printf "%s\n" $pkgs | grep 'package:com\.devexpert\.weatheradfree$'; then
575 pm enable com.google.android.gms/com.google.android.location.fused.FusedLocationService
576 pm enable com.google.android.gms/com.google.android.location.fused.NlpLocationReceiverService
577 pm enable com.google.android.gms/com.google.android.location.internal.PendingIntentCallbackService
578 pm enable com.google.android.gms/com.google.android.location.geocode.GeocodeService
579 pm enable com.google.android.gms/com.google.android.location.network.NetworkLocationService
580 pm enable com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService
581 pm enable com.google.android.gms/com.google.android.location.geofencer.service.GeofenceProviderService
582 pm enable com.google.android.gms/com.google.android.location.fused.service.FusedProviderService
583 pm enable com.google.android.gms/com.google.android.location.activity.HardwareActivityRecognitionProviderService
584 pm enable com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService
585 pm enable com.google.android.gms/com.google.android.location.reporting.service.ReportingAndroidService
586 pm enable com.google.android.gms/com.google.android.location.reporting.service.LocationHistoryInjectorService
587fi;
588
589##enable if use weather
590if printf "%s\n" $pkgs | grep 'package:com\.devexpert\.weather$'; then
591 pm enable com.google.android.gms/com.google.android.location.fused.FusedLocationService
592 pm enable com.google.android.gms/com.google.android.location.fused.NlpLocationReceiverService
593 pm enable com.google.android.gms/com.google.android.location.internal.PendingIntentCallbackService
594 pm enable com.google.android.gms/com.google.android.location.geocode.GeocodeService
595 pm enable com.google.android.gms/com.google.android.location.network.NetworkLocationService
596 pm enable com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService
597 pm enable com.google.android.gms/com.google.android.location.geofencer.service.GeofenceProviderService
598 pm enable com.google.android.gms/com.google.android.location.fused.service.FusedProviderService
599 pm enable com.google.android.gms/com.google.android.location.activity.HardwareActivityRecognitionProviderService
600 pm enable com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService
601 pm enable com.google.android.gms/com.google.android.location.reporting.service.ReportingAndroidService
602 pm enable com.google.android.gms/com.google.android.location.reporting.service.LocationHistoryInjectorService
603fi;
604
605#User app
606if printf "%s\n" $pkgs | grep 'package:ru\.yandex\.yandexmaps$'; then
607 pm disable ru.yandex.yandexmaps/com.yandex.auth.SystemEventHandler
608 pm disable ru.yandex.yandexmaps/com.yandex.promolib.sync.YPLSyncReceiver
609 pm disable ru.yandex.yandexmaps/ru.yandex.yandexmaps.receiver.ReferrerReceiver
610 pm disable ru.yandex.yandexmaps/com.yandex.metrica.MetricaEventHandler
611fi;
612
613if printf "%s\n" $pkgs | grep 'package:ru\.yandex\.rasp$'; then
614 pm disable ru.yandex.rasp/com.yandex.auth.client.LoginAccountsChangedReceiver
615 pm disable ru.yandex.rasp/com.yandex.metrica.CampaignReceiver
616 pm disable ru.yandex.rasp/com.yandex.metrica.MetricaEventHandler
617 pm disable ru.yandex.rasp/com.yandex.promolib.sync.YPLSyncReceiver
618 pm disable ru.yandex.rasp/com.yandex.auth.SystemEventHandler
619fi;
620
621if printf "%s\n" $pkgs | grep 'package:ru\.yandex\.metro$'; then
622 pm disable ru.yandex.metro/ru.yandex.searchlib.notification.NotificationBroadcastReceiver
623 pm disable ru.yandex.metro/ru.yandex.common.clid.ClidBroadcastReceiver
624 pm disable ru.yandex.metro/com.yandex.metrica.CampaignReceiver
625 pm disable ru.yandex.metro/com.yandex.metrica.MetricaEventHandler
626fi;
627
628if printf "%s\n" $pkgs | grep 'package:org\.coolreader$'; then
629 pm disable org.coolreader/org.coolreader.donations.BillingService
630 pm disable org.coolreader/org.coolreader.donations.BillingReceiver
631fi;
632
633if printf "%s\n" $pkgs | grep 'package:org\.softeg\.slartus\.forpda$'; then
634 pm disable org.softeg.slartus.forpda/org.softeg.slartus.forpda.BootReceiver
635fi;
636
637if printf "%s\n" $pkgs | grep 'package:org\.adaway$'; then
638 pm disable org.adaway/org.adaway.service.BootReceiver
639 pm disable org.adaway/com.commonsware.cwac.wakeful.AlarmReceiver
640fi;
641if printf "%s\n" $pkgs | grep 'package:com\.estrongs\.android\.pop$'; then
642 pm disable com.estrongs.android.pop/com.estrongs.android.ui.notification.ESTaskService
643 pm disable com.estrongs.android.pop/com.baidu.share.message.ShareReceiver
644 pm disable com.estrongs.android.pop/com.baidu.sapi2.utils.LoginProtectAcitivity
645fi;
646pm disable com.htc.videohub.ui/com.htc.videohub.ui.BootReceiver
647
648## Reduce Google Play Services Alarm Wakelocks
649/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'perform_market_checkin' and value = 'true'"
650/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'market_force_checkin' and value = -1"
651/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'checkin_interval'"
652/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload' and value = 'true'"
653/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:system_update' and value = 'true'"
654/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:event_log' and value = 'true'"
655/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:SYSTEM_RECOVERY_LOG' and value = 'true'"
656/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'market_force_checkin' and value = 1"
657/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'secure:bandwidth_checkin_stat_interval'"
658/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'secure:send_action_app_error'"
659/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'send_action_app_error'"
660/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update saved_secure set value = 'NULL' where name = 'send_action_app_error'"
661/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'vending_checkout_qa_service' and value = 'true'"
662/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='43200000' where name='gtalk_active_heartbeat_ping_interval_ms'"
663/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='43200000' where name='gtalk_sync_heartbeat_ping_interval_ms'"
664/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='43200000' where name='gtalk_nosync_heartbeat_ping_interval_ms'"
665/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='43200000' where name='gtalk_heartbeat_ping_interval_ms'"
666/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='1800000' where name='gtalk_max_server_heartbeat_time'"
667
668## retry
669sleep 3
670/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'perform_market_checkin' and value = 'true'"
671/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'market_force_checkin' and value = -1"
672/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'checkin_interval'"
673/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload' and value = 'true'"
674/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:system_update' and value = 'true'"
675/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:event_log' and value = 'true'"
676/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:SYSTEM_RECOVERY_LOG' and value = 'true'"
677/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'market_force_checkin' and value = 1"
678/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'secure:bandwidth_checkin_stat_interval'"
679/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'secure:send_action_app_error'"
680/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 0 where name = 'send_action_app_error'"
681/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update saved_secure set value = 'NULL' where name = 'send_action_app_error'"
682/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value = 'false' where name = 'vending_checkout_qa_service' and value = 'true'"
683/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='43200000' where name='gtalk_active_heartbeat_ping_interval_ms'"
684/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='43200000' where name='gtalk_sync_heartbeat_ping_interval_ms'"
685/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='43200000' where name='gtalk_nosync_heartbeat_ping_interval_ms'"
686/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='43200000' where name='gtalk_heartbeat_ping_interval_ms'"
687/system/xbin/sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value='1800000' where name='gtalk_max_server_heartbeat_time'"