[PORT][TeamVeNuM]Battery Saver Script - SUPERFREEZE
...:::YOUR BATTERY'S ANTIDOTE IS BEING DISPENSED BY:::...
PERMANENTLY DISABLE BATTERY-DRAINING SERVICES:
After receiving permission from RandomKing, I began adjusting his SUPERFREEZE
script and successfully ported it over from the OG Epic 4G to our Epic Touch 4G! It basically takes four specific commands(listed right below this intro) and combines them into one, single word, superfreeze
, which can then be used instead to execute their actions. The script is used to PERMANENTLY disable all four services managed by the commands(the services being DRM, SYSTEM UPDATES, MEDIAHUB & SOCIALHUB). In addition to superfreeze, superdefrost
(used to re-enable the services
) is added to the bin folder as well. And to give you any idea of how well your device may perform after disabling these services, last night my phone drop only 1% b/w 1am - 7am, thats 1% every 6 hours!!!
This is what superfreeze actually does for you:
The purpose of this post is to save your battery as much juice as possible, so if you would rather not download this mod and flash it through CWM, you could just type the above commands in a Terminal emulator. It will take you all but 1-2mins, without the need of downloading and installing any 3rd party apps that will not only take up space, but will also use up your battery and system resources. The end result will be the same, which is to PERMANENTLY disable the following services, only using these commands/script is free, and requires no battery or system resources to maintain them disabled!
SERVICES AFFECTED BY USING THE MOD
pm disable com.sec.android.providers.drm(DRM)
pm disable com.sec.android.socialhub(SOCIALHUB)
pm disable com.samsung(SYSTEM UPDATES)
pm disable com.sdgtl.mediahub.spr(MEDIAHUB)
****not yet added BUT is highly recommend to execute the following command****
pm disable com.sec.android.app.sns(SNS)
Digital Rights Management - I haven't noticed any difference when playing back streaming/downloaded media. Disabling this, or any other services listed below, will not have an adverse effect on your system, besides that on battery life, BUT REMOVING them may cause issues....
...:::UPDATE - Since Starburst v1.8 has removed all of these mentioned services, there's no longer a need for a separate version. Just flash the ROM and these services will be DELETED from the get-go BUT proceed with caution as random reboots are present. FYI I'm currently on another ROM which also has the lock mod and none have reported ANY reboots yet
When using a custom ROM its best to NOT update using anything that is OTA distributed, so why have this kept running?
...:::Only if you need to update PRL or PROFILE, listed under SETTINGS>ABOUT PHONE>SYSTEM UPDATES, do you need to re-enable this service using the superdefrost command
I have never used this app and it too is contstantly listed under RUNNING APPS
Have only used it a few times w/ my text messages, and being that its constantly listed under RUNNING APPS, I'd rather have more battery life and disable it
....::::NOT YET INCLUDED(working on having more than four disabled in one shot)::::....
Social Network Services - does NOT effect the Facebook app available in the Market. Is usually listed as a cached process, so even though it may not be consuming as much battery as the rest of these services, it is using some and system resources.
As of now, the script is only allowing four services to be successfully disabled. Whenever an addition line of command is entered it combines two and causes errors. In the meantime, to save more battery life, enter the command listed above, found underneath the INTRO, to disable the SNS service
DISCLAIMER: Use at your own risk. In no way, shape or form will any member of Team VeNuM or myself be held responsible if anything were to happen to your device or your life by flashing anything posted on here!!!
****IF INSTALLING OVER 2.3.6 BASED OS's(EL13\EL26\EL29):
1)Download zip above
2)Extract both superfreeze
out of zip and copy them to phone storage(either sdcard or internal, doesn't matter which one)
3)Use a ROOT file manager, such as ROOT EXPLORER, or a free alternative, ES File Manager
, to navigate to the location of the two files and copy them to /system/bin
5)Change the permissions of the scripts to RWXRWXRW-
6)If using Root Explorer, Skip down to HOW TO USE THE MOD
section and continue following directions, BUT if using ES File Manager, read on...
GAIN ROOT ACCESS USING ES FILE MANAGER:
1)Hit the MENU key, and select SETTINGS
2)Scroll down to the ROOT SETTINGS section and select ROOT EXPLORER, and hit YES when WARNING window appears
3)Afterwards, when the SUPERUSER REQUEST windows appears, hit ALLOW
4)Also under ROOT SETTINGS, mark box for MOUNT FILE SYSTEM
5)Hit the BACK key and navigate to where you copied the SUPERFREEZE script, LONG-PRESS on it and select COPY
6)Now, hit the FAVORITES button up above(and if you don't see it, toggle it by hitting the button with box in it at the very TOP LEFT), and then select the DEVICE option, which has the / symbol underneath it(in between HOME and DOWNLOADS)
7)Now scroll down and select SYSTEM, then BIN
8)Hit the little UP ARROW, dead in the center, at the very bottom of the screen, which will pull up the "clipboard" and select SUPERUSER. This will drop it in /SYSTEM/BIN, which is where we want it
9)Now navigate to SUPERUSER and LONG-PRESS it, but this time select PROPERTIES
10)Hit the CHANGE button, next to PERMISSIONS and select all the choices except for OTHERS/EXECUTE(the one at the bottom right)
11)Skip down to HOW TO USE THE MOD
section and continue following directions
Old Instructions, For 2.3.4 Based OS's(EG30\EG31\EK02)
1)Download zip above
3)Copy it to SDCard
2)reboot into CWM
3)flash zip(no need to wipe)
4)If you get an error message stating that installation was aborted, just navigate to zip, and flash again, without rebooting recovery
5)after a successful flash, reboot into phone
HOW TO USE THE MOD:
1)download a terminal emulator free from the Market;suggestion
2)open the app and type the following:
To disable the services:
To re-enable the services:This is what it looks like:
A closer look at what its doing:
Please hit the thanks button if this helps you in any way, and devs, you'll know the drill !
Also please visit RandomKing's thread here and give him props too, thanks!
And for further information on RandomKing's battery saving tips, you can click on the link below to visit his blog: