[MOD] Improving swap performance - GT540 Optimus Android Development

I managed to find interesting set of tweaks that do increase swap performance by noticeable margin. I'm testing it since yesterday and i noticed improved performance in multitasking and gaming ( games runs much smoother than before and applications switching is faster ) and i decided to share it with you.
Installation is very simple:
1. Download the attached file and unrar it.
2. Copy 21swap_tweaks to your sdcard or push it through ADB.
3. Copy 21swap_tweaks or push it into /system/etc/init.d/ directory.
4. Give 21swap_tweaks same permission like on the screen in the atachment.
All credits goes to nEnd from madteam.co.

Well, I'm shocked how it works with miroslav's CM9 ! Smoother and faster for now. Keep testing...

What permissions do I give it???
Sent from my GT540 using xda app-developers app

if ever in doubt just tick them all no harm done there.

damn, I cant download it....Error 101
Please upload it to another server

If you dont mind!
http://www.mediafire.com/?bco25cradd3d5g0

adding to tweaks in my thread

Damn, it‘s AWESOME ! Thanks
Fap, fap, fap from Swift

sdsl with .35 kernel here.
can't say i've noticed any improvment.
it sets swappiness to 80 (i was using 60) and adjusts minfree values.
will test more ...
--
over 'droid

how can I give 21swap_tweaks executable permission? I've pasted in that folder, and that's it?

FCJelvez said:
how can I give 21swap_tweaks executable permission? I've pasted in that folder, and that's it?
Click to expand...
Click to collapse
Now you mount R/O on root exloporer and long press on 21swap_tweaks and windows will pop up and press permissions now unchek everything and check only executable row like --e--e--e and reboot and you are done

Swap is good but need 10 Class SD Card to work good without problems.

Good memlimits in this file, really better feeling to use this old phone. I recommend this mod, thank you!
ps: memcard "class" is for sequential read, swap need good random R/W SD card. I use Class2 4GB sd card but random R/W is better than most of Class 4/6/10 card.

wwenigma said:
Good memlimits in this file, really better feeling to use this old phone. I recommend this mod, thank you!
ps: memcard "class" is for sequential read, swap need good random R/W SD card. I use Class2 4GB sd card but random R/W is better than most of Class 4/6/10 card.
Click to expand...
Click to collapse
need fast SD card to send and obtain

ClassX is only for sequential R/W. Swap need fast random R/W. Some class2 cards faster in random R/W like some Class10 card.

using it on miroslav ICS, at the beginning I didn't noticed any improvement, but after some hours and some reboots the phone started working very well. Before it was sometimes very slow, sometimes blazing fast, now is a lot more balanced and stable. I tried also to increase overclock (before it was "stable" with the cpu up to 729 mhz, now I'm using it at 744, and it seems stable).
Thank you very much! This resuscitated my phone like supercharger did when I was on CM7!

Punkiderma said:
using it on miroslav ICS, at the beginning I didn't noticed any improvement, but after some hours and some reboots the phone started working very well. Before it was sometimes very slow, sometimes blazing fast, now is a lot more balanced and stable. I tried also to increase overclock (before it was "stable" with the cpu up to 729 mhz, now I'm using it at 744, and it seems stable).
Thank you very much! This resuscitated my phone like supercharger did when I was on CM7!
Click to expand...
Click to collapse
Well, it doesn't change the behavior or abilities of your cpu max. Overclock. You should have been able to use the same frequency as before this patch.
Sent from my LG GT540 using xda premium

I did everything as it stated in the tutorial, but I haven't noticed any improvements. I tried to run the script with script manager (allowing superuser rights) , but it failed (attachment). Any advice?

ssanyi said:
I did everything as it stated in the tutorial, but I haven't noticed any improvements. I tried to run the script with script manager (allowing superuser rights) , but it failed (attachment). Any advice?
Click to expand...
Click to collapse
No need for script manager.
Init.d means running on boot.
It works automatically
Sent from my LG GT540 using xda premium

ssanyi said:
I did everything as it stated in the tutorial, but I haven't noticed any improvements. I tried to run the script with script manager (allowing superuser rights) , but it failed (attachment). Any advice?
Click to expand...
Click to collapse
You can check if the script is loaded or not by typing this in the terminal:
Code:
cat /proc/sys/vm/vfs_cache_pressure
If it does return 100 then it's working.

Related

Gingerbread running on topaz!

