{Script} [App] CPU1 disabler while in sleep!!! 07/12/2012 Release 2.1 - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

App Version:
CPU Sleeper
~Free to all XDA Memebers
~ Must Be Rooted to use App
What is it?
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.
How does it work?
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.
Compatibility?
Works with any Dual Core & Quad Core Devices!
~ICS
~Gingerbread
Battery Saving?
Battery savings all depends on Usage & idle times.
App Download: CPUSleep.apk
Credits:
Handlerexploit for co-creation of this wonderful App.
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

Seems really cool, gonna check it out
Sent from my Sprint Samsung Galaxy S3

tarheelsmj12001 said:
Seems really cool, gonna check it out
Sent from my Sprint Samsung Galaxy S3
Click to expand...
Click to collapse
Thanks, Proof it's working!
http://forum.xda-developers.com/showthread.php?t=1739457

flashed over diet ics 6.30 build and my phone has not exploded. Hopefully you'll save us all some battery

I flashed it through CWM Recovery then i reboot and go to system/etc/ but did not see "init.d".

wings76 said:
I flashed it through CWM Recovery then i reboot and go to system/etc/ but did not see "init.d".
Click to expand...
Click to collapse
Same here :-(
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

question
Ive been testing battery life for a week now with cpu 1 stock and forced on, According to system tuner apk. cpu 1 is not even running 95% percent of the time with screen on and off /using phone, seems the kernel controls this pretty damn good, so.unless that app is not working correctly would something like this script even help at all?
What have your results/ testing been?

jiggytom said:
Same here :-(
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Yeah, did you also try the script manager method? I used the script manager to copy the file S98cpu_sleep to system/etc but it said "You cannot paste here because the file system is read-only." Any suggestions?

wings76 said:
Yeah, did you also try the script manager method? I used the script manager to copy the file S98cpu_sleep to system/etc but it said "You cannot paste here because the file system is read-only." Any suggestions?
Click to expand...
Click to collapse
I know we can do the script manager method but the init.d is cleaner.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

If this is so simple why manufactureres not have this as default option?

wings76 said:
Yeah, did you also try the script manager method? I used the script manager to copy the file S98cpu_sleep to system/etc but it said "You cannot paste here because the file system is read-only." Any suggestions?
Click to expand...
Click to collapse
Use root explorer and mount system as R/W... then you can do it. Long press after to set permissions... and then mount it back as R/O
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

Deleted, shouldn't have been this rude...
Please don't flash T989 /I727

I think people assumed that because you included it in the post that it would work on GS3's which is understandable.
Guessing you copied and pasted from your original thread.

y2whisper said:
I think people assumed that because you included it in the post that it would work on GS3's which is understandable.
Guessing you copied and pasted from your original thread.
Click to expand...
Click to collapse
I'm sorry, but lol if you didn't Read the OP?
Don't put this oof on me, after All I didn't invent reading & everything is laid out in the OP....
Fact is, Learn to Read!!!!

eugene373 said:
I'm sorry, but lol if you didn't Read the OP?
Don't put this oof on me, after All I didn't invent reading & everything is laid out in the OP....
Fact is, Learn to Read!!!!
Click to expand...
Click to collapse
Why would you post a link that doesn't work for the phone/forum you are posting in?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

jiggytom said:
Why would you post a link that doesn't work for the phone/forum you are posting in?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I can not help but to laugh at this... Please Re-Read the OP regarding your Question and maybe you'll under stand it....
I'm happy to help in any shape / forum I can, but at the same level, people need to do the research as well..... As much as I want to help everyone at hand... What part of I727 / T989 did you not understand?????????
I'm sorry to be rude in this matter! But reading goes a long ways!!!
Also, The script works Perfect for all!! The .zip which is clearly labeled, well do the math~~
I Love android & Just want to help everyone, but at the same time people needs to learn to read & be liable for there own actions as well!
~Eugene

eugene373 said:
I can not help but to laugh at this... Please Re-Read the OP regarding your Question and maybe you'll under stand it....
I'm happy to help in any shape / forum I can, but at the same level, people need to do the research as well..... As much as I want to help everyone at hand... What part of I727 / T989 did you not understand?????????
I'm sorry to be rude in this matter! But reading goes a long ways!!!
Also, The script works Perfect for all!! The .zip which is clearly labeled, well do the math~~
I Love android & Just want to help everyone, but at the same time people needs to learn to read & be liable for there own actions as well!
~Eugene
Click to expand...
Click to collapse
I understand the label, but there are times where the flash able zips are cross device. No where in your post do you say DO NOT FLASH. again, no reason to post it or instructions for it if it doesn't work for our device. I understand you want praise and people thanking you, but don't spam it across different device forums and expect people not to be upset.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

Sorry not trying to spam it... Just wanted everyone to be aware of it is all.
OP has a new format now... I recommend using the App now
& removed the .zip as well to prevent any further issues.

I'm confused. I've read the whole thread (not that big yet), including the OP...and the posts about it 'not working for this device'.
Does this work on the AT&T Galaxy S III or not?

ewingr said:
I'm confused. I've read the whole thread (not that big yet), including the OP...and the posts about it 'not working for this device'.
Does this work on the AT&T Galaxy S III or not?
Click to expand...
Click to collapse
yes it works.... I recommend using the App though.

Related

CWM NEOFroyo v0.1 fastest build yet (updated8/21/11))

This is a complete package just unzip folder on sd card.
Here is original thread by neopeek
people having wifi problems check the original thread they have a fix
This is the CWM 1.9 thread wich is included in folder already
Using starfox test kernel from XDA (Rhodium only)
EDIT: per starfox dont use test kernels use his new vanilla stable kernel
GAPPS already included.
Im not a dev, just put stuff together credit goes to all authors just posting here to spread the word
DOWNLOAD
Sure, I'll bite. I've got an extra micro-sd card here. What's the worst that could happen?
It's a pretty fast build, I tried it on Neopeeks site.
It is MDPI, so the look of it isn't quite as crisp... (you can see what I mean by the notification bar 3g, etc...lower resolution basically) but I was impressed by the speed. All the animations, etc are disabled by default and I believe that's Zeam that is the default launcher... it is quite snappy out of the box.
what tweaks you did?
no tweaks just put it together
This version is the fastest thing I've tried (probably due to mdpi-gapps), but I have two major issues.
1) Wifi will sometimes refuse to turn on, saying wifi error on the check box. It must be related to tethering and hotspot settings, because after I mess with these I get an instant reboot.
2) Camera is tremendously unstable. Most of the times it crashes bringing down the entire OS or if I am lucky it will crash the camera app and refuse to start again until a reboot.
Of course there are random hiccups here and there (like most builds), but it is quite close replacing WM for every day usage.
XavierGr said:
1) Wifi will sometimes refuse to turn on, saying wifi error on the check box. It must be related to tethering and hotspot settings, because after I mess with these I get an instant reboot.
Click to expand...
Click to collapse
This is actually not that unusual... I would get this on my epic4g... which is an android phone .
If you don't mind, please use the vanilla kernel that I posted instead of the testing kernel. While I don't mind that it is being bundled, the [Test] kernel was never meant to be used for long term, and is liable to include stuff that is unstable and/or changed on my whim. The vanilla kernel contains some of the tweaks that I consider to be stable and is based on known autobuild releases+supports all devices. Thanks.
http://forum.xda-developers.com/showthread.php?t=1221499
-- Starfox
you think you can make a build with the latest rootfs, starfox's latest kernel, the led patches too?
anish88 said:
you think you can make a build with the latest rootfs, starfox's latest kernel, the led patches too?
Click to expand...
Click to collapse
There's nothing stopping you from doing that.
Including testing stuff into a public build is never a good idea. I wouldn't appreciate anything I distribute for testing to be put into a build. It's meant for testing, so anyone that installs/uses it should know full well what they're getting into. Placing it into a build circumvents that, and everyone ends up using it unknowingly.
To everybody with wi-fi issue:
I've done a small fix
http://www.multiupload.com/7NSGZQZXPC
(wich is in the first post of this thread on neopeek.com)
This will fix if your problem isn't the kernel
wifi scanning problem:
after updating wifi-nvram seems to be ok.
anyway,
fastest rom i have tried.
nekikekec said:
wifi scanning problem:
after updating wifi-nvram seems to be ok.
anyway,
fastest rom i have tried.
Click to expand...
Click to collapse
What problem did you have exactly and what do you mean by updating wifi-nvram?
I also have a wifi problem specifically with this build but can't solve it.
(Wifi works only once per boot)
after turning wifi on phone started scanning for networks. after few seconds app crashed not finding anything. i guess there is a problem with assigning mac address.
anyway, as already described, it is known problem :
here
nekikekec said:
after turning wifi on phone started scanning for networks. after few seconds app crashed not finding anything. i guess there is a problem with assigning mac address.
anyway, as already described, it is known problem :
here
Click to expand...
Click to collapse
That didn't work for me at all.
Can't get CWM working
Hey guys,
I must be doing something wrong, but don't know what.
I just can't get CWM running on my TP2. I followed all the instructions precisely, got into CWM once, even flashed the ROM from SD card, but can't do it again.
I even reflashed my device, Re did the entire SD card but just can't get in to CWM.
Upon booting Haret, I press volume down, but the screen just gets stuck there and doesn't move forward. Please help, I'm trying to flash NeoFroyo 0.1
Regards,
Nilesh
nileshvedi said:
Hey guys,
I must be doing something wrong, but don't know what.
I just can't get CWM running on my TP2. I followed all the instructions precisely, got into CWM once, even flashed the ROM from SD card, but can't do it again.
I even reflashed my device, Re did the entire SD card but just can't get in to CWM.
Upon booting Haret, I press volume down, but the screen just gets stuck there and doesn't move forward. Please help, I'm trying to flash NeoFroyo 0.1
Regards,
Nilesh
Click to expand...
Click to collapse
Did you set all your partitions as primary?
vzihome said:
Did you set all your partitions as primary?
Click to expand...
Click to collapse
Yes I did that too....
SD Card (All Partitions Primary)
Partition 1: 6.4 GB - FAT32
Partition 2: System - 300 MB - EXT2
Partition 1: Data - 300 MB - EXT2
Partition 1: Cache - 300 MB - EXT2
I put the npkboot folder with startup for RHOD100 on the SD Card (Root) and the NeoFroyo Zip also on the root.
Plus, I also put the contents of the npkboot folder on root of the phone. (Not the folder npkboot)
Run Haret from SD Card through File Explorer & press Volume Down - Result: Frozen Screen!!!
Does not enter into CWM recovery...
Are all the steps above right.
Regards,
nileshvedi said:
Plus, I also put the contents of the npkboot folder on root of the phone. (Not the folder npkboot)
Click to expand...
Click to collapse
WHY?
CWM rootfs works only in npkboot.
nileshvedi said:
Plus, I also put the contents of the npkboot folder on root of the phone. (Not the folder npkboot)
Click to expand...
Click to collapse
I'm a little confused with what you did.
Basically just unzip his folder you downloaded and then move the Entire npkboot folder to the root of ur sd card.
So there will be nothing on your sd card except the folder. Inside that folder will be everything just as you unzipped it. So for example haret would be at "Sdcard/npkboot/haret.exe". Then just switch/edit the startup.txt in the npkboot folder for your phone and boot into CWM.
You don't need to move anything outside of his npkboot folder that you unzipped.

