[PORT][TeamVeNuM]Battery Saver Script - SUPERFREEZE

Search This thread

KingOfThaJungle

Senior Member
Oct 4, 2011
864
687
New York, NY
Hey, I gave this a shot, and my terminal emulator screen isnt showing what yours showed. Mines says this after "su" then "superfreeze":

/mnt/.lfs: Function not implementer
/mnt/secure/asec: Permission denied

[1] Killed pm disable com.s....
Package com.sec.android.providers.drm new state: disabled
mnt/.lfs: Function not implemented
mnt/secure/asec: Permission denied
[1] Killed pm disable com.s.....
Package com.samsung new state: disabled
# (right here its just blank and look like its hung)

Im running the epictouchaospmod rom, located here:
http://xdaforums.com/showthread.php?t=1304600

---------- Post added at 05:56 PM ---------- Previous post was at 05:41 PM ----------

Ok, I manually entered the codes, and only 2 (mediahub & socialhub) are only showing permission denied. Im guessing due to them not being installed on this rom. will look thru the processes later, and report back.

Thanks for the tool tho.

Yea, you're 100% correct! If your phone doesn't have that service installed at all, it'll come back w/ that error message:

/mnt/.lfs: Function not implementer
/mnt/secure/asec: Permission denied

[1] Killed pm disable com.s....


but its merely stating that it wasn't able to find it, and that is all, it doesn't mess anything up.
 
  • Like
Reactions: xPSYB0RGx

SayWhat10

Senior Member
Jun 27, 2010
2,676
204
42
Miami
www.msn.com
hello, im interested in trying this

im using the lastest starburst rom and media hub and social hub apps have been removed

so will this still work with no problems?
 

xPSYB0RGx

Senior Member
Mar 29, 2010
96
8
Yea, you're 100% correct! If your phone doesn't have that service installed at all, it'll come back w/ that error message:

/mnt/.lfs: Function not implementer
/mnt/secure/asec: Permission denied

[1] Killed pm disable com.s....


but its merely stating that it wasn't able to find it, and that is all, it doesn't mess anything up.

Thanks for the confirmation. I've rewiped my phone due to other reasons, so now im back on a stock rom, and i will use this again, then report back the battery savings.
 

KingOfThaJungle

Senior Member
Oct 4, 2011
864
687
New York, NY
hello, im interested in trying this

im using the lastest starburst rom and media hub and social hub apps have been removed

so will this still work with no problems?

Yea this mod will still work on the services that are still present in the ROM, BUT you may get the error message quoted above. And all that error message is saying is that the app/service that it is trying to disable cannot be found, and that is all

Any update on the non-starburst roms only having the social hub disabled?

Sorry man, Im no longer using Starburst and have not been looking into this, but have you tried entering the commands individually? Here there are just in case it was over looked in OP:
Code:
su([B][I][U]root access[/U][/I][/B])
pm disable com.sec.android.providers.drm([U][B][I]DRM[/I][/B][/U])
pm disable com.sec.android.socialhub([B][I][U]SOCIALHUB[/U][/I][/B])
pm disable com.sec.android.app.sns([B][I][U]SNS[/U][/I][/B])
pm disable com.samsung([B][I][U]SYSTEM UPDATES[/U][/I][/B])
pm disable com.sdgtl.mediahub.spr([U][I][B]MEDIAHUB[/B][/I][/U])
Do me a favor and just report back if they work this way, then we might be able to figure it out, TIA!...don't forget to put spaces in b/w pm and disable and in b/w disable and com
 
Last edited:

xPSYB0RGx

Senior Member
Mar 29, 2010
96
8
Ok, 2day after very light use, and phone been off charger for 9 hours, im down to 80%. So thats pretty damn good. I k.ow I can get better battery stats cause android os is in the high 60's. So once I find a cure for that, battery life will be even better.

Thnx a ton
 

KingOfThaJungle

Senior Member
Oct 4, 2011
864
687
New York, NY
Ok, 2day after very light use, and phone been off charger for 9 hours, im down to 80%. So thats pretty damn good. I k.ow I can get better battery stats cause android os is in the high 60's. So once I find a cure for that, battery life will be even better.

Thnx a ton

Damn thats freaking hign man! MY AOS is usually in b/w single digits to low-mid teens, what ROM/kernel are you on???....Thanks for the feedback though, thats pretty sick, considering!
 

garyr2548

Senior Member
Mar 16, 2008
96
5
Dade City, FL
Just curious, would freezing the aps in titanium backup have the same results? I figured if it disables the ap it should but that is a really uneducated guess...



Sent from my SPH-D710 using XDA App
 

zelduy

Senior Member
Nov 26, 2008
529
15
do I have to flash this? since I haven't install CWM in my rooted stock.. or can I just use Terminal Emulator to disable them one by one?
 

KingOfThaJungle

Senior Member
Oct 4, 2011
864
687
New York, NY
do I have to flash this? since I haven't install CWM in my rooted stock.. or can I just use Terminal Emulator to disable them one by one?

No, the script was made so that you wouldn't have to disable them individually, but if you haven't installed CWM you can 100% still disable them one by one, just enter the 1st set of commands posted towards the top of the OP
 

zelduy

Senior Member
Nov 26, 2008
529
15
been using it for awhile.. darn... it really help my battery a lot!!
FYI my E4T battery was GREAT when out of the box.. after I rooted.. somehow the battery drained faster.. I already uninstall most of the apps.. but doesn't help..
so I tried this method and it helps a lot!! thanks bro...

btw.. my AOS still pretty high tho.. it's still 50ish%
 

k1ngp1n

Member
Mar 25, 2011
13
1
I have to say these commands really worked for me. I used a terminal emulator to input two of the command lines (two of the programs were already uninstalled on my rom) and my battery life is fantastic now. My phone's been unplugged since 8am and it's now 11pm and I'm still at 65%. Not using anything else to govern cpu speed or data yet so I'm sure I could even improve on that. A+
 

KingOfThaJungle

Senior Member
Oct 4, 2011
864
687
New York, NY
been using it for awhile.. darn... it really help my battery a lot!!
FYI my E4T battery was GREAT when out of the box.. after I rooted.. somehow the battery drained faster.. I already uninstall most of the apps.. but doesn't help..
so I tried this method and it helps a lot!! thanks bro...

btw.. my AOS still pretty high tho.. it's still 50ish%

Damn that is high, what ROM/kernel/theme are you using?

I have to say these commands really worked for me. I used a terminal emulator to input two of the command lines (two of the programs were already uninstalled on my rom) and my battery life is fantastic now. My phone's been unplugged since 8am and it's now 11pm and I'm still at 65%. Not using anything else to govern cpu speed or data yet so I'm sure I could even improve on that. A+

Good things man, Im glad it helped you out!...FYI there's a 5th command posted in the OP for sns(but hasn't been added to the mod yet). If you'd like to disable that service as well, just enter the following:
Code:
su
pm disable com.sec.android.app.sns

...and check out the OP if you'd like to find out more info about that service
 

Tiffany84

Inactive Recognized Themer
Jul 27, 2010
6,280
3,323
Hey, I flashed this last night on calkulin's rom and everything went fine but I decided to give strongsteve's rom a test and I've flashed the zip several times and no matter what it doesn't add anything to the system. When I type superfreeze it says superfreeze not found. I looked in system and system/bin and the files are not there. Not sure what the problem is. Can I place the files in manually with root explorer? If so, do they go in system and system/bin? And what are the permissions? Thanks.

Sent from my SPH-D710 using xda premium
 

KingOfThaJungle

Senior Member
Oct 4, 2011
864
687
New York, NY
Hey, I flashed this last night on calkulin's rom and everything went fine but I decided to give strongsteve's rom a test and I've flashed the zip several times and no matter what it doesn't add anything to the system. When I type superfreeze it says superfreeze not found. I looked in system and system/bin and the files are not there. Not sure what the problem is. Can I place the files in manually with root explorer? If so, do they go in system and system/bin? And what are the permissions? Thanks.

Sent from my SPH-D710 using xda premium

Yea my bad, I didnt post that this zip is only compatible with all deodexed ROMs only BUT yes u can just push it to /system/bin, and just select all permissions, 777, and it should work and if that dont do it, you should definitely be able to type them in manually, I've posted the commands to disable each service towards the top of OP! Please let me know how it goes soI can update OP- TIA!
 

Tiffany84

Inactive Recognized Themer
Jul 27, 2010
6,280
3,323
Yea my bad, I didnt post that this zip is only compatible with all deodexed ROMs only BUT yes u can just push it to /system/bin, and just select all permissions, 777, and it should work and if that dont do it, you should definitely be able to type them in manually, I've posted the commands to disable each service towards the top of OP! Please let me know how it goes soI can update OP- TIA!

Ahh, didnt even think of that. I just did it manually with terminal emulator and all is well. Thanks for your help.

Sent from my SPH-D710 using xda premium
 

KingOfThaJungle

Senior Member
Oct 4, 2011
864
687
New York, NY
Working great, well done sir :D

Thanks man!...Am still working on having all 5 services DISABLED at once by using only SUPERFREEZE, and not having to manual enter the command to disable SNS, but am having a hard time keeping all 5 lines of command separated! For some reason, when there is more than four lines of command saved, the script combines the 1st four lines into 2 lines instead! So intead of having SUPERFREEZE outputing; line 1, line 2, line 3, line 4, line 5, it'll now output; line1line2, line3line4, line 5! And of course line1line2 & line3line4 will produce nothing but errors!...If anyone is familiar or experienced w/ writing scripts and is willing to lend some time and assistance, I'd greatly appreciate it, TIA!
 

jermzz

Senior Member
Oct 19, 2011
221
18
So I'm just putting in the commands manually from terminal, but when I try to disable media hub I get a permission error?

/mnt/.lfs: Function not Implemented
/mnt/secure/asec Permission Denied

Calks 1.1
 

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    wtaatl.jpg

    ...:::YOUR BATTERY'S ANTIDOTE IS BEING DISPENSED BY:::...

    2yuwn0z.jpg


    <<<<---------<<TEAM VeNuM>>--------->>>>



    PERMANENTLY DISABLE BATTERY-DRAINING SERVICES:
    INTRO
    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:
    Code:
    [B]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)[/B]
    [SIZE="1"]****not yet added BUT is highly recommend to execute the following command****[/SIZE]
    [B]pm disable com.sec.android.app.sns(SNS)[/B]
    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

    2624fol.png


    -DRM-
    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:::...

    -SYSTEM UPDATES-
    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:::...

    -MEDIAHUB-
    I have never used this app and it too is contstantly listed under RUNNING APPS

    -SOCIALHUB-
    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)::::....

    -SNS-

    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!!!




    DOWNLOAD:
    click here

    INSTRUCTIONS:
    ****IF INSTALLING OVER 2.3.6 BASED OS's(EL13\EL26\EL29):

    1)Download zip above
    2)Extract both superfreeze and superdefrost 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 :D

    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:
    Code:
    su
    superfreeze

    To re-enable the services:
    Code:
    su
    superdefrost
    This is what it looks like:
    28u613s.png

    A closer look at what its doing:
    sc9iyv.png


    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:
    http://randomking.romgeeks.com/development/battery-saving-tips/
    4
    Sorry to wake this thread back up but I have tried this on quite a few different Roms and can't get it to work... after flashing the zip in cwm I go to terminal emulator and type "su" and then "superfreeze" and it doesn't work... see picture attached

    Please help

    Thanks
    6305e90f-b875-b0c9.jpg


    Sent from my SPH-D710 using XDA App

    Its all good man, I've been trying it also and it seems that something is preventing the script from being copied over to an EL13 based system, and I don't have the slightest clue as to why! However, you could extract the two scripts(superfreeze and superdefrost) from the zip and then use Root Explorer to copy them over to /system/bin to get it working! Let me know if you need any help
    2
    I am on SBv1.7. Flashed with no error. Did the commands and the experimental command for SNS as well. The only thing is that my DRM did not disable! I did not use the zip ending in ALL b/c I am on SB1.7. How do I disable DRM?

    I believe PhantomHacker already disable the DRM thus the "low" linpack and whatnot scores that people have been noticing. You can read this in his ROM thread near the end.
    2
    Hey, I flashed this last night on calkulin's rom and everything went fine but I decided to give strongsteve's rom a test and I've flashed the zip several times and no matter what it doesn't add anything to the system. When I type superfreeze it says superfreeze not found. I looked in system and system/bin and the files are not there. Not sure what the problem is. Can I place the files in manually with root explorer? If so, do they go in system and system/bin? And what are the permissions? Thanks.

    Sent from my SPH-D710 using xda premium

    Yea my bad, I didnt post that this zip is only compatible with all deodexed ROMs only BUT yes u can just push it to /system/bin, and just select all permissions, 777, and it should work and if that dont do it, you should definitely be able to type them in manually, I've posted the commands to disable each service towards the top of OP! Please let me know how it goes soI can update OP- TIA!
    1
    viperrom

    Wanted to check this out with viperrom and it flashed fine first try but i got a couple errors/permission denied when i ran the script so i thought id post the screenshot and see what you guys think

    Sent from my SPH-D710 using xda premium

    running viperrom and got this same message must be a rom thing