​

Install TWRP

Enter recovery (Power + Volume down button, while the device is off)

Select Backup

Once there, I like to select everything (including cache, even though cache is not needed)

Finally swipe to backup.

Enter recovery (Power + Volume down button, while the device is off)

Select restore

Select your snapshot

Swipe to restore (all but the internal storage will be replaced - Your system will be back to normal and all new downloads/files will still be there)

Now down to business.

GeoFence (which can be avoided by leaving the service in blue alone)

Also, if you use Firefox, I disabled the Firefox account sync service. Those services will be in purple, in-case you want to keep them running.

How to disable these services:

First backup your device using TWRP.

Next install the following free App: https://play.google.com/store/apps/details?id=cn.wq.myandroidtools (Remember make a backup, don't come crying because you ignored my warning).

Disable the following services below: org.cyanogenmod.bugreport/org.cyanogenmod.bugreport.CMLogService android/android.hardware.location.GeofenceHardwareService com.google.android.gm/com.android.email.service.AttachmentService com.google.android.gm/com.android.email.service.EasAuthenticatorService com.google.android.gm/com.android.email.service.EasAuthenticatorServiceAlternate com.google.android.gm/com.android.email.service.LegacyEmailAuthenticatorService com.google.android.gm/com.android.email.service.LegacyEasAuthenticatorService com.cyanogenmod.settings.device/com.cyanogenmod.settings.device.OclickService com.qualcomm.qcrilmsgtunnel/com.qualcomm.qcrilmsgtunnel.QcrilMsgTunnelService com.google.android.apps.maps/com.google.android.apps.gmm.prefetch.PrefetcherService com.cyanogenmod.updater/com.cyanogenmod.updater.service.UpdateCheckService com.cyanogenmod.updater/com.cyanogenmod.updater.service.DownloadService com.cyanogenmod.updater/com.cyanogenmod.updater.service.DownloadCompleteIntentService com.google.android.gms/com.google.android.gms.auth.WorkAccountAuthenticatorService com.google.android.gms/com.google.android.location.copresence.service.ProximitySettingInjectorService com.google.android.gsf/com.google.android.gsf.checkin.CheckinService com.google.android.gsf/com.google.android.gsf.checkin.EventLogService com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService org.mozilla.firefox/org.mozilla.gecko.updater.UpdateService org.mozilla.firefox/org.mozilla.gecko.fxa.authenticator.FxAccountAuthenticatorService org.mozilla.firefox/org.mozilla.gecko.fxa.receivers.FxAccountDeletedService org.mozilla.firefox/org.mozilla.gecko.fxa.sync.FxAccountSyncService org.mozilla.firefox/org.mozilla.gecko.background.healthreport.HealthReportBroadcastService org.mozilla.firefox/org.mozilla.gecko.background.healthreport.upload.HealthReportUploadService org.mozilla.firefox/org.mozilla.gecko.background.healthreport.prune.HealthReportPruneService org.mozilla.firefox/org.mozilla.gecko.sync.setup.SyncAuthenticatorService org.mozilla.firefox/org.mozilla.gecko.sync.syncadapter.SyncService org.mozilla.firefox/org.mozilla.gecko.sync.receivers.SyncAccountDeletedService com.google.android.backuptransport/com.google.android.backup.BackupTransportService com.qualcomm.location/com.qualcomm.location.GeoFenceService com.android.email/com.android.email.service.AttachmentService com.android.email/com.android.email.service.EasAuthenticatorServiceAlternate com.android.email/com.android.email.service.LegacyEmailAuthenticatorService com.android.email/com.android.email.service.LegacyEasAuthenticatorService



Lets talk about backups.Should you need to restore:First off, let me start by explaining the purpose for this thread. Since I installed Android L (COS 12 and eventually CM 12.1), I have noticed serious battery drains. The battery drains was caused by "Android System" and used ~40-50% of my battery. As such, I made it a mission to disable services I thought were not needed.Below is a list of services that should not brick your phone. The only adverse side affect is the loss of.... however, this is a major battery drainer. In short, GPS/Fine location should still work, even with GeoFence disable. The app If then that (IFF) might not (I don't know since I don't have it).If you screwed up or tried to disable extra services that caused a bootloop (in an attempt to help us out), restore your device using the aforementioned method.