Fully Flash-able Test Version HERE
Freeze SNS, DRM, and System Updates for Better Battery
These services are, generally, best kept frozen 99.9% of the time. Not deleted, as I've experienced problems if they are actually removed, but disabling them saves me noticeable battery life.
You can use Titanium Pro, MyToolbox, ,Bloat Freezer, or Mybackup Pro to freeze services, but that's only after you've installed a rom. Then once you boot in, you have to buy and download that app, and then navigate a huge list of services to freeze.
But it only takes one line of code per service you want to freeze. That's right, the following commands can be entered into a terminal like Terminal Emulator to disable these processes:
su (Gains root) pm disable com.sec.android.providers.drm (Disables DRM launcher) pm disable com.sec.android.app.sns (Disables sns) pm disable com.samsung (Disables updates)
[Note] You do not want to do this if you don't understand how freezing these services may affect your day-day use. This will save some battery at the definite cost of DRM content functionality and Facebook Contact integration.
How To Use This Mod:
Still using Terminal Emulator, after you flash one of the linked .zip files, all you will have to type is the following:
To Freeze Services:
I am still in the works to make this work entirely solo once flashed from CWM.
PS: If you're looking for a free alternative to any of the apps I listed up above, this isn't it. This is only one small, dedicated part of those apps. I highly recommend buying one of them, you'll find them very useful.
PPS: This mod, and subsequent versions of it(hopefully!), is for the Epic 4G. I cannot guarantee that the script is accurate to any other phone. But the commands themselves are universal across Android.
Thanks to paulobrien for his explanation found here!