V6 Supercharger for Xperia Arc HOW TO ?

Good Evening,
i want to optimize the RAM Managment of my Arc
but idont really now how Supercharger works.
How must i begin ?
Can anyone write a how to ?
dubist said:
Good Evening,
i want to optimize the RAM Managment of my Arc
but idont really now how Supercharger works.
How must i begin ?
Can anyone write a how to ?
Click to expand...
Click to collapse
zeppelinrox said:
Before you start reading, just know that this is not difficult to implement... it's easy.
1. Download a script. 2. Load it. 3.Select what you want. EASY.
It works on ALL Android devices - Custom Roms or Stock Roms, Phones or Tablets, it doesn't matter!
Also Note: Nothing else does what The V6 SuperCharger does!
................Not AutoKiller Memory Optimizer, Not Auto Memory Manager, Not Minfree Manager...
................And NOTHING BEATS IT. PERIOD.
So... if somebody says to you that V6 SuperCharger does the same thing as [pick any app], tell them to first read about what they're talking about so that they can actually have an informed opinion.
Get A Taste of The V8 SuperCharger - Grab the 3G TurboCharger & Kick Ass Kernel Tweaks Installation Scripts!
......................................................... - V8 SuperCharger Alpha for Milestone!
==================================================================================
Memorable User Comments: "Feels like I have a new phone!", "Supercharger rocks bro, I'm actually mad I waited so long to do it...","I wish I hadn't upgraded yet", "Now I can wait to upgrade", "I was about to throw this phone through the wall", "I was about to return it but now I don't have to", "This cured my phone of cancer!", "Oh man... just applied the V6 Supercharger Script by ZeppelinRox on my Android.. I think it fixed everything..", "I can't live without this!", "My phone is better than new!", "my phones has turned god mode on or somthing"
==================================================================================
99SuperCharger Tweaking: Of course, I don't own any rights in regards to the actual tweaks applied to system settings.
This means anybody is free to mess with OOM groupings, OOM prioriteis and minfrees.
So it's fine to modify and share your tweaked 99SuperCharger file as long as you leave the credits intact
Developers may include the attached V6 SuperCharger Installation Script in their roms. (This installs 99SuperCharger)
The attached V6 SuperCharger installation script may NOT be disassembled in any way, or be used as a part of any memory management app or package.
This is because it is no different than an app/apk found in the market. It's an installation program.
I don't own any right to tweak OOM Groupings, OOM Priorities, or minfree values. But I do own this program.
ATTN DEVS: If you want to use the V6 SuperCharger memory system in your ROM, give proper credit and a HTML link to this thread.
..................Of course, baking it into the rom is 100% fine.
..................You can include a copy of the attached installation script in the system/xbin folder so users can use it with terminal emulator
.................. - giving it a short name is fine as it's a pain to type long file names in terminal.
..................Do not modify it, do not rebrand it (ie. It's not called "V6script"). Thank you.
This is the only permissible distribution of the attached installation script - unmodified, in a custom rom and in the system/xbin folder.
Modification and redistribution of the attached installation script is not permitted at all.
This means that you cannot feel free to zip up the attached installation script with other tweaks and this means that it is not be edited and shared.
ATTN USERS: If you use or encounter a ROM with the V6 SuperCharger memory system, without proper credit given and no SuperCharger source links, please make the Developer aware of it, and if necessary, please let me know about it. Thank you.
Personal Use: You may tweak the V6 installation script (leaving credits intact) to your own personal liking as long as it is NOT redistributed in any way.
If you want to share this, just link to this thread.
If you want to make a thread in other forums telling people about it, that's great.
But I would prefer that you do not post a copy of the V6 SuperCharger installation script in those forums.
If you already have a thread with a copy attached, I won't bother you about it. But please don't attach further updates.
Your co-operation is very much appreciated.
I don't want diluted/broken V6 SuperCharger installations floating around and then have people say it doesn't work.
==================================================================================
What's it do?
It makes your phone FAST... super snappy with better multitasking!
It rearranges and fixes the OOM Groupings and Priorites and lowmemorykiller values.
So basically, it's a COMPLETE MEMORY MANAGEMENT FIX!
It's the ONLY one of it's kind
NO LAUNCHER REDRAWS, faster than ever, multitasking is better... why?
Because it works with the lowmemorykiller and letting it work the way it's meant to work.
Also, because of the rearrangement, it works the same on all roms!
The problem with using minfree tweakers like AMM or AKMO is that it doesn't work the same on all roms.
Secondary apps may be in slot 3 on some roms but in slot 5 in others!
That's why you hear people comment "I tried AKMO but it didn't do anything..."
Most likely it didn't do anything because the apps weren't sitting where they were expected to be.
So fasten your seat belts and enjoy the ride!
==================================================================================
Note: Do this at your own risk, regardless of how little risk there is - since I included UnSuperCharging
........ Well, do a nandroid anyway, if you like
Requirements:
1. Rooted Phone. Milestoners, you can use Universal Androot (not in market ?)
2. Script Manager or Terminal Emulator to run the script. Stock ROMs can also use SM to load up boot scripts!
3. Busybox 1.18.2 OR LOWER - 1.18.3 or newer are VERY much a hassle with errors that should NOT be errors!
4. AutoStart Script by me - Enables Stock ROMS (Milestone) to utilize etc/init.d for boot scripts.
Stock ROMS (Milestone) - Vulnerable recovery is not required!
Installing/Using:
1. Download the attached V6_SuperCharger_for_Android*.txt script and save to your sdcard.
... Do NOT run the V6 SuperCharger install script at boot!
2. Load the script (V6_SuperCharger_for_Android*.txt) into Script Manager and select "Run as Root."
3. Touch the screen for the soft keyboard or slide out the keyboard and get SuperCharged! Just pick an option!
4. READ the script's output!
5. Afterwards, READ the html HELP FILE in the root of your SD Card!
6. Disable "Lock Home in Memory" if your ROM has this option.
7. Optional: For a quick status check, you can put a Script Manager widget for V6 SuperCharger on you desktop
Cool! - Here is a Visual V6 SuperCharger Installation Tutorial (Screen Caps!) by MalarKeY007 (thanks dude)
If you are using compcache and have lag or slow down after SuperCharging,
DISABLE compache, wipe caches and re-enable it.
Also make sure to uncheck/disable lock home in memory! (and leave it unchecked)
Note: V6_SuperCharger-AOR.zip is for use with Milestone's Androidiani OpenRecovery. Even if you have a Milestone, don't run it within Android.
........ AOR Usage: Extract to the root of your sdcard (Directory structure is in the zip)
.......................... You will now have a SuperCharger Menu on the main screen. Simply select the menu and select 1 of the 12 options.
Main points:
- CUST-OOMIZER! Use your settings without Autokiller Memory Optimizer or Auto Memory Manager!
- For newer phones with lots of ram, use the 3rd slot to set how much free ram you want.
- If you have /system/etc/rootfs/init.mapphone_umts.rc, it makes a backup and edits that single file. This is nice and tidy.
... Thank to kabaldan for pointing out the importance of certain things.
- Most Custom ROMs - If you have a /system/etc/init.d folder, it creates 99SuperCharger in there and edits /data/local.prop (20 entries added for adjusting priorities and groupings). You shouldn't need to configure anything else.
- Stock ROMs - If you have neither, it creates /data/99SuperCharger.sh which you can load up on boot (run as root) with Script Manager. The OOM groupings work as well since it happens on boot in local.prop (20 entries added)
Note: For some reason, the minfree levels do not stick on some Custom ROMs. I don't know why this is. Maybe a bug in GingerBread?
........ You can check /res/user.log to see if it ran...
........ If this happens to you, use Script Manager to load /system/etc/init.d/99SuperCharger "on boot" and "run as root"
In case of any error, you will find a related help file in the root of your SD card.
So... I think this covers ANY Android ROM
It also determines if you're using Script Manager and gives appropriate information/tips/help files depending on what other factors are present.
The above is really ALL YOU NEED TO KNOW.
The V6 SuperCharger script does everything!
Anything below is extra info!
It's just a single file... 806 lines (807 if you count the blank line at the end LOL)
The Nitty Gritty... For Geeks!
If you read Post #3 (History Parts 1-3), you'll see that at first it was only about minfrees and launcher redraw.
But after installing GingerBread, I saw that it needed more work than Froyo LOL.
Groupings were ALL MESSED UP and made NO SENSE to me whatsoever...
So I figured out how to group them more like CM6 (Froyo) but that still wasn't good enough...
So I further rearranged the OOM Groupings and Priorites and lowmemorykiller values and created a SuperCharger for phone memory...
THE ONLY COMPLETE MEMORY MANAGEMENT FIX!
Upon installation, V6 SuperCharger will first clean up any previous supercharging so none of your files get cluttered.
But if you toggle between Hard To Kill and BulletProof launchers, the memory adjustments aren't affected.
So you can leave your minfrees at stock/default settings and apply the Hard To Kill Launcher and still get the OOM Grouping/Priority fixes.
So if you love your ROMs memory settings, just try the HTK Launcher/OOM Fix... you won't regret it
It's pretty awesome
Here are some snaps....
Before...
After...
During....
Bonus....
Say Buh Bye to AKMO or any app that has to load on start up to change minfrees...
So did you notice the difference in groupings?
By default, CM7 has nearly all the apps in slot 5 and the launcher in slot 3.
Slightly aggressive settings will kill any chance of multitasking in that situation.
After SuperCharging, the apps get moved to slot 3 while the launcher is in slot 2 but the most important item in slot 2.
I've read, "oh you don't need to run any scripts for memory management..."
Well that's not true.
Playing with minfree values is one thing... it's playing with minfree levels... it's not really memory management...
Look at the pics above... now THAT's memory management...
If you look below at Post #3... that's how it all started... good background info in case you're wondering what the hell I'm talking about.
Notes: Minfree changes take effect immediately! This means you can switch from Balanced settings to Gaming and back again without rebooting!
.......... Switching between Hard To Kill and BulletProof Launchers require a reboot to take effect.
.......... Disable your OS's "Lock Home in Memory" option, if it has it. This takes effect immediately.
.......... Or use "Lock Home in Memory" as a "Saftey Lock" - to toggle your launcher from "Bulletproof" (0) or HTK (1) to "Weak" (2)
.......... Note: "Lock Home in Memory" is not 1 with my OOM Grouping/Priority Fixes
Cool Tip: Sometimes it's difficult to keep a wanted background app alive, such as an SMS app.
............. If you're in this situation, check out how to Bulletproof Background Apps!
Remember: When using scripts, use the SuperUser app to DISABLE SuperUser permissions for AMM!
................. It can still monitor your OOM groupings but it can't change your custom settings on boot.
................. If you have AKMO installed, disable it's option to Apply Settings at Boot!
If you are using compcache and have lag or slow down after SuperCharging,
DISABLE compache, wipe caches and re-enable it.
Also make sure to uncheck/disable lock home in memory! (and leave it unchecked)
V6_SuperCharger-AOR.zip is for Androidiani OpenRecovery for Milestone!! - For Milestone ONLY!
Click to expand...
Click to collapse
This is my setup for V6 Supercharger:
Download the Supercharger script (V6_SuperCharger_for_Android-update9_beta_6.sh.txt) and put in into your SD card.
Load the script (V6_SuperCharger_for_Android-update9_beta_6.sh.txt) into Script Manager and select “Run as Root.” (Do NOT run the V6 Supercharger install script at boot!)
Touch the screen for the soft keyboard or slide out the keyboard and Select “MegaRAM 2″
Once it’s applied then choose “Nitro Lag Nullifier“
Then click setting menu, choose config mode, u will see a check box named “browse as root”, tick that box
From the main screen of Script Manager click back twice
Go to data/ and run 99SuperCharger.sh install script at boot and reboot your device
i dont have the option MegaRam
i use the Option 1000 HP Number 17
Than i run the Nitro Lag Nullifier
and than i go out to config and tick the browse as root
than i go to data and select that the supercharger99 must start at boot.
Now i have restart my phone how can i see if this tweaks are working ?
now i have only 71 Free Ram and without the Programm i had 190MB Free :S
dubist said:
i dont have the option MegaRam
i use the Option 1000 HP Number 17
Than i run the Nitro Lag Nullifier
and than i go out to config and tick the browse as root
than i go to data and select that the supercharger99 must start at boot.
Now i have restart my phone how can i see if this tweaks are working ?
now i have only 71 Free Ram and without the Programm i had 190MB Free :S
Click to expand...
Click to collapse
It's not physical memory it's virtual memory.
this means ?
Just to update this thread if anyone looking, here's the Supercharger thread that gets regularly updated.
http://forum.xda-developers.com/showthread.php?t=991276
Nitro Lag filter is in the newer beteas, isn't it?
I think I use update 8 (latest non beta update) and I can't remember that I had that option.
Btw if you update with FlashTool and don't wipe data SuperCharger doesn't get cleared, so no need for a fresh install
Sent from my iPad 2 using Tapatalk
Flo95 said:
Nitro Lag filter is in the newer beteas, isn't it?
I think I use update 8 (latest non beta update) and I can't remember that I had that option.
Btw if you update with FlashTool and don't wipe data SuperCharger doesn't get cleared, so no need for a fresh install
Sent from my iPad 2 using Tapatalk
Click to expand...
Click to collapse
Or just take a backup of 99SuperCharger.sh
ShyamSasi said:
This is my setup for V6 Supercharger:
Download the Supercharger script (V6_SuperCharger_for_Android-update9_beta_6.sh.txt) and put in into your SD card.
Load the script (V6_SuperCharger_for_Android-update9_beta_6.sh.txt) into Script Manager and select “Run as Root.” (Do NOT run the V6 Supercharger install script at boot!)
Touch the screen for the soft keyboard or slide out the keyboard and Select “MegaRAM 2″
Once it’s applied then choose “Nitro Lag Nullifier“
Then click setting menu, choose config mode, u will see a check box named “browse as root”, tick that box
From the main screen of Script Manager click back twice
Go to data/ and run 99SuperCharger.sh install script at boot and reboot your device
Click to expand...
Click to collapse
for point no.9 i opened the script and when the dialog pops up i press run as root then run...do i need to do anything else or have i done something wrong?
You have to select the tweak you want to apply before you quit.
And then you go data and make 99supercharger.sh run as root and run at boot.
Sent from my iPad 2 using Tapatalk
Flo95 said:
You have to select the tweak you want to apply before you quit.
And then you go data and make 99supercharger.sh run as root and run at boot.
Sent from my iPad 2 using Tapatalk
Click to expand...
Click to collapse
Ive ran the supercharger ive chosen multitasking option dont know if thats wise. But then I ran the 99supercharger script but never ticked run at boot. So do I repply the v6 supercharger tweak then the 99 script or shall I run it again.
Sent from my LT15i using Tapatalk
Just browse to 99supercharger.sh, thick run at boot and you're good to go.
Sent from my iPad 2 using Tapatalk
how to
Hi
Im having issues installing v6 supercharger on my arc. I followed the tutorial:
http://forum.xda-developers.com/showthread.php?t=1334834
I got:
- stock rom+root
- busybox 1.18.2
- script manager setup as described in tutorial
- script on the sdcard
I tick run as root, click run and... the result is in the attachment. I got some syntax error. Any idea what went wrong? pls help!
Use a newer version
I broke my phone somehow using this?
So, I followed the instructions & here's what happened.
After the phone rebooted asking to do a clean? the screen went blank & stuck there for 15 minutes. I'm pretty sure that the instructions said that it might get stuck in a boot loop. IF that happened, just take out the battery. So that's what I did.
Apparently, big mistake.
Now, My LT15A won't do anything. When I push the power button, I get a big fat nothing. Not vibration. no LED.
So I've tried to flash the phone with a Generic UK firmware, but the phone doesn't even connect to flashtool.
The phone was under warranty, so I'm wondering if what I've tried will have voided it (pretty sure, but I'm new to this)
Here's what I (used to ) have:
LT15A rooted with Titanium & bloatware removed
Rogers - bootloader locked
Android 3.4.3 *.42
Hi,
You have to remove the battery, put it again, and start your phone. Repeat two or three times.
Maybe I wasn't clear. The phone won't turn on. Period. No vibration, no LED. Nothing.
Tried with wotan? If you can connect it in fastboot?
Sent from my LT15i using XDA App
I've tried to use FlashTool & I can't connect. I haven't tried Wotan. What is that.
I've since sent my phone in for a repair under warranty. I haven't unlocked the bootloader (as far as I know) to see if they will repair/replace it. If they won't honour the warranty, I'll try that.
Thanks.

Decks?

Ok have a few questions, where is the 'hold to exit app' in the settings? I can't seem to find it, it's not like cmsettings. Also, how does supercharge work because I'm having a hard time getting it to work.
Sent from my PC36100 using xda premium
If your talking about hold back to kill a app its under settings> applications> development
Sent from my PC36100 using XDA App
jacoballen22 said:
Ok have a few questions, where is the 'hold to exit app' in the settings? I can't seem to find it, it's not like cmsettings. Also, how does supercharge work because I'm having a hard time getting it to work.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
You have to download Script Manager first. Run it with whatever settings you want (I use the 512 balanced setting) and reboot. Run the script after the reboot to make sure the settings stuck. If they didn't, check the help file. I couldn't get everything to stick on MIUI so I have Script Manager set to run 99supercharger on boot. I can't remember the exact file location, but the help file that's created on your SD card will tell you everything you need to know. You need to set the V6 supercharger script to run as root, but not at boot. If settings won't stick, set 99supercharger to run as root and on boot. I also configured both as favorites and in Script Manager settings have the favorites screen open by default when I launch the app. You also need to check browse as root in SM settings so that you can locate the 99supercharger file if needed.
You can download SM widgets to place shortcuts or widgets to certain scripts on your homescreen.
I suggest reading through the thread, you'll find a lot of good info there. There's one in the Evo general section and the original is in Android Hacking & Development (I think).
Supersonic Evo 4G | MIUI | Tapatalk
josh030181 said:
If your talking about hold back to kill a app its under settings> applications> development
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Ahh I got it! Silly me, thought it was in cmsettings..it's been awhile, excuse my ignorance.
Sent from my PC36100 using xda premium
plainjane said:
You have to download Script Manager first. Run it with whatever settings you want (I use the 512 balanced setting) and reboot. Run the script after the reboot to make sure the settings stuck. If they didn't, check the help file. I couldn't get everything to stick on MIUI so I have Script Manager set to run 99supercharger on boot. I can't remember the exact file location, but the help file that's created on your SD card will tell you everything you need to know. You need to set the V6 supercharger script to run as root, but not at boot. If settings won't stick, set 99supercharger to run as root and on boot. I also configured both as favorites and in Script Manager settings have the favorites screen open by default when I launch the app. You also need to check browse as root in SM settings so that you can locate the 99supercharger file if needed.
You can download SM widgets to place shortcuts or widgets to certain scripts on your homescreen.
I suggest reading through the thread, you'll find a lot of good info there. There's one in the Evo general section and the original is in Android Hacking & Development (I think).
Supersonic Evo 4G | MIUI | Tapatalk
Click to expand...
Click to collapse
Okay, I understood all that. I'll try it. I read the thread, I believe my problem was I used it on miui and It didn't stick at all so simple change. I'm glad. For some reason my 4g isn't working on decks. Weird cause my rsa are present and it's the right area for 4g, just connects and immediately disconnects.
Sent from my PC36100 using xda premium

{Script} {APP} CPU Sleeper, The Battery Saver Mod! 07/12/2012 Release 2.1

App Version:
CPU Sleeper
~Free to all XDA Memebers
~ Must Be Rooted to use App
What is it?
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.
How does it work?
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.
Compatibility?
Works with any Dual Core & Quad Core Devices!
~ICS
~Gingerbread
Battery Saving?
Battery savings all depends on Usage & idle times.
App Download: CPUSleep.apk
Credits:
Handlerexploit for co-creation of this wonderful App.
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
Eugene on the S3, worked wonders in the vibrant .. trying this out
Sent from my SGH-T999 using xda app-developers app
Hey Eugene jumping to s3? U r a great dev!! My nephews still using macnut n his s2 don't want ics hehe hope to see more from you here.
Sent from my SGH-T999 using xda app-developers app
Just to make sure that permission set up means no write permission just read and execute right? Or is it the other way around,meaning just write permissions?
Sent from my SGH-T999 using xda app-developers app
Well, Hello there thanks awesome phone , awesome devs
I'm curious. Arent all recent qualcomm cpus asynchronous Anyway? One CPU is almost always off unless under load...
Sent from my SGH-T999 using xda premium
Pretty sure I did this right, how can we tell if it is working?
Also, after checking Su, and Boot, do we hit Save, or Run, or anything else?
Markdental said:
Pretty sure I did this right, how can we tell if it is working?
Also, after checking Su, and Boot, do we hit Save, or Run, or anything else?
Click to expand...
Click to collapse
Nope that's it for script manager.hit save and you can run it now if you want
Personally I hit fav also to keep it in my um favs list.
Sent from my SGH-T999 using xda premium
Thanks, so how do we tell if it's working?
Markdental said:
Thanks, so how do we tell if it's working?
Click to expand...
Click to collapse
Charge & use for a Full day!
Battery life will sore!
Thanks Guys,
It's been Confirmed working Perfect for all Dual / Quad Core Device!
Regarding me getting an S3.... Sadly no, Vacation this year ate all my Cash....
Thanks Eugene. Very glad to see you in here as the development for tnobile version has been slow so far (no flame just fact). I'm sure to be keeping an eye on your threads.
Sent from my SGH-T999 using xda app-developers app
How do you set permissions using script manager for this?
djintrigue808 said:
How do you set permissions using script manager for this?
Click to expand...
Click to collapse
It's in the op.
Sent from my SGH-T999 using Tapatalk 2
cashyftw said:
It's in the op.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
I see what you change it to but not how.
Sent from my SGH-T999 using xda premium
use root explorer.
By xox he means like select in root explorer x and don't select is o? Btw Eugene I loved your work on my vibrant
Sent from my SGH-T999 using Tapatalk 2
i know this is a total noob move and im sorry for it but i need help here. When i try and change the permissions on the file it tells me i cant change the permissions on the file because you cant change permissions on some times on the SD card.
Help a noob?
I tried to download the file on the phone and change it with root explorer and also download it on my pc, move the file over and i cant change it that way either. Yes im rooted
Sorry got it figured out. had to change the RW options in root explorer
hiazn said:
I'm curious. Arent all recent qualcomm cpus asynchronous Anyway? One CPU is almost always off unless under load...
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
+1 is this correct?
jcbofkc said:
+1 is this correct?
Click to expand...
Click to collapse
That's suppose to be correct, however when asleep they still come online...
All this script does is forces them to stay offline regardless, as 1 cpu can handle everything while asleep to start with...
The biggest misunderstanding is, everyone thinks the CPU stay offline while asleep! This however is not the case at all...
All I ask is use the script for a full day, and let it speak for it's self...
Thanks,
~Eugene
just installed this script through script manager. i'll use it for a day or so and report back.

[SCRIPT] Lager - Untethered background logcat logger

Okay,
This is a super simple script that continually saves the output of 'logcat' to file so there will be a record of what happened on your device in case you are forced to reboot. It's possible this will lead to identifying the cause of some SODs.
Requirements:
* Android Terminal Emulator (or equivalent app)
* Root privileges
* bglager.zip
Instructions:
* Download and unzip bglager.zip to your data directory
* Launch the Terminal Emulator and enter the following commands:
Code:
cd data
su
sh lager
Afterwards, just press the 'home' or 'back' key and go on about your business.
What you need to know:
* Most, if not all terminal emulators will run in the background until you explicitly close or kill the app. There should be an icon in your notifications bar to indicate the emulator is running. As long as the emulator is running, the script will be running also.
* It will run in the background and you can use your device as you normally would, but it will be run in active memory. I'm not sure how much of your resources will be required to run it but I'm sure it won't be too noticeable...if at all.
* The script takes the output of logcat and saves a new file for every 1000 lines logged. Each file saved averages between 80 and 100 kB in size. The number of files saved in an hour will vary depending on usage. Keep an eye on your /data folder to get an idea of how much space will be required to run over a period of time and to make sure it doesn't eat up all of your internal storage. This shouldn't be too much of a problem and you can easily go several hours (probably overnight) without worrying about it. The files will be saved in '/data/cat-logs', so if needed, delete the oldest ones to make more room. Again, this shouldn't be much of a problem...just don't forget that it's there. I'll be working on a way to zip the files and shrink them down to around 5 - 10 KB each, but this will work for now.
* The script will still work while the device is asleep, but rebooting will definitely kill it. If you reboot or for some strange reason get a terminal emulator FC, start up the terminal and run the script again.
* Don't post your logfiles in the forums. They may contain sensitive information that you wouldn't want to get into the wrong hands. Take the last one or two logfiles saved (or more, depending on the Developer's needs) and send a PM or email to the respective Developer, if requested. No spamming, please.
I don't suggest anyone use this script just for the hell of it. It's intended for people with SOD or similar issues that would prevent logcat to be run normally. Hopefully this will be a useful tool in helping the Developers get to the root some major problems.
Developers:
Obviously this is a simple script and the same idea could probably be implemented for kmsg, cpu stats, or any other rolling logs or messages. Let me know if you think anything like this would be helpful and I'll see if I can work something out. Plus it will give me a chance to learn more about Android and shell scripting.
Update: 12.13.2012
I've updated the script to compress each file that hasn't already been compressed, once every hour. If you're running the original release of this script, shut down the terminal running the script, replace it with the new one and run it as before. With compression, one could easily go several days and lose no more than 20MB of storage. Without compressing the files, that number could easily be nine times that amount and your internal storage can be eaten up pretty quickly. Please update if you plan on running this script for any considerable length of time. (download link has been updated accordingly)
Download:
* bglager.zip
Super soupy!
Thanks, downloading now. One question/suggestion.... might it make sense to create new files after every 100 or 200 output lines instead of 1000, since presumably the script won't be able to run once the SOD has occurred?
I may try editing the script myself to make that change, if it's clear in the script.
Thanks!
Sent from my Amazon Kindle Fire using xda app-developers app
waffull said:
Thanks, downloading now. One question/suggestion.... might it make sense to create new files after every 100 or 200 output lines instead of 1000, since presumably the script won't be able to run once the SOD has occurred?
I may try editing the script myself to make that change, if it's clear in the script.
Thanks!
Sent from my Amazon Kindle Fire using xda app-developers app
Click to expand...
Click to collapse
It creates a file, fills it up line by line until it gets to 1000, then creates a new file. The last file will have the most recent events.
Sorry for the confusion.
"That's a special kind of stupid. The kind that makes me laugh."
Ah, great, so it doesn't wait until the log has a 1000 lines in it before writing to the file.
Running it now, we'll see what happens.
Thanks for putting this together..
Sent from my Amazon Kindle Fire using xda app-developers app
Script and OP updated.
Please take a look if you are already running the script.
Soupy,
Do I need to modify anything in particular to get this working on my Samsung GT-N7000?
Sent from my GT-N7000 using Tapatalk 2
asf58967 said:
Soupy,
Do I need to modify anything in particular to get this working on my Samsung GT-N7000?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Oh wow, I forgot all about this.
No, as long as you have write access for your data folder, it should work just the same.
You should repost this in general dev
Sent from my GT-N7000000000 using Tapastalker 2

Categories

Resources