{Script} CPU1 disabler while in sleep!!! The Battery Saver Mod! - Sprint Samsung Galaxy S III

Script Version!
Code:
This time I present to you a script that will in theory (and so far for me, in reality) save us some battery without having to risk our hardware with undervolting! I present to you...
[B]CPU Sleeper[/B]
[QUOTE]Honestly the Script can be made to work with any Dual Core / Quad Core! The Only Problem is you need to be Rooted!
~ Currently the issue with CM9, is that the boot becomes incomplete while in init.d folder without Modification to the sysinit..
~ however, with any rooted device you can download the script & continue to use it via a script manager app on every boot.
~ With the Script Manager App, this script virtually can run on any Multi-Processor CPU
Hope that clears things Up,
~~Eugene[/QUOTE]
[U]What is it?[/U]
Its a fairly simple script that will put CPU 1 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1 back ONLINE.
[U]How does it work?[/U]
Since we have dual core CPUs, we have a CPU 0 and a CPU 1, core 1 and core 2, while the screen is off we really only need to have 1 core active, this script will make sure CPU 1 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
[B][COLOR="red"]WARNING! READ THIS![/COLOR][/B]
This script relies on init.d OR script manager! CM9, for some reason, tends to run this at the exact same time it runs some other script (I forget atm which) and it will clash, causing no boot! CM9 users MUST use the script manager version install! Flex Reaper appears to work fine with it as init.d. I strongly urge you to use the script manager version of this, NOT the flashable version. Always make a nandroid backup before modifying the system, including this!
[U][COLOR="Red"]Instructions[/COLOR][/U]
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
[I]Version 1: Flashable[/I]
Same as any of my flashable releases, I did most of the work for you!
Make a full backup
Download to external SD card
Install from SD card
Pick the cpu sleeper zip file
it'll be almost instant
reboot
Shouldn't be any need to clear caches or anything like that.
[I]Version 2: Script only[/I]
This can be run in 2 ways, via init.d support, or via script manager. Both are pretty similar, and can be done a number of ways, however this is the basis of how.
[U]Init.d supported kernel:[/U]
Make a backup!
Download the script file, making sure no extensions get added onto the file. Copy the file to /system/etc/init.d and set the permissions to the following:
XOX
XOX
XOX
Once done, reboot the system, and it will take effect when your system is finished rebooting.
[U]Script Manager[/U]
This method is probably the better method, and should work with any kernel/ROM. Download the script file, making sure no file extensions get added, and copy it to /system/etc. Set the file permissions to:
XOX
XOX
XOX
Once done, load up script manager, select browse as root (if it isn't already set from the crossix mod method in the guide) then browse to /system/etc and select the script file S98cpu_sleep, then select ROOT and BOOT options. After this is set, reboot system.
[U]What do I do if I can't boot after using this?[/U]
You made that backup, right? Ok, then here is what you do.
Hold the power button until the tablet powers off
Press and hold the volume down button, next to the screen lock switch
Press and hold Power (while holding volume down)
Once the recover kernel message comes up, release the buttons
In CWM go to advanced, mounts, mount system, then format system
In TWRP, go to wipe, then wipe system
In CWM go to restore, advanced restore, restore ONLY system
In TWRP select restore, then uncheck all so ONLY system is checked
After restoring system, wipe cache and dalvik cache, then reboot system.
System should boot normally.
[B]Downloads[/B]
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
Dual Core:
Download: [COLOR="Red"]Script Only - Recommend Install via Script Manager App[/COLOR]
[URL="http://d-h.st/N1N"]CPU Sleeper script only[/URL]
Quad Core:
Download: [COLOR="Red"]Script Only - Recommend Install via Script Manager App[/COLOR]
[url=http://www66.zippyshare.com/v/9249467/file.html]cpusleep[/url]
Thanks to [COLOR="DarkGreen"]pio_masaki[/COLOR] for rewriting the OP
App Version:
Code:
[B]CPU Sleeper[/B]
~Free to all Memebers
~ Must Be Rooted to use App
[B][COLOR="Blue"]What is it?[/COLOR][/B]
Its a fairly simple App that will put CPU 1/2/3 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1/2/3 back ONLINE.
[B][COLOR="Blue"]How does it work?[/COLOR][/B]
Since we have Dual & Quad core CPUs, we have a CPU 0 and a CPU 1/2/3, core 0/1/2/3, while the screen is off we really only need to have 1 core active "CPU0", this App will make sure CPU 1/2/3 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
[B][COLOR="Blue"]Compatibility?[/COLOR][/B]
Works with any Dual Core & Quad Core Devices!
~ICS
~Gingerbread
[B][COLOR="Blue"]Battery Saving?[/COLOR][/B]
Battery savings all depends on Usage & idle times.
[U][COLOR="Red"]Instructions[/COLOR][/U]
download the App, install & either manually run it, or set to run every boot-up
[B]Downloads[/B]
[url=http://www20.zippyshare.com/v/85067559/file.html]CPU Sleep.apk[/url]
Credits:
Handlerexploit for the creation of the App.

As a begging dev myself, I appreciate your work. Keep on keeping on.

Not sure why previous thread was closed, as no reason was given, but the flashable works FINE on my phone. I had no issues whatsoever. If everyone were to follow the instructions listed they would see that they are advised to make a backup IN CASE something does go wrong and it won't boot. Major props for this man. Just curious, but I noticed that after flashing this it seems that when the screen is off the phone downclocks to 384k KHz. I do have a profile on SETCPU for when screen is off to downclock to 594k KHz. I'm assuming that this script is what is downclocking this below the minimum i had set in SETCPU?

klarthur said:
Not sure why previous thread was closed, as no reason was given, but the flashable works FINE on my phone. I had no issues whatsoever. If everyone were to follow the instructions listed they would see that they are advised to make a backup IN CASE something does go wrong and it won't boot. Major props for this man. Just curious, but I noticed that after flashing this it seems that when the screen is off the phone downclocks to 384k KHz. I do have a profile on SETCPU for when screen is off to downclock to 594k KHz. I'm assuming that this script is what is downclocking this below the minimum i had set in SETCPU?
Click to expand...
Click to collapse
I want the flash able zip any way you can send me the link. I'm glad to see some traction with the sprint s3
thanks in advance
Sent from my SPH-L710 using xda app-developers app

edisepic said:
I want the flash able zip any way you can send me the link. I'm glad to see some traction with the sprint s3
thanks in advance
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I would need permission from the OP to send it I believe, since he took it down from the OP :/ If the OP doesn't mind i'd be happy to

klarthur said:
I would need permission from the OP to send it I believe, since he took it down from the OP :/ If the OP doesn't mind i'd be happy to
Click to expand...
Click to collapse
Just make sure it works due to people just flashing before checking it works...
This is what got the OP Removed due to people failing to Read & understanding Logic..

eugene373 said:
Just make sure it works due to people just flashing before checking it works...
This is what got the OP Removed due to people failing to Read & understanding Logic..
Click to expand...
Click to collapse
It worked fine for me but I made a backup before flashing it to be safe, as stated in the OP. Thank you!
---------- Post added at 03:27 AM ---------- Previous post was at 03:23 AM ----------
edisepic said:
I want the flash able zip any way you can send me the link. I'm glad to see some traction with the sprint s3
thanks in advance
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
PM sent!

I would also like the cwm zip!
Sent from my SPH-L710 using xda premium

lballer69 said:
I would also like the cwm zip!
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
PM sent!

wiped cache and dalvik and flashed and had no boot issues.
Sent from my SPH-L710 using xda app-developers app

lballer69 said:
I would also like the cwm zip!
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
+1 please!
Sent from my SPH-L710 using xda app-developers app

thearch1tect said:
+1 please!
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Look in the Market tomorrow for CPU Sleep

Why is this snake oil thread still here?

nabbed said:
Why is this snake oil thread still here?
Click to expand...
Click to collapse
It's a legitimate mod, if you hate it so much why not just leave it and go about your business? No need to fight over a matter of opinion... Seriously.
Sent from my SPH-L710 using xda premium

Trying this on a SGS2 dual core with AOKP . Pushed to init.d and it booted fine. Will let ya know what differences I see. Thanks for the work on this. The principle behind it makes sense. Hopefully it works as it should. Thanks again.

nabbed said:
Why is this snake oil thread still here?
Click to expand...
Click to collapse
Because it does work. It's not a Placebo effect & it does save battery...
There has been countless Number of People that has Confirmed this on the Atrix2 / SGS2 / Sensation / SGS3 and One X is currently being test as well..
~Eugene

eugene373 said:
Because it does work. It's not a Placebo effect & it does save battery...
There has been countless Number of People that has Confirmed this on the Atrix2 / SGS2 / Sensation / SGS3 and One X is currently being test as well..
~Eugene
Click to expand...
Click to collapse
Could you please PM me the cwm flashable version. I am constantly testing and flashing my phone and it would really make my life easier then pushing with Root Explorer each time. I would like to test this on a few different setups so I can tell my peeps if it works or not. Great job by the way.

scarmon25 said:
Could you please PM me the cwm flashable version. I am constantly testing and flashing my phone and it would really make my life easier then pushing with Root Explorer each time. I would like to test this on a few different setups so I can tell my peeps if it works or not. Great job by the way.
Click to expand...
Click to collapse
Just download the app
It's posted on the OP.

eugene373 said:
Just download the app
It's posted on the OP.
Click to expand...
Click to collapse
Are you referring to script manager? I went through the OP a couple of times and that's the only mention of an app I see. I could use that method but I still have to paste it into system/etc. Not trying to be difficult just want to make sure I'm jot going blind.
Edit. NM. I see it now

Thanks for reposting the apk and not punishing all of us:good:

Related

[MOD]<<<< AppsBak-Auto Backup >>>>

This mod will backup your apps and auto update the backup on your sdcard at every boot.
Backup apps and data
Flash zip
Open terminal and type su
Then type bak
Follow onscreen instructions
After you do a restore you must reboot or do a hot restart before the apps will show in the menu.
Before installing a new rom just reboot one time to update your backup or do it manually with the script, then after you install your new rom flash this again and restore.
This uses init.d
Now it syncs files instead of using 7zip using rsync. Thanks to dodava for the info and download of rsync it's a much more efficient way to do it.
It also syncs data and settings now but some settings cannot be restored so it excludes those. It keeps your system settings but not accounts like google you have to make those again if you change roms. It does keep app data for installed apps.
Backups are located at /sdcard/appsbak
Please post question/comments/problems here.
If you use this in your rom please leave the creds in the files, Thank You.
Will NOT work with aosp roms sorry...
Awesome, will give it a shot. Thanks!
I tested this for the MT4G before the release, it works great just follow the instructions listed.
Just In Case:
In Terminal Emu type: ( SU # bak )then follow instructions.
It's fixed now...
smokin1337 said:
It's fixed now...
Click to expand...
Click to collapse
Tried a bunch of times to get it to work with AOSP but it's just not happening, Tested and working perfect with Sense.
smokin1337 said:
This mod will backup your apps and auto update the backup on your sdcard at every boot.
It backs up and restores backups.
To use simply open a terminal and type su followed by bak.
You will be at the main menu option 1 will make a backup of /data/app once you do this one time every time you reboot it will update the backup adding new files, deleting removed apps, and updating apps.
After you do a restore you must reboot or do a hot restart before the apps will show in the menu.
Before installing a new rom just reboot one time to update you backup or do it manually with the script, then after you install your new rom flash this again and restore.
This uses init.d
Please post question/comments/problems here.
If you use this in your rom please leave the creds in the files, Thank You.
Will NOT work with aosp roms sorry...
Click to expand...
Click to collapse
Thanks for the upload. Do you flash this zip first?
stlouie65 said:
Thanks for the upload. Do you flash this zip first?
Click to expand...
Click to collapse
I'm not sure what you mean but yea you flash the zip then open a terminal and type su then type bak it starts the script you will see a menu.
smokin1337 said:
I'm not sure what you mean but yea you flash the zip then open a terminal and type su then type bak it starts the script you will see a menu.
Click to expand...
Click to collapse
That's what I was asking, didn't want to assume to flash in recovery before launching in terminal. The install method was not clarified in the OP.
stlouie65 said:
That's what I was asking, didn't want to assume to flash in recovery before launching in terminal. The install method was not clarified in the OP.
Click to expand...
Click to collapse
Its cool, i clarified in the op. sorry bout that.
smokin1337 said:
Its cool, i clarified in the op. sorry bout that.
Click to expand...
Click to collapse
No worries... Thanks for the app, working like a charm on MIUIUS-1.9.23
Wow! This mod sounds amazing! I'm actually overcome with feelings of giddiness
Does this bad boy also backup/restore app data and settings? (ie. password logins)
Nice work, i flashes it flawlessly
Sent from my HTC Glacier using XDA Premium App
PuffDaddy_d said:
Wow! This mod sounds amazing! I'm actually overcome with feelings of giddiness
Does this bad boy also backup/restore app data and settings? (ie. password logins)
Click to expand...
Click to collapse
Not yet, this actually took some time to get this working on the MT4G from the Evo 3D do to the fact he doesn't have the phone but there will be more added in the near future. This does a great job at updating the zip for newer versions of apps installed and clears what you delete apon reboot, the good thing about it is holding on to what you actually use without fear of losing apps say something happens with the device.
Good job
Sent From My
HTC Virtuous Unity v2.37
Unity v9 Kernel
Honey HD Theme
The Best Combo!
I will be adding apps data and account info to it. Just have to do some testing, and make sure it all works properly. I will be switching to rsync as well instead of 7zip. Right now i can backup all of the data in /data/data which has all your settings and app data may be good enough to restore i'll try and see.
smokin1337 said:
I will be adding apps data and account info to it. Just have to do some testing, and make sure it all works properly. I will be switching to rsync as well instead of 7zip. Right now i can backup all of the data in /data/data which has all your settings and app data may be good enough to restore i'll try and see.
Click to expand...
Click to collapse
I'm flashing a different Sense ROM in a few minutes, give me about a half and I'll get my end going for you.
( I'm gonna see if I can get WIFI fixed for this particular ROM in the mean time. )
smokin1337 said:
I will be adding apps data and account info to it. Just have to do some testing, and make sure it all works properly. I will be switching to rsync as well instead of 7zip. Right now i can backup all of the data in /data/data which has all your settings and app data may be good enough to restore i'll try and see.
Click to expand...
Click to collapse
Sounds great, can't wait to test it out
smokin1337 said:
I will be adding apps data and account info to it. Just have to do some testing, and make sure it all works properly. I will be switching to rsync as well instead of 7zip. Right now i can backup all of the data in /data/data which has all your settings and app data may be good enough to restore i'll try and see.
Click to expand...
Click to collapse
Very impressive! Thank you for working so hard for this community.
Sent from my myTouch_4G_Slide using XDA App
Now it will backup apps and data/settings see op.
Just tried out the backup and it seems to work great, real easy to use. Haven't tried to restore yet but I'm sure that'll work just as good.
Sent from my HTC Glacier using XDA App

[Q] Sleeper Rom vs Clean GB

Just curious about experiences with either or both. I have been steadfast with cleanGB and am curious about Sleeper but don't want to have to wipe data and reinstall everything, to include my mail settings etc..etc..
Is it even worth considering? Thanks!
They are both very good roms! That's about all I can give you... sleeper rom will gie you evrything that clean gb has. Really its all about what agrees with your phone better... just backup in cwm and flash sleeper rom... if you figure out its not for you restore your backup and your right where you left off!
Sent from my SPH-D700 using Tapatalk
Naddict said:
Just curious about experiences with either or both. I have been steadfast with cleanGB and am curious about Sleeper but don't want to have to wipe data and reinstall everything, to include my mail settings etc..etc..
Is it even worth considering? Thanks!
Click to expand...
Click to collapse
yea, what flast said.. just go ahead and try out the rom if you like. just do a nandroid backup of cleangb before you flash the sleeper rom. that way if you don't like sleeper rom, you can just revert back to the nandroid backup and continue where you left off.
Why would you lose everything? Providing both ROMs are on the same file system, do a nandroid, do your wipes, flash other ROM, do an Advanced Restore data from your nandroid. All apps and settings are back.
How do I do a nandroid'?
Sent from my SPH-D700 using XDA App
Naddict said:
How do I do a nandroid'?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I don't know which recovery you are using but most are the same. Boot into recovery with the phone off, Press and hold in this order camer, volume down then power buttons. The recovery menu will come up. Scroll down to backup and restore, hit backup. You will see the advanced restore option to be used later.
Thanks Kenny, should have been more descriptive, I am on MTD and was unsure if it is the smae "old" way...thanks!
I've used both, and I honestly prefer the latest SleeperROM. I switched from SleeperROM 1.0.09 BML to GleanGB 1.04 MTD and was greatly impressed. It was faster, more efficient. Battery life was a negligibly worse (could be my settings or use for that timeframe), but still a great improvement above most others. I didn't personally like the circle battery mod, but that's just me.
When SenseiSimple put out the 1.1.02a release that fixed for MTD, I immediately jumped ship back. Battery life on my phone is better than it's ever been. I have no problems with ANYTHING.
Overall, I think SleeperROM is just more polished.
Naddict said:
Thanks Kenny, should have been more descriptive, I am on MTD and was unsure if it is the smae "old" way...thanks!
Click to expand...
Click to collapse
Yup. I have nandroids of CM7 and Legendary and can switch back and forth in like 5 minutes. Just remember not to mix your BML and MTD. There are specific procedures for that stuff.
How do I cnage the boot animation on sleeper? With cleanGB it was very easy, copy and paste type stuff.
Looks like sleeper is a little harder?
It should be the same... If not, flash a different kernel.
The release notes say it can be done...but I cannot delete, rename or move the files that are in the media folder...frustrating...
Sent from my SPH-D700 using XDA App
Naddict said:
The release notes say it can be done...but I cannot delete, rename or move the files that are in the media folder...frustrating...
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
You need Root explorer or ES File Manager with root explorer options set.
Sent from my SPH-D700 using XDA App
kennyglass123 said:
You need Root explorer or ES File Manager with root explorer options set.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Thanks again Kenny,
Had to reinstall ESfile explorer to get the access to root option, but even after that when I moved the new file into media folder I still have original boot screen that comes with rom....
What did you name your boot ani as? Was sanim.zip or bootanimation.zip? Try the opposite of what you did.
Kenny,
Tried both ways, sanim and bootanimation did not work...I understand that the kernel should support the change of boot ani's...really puzzling.
Not that this is the correct place, but I also encountered an issue with the Swype app that came preinstalled with the rom, it was missing the US Eng file, which caused me to have to install swype seperately...there were a couple other minor inconveniences too.
Thanks for your assistance in trying to help nevertheless. I am thinking about going back to CleanGB, have had better experiences with it...
Naddict said:
Kenny,
Tried both ways, sanim and bootanimation did not work...I understand that the kernel should support the change of boot ani's...really puzzling.
Not that this is the correct place, but I also encountered an issue with the Swype app that came preinstalled with the rom, it was missing the US Eng file, which caused me to have to install swype seperately...there were a couple other minor inconveniences too.
Thanks for your assistance in trying to help nevertheless. I am thinking about going back to CleanGB, have had better experiences with it...
Click to expand...
Click to collapse
No problem. I just read through most of the ROM thread and it states to simply replace the bootanimation.zip with your own. Did you delete the one in the folder before copying yours into it?
yes, I deleted both, there was both a sanim and a bootani file in the folder. Think that had something to do with it?
AS you are quite knowledgeable, could I ask a second question of you?
I like the color and brightness from Toad's Kernel, and was wondering if you might have found a matching set of color settings that replicate it's brightness and color scheme.
Reason for this is to use a kernel governor. Want to try using voltage control with more governor settings than what is offered by his kernel, but like the color of it...if that makes sense!
Naddict said:
yes, I deleted both, there was both a sanim and a bootani file in the folder. Think that had something to do with it?
AS you are quite knowledgeable, could I ask a second question of you?
I like the color and brightness from Toad's Kernel, and was wondering if you might have found a matching set of color settings that replicate it's brightness and color scheme.
Reason for this is to use a kernel governor. Want to try using voltage control with more governor settings than what is offered by his kernel, but like the color of it...if that makes sense!
Click to expand...
Click to collapse
Totally, you want an overdrive kernel but don't like voodoo color. Bbelos default colors in Shadowkernel work pretty well for me although still a little darker than stock colors. I think to make them a little brighter you have to boost the gamma values a little.
Thans Kenny! I have begged toad to add some governors to his kernel, but he expressed his disinterest....love his color, but would love to have smartassv2 along with his kernel.
Thanks again, I appreciate the quick reply!

[Q]went to rogue: hitman, is calks battery saver script still set?

I recently changed to rogue hitman kernel running current version of calk 2.8.1 i think. Since I did this did I loose
"Preset profiles:
1.2GHz - 100-85%
1.0GHz - 84-36%
800MHz - 35-0% "
If so how would I go about re-enabling the battery saver script?
Even if the battery saver script is not disabled could I get help figuring out how to enable it if I were to go to another rom?
Yes I do own set CPU but I like not having to worry about 1 more program. And it would be great to learn how to apply to all my rom endeavors.
Your help always appreciated thank you!
Sent from my SPH-D710 using XDA App
Btt
Sent from my SPH-D710 using XDA App
The undervolt scripts will not work on a stock Kernal so you need to use a Rogue or other non stock Kernal that supports voltage/clock adjustments.
If however you have SetCPU installed then the scripts are designed to not run to keep you from accidentally undervolting too much.
I am on the rouge hitman kernel, undervolting isn't an issue just trying to figure out how to get the battery saver script on this current setup.. I didn't see under his signature a download for his battery saver script
Sent from my SPH-D710 using XDA App
Mynaga said:
I am on the rouge hitman kernel, undervolting isn't an issue just trying to figure out how to get the battery saver script on this current setup.. I didn't see under his signature a download for his battery saver script
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
The script is installed in /system/ect/init.d and in my case is called
3cpufreq_screenstate_scaling
It runs automatically if there is a Kernal installed that supports init.d
"If SetCPU, Overclock Widget, Android Overclock or QuickClock Advanced Overclock are detected, the script is ignored, so it will not affect them"
gharlane00 said:
The script is installed in /system/ect/init.d and in my case is called
3cpufreq_screenstate_scaling
It runs automatically if there is a Kernal installed that supports init.d
Click to expand...
Click to collapse
I saw that from his OP,: So if i look in that directory and its not there and i put it in there from one of his .zip's that will make it work simply?
If it is not there then you are probably not on Calkulin's Rom that they were designed for so I can't say. The Rom you are on may not support init.d scripts.
Mynaga said:
I saw that from his OP,: So if i look in that directory and its not there and i put it in there from one of his .zip's that will make it work simply?
Click to expand...
Click to collapse
since you are writing to the /system folder, you may need to set certain permissions for it. i know that when i ran script manager for V6, it placed the script in the init.d folder, but i had to be "browsing" as root. i just assumed it set the permissions automatically. but i may be wrong, and if it doesnt need permissions, then yes. as long as you have a rom/kernel that supports init.d scripts, you can use it.

[Script]CPU Sleeper A100 Discontinued

Hey all, back again with a new present! I guess my hiatus didn't last that long.
This time I present to you a script that will in theory (and so far for me, in reality) save us some battery without having to risk our hardware with undervolting! I present to you...
CPU Sleeper
What is it?
Its a fairly simple script that will put CPU 1 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1 back ONLINE.
How does it work?
Since we have dual core CPUs, we have a CPU 0 and a CPU 1, core 1 and core 2, while the screen is off we really only need to have 1 core active, this script will make sure CPU 1 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
Who do we thank for this awesome script?
eugene373 is the one that released this for the T989 (the phone I use) and I thought, hey, with our crappy battery life, we could use this! So, I asked his permission to repost it over here for us, and he was great with his reply, be sure to stop by and give him a thanks!
Here is his original release thread.
WARNING! READ THIS!
This script relies on init.d OR script manager! CM9, for some reason, tends to run this at the exact same time it runs some other script (I forget atm which) and it will clash, causing no boot! CM9 users MUST use the script manager version install! Flex Reaper appears to work fine with it as init.d. I strongly urge you to use the script manager version of this, NOT the flashable version. Always make a nandroid backup before modifying the system, including this!
Instructions
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
Version 1: Flashable
Same as any of my flashable releases, I did most of the work for you!
Make a full backup
Download to external SD card
Install from SD card
Pick the cpu sleeper zip file
it'll be almost instant
reboot
Shouldn't be any need to clear caches or anything like that.
Version 2: Script only
This can be run in 2 ways, via init.d support, or via script manager. Both are pretty similar, and can be done a number of ways, however this is the basis of how.
Init.d supported kernel:
Make a backup!
Download the script file, making sure no extensions get added onto the file. Copy the file to /system/etc/init.d and set the permissions to the following:
XOX
XOX
XOX
Once done, reboot the system, and it will take effect when your system is finished rebooting.
Script Manager
This method is probably the better method, and should work with any kernel/ROM. Download the script file, making sure no file extensions get added, and copy it to /system/etc. Set the file permissions to:
XOX
XOX
XOX
Once done, load up script manager, select browse as root (if it isn't already set from the crossix mod method in the guide) then browse to /system/etc and select the script file S98cpu_sleep, then select ROOT and BOOT options. After this is set, reboot system.
What do I do if I can't boot after using this?
You made that backup, right? Ok, then here is what you do.
Hold the power button until the tablet powers off
Press and hold the volume down button, next to the screen lock switch
Press and hold Power (while holding volume down)
Once the recover kernel message comes up, release the buttons
In CWM go to advanced, mounts, mount system, then format system
In TWRP, go to wipe, then wipe system
In CWM go to restore, advanced restore, restore ONLY system
In TWRP select restore, then uncheck all so ONLY system is checked
After restoring system, wipe cache and dalvik cache, then reboot system.
System should boot normally.
Downloads
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
CPU Sleeper Flashable zip
CPU Sleeper script only
Nice do u think this can help me with my sleep of death? Im having that bug ... its not that bad but i guess if this would help me with that
Enviado desde mi A100 usando XDA Premium HD app
So that's where Eugene went. He was a godsend when he was developing for the vibrant. His stuff is always top notch. Will try this out and let you know.
Sent from my A100 using Tapatalk 2
Deshabilitado said:
Nice do u think this can help me with my sleep of death? Im having that bug ... its not that bad but i guess if this would help me with that
Enviado desde mi A100 usando XDA Premium HD app
Click to expand...
Click to collapse
Honestly I don't know, I've never had SoD on my Acer so I didn't even know it was much of a problem. You could try it, but I don't think it'll do much to help that issue. For me I've found turning off wifi when I plug it in for the night helps with SoD issues on my other devices. And in developer options check keep awake. That usually helps.
Tapatalked from my Galaxy S II.
illego said:
So that's where Eugene went. He was a godsend when he was developing for the vibrant. His stuff is always top notch. Will try this out and let you know.
Sent from my A100 using Tapatalk 2
Click to expand...
Click to collapse
Yeah he's been hammering out kernels for us since we got ICS and source on the 11th, busting ass and making some awesome kernels!
Edit: I mean he's been there longer then that, just he's been working on kernels lately lol
Tapatalked from my Galaxy S II.
pio_masaki said:
And in developer options check keep awake. That usually helps.
Tapatalked from my Galaxy S II.
Click to expand...
Click to collapse
Where i found that, setting-> then what?
Deshabilitado said:
Where i found that, setting-> then what?
Click to expand...
Click to collapse
Settings, all the way at the bottom by about tablet, developer options, then third down, stay awake.
Tapatalked from my Galaxy S II.
pio_masaki said:
Settings, all the way at the bottom by about tablet, developer options, then third down, stay awake.
Tapatalked from my Galaxy S II.
Click to expand...
Click to collapse
Thank you man u really rocks! I hope u still with us helping noobs like me
Sent from my GT-S5670 using xda premium
Deshabilitado said:
Thank you man u really rocks! I hope u still with us helping noobs like me
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
Lol I'm just not taking on anymore projects, I'll still be around the forum
Tapatalked from my Galaxy S II.
The install method true CWM gives me:
E: Error in /sdcard/clockworkmod/CPU_Sleeper-A100.zip (status 0)
Installation aborted.
gertjanad said:
The install method true CWM gives me:
E: Error in /sdcard/clockworkmod/CPU_Sleeper-A100.zip (status 0)
Installation aborted.
Click to expand...
Click to collapse
No clue what that means. I'll check it out maybe I missed something.
Tapatalked from my Galaxy S II.
pio_masaki said:
No clue what that means. I'll check it out maybe I missed something.
Tapatalked from my Galaxy S II.
Click to expand...
Click to collapse
That error is usually caused by a bad download.
Thanks for that, never seen it or heard of it before. Either way I'm going to go back over it and double check, and add a /system/etc version for use with script manager. Same basic flash, just not in init.d. While I'm at it, I'm thinking of making a flasher for SU, for those having issues with SU and busybox.
I've got it installed using script manager. How do I know it's running/working?
Try: busybox ps l |grep nameofscript
You will need busybox and grep binaries in your rom, neither are provided with stock but both should be if you are using cm9/10.
Sent from my A100 using xda premium
Original ICS ROM is not supporting init.d, right?
gertjanad said:
The install method true CWM gives me:
E: Error in /sdcard/clockworkmod/CPU_Sleeper-A100.zip (status 0)
Installation aborted.
Click to expand...
Click to collapse
I got that error, too! Redownloaded to check.
Since "flashable zip that will place the file for you in /system/etc/init.d and set permissions" it has to be that way on original ICS ROM (not supporting init.d), right?
Re: [Script]CPU Sleeper A100
SGH-i200 said:
I got that error, too! Redownloaded to check.
Since "flashable zip that will place the file for you in /system/etc/init.d and set permissions" it has to be that way on original ICS ROM (not supporting init.d), right?
Click to expand...
Click to collapse
No, that just means it puts the file there and sets the permissions, it doesn't need anything to be there first. Why would it already need to be there?
If stock ICS doesn't support init.d then this won't magically make it work, you'll need a new kernel.
Sent from my HTC DNA
pio_masaki said:
CPU Sleeper
Click to expand...
Click to collapse
Reason for editing the OP - discontinued (I guess)?
mixednuts said:
Reason for editing the OP - discontinued (I guess)?
Click to expand...
Click to collapse
Yeah I missed this one when I was marking them before. I no longer actively support the a100 as of a few days ago. I'll still respond and over some support on my past projects, just won't update anything.
Sent from my Nexus 7 - JBSourcery 4.5
pio_masaki said:
Yeah I missed this one when I was marking them before. I no longer actively support the a100 as of a few days ago. I'll still respond and over some support on my past projects, just won't update anything.
Click to expand...
Click to collapse
Not much you can do without physcially having an a100
Plus, I'm sure the Nexus 7 is much more fun!

Error loafing profile wicked rom

After I installed the wicked rom I try to underclock it because it comes with its own tool and its over clocked but I keep getting an error .
Sent from my SGH-T999 using xda app-developers app
The program is called oc uv beater .. can I just uninstall it via titanium and will that set my CPU clock to the normal 1.5ghz ?
Sent from my SGH-T999 using xda app-developers app
yeah i didnt like that app so i just uninstalled it from titanium backup. Now I just use set cpu and everything is working good.
circuit.007 said:
yeah i didnt like that app so i just uninstalled it from titanium backup. Now I just use set cpu and everything is working good.
Click to expand...
Click to collapse
If I uninstall it what will my clock be at ?
Sent from my SGH-T999 using xda app-developers app
probably at whatever you have it at now. It wont change just because you uninstall it. But once you uninstall it and use another app like setcpu or something you can change the clock to 1.5 or whatever you like and it will stick.
circuit.007 said:
probably at whatever you have it at now. It wont change just because you uninstall it. But once you uninstall it and use another app like setcpu or something you can change the clock to 1.5 or whatever you like and it will stick.
Click to expand...
Click to collapse
Ok good. Because every time I change it to 1.4 on this apps it never sticks and always goes back to 1.7 and I don't want that much because of battery .
Sent from my SGH-T999 using xda app-developers app
Yeah it should stick, make sure you check set on boot in set cpu.
Also you might want to try upgrading your kernel. im on trinity 43b and its amazing.
circuit.007 said:
Yeah it should stick, make sure you check set on boot in set cpu.
Also you might want to try upgrading your kernel. im on trinity 43b and its amazing.
Click to expand...
Click to collapse
All I have done to my phone so far is rooted and installed wicked rom. I am not familiar with kernels. Can you guide me
Sent from my SGH-T999 using xda app-developers app
Alright you may want to do some more research first.
But to install the trinity kernel 43b stock here are the steps.
1) go to tmobile original android development fourm and click on trinity thread
2)read the thread (lots of useful information and you can see other peoples results...at least skim the thread)
3)go to original post (1st post) click on the blue website image/logo you will be redirected. On the left click on the tmob/atnt link and download 43b stock kernel.
4)put it on sd card
5) go to cwm wipe cache and dalvik cache
6)flash above kernel from your sd card
7)Reboot phone
8)change your settings in setcpu or wherever
9) Enjoy
circuit.007 said:
Alright you may want to do some more research first.
But to install the trinity kernel 43b stock here are the steps.
1) go to tmobile original android development fourm and click on trinity thread
2)read the thread (lots of useful information and you can see other peoples results...at least skim the thread)
3)go to original post (1st post) click on the blue website image/logo you will be redirected. On the left click on the tmob/atnt link and download 43b stock kernel.
4)put it on sd card
5) go to cwm wipe cache and dalvik cache
6)flash above kernel from your sd card
7)Reboot phone
8)change your settings in setcpu or wherever
9) Enjoy
Click to expand...
Click to collapse
That sounds very simple just like installing the rom. I might give it a shot and see if I get better results. BTW changing my clock it seems better now !
Sent from my SGH-T999 using xda app-developers app

Categories

Resources