Neopeek just release a build of gingerbread and let me tell you..... this **** is sweet! Runs faster than any eclair or froyo rom out there and its only in alpha!
links:
http://www.neopeek.com/forum/Androi...read-Alpha2-available?limit=10&start=100#5966
Nice, thanks for the link. Gonna try it in a few minutes.
EDIT:
Ok, I have no idea how to start that thing up.
Anyone?
Crembo said:
Nice, thanks for the link. Gonna try it in a few minutes.
EDIT:
Ok, I have no idea how to start that thing up.
Anyone?
Click to expand...
Click to collapse
just download mini tool partioning its free find on google.Partition your sdcard the main to be f32 and another one ex2 partition both as primary.Put all packege on sdcard and follow readme.text inside thats all. Use any good kernel you were using, and enjoy
Ah is it possible to make an ext2 file? Just like XDAndroid?
I tried to just run the npkinstall but it crashed. Now I can't even run haret or a few other apps on my phone. I'm getting, "...cannot be opened. either it is not signed with a trusted certificate or one of its components cannot be found.." Is there a quick fix for this? Or am I going to have to restore? I kind of don't want to have to restore..
testing now...
It`s fast but unstable, random reboots, gallery flickering, waiting alpha 3 ver.
xrshwy said:
testing now...
Click to expand...
Click to collapse
Npkinstall only crash if there is no ext2 on sdcard so it is a must have ext2, just create f32 and ext2 and see
sirthoz said:
Npkinstall only crash if there is no ext2 on sdcard so it is a must have ext2, just create f32 and ext2 and see
Click to expand...
Click to collapse
Yes, I have ext2. the Gingerbread running on topaz is good, some point need improvement. it is worth to try.
Thanks.
Nice work they did, but didn't like the graphics. They seemed low quality, I suppose there was a resolution issue with the graphics.
After messing around with it overnight i have noticed several stability issues mostly pertaining to apps (such as the gallery mentioned, browser and google search) but it is still the alpha build. Hopefully neopeek will release the alpha3 build promised today but if not its still nice to know that gingerbread is up and running!
for those who are trying to figure out the install there is step by step instructions on the thread if you scroll down a tad. In summary, download mini partion tool. run it. find your sd card and reformat it with a fat32 partition and ext2 partition, both must be set to primary but the ext2 partition only needs 400-600 mb. after this copy and paste everything from the package download and get a kernel ( note: must use neopeek kernels! best i found so far is th "htc-msm-linux @ 20101204_005141" just google and download) next step is to put the correct startup file in the root and the right install startup in the npkinstall folder. Next is to run the install file inside the npkinstall folder...wait.... it'll restart your phone then you can run haret! make sure you put the zimage and module files in the root like you would with an xda android port.
Yeah seems pretty snappy, like others have mentioned it has stability issues. I've gotta say I am impressed with how well it works for an alpha build.
Angry birds seems really smooth except the screen flicker.
Run cool but wifi doesn't work for me , and no camera, any answer for me?
camera is an ongoing problem and won't be fixed for awhile tho they have apparently gotten it to work on diamond. as for the wifi you just need to use the kernel i posted heres a link to the download
http://code.google.com/p/zimages/do...inux-20101204_005141-package.tar.bz2&can=2&q=
samftw said:
camera is an ongoing problem and won't be fixed for awhile tho they have apparently gotten it to work on diamond. as for the wifi you just need to use the kernel i posted heres a link to the download
http://code.google.com/p/zimages/do...inux-20101204_005141-package.tar.bz2&can=2&q=
Click to expand...
Click to collapse
Your kernel doesn't work , need rename and overwrite the old one?
I have been running Neopeeks build for the last 24 hours, and i must say it is almost as fast as FRX03 Froyo build. Some apps do freeze the device and must soft reset, Gps was not working, battery drain was huge and videos could not be played(tested with youtube). I don't own a BT headset so did not test that. All in all it is a great alpha build,and totally worth a try if you don't mind partioning your sd card.

[GUIDE] Installing CM7 nightly, GPS FIX *Update 7/30*, Kernels, and Camera app

For those STILL having GPS problems after trying to fix, go to bottom of post!! Included is a pic of a lock I was getting indoors with 17ft. accuracy.
So i've seen alot of people asking questions constantly about installing CM7, what is required to do so, and how to install all the fixes and different kernels. I'm hoping that by putting this thread up it will help anyone with questions so it will make installation and modification a breeze.
So first... You're going to need to pick up the latest nightly of CyanogenMod 7.
Here is the link to the thread on our forum:
http://forum.xda-developers.com/showthread.php?t=1061889
and here is a direct link to download the latest nightly:
http://download.cyanogenmod.com/?device=vibrantmtd
Currently the latest nightly is #69. (if you are curious to know what is changed in each nightly here is a link to the changelog: http://cm-nightlies.appspot.com/?device=vibrantmtd )
Copy the file to your internal sd card, then reboot into CWM. (If you don't have ClockworkMod installed, go to the market and download ROM Manager, then once installed open the program and install ClockworkMod Recovery for Vibrant MTD.
Once in CWM, just flash the zip file as you normally would anything else (go to Install ZIP from sd card, then choose ZIP and find the file, then hit yes to update)
Once done you should have successfully installed CM7, reboot and wait for the phone to load up.
At this point the install is done, and you can enjoy CM7, but unfortunatly your GPS won't work and battery life will be horrible... so now you must install the fixes.
First, download the Kernel. You can use either Bali-X found here:
http://forum.xda-developers.com/showthread.php?t=1181167
or Glitch, found here:
http://forum.xda-developers.com/showthread.php?t=1041532
For The Glitch Kernel there are 3 different versions. LL, ML, or HL. To be on the safe side HL is usually the most stable for people.
Download whichever kernel you please and also copy that to your phones internal sd card.
Next download the Kernel Cleaning Script, direct link to download here:
http://forum.xda-developers.com/attachment.php?attachmentid=628968&d=1308402560
Now after you've downloaded the kernel you wanted and the cleaning script, your also going to want the GPS fix, direct link to thread below:
http://forum.xda-developers.com/showthread.php?t=1172428
First lets fix the GPS before applying the kernel, here is a quick step by step:
GPS Fix! Update 7/30
Download the GPSFIX2.ZIP file and GPSD.ZIP file located at the bottom of my post (Make sure you unzip the file) and copy it to your SD card
2)Download a root file explorer like Root Explorer (not free) or ES File Explorer (free) in the market. If you use ES File explorer you must do the following to be able to change the system files:
FOR THOSE USING ES FILE EXPLORER
Open up ES File Explorer, in there hit your Menu key, then go to Settings.
Scroll down to till you see "Root Settings".
Under there you will see Root Explorer and Mount File System, check both of them, then hit the back button.
4)Once in the file manager, go to your root directory then go here: (if you know how to use file explorer or ADB you can simply copy the files to the corresponding locations and restart the phone if not keep following)
Go to the GPSFix2 folder on your SD card, then go to /data/gps/ and copy secgps file
Now go to to your phones root directory, and go to /data/gps and paste the secgps file in there
5)Now there are two other files to copy:
Go to the GPSFIX2 folder, then go to /system/bin/ and copy the AGPSD file
Go to the phones root directory and go to /system/bin/ and paste the AGPSD file in that directory
Lastly, go back to the GPSFIX2 folder, and go into /system/etc/ and copy the GPS file
Go to the phones root directory again, and go to /system/etc/ and paste the GPS file in there!
6)Now we need to copy the file from GPSD.ZIP (Make sure to unzip the file!!)
Copy the file from the GPSD folder, into: \system\vendor\bin\ the same way you did the other GPS Fix files.
7)Download AngryGPS file located here: http://forum.xda-developers.com/attachment.php?attachmentid=657133&d=1310879457
8) Install ANGRYGPS.APK, once installed go to your apps and open up AngryGPS. Go to:
Settings - General Settings - Change Operation Mode from MSBASED to STANDALONE. Once done, hit the home key.
As long as you've copied all the files, restart your phone and try things out!
Now your GPS should be working, but we still need to install the new kernel. Hopefully you've downloaded one of the two kernels listed above and copied them to your internal zip folder.
Finally, lets apply the kernel. Hold your power key and hit reboot phone, then a menu will appear, to either reboot or recovery, hit recovery (duh!).
Once in recovery you are going to want to apply the Kernel Cleaner script first. Go to apply update from zip, then choose zip file, then choose the kernel cleaner script... Once you've done that, go to choose zip again, and choose your kernel. DO NOT REBOOT INBETWEEN THIS PROCESS!!!!!
Let the kernel install, once done go ahead and reboot the phone.
If all went well within about 5 minutes your phone should be up and running again.
The last thing your going to need to do is install GAPPS, since CM7 obviously comes with none. You'll notice you have no market.
Here is the latest GAPPS, The zip is a flashable file through ClockWorkMod. Just go into clockwork, and find zip and install it like you did the rom and kernel. Reboot and you will have your market and GApps back.
http://goo-inside.me/gapps/gapps-gb-20110613-signed.zip
OVERCLOCKING AND UNDERVOLTING
You have to follow the instructions for either Glitch or Bali kernel here. SetCPU will NOT work for Glitch, and Voltage Control will NOT work for Bali.
OPTIONAL FOR GLITCH KERNEL (Bali below)
If you want to adjust CPU Voltage AND/OR Clock Frequency you are going to need to download VOLTAGE CONTROL from the Market. It is free as well. Make sure you use Voltage Control. Other cpu programs have been reported to have problems from what i've read.
If you are not sure what you are doing, then ask!
Here is my voltage control settings, this seems to be the best for stability:
Here are my settings in Voltage Control
1300: 1400mv -0mv = 1400
1200: 1350mv -0mv = 1350
1000: 1250mv -25mv = 1225
800: 1200mv -50mv = 1150
400: 1050mv -75mv = 975
200: 950mv -75mv = 875
100: 950mv -100mv = 850
OPTIONAL FOR BALI KERNEL
You must install SetCPU, which is available from the market, but is not free.
You can also download it here directly from for FREE, copy it to your SD Card and install the apk:
http://forum.xda-developers.com/attachment.php?attachmentid=648354&d=1310073004
I'm not sure of good overclocking/undervolt settings on the Bali kernel as I haven't fooled around with it more than to know that it works well with CM7.
**If someone has fooled with it please post up some results so I may put them here for recommendations.**
KNOWN ISSUES
Currently the Glitch V11 has a bug where the keyboard can pop up on random occasions. This will be fixed in V12. It's not a big deal.
Replacement Camera
In my post i've includedthe MIUI Camera APK.
You can just copy the MIUICamera.apk file to your SD card and install it. You will be able to use both the MIUI camera and the stock camera. The only problem is the video recorder of the MIUI camera doesn't record 720p. For that switch to the AOSP camera.
Hopefully taking some time to write this up can help alot of you follow a straight set of instructions instead of having to bounce around and look from topic to topic on what to do.
I'll continue to check on this thread and make sure if anyone has any questions I will try to help and answer them.
jwleonhart said:
So i've seen alot of people asking questions constantly about installing CM7, what is required to do so, and how to install all the fixes and different kernels. I'm hoping that by putting this thread up it will help anyone with questions so it will make installation and modification a breeze.
I'll continue to check on this thread and make sure if anyone has any questions I will try to help and answer them.
Click to expand...
Click to collapse
Thanks,i did flash Glitch HL kernel,and latest nightly,but i have some questions,can i do gps fix later(after flashing kernel),and i found that my cpu`s max is still set on 1000Mhz,like in stock cm7 stock kernel,so is it necessary to change it(for example to 1200Mhz)for better battery life?
And again thanks a lot for posting this,you hepled me greatly and spared a lot of time in searching.
ranse85 said:
Thanks,i did flash Glitch HL kernel,and latest nightly,but i have some questions,can i do gps fix later(after flashing kernel),and i found that my cpu`s max is still set on 1000Mhz,like in stock cm7 stock kernel,so is it necessary to change it(for example to 1200Mhz)for better battery life?
And again thank a lot for posting this,you hepled me greatly and spared a lot of time in searching
Click to expand...
Click to collapse
You can do the GPS fix whenever you please. Just remember that everytime you flash a new nightly of CM7 you're going to have to apply the GPSD file again... Everytime you flash a new nightly it wipes all the old system data, GPSD is unfortunatly one of the casualties.
What program are you using for adjust your CPU frequency? You should be using this:
-Voltage Control : http://forum.xda-developers.com/showthread.php?t=829731
If you want to gain more battery life you shouldn't be increasing to 1.2GHz, that will not help your battery life any.
If anything leave it at the stock 1GHz frequency and apply undervolt to the processor... of course you will have to do some testing because undervolting can cause stability and lockup/reboots.
Here are my undervolt settings, so far no locks-up on this combo for about a week now:
Here are my settings in Voltage Control
1300: 1400mv -0mv = 1400mv
1200: 1350mv -0mv = 1350mv
1000: 1250mv -25mv = 1225mv
800: 1200mv -50mv = 1150mv
400: 1050mv -75mv = 975mv
200: 950mv -75mv = 875mv
100: 950mv -100mv = 850mv
Im running High Leak, using this daily at 1300mhz no problems yet... Running a good movie on your phone, like an mkv file will really let you know if your settings are stable.. I've found undervolting anything over the stock freq. doesn't seem to be stable.
Does this help you any??
if i flash a custom kernel, bali for example, i need to do something else to flash a new version of cm7?
thanks
No, you can install a kernel on whatever nightly of CM7 you want. It's just best to have the latest nightly. I do remember hearing some of the earlier nightlys of CM7 like lower 30's were having trouble with different kernels...
Just remember that if you flash a new nightly you will have to fix the GPS and Kernel again though.
Everytime you update to a new nightly it deletes everything unfortunatly.
jwleonhart said:
No, you can install a kernel on whatever nightly of CM7 you want. It's just best to have the latest nightly. I do remember hearing some of the earlier nightlys of CM7 like lower 30's were having trouble with different kernels...
Just remember that if you flash a new nightly you will have to fix the GPS and Kernel again though.
Everytime you update to a new nightly it deletes everything unfortunatly.
Click to expand...
Click to collapse
ok! thanks for the fast reply
thanks for doing this!
quick question, when I try deleting the old GPSD file in order to move the new one it says I can not delete the file, then when I try to overwrite it, ES file explorer says I can not move the GPSD file. How exactly am I supposed to replace the old file with the new? I already have angry GPS installed and I also have installed the bali kernel. I've heard good things about bali and battery life so Im hoping it helps out, cause I've always had bad experience with battery life unless I shut off data. Any suggestions for good settings to use for bali?
cmrn89 said:
thanks for doing this!
quick question, when I try deleting the old GPSD file in order to move the new one it says I can not delete the file, then when I try to overwrite it, ES file explorer says I can not move the GPSD file. How exactly am I supposed to replace the old file with the new? I already have angry GPS installed and I also have installed the bali kernel. I've heard good things about bali and battery life so Im hoping it helps out, cause I've always had bad experience with battery life unless I shut off data. Any suggestions for good settings to use for bali?
Click to expand...
Click to collapse
i had this problem when i was using a es explorer downloaded from internet, and not from market. if you got it from internet, try removing it, and get it from market
infestedd said:
i had this problem when i was using a es explorer downloaded from internet, and not from market. if you got it from internet, try removing it, and get it from market
Click to expand...
Click to collapse
alright I just tried uninstalling/reinstalling es file explorer and the same thing is happening, any other suggestions?
Should I take any extra steps, if I want to odin back to UVJFD from CM7?
cmrn89 said:
alright I just tried uninstalling/reinstalling es file explorer and the same thing is happening, any other suggestions?
Click to expand...
Click to collapse
In settings select "mount file system".
Make sure its in write mode not just read only mode.
Sent from my SGH-T959 using XDA App
I Dl'd the angrygps.apk, installed it, but its not showing up in my app drawer...any ideas why?
Sent from my SGH-T959 using XDA App
Ok regarding ES FILE EXPLORER....
I'm going to update my first post as well, but here is what you must do.
Open up ES File Explorer, in there hit your Menu key, then go to Settings.
Scroll down to till you see "Root Settings".
Under there you will see Root Explorer and Mount File System, check both of them.
Now you can go ahead and write to the system files... Before they were read only which was why you couldn't touch them.
devine might said:
Should I take any extra steps, if I want to odin back to UVJFD from CM7?
Click to expand...
Click to collapse
If you want to go back to the stock rom just odin back to stock. It will erase all the old settings.....
david_rowe said:
I Dl'd the angrygps.apk, installed it, but its not showing up in my app drawer...any ideas why?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Can anyone else confirm it won't show up in the app drawer? Works perfectly fine for me, and to others who I have helped with this.....
EDIT:
Do me a favor, see if its actually installed. Go to Menu, Manage Apps, then see if AngryGPS is on the list under downloaded.
jwleonhart said:
Ok regarding ES FILE EXPLORER....
I'm going to update my first post as well, but here is what you must do.
Open up ES File Explorer, in there hit your Menu key, then go to Settings.
Scroll down to till you see "Root Settings".
Under there you will see Root Explorer and Mount File System, check both of them.
Now you can go ahead and write to the system files... Before they were read only which was why you couldn't touch them.
Click to expand...
Click to collapse
thanks finally was able to do it. and angry gps worked fine for me
awesome guide!
You should add the permissions to GPSD file to the guide. It does't work with the default permissions.
already did lol. I'm updating as I go. Just put up latest GAPPS also.
jwleonhart said:
Can anyone else confirm it won't show up in the app drawer? Works perfectly fine for me, and to others who I have helped with this.....
EDIT:
Do me a favor, see if its actually installed. Go to Menu, Manage Apps, then see if AngryGPS is on the list under downloaded.
Click to expand...
Click to collapse
Yeah I know its installed but I can't open the application
Sent from my SGH-T959 using XDA App

[ How to ] How to get the V6 supercharger to work on the 10.1 tab

What this does is speed up your tab. Its crazy how well zepplinrox got this to work, but it makes the tablet fly. It doesnt require more battery, nor stress the hardware any. It alters and fixes the OOM groupings, lowmemorykiller and the priorites. I don't want to get into the nitty gritty, but do it and I'm sure you will be amazed!
If you do not have the init.d folder, then you need to load a custom rom. Some custom roms will have this folder. Read on page two, zepplinrox explains it more.
Here is the process to get the supercharger to work and stick on out tabs. Its all spelled out on the original post ( by zepplinrox ) , but this is the short and sweet version.
You need to be rooted and have busybox 1.18.2 or lower.
First off go here and download the script : www.mediafire.com/?w6682pwu52ty5o6
Then download this app : https://market.android.com/details?id=os.tools.scriptmanager&feature=search_result
1. Then you run the script manager and find the V6 script that we first downloaded.
2. When you click on the script, the manager will open,( Make sure the run as root box is ticked under the "run" button ) just hit run in the top left of the screen.
3. Then, you have to just click in the black anywhere and the keyboard will open. Select a number 1, 2, or 3 , this is how fast the text will scroll. Being the screen is so big, select number 1. You will be fine. Hit enter on the keyboard, then lower the keyboard away.
4. You can now see a lot of options, don't get nervous. The script does it all itself. Being that we have so much ram already, the minfrees are already huge, but can be bigger . So options 1 - 7 are smaller than the stock minfrees. You can use either setting 8 or 9. I'm using the setting number 9. So to select the minfrees you want ( either number 8 or 9 ), click on the screen to bring up the keybpard, and hit the number you want ( again 8 or 9 only )!
5. Once that is done you will see the script run some info in front of you. It will say to reboot but don't yet. Type the number 17 in, and you will see it say bye etc. Ok, once it says bye, hit the back soft key in our launcher. Now navigate to this on the screen that in front of you. Keep hitting back until you get to the ''/'' of the tablet. Rom there you will click on ''system'', then click on ''etc'' and lastly on '' init.d '' . In there you will see a file called '' 99SuperCharger'' . Click on that and the script manager will open again, but you need to select certain boxes this time before hitting run. When the screen comes up hit '' run as root '' and '' run on boot ''' and hit save. Once that is done hit run ( nothing happens here, so don't expect to see anything scrolling) , then back out using the back arrow in our launcher. Then reboot your tablet, and that's it. The custom minfrees now stuck, and your supercharged!
Thanks to zepplinrox for this script!
P.s. to find out of the script stuck, reload the FIRST V6 script. Select your speed like we did, then once it is all loaded up you will see a line in there that says prior mifrees ( prior is still your current ) . Just match that up with the number you selected at first.
Thats it.
Here is the op on supercharging, from zepplinrox forum.xda-developers.com/showthread.php?t=991276
Sent from my Galaxy Tab!
so what does this do exactly?
In a nutshell, its a memory manager.
It will speed up your phone, multiasking etc. Its kinda crazy how well it works, and does not require more battery life like overclocking does. What it does it rearrange the OOM groupings, lowmemorykiller and priorties.
Sent from my Galaxy Tab!
cool thanks for the quick reply, can this be used in conjunction with a Task's ROM and pershoot's kernel?
I think I'll wait for others to test this out first seems too good to be true
mickey78 said:
cool thanks for the quick reply, can this be used in conjunction with a Task's ROM and pershoot's kernel?
Click to expand...
Click to collapse
yes. you can use in on basically anything bro.
yes it works anything android based. And for the skeptics, its been out for sometime now. Look here..
forum.xda-developers.com/showthread.php?t=991276
That's the op on this.
Sent from my Galaxy Tab!
Samsung Adrenaline Shot
This has been developed for some days and I am using on my Captivate, it's amazingly fast. I know some files are HC based but written for GB, maybe someone take a look and see if it will work?
http://forum.xda-developers.com/showthread.php?t=1236779
I use SAS, not USAS as it is just a script.
I've been using it for a while on my evo and the same with the tablet. All works well.
Sent from my Galaxy Tab!
I'll follow this thread closely. It always amaze me how a small group of people working together can achieve things beyond what Google themself can achieve with their OS.
Im getting permission denied during the last step (run as boot etc.)
Any ideas? My tab is deffo rooted as other apps that require root work fine.
Cheers!
I haven't got the init.d? What's wrong? I'm using broadcom KH7.
Here is a screen shot.
same for me, i dont get the init.d folder. I saw many permission denied lines in the script, so i run the script again with root. It doesnt help and i restart my Tab... and now i am in a bootloop. So i restore my backup, but can someone tell me what i do wrong?
Thx in advance
Flash
Edit: same for me, like klass1 , i use the Broadcomb stock too
klass1 said:
Here is a screen shot.
Click to expand...
Click to collapse
I also have the same problem, running stock rom.
Is root required?
Hey sorry guys, I'm out of the house. But yeah root required, I think. But not 100% sure as I have always been rooted. And as far as not seeing the init.d folder.. are you fellas all the way back to the '/' in the script manager? Go system, etc,init.d and the 99SuperCharger should be there. In sure why you can't see back that far. Are all or you guys rooted that are having issues? The ron type doesn't matter, as these folders are universal on all roms.
Also I too received some denied lines, but all is working as should. So that shouldn't be an issue.
Sent from a miui powered HTC Evo.
Yes, I am all the way back at / going to /system/etc and I could NOT find the init.d folder after running the script. I am rooted and using the Broodcomb ROM for GT-P7500. I have the same problem the other guys have. Help please!
i didnt have it either, the init.d folder, so i ran a kernel tweak from the creator of V6 scrpit and that created a init.d folder for me then i ran the script again and there it was the 99Suercharger file. So i think you can just create the folder your self, no need to run the kernel tweak, just ad new folder to system/etc called init.d that should fix it for thoose that dont have it created by the script.
And did you noticed a good speed improvment?
Sent from my GT-P7500 using xda premium
How do you create a folder?

Fully install V6 Supercharger on ICS

I have been looking through the recent ICS threads and people have had alot of out of memory problems, so I thought I would post this easy to understand tutorial (well I hope it will be easy to understand)
Before starting, on Miroslav's Project Icecream Swift, you need to download busybox installer and install version 1.18.2, busybox included will not correctly determine minfrees.
First download the latest version of V6 at the end of this post, then copy it to your SD card and run it with Script Manager (from the market).
Choose your prefered scrolling speed and in the latest version its pretty much automated, you just have to say yes no a few times but it will auto detect the best settings based on the RAM of the device.
Also do not superclean and reboot, we need to do something else before we reboot.
Ensure you have a file explorer that can view the /system partiton before continuing.
On your phone browse to http://android.mimic.ca
Then click browse and choose your file explorer, and find services.jar in /system/framework then upload it.
After this the site will modify the services.jar and offer a download for it, to make it easy lets just use the update.zip so select that and download it.
Using the stock browser atleast it will go to /sdcard/download.
After this reboot to recovery, scroll to mounts and storage and mount /system manually (when I did not do this it didn't write the modified file) then install the zip.
Wipe dalvik cache and reboot, first boot will take a long time while its upgrading applications then run the V6 supercharger script to confirm you are 100% supercharged and you have your hard to kill or die hard launcher.
Note: On AOKP (atleast this version) because it doesn't have init.d (think its that one) before you first reboot to install services.jar you will need to browse in script manager to /data and find the 99SuperCharger.sh file and make it run on boot to get 100% supercharged.
I don't know if its important but every new rom I use I repatch services.jar just to be safe.
Any questions post here (also if the file doesn't download let me know and I'll upload it and post the link.)
Recovery zips for AOKP and Icecream Swift services.jar can be found below, just mount /system manually and i"nstall zip from sdcard" sorry it took a bit
For me i just use swap works good enough
For me not. Even if i use swap when i try to use gplay and listen music, music app closes itself. (Miro's latest ron)
Sent from my GT540 using xda premium
coto39 said:
For me not. Even if i use swap when i try to use gplay and listen music, music app closes itself. (Miro's latest ron)
Sent from my GT540 using xda premium
Click to expand...
Click to collapse
Thats because swap is not technically used as RAM, what it does is suspends background apps using up RAM, then puts that state in to swap, the apps cannot run from the swap partition, so if you are listening to music and using the browser you will notice this, if you have twitter open, then open a link from a twitter post, the state of twitter gets pushed to the swap partition, to allow the browser to open and run, you then close the browser and it pulls twitter from the swap partition back to RAM giving the illusion of multitasking.
V6 actually gives multitasking by making sure android does not close apps when you have a fair amount of RAM left.
delsus said:
Thats because swap is not technically used as RAM, what it does is suspends background apps using up RAM, then puts that state in to swap, the apps cannot run from the swap partition, so if you are listening to music and using the browser you will notice this, if you have twitter open, then open a link from a twitter post, the state of twitter gets pushed to the swap partition, to allow the browser to open and run, you then close the browser and it pulls twitter from the swap partition back to RAM giving the illusion of multitasking.
V6 actually gives multitasking by making sure android does not close apps when you have a fair amount of RAM left.
Click to expand...
Click to collapse
Thanks for the explanation. I tried to apply supercharger (latest version, Update9RC8.2) to IceCreamSwift second official release bug when it try to apply minfrees the phone reboots.... The version you left works but don't shoy current minfrees, just shows: , , , , ,
coto39 said:
Thanks for the explanation. I tried to apply supercharger (latest version, Update9RC8.2) to IceCreamSwift second official release bug when it try to apply minfrees the phone reboots.... The version you left works but don't shoy current minfrees, just shows: , , , , ,
Click to expand...
Click to collapse
Hmm thats wierd, I have always been able to see them, but if it works it works
delsus said:
Hmm thats wierd, I have always been able to see them, but if it works it works
Click to expand...
Click to collapse
Don't know why but everytime i try to use the script with latest miroslav ICS i got an exception when try to appy supercalculator minfrees then a reboot.
With latest version of the script i can see original minfrees= "1,1,1,1,1,1,1" and when i try to apply new one = Poof! reboot!
Did you installed another busybox or something?... This rom without the script sucks in multitasking matter. (open one app and the others will be closed, is monotasking )
coto39 said:
Don't know why but everytime i try to use the script with latest miroslav ICS i got an exception when try to appy supercalculator minfrees then a reboot.
With latest version of the script i can see original minfrees= "1,1,1,1,1,1,1" and when i try to apply new one = Poof! reboot!
Did you installed another busybox or something?... This rom without the script sucks in multitasking matter. (open one app and the others will be closed, is monotasking )
Click to expand...
Click to collapse
I'll check it on new version of miro's rom tonight when I charge my phone (battery is dead right now) but I normally use the default busybox, it could be that the default has been changed on this rom, download busybox installer from the market and try a version on there, they are all complete so should have no problems on that end, lemme know if it still doesn't work.
delsus said:
I'll check it on new version of miro's rom tonight when I charge my phone (battery is dead right now) but I normally use the default busybox, it could be that the default has been changed on this rom, download busybox installer from the market and try a version on there, they are all complete so should have no problems on that end, lemme know if it still doesn't work.
Click to expand...
Click to collapse
My issue was cause by the minfrees calculated by supercalculator (option 10). Using option 2 is ok but, still have 9-5mb free and if i open 2 apps -> one of them close itself (and like you said, swap does't help with that)... so i have to go back to sdsl 2.0 :/
coto39 said:
My issue was cause by the minfrees calculated by supercalculator (option 10). Using option 2 is ok but, still have 9-5mb free and if i open 2 apps -> one of them close itself (and like you said, swap does't help with that)... so i have to go back to sdsl 2.0 :/
Click to expand...
Click to collapse
Hmm, I'll try myself soon, havent noticed the problem before, I'll report back
coto39 said:
My issue was cause by the minfrees calculated by supercalculator (option 10). Using option 2 is ok but, still have 9-5mb free and if i open 2 apps -> one of them close itself (and like you said, swap does't help with that)... so i have to go back to sdsl 2.0 :/
Click to expand...
Click to collapse
Ok I just resupercharged my phone running miroslav's rom, and I did see your problems, I fixed it downloading busybox installer and using busybox version 1.18.2 and it will detect your minfrees.
Also updated OP with this info and the patched services.jar files.
delsus said:
Ok I just resupercharged my phone running miroslav's rom, and I did see your problems, I fixed it downloading busybox installer and using busybox version 1.18.2 and it will detect your minfrees.
Also updated OP with this info and the patched services.jar files.
Click to expand...
Click to collapse
I did this, but when i run the script for second time to confirm if it worked, it says:
Launcher is DIE-HARD! ie. SUPERCHARGED
but after says:
OOM Grouping Fixes ARE NOT in Effect
...
Current values DON'T MATCH Prior SuperCharge!
this means that didn't worked???
I use miroslav last update 20/05/12
arperalta3 said:
I did this, but when i run the script for second time to confirm if it worked, it says:
Launcher is DIE-HARD! ie. SUPERCHARGED
but after says:
OOM Grouping Fixes ARE NOT in Effect
...
Current values DON'T MATCH Prior SuperCharge!
this means that didn't worked???
I use miroslav last update 20/05/12
Click to expand...
Click to collapse
Did you use busy box installer to install busy box or are you just using the version pre installed? The CM9 one will not work with V6.
Sent from my LG-GT540 using XDA
delsus said:
Did you use busy box installer to install busy box or are you just using the version pre installed? The CM9 one will not work with V6.
Sent from my LG-GT540 using XDA
Click to expand...
Click to collapse
I used busybox installer to get the version 1.18.2
arperalta3 said:
I used busybox installer to get the version 1.18.2
Click to expand...
Click to collapse
Using root explorer check /system/etc/init.d and see if there is a supercharger script in there.
If not try supercharging again, reboot and check, if its still not working find the 99supercharger.sh script and select "run on boot" and reboot, it should work after this.
delsus said:
Using root explorer check /system/etc/init.d and see if there is a supercharger script in there.
If not try supercharging again, reboot and check, if its still not working find the 99supercharger.sh script and select "run on boot" and reboot, it should work after this.
Click to expand...
Click to collapse
thanks, the script is in /system/etc/init.d, i will try to run the script with the option "run on boot" in script manager later
arperalta3 said:
thanks, the script is in /system/etc/init.d, i will try to run the script with the option "run on boot" in script manager later
Click to expand...
Click to collapse
Before you select "run on boot" just try to supercharge again, something could have messed up a little when you applied the minfrees, init.d scripts should run on boot anyway.
delsus said:
Before you select "run on boot" just try to supercharge again, something could have messed up a little when you applied the minfrees, init.d scripts should run on boot anyway.
Click to expand...
Click to collapse
weird weht i run the script in the end it says that everything is ok and active, but when i reboot and clean davilk chache and run again, it says that isnt ok
I have applied V6 Supercharge on this IceCreamSwift ROM. If I do Wipe Data/Factory Reset, do I need to apply V6 again?
Yes

[MOD][ICS+GB] lagfree & dalvik fix (automatic installer released!)

This is an automatic installer for the lagfree script and the dalvik fix build.prop changes.
It does detect if you're using ICS or GB and does set it up accordingly.
Explanation and credits are in post 2. Manual instructions on how to apply this without the installer are at post 3. Have fun!
Most easiest way to check if the tweak script works is to open terminal before installation and type:
Code:
cat /proc/sys/vm/*
After flashing the zip do the same thing again and check if the numbers have changed (which they should have done).
pastime1971 said:
tony and i have worked out a flashable zip of init.d script + build.prop mod
there are two types of installations. choose one you like.
* system installation *
buttery-system.zip : edits /system/build.prop & installs /system/etc/init.d/99tune
to revert it, simply re-flash ROM.
you have to flash this every time you flash a ROM.
* user installation *
buttery-local.zip : edits /data/local.prop & installs /data/local/userinit.d/99tune
buttery-local-remove.zip : reverts /data/local.prop & removes /data/local/userinit.d/99tune
this changes /data/ and therefore, the effect is permanent unless you change it manually, which is the reason for buttery-local-remove.zip
# do a nandroid backup always.
# it probes if ROM is GB or ICS and apply mod accordingly. (only tested on ICS. please test it and feedback on GB.)
# to check if it is working, do the following in terminal
Code:
getprop | grep dalvik
getprop cm.buttery.active
cat /proc/sys/vm/*
!!! this script is based on vork kernel installer. the credit goes to vork team (benee and kiljacken)
Click to expand...
Click to collapse
Please give pastime1971 a "Thanks" at the following post: original post by pastime1971
Credits to whom they belong:
This idea has been ported over from the G2x forum (link, by flak0).
Thanks goes to flak0 and batoo.
The original thread of the tune.sh script (by batoo) can be found here.
and of course to pastime1971 who did the most work for this great installer. Thank you so much!
What does it do?
atb1183 said:
dexopt flags:
m=y -> use mapping, optimize the dalvik code
u=n -> NOT a uniprocessor, optimize for multicores
v=n -> do Not verify , breaks some old app compatibility but dalvik get a bit more speed (tonyp: doesn't work in Android 2.3!)
o=v -> im not sure, i think this sets optimization level to the highest. but again, not sure. alternate is o=a.
might wanna look into the /proc/sys/vm/dirty_ratio tweaks, cant remember exactly and im quite surprise many roms dont have these tweaks in the init.d scripts
it specifies how much cache/junk data to keep in memory. if the ratio is high, after a while, so much crap is kept that it waste your ram and slow the phone down.
Click to expand...
Click to collapse
Manual instructions:
Read this properly! This guide requires some knowledge of editing system files and running scripts.
It wouldn't harm to do nandroid backup! I didn't do one and everything worked fine - but it's on your own risk! You have been warned!
(if your phone won't boot anymore wiping /system and reflashing your ROM should restore everything without you loosing any data).
First we need to edit some dalvik dexopt flags in the build.prop (you can do that with the build.prop app from the market):
backup your build.prop
edit your build.prop
ICS: change dalvik.vm.dexopt-flags=.... to dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n
GB: change dalvik.vm.dexopt-flags=.... to dalvik.vm.dexopt-flags=m=y,o=v,u=n
right below add: dalvik.vm.execution-mode=int:jit
ICS only: change windowsmgr.max_events_per_sec=... to windowsmgr.max_events_per_sec=300
comment out dalvik.vm.heapgrowthlimit if it exists by placing a # in front (or delete the whole line).
save
Now Reboot to Recovery and Wipe Dalvik + reboot
Now you need to download and extract the attached tune.sh script and place it into /sdcard
Either run the script with Terminal Emulator or with the Script Manager app (don't forget to use root)
For the first method: Open the "Terminal Emulator" app and type:
Code:
su
cd /sdcard/
sh tune.sh
You're done. But you need to run the script after every reboot - or just place it under /system/etc/init.d/, rename it to "90tune" and set the permission to "rwxr-xr-x", then it will run automatically at each reboot.
Have fun!
@tonyp....
well just that I am a bit busy at office and saw ur thread fortunately....I would wait for people to give their comments, experience on GB (as I use DJ 1.5 beta from Carburano )and also the CWM flashable file so I dont need to do all that hardwork and reserve that for the office
Thanks once again mate
As soon as I'm able I will try and test this on GB and ICS. Maybe in the evening.
Thanks for bringing this to our attention Tony
Sent from my LG-P990 using XDA
tonyp said:
I'm "porting" over some information from the G2x forum (link) which should possibly help against the well known decreasing speed of the phone after some uptime.
At the G2x forum they're pretty excited and talking from buttery smoothness.
Thanks goes to flag0 and batoo.
The original thread of the attached script (by batoo) can be found here.
Read this properly! This guide requires some knowledge of editing system files and running scripts for now.
Edit: Good news, I linkes an app to edit the build.prop and included instructions how to run the script. Now it's pretty straightforward and you should be done in 10-15minutes.
It would be possible to create a flashable zip which does these steps for you, but creating a script which edits values in the build.prop isn't that easy and takes some time. If it works well it will get incorporated by the ROM devs anyway - owain already said at the G2x forum that he will include it in a later build.
It wouldn't harm to do nandroid backup! I didn't do one and everything worked fine - but it's on your own risk! You have been warned!
(if your phone won't boot anymore wiping /system and reflashing your ROM should restore everything without you loosing any data).
First we need to edit some dalvik dexopt flags in the build.prop (you can do that with the build.prop app from the market):
backup your build.prop
edit your build.prop
change dalvik.vm.dexopt-flags=.... to dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n
right below add: dalvik.vm.execution-mode=int:jit
change windowsmgr.max_events_per_sec=... to windowsmgr.max_events_per_sec=300
comment out dalvik.vm.heapgrowthlimit by placing a # in front (or delete the whole line).
save
Now Reboot to Recovery and Wipe Dalvik + reboot
Now you need to download and extract the attached tune.sh script and place it into /sdcard
Either run the script with Terminal Emulator or with the Script Manager app (don't forget to use root)
For the first method: Open the "Terminal Emulator" app and type:
Code:
su
cd /sdcard/
sh tune.sh
You're done. But you need to run the script after every reboot - or just place it under /system/etc/init.d/, then it will run automatically at each reboot.
Have fun! Works like a charm for me!
I only tested it with CM9 (owain build #77).
If you want to test that out in GB (either Stock or CM7) you probably shouldn't touch "windowsmgr.max_events_per_sec" (don't do step 5 above!).
Please give some feedback!
Click to expand...
Click to collapse
Thanks bro its flak0 though lol
Sent from my LG-P999 using xda premium
Crashing my Cm7 ROM
Goodmorning,
Ive just tried the tweak, but it just crashed my Phone. After updating the Build.prop the phone, just wouldnt start up anymore.
Restored backup.. and up and running again!
Im running Temasek CM7.
Just so you know!
Regards!
WyCkson
wyckson said:
Goodmorning,
Ive just tried the tweak, but it just crashed my Phone. After updating the Build.prop the phone, just wouldnt start up anymore.
Restored backup.. and up and running again!
Im running Temasek CM7.
Just so you know!
Regards!
WyCkson
Click to expand...
Click to collapse
I'm pretty sure this is cm9 ics only as it says ics in the title.
Sent from my Optimus 2X using XDA
Shadowchaz said:
I'm pretty sure this is cm9 ics only as it says ics in the title.
Sent from my Optimus 2X using XDA
Click to expand...
Click to collapse
OP states: 'If you want to test that out in GB (either Stock or CM7) you probably shouldn't touch "windowsmgr.max_events_per_sec" (don't do step 5 above!).'
Ximo F. Verde said:
OP states: 'If you want to test that out in GB (either Stock or CM7) you probably shouldn't touch "windowsmgr.max_events_per_sec" (don't do step 5 above!).'
Click to expand...
Click to collapse
You are right, missed that line! Thanks for clarifying.
flak0 said:
Thanks bro its flak0 though lol
Click to expand...
Click to collapse
lol sorry for that
I tried it with owain 78, I placed the script in init.d after editing build.prop and before rebooting, and it works perfect for now, no lag at all. Thanks tonyp,
Enviado desde mi LG-P990 usando Tapatalk 2
Tried on XXmrHyde's unnoficial 8 - works likec harm - that's great!
sergiob8 said:
I tried it with owain 78, I placed the script in init.d after editing build.prop and before rebooting, and it works perfect for now, no lag at all. Thanks tonyp,
Click to expand...
Click to collapse
Make sure to set the permission to rwxr-xr-x
Code:
chmod 0755 /system/etc/init.d/tune.sh
DAMN! Went back to CM7 because of this lag.
CM9 was unusable for me because I needed my phone to run properly at work.
I'm some kind of forced to flash
Don`t feel a need to do anything like that for CM7
Runs like a charm for the last few days.
I created a flashable zip to install the tune.sh script into init.d: http://d-h.st/NFq
You still need to manually edit the build.prop. I probably won't create an installer for that because this will probably get incorporated into the ROMs anyway.
tonyp said:
I created a flashable zip to install the tune.sh script into init.d: http://d-h.st/NFq
You still need to manually edit the build.prop. I probably won't create an installer for that because this will probably get incorporated into the ROMs anyway.
Click to expand...
Click to collapse
i was forced to get back to CM7 like others cause of this lag... will try this script later but
thanks a lot man, good to see people like you helping comunity.
it works for me, system is very fast
BUT google play store force closes instantly -.-
Player9446 said:
it works for me, system is very fast
BUT google play store force closes instantly -.-
Click to expand...
Click to collapse
After manual method, my play store still works flawless
Sent from LG 2X using Tapatalk 2 Elite
Player9446 said:
it works for me, system is very fast
BUT google play store force closes instantly -.-
Click to expand...
Click to collapse
Clear market data. Are you using cwm touch?
Sent from my LG-P990 using XDA

Categories

Resources