yashsingh1/xdaforums huggingface dataset:
[XPERIA X8 General] Pjay12:
Okay

Freeze/Uninstall AMM, Script manager, minfree manager, whatever else youre using to set minfrees (I dont know if you HAVE to but I did it to avoid clashes)

Copy alfsamsungs script (THANKS to alfsamsung :) )

# we love fast sd speed

echo 512 > /sys/devices/virtual/bdi/179:0/read_ahead_kb

# sysctl and ram tweak

echo "0" > /proc/sys/vm/swappiness	#No swap	#60

echo "2000" > /proc/sys/vm/dirty_writeback_centisecs	# Misc tweaks for battery life	#500

echo "1000" > /proc/sys/vm/dirty_expire_centisecs	#200

#echo "200" > /proc/sys/vm/vfs_cache_pressure	#sysctl vm tweaks org	#100

#echo "80" > /proc/sys/vm/dirty_ratio	#10

#echo "40" > /proc/sys/vm/dirty_background_ratio	#5

#echo "1" > /proc/sys/vm/oom_kill_allocating_task	#0

echo "2048" > /proc/sys/vm/min_free_kbytes	#1869

# tweak launcher hard to kill from supercharger

echo "0,3,5,7,14,15" > /sys/module/lowmemorykiller/parameters/adj	#0,1,2,7,14,15

echo "1536,2048,7680,8960,10240,12800" > /sys/module/lowmemorykiller/parameters/minfree

echo "0" > /proc/sys/kernel/panic	#1

echo "0" > /proc/sys/vm/oom_kill_allocating_task	#OBS 2 of these

echo "0" > /proc/sys/vm/panic_on_oom	#0

echo "1" > /proc/sys/kernel/panic_on_oops	#1

echo "0" > /proc/sys/kernel/panic	#1

#Drain battery fix ??

mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system

chmod u+s /system/bin/charger

mount -o ro,remount -t yaffs2 /dev/block/mtdblock0 /system

# remount (e.g battery fix)

mount -o remount,noatime,rw /dev/block/mtdblock0 /system

Copying the whole script is not necessary, but it sped up my phone quite a bit.

Change the text in bold to whatever values you want. If you aren't sure about the values you want, run the v6 script and choose the option you want and check the values either via -

1. Terminal Emulator - cat /sys/module/lowmemorykiller/parameters/minfree

2. Root Explorer - Open /sys/module/lowmemorykiller/parameters/minfree

Write them down if your memory sucks. Put those values where the bold text above is and copy it to the bottom of your system/etc/hw_config.sh

If it doesnt work, check your etc/init.d and delete anything extra you have. The basics are

01sysctl

03firstboot

04modules

05mountsd

06gingerdx

06mountdl

10apps2sd

20userinit

99SuperCharger

Note - Anyone reading this post would know - I did not make the script. I did not find the solution. I just ran a lot of tests lol.

Thanks to zeppelinrox (great script. Thank you!), alfsamsung, dexter, spyder bla bla whoever posted here

EDIT - Running the v6 script will say that minfree values DO NOT match. I dont know why. But as you reboot, if you check minfree via the 2 above methods, the settings you entered in the script will be there. More importantly, without relying on scripts and minfrees, trust your fingertips (lol) and see how much smoother your phone feels. Startup is much faster. Tested! :)

------------------------------------------------------------------------------

@Zeppelin - whats your kickass kernel supposed to do? :D
[XPERIA X8 General] zeppelinrox:
Gives performance another kick in the ass, of course :)

Mainly sysctl tweaks for which a dev named imoseyon is famous for.

I didn't use many of his sysctl tweaks but I borrowed a few.

There are IO scheduling tweaks and the one where it tells android that you have dont have a hard drive lol.

If you look at the kernel script, I included links from which I did research so you can dive into it and find out more as well.

edit: upon looking at your script, some of the kick ass kernel tweaks would supercede some of those posted.

for example in my latest version,

vfs_cache_pressure is 20 (lower number is faster)

min_free_kbytes is 8192

There are also net tweaks in there which actually give 3g another added boost on top of the 3g turbocharger...
[XPERIA X8 General] zeppelinrox:
I see.. well they may have got changed in the meantime?
[XPERIA X8 General] Chris_Castro:
Values not Matching

I have no idea. But you can check previous posting:

EDIT - Running the v6 script will say that minfree values DO NOT match. I dont know why. But as you reboot, if you check minfree via the 2 above methods, the settings you entered in the script will be there. More importantly, without relying on scripts and minfrees, trust your fingertips (lol) and see how much smoother your phone feels. Startup is much faster. Tested!

And see that's what's happening.

Many thanks for your script!!
[XPERIA X8 General] Pjay12:
Dont think you saw my earlier post. I ran the kickass kernel, it kicked ass. Thank you! again!

The 3G turbo thing.. It says press 1 to install and 2 to uninstall. I press 1 but it says invalid..
[XPERIA X8 General] aldee_s:
@OP

update the thread, so people can see some of those solutions about RAM problem
[XPERIA X8 General] Pjay12:
Zeppelin, how do you test if kickass has been loaded at boot?
[XPERIA X8 General] Dexter_prog:
I actually don't know what the actual solution is as there is a lotta info around here
[XPERIA X8 General] SpyderX:
Aargh. Disappearing minfrees still not solved. But script works still. I just run it again after rebooting. First post should be updated to include recommended tweaks just like wolfbreak's thread on x10 dev forums.

@zeppelinrox,

My phone is on steroids after supercharging :D

@Dexter_prog

For a start include supercharger script and proper credits and link. Maybe you caould also post your current config? I think alfamsung can help because he is x8 tweak master :D.
[XPERIA X8 General] Pjay12:
@spyder - how did you check minfree values after reboot? Did you check sys/module/lowmemorykiller/parameters/minfree before running any script?

@dex - include the original script. And alfsamsung's hw_config. I re-posted it with an explanation.
[XPERIA X8 General] Pjay12:
Thank you. Lot of stuff here. I don't use the script anymore. :) hw_config does its job.

Edit - What do the lines under #tweaks and #media do?
[XPERIA X8 General] SpyderX:
Yes i do, pjay.

@alfamsung

Thanks :D i will add them as soon as i get access to computer.
[XPERIA X8 General] Pjay12:
Confirmed something interesting.. Chris_Castro pointed out.

After a reboot check lowmemorykiller/parameters/minfree and your desired values will be there. After that if you run the V6 script (it will say values don't match), and DO NOT choose an option, your values will be reset. So for now don't run any v6 script or any result of running the V6 script at boot.

Spyder, try freezing script manager and anything else you might be using. Put the hw_config line to change minfrees at boot. And check lowmemorykiller/parameters/minfree. It worked for me. Something somewhere is clashing for you..
[XPERIA X8 General] Chris_Castro:
@Pjay12 - If you run, no matter what (even opting 17) it will reset values. Just in case, I've deleted 99Supercharger and 98Kickasskernel from etc/init.d, so Script Manager won't run them at boot. hw_config is working for me and phone is smooth.
[XPERIA X8 General] SpyderX:
Ok, i will try. Maybe zeppelinrox will know why this is happening?
[XPERIA X8 General] Chris_Castro:
Weird... After a while my minfree went back to original, even after deleting 99Super and 98Kickass. So I uninstalled Scrit and rebooted. I'll monitor and get back.

Update: No...After 2 reboots, seetings were adjust as hw_config...but after a while, they go back to original. I think MinFree Manager might be causing it...
[XPERIA X8 General] zeppelinrox:
To summarize.. what the hell is going on? LOL
[XPERIA X8 General] Chris_Castro:
To summarize

Thanks zeppelinrox for taking the time to check this thread.

I've noticed that my phone would boot up with correct settings (hw_config). During the course of the day, It would revert to the original settings. I thought it was the Script Manager, or some of the scripts installed by your file. So, I've deleted all related 99Supercharger files and 98Kickass from my cell.

Reboot

Correct Settings applied at boot.

Check via Root Manager --> OK

Check with MinFree Manager --> OK

Check back via Root Manager --> Reverted.

Uninstalled MinFree MAnager

Reboot

Check via Root Manager --> OK (ADJ and Minfree)

SOMETHING HAPPENED --> Settings reverted

Uninstalled Supercharger using Scrip Manager

Reboot

Check via Root Manager --> OK (ADJ and Minfree)

Waiting..........I don't know if there's something, somewhere that has the rights to revert.....So, I am waiting to see if settings stick for a longer period of time. Sorry for the long reply.

No idea what's going on.:(
[XPERIA X8 General] Dexter_prog:
I got lost too. It seems that the workaround is applying the same values your script does to hw_config. Not a good solution, in my opinion, but well.

On the other hand...

I insist, we need DX to chime in. :/
[XPERIA X8 General] zeppelinrox:
is there a download link for the rom.. im just curious :)
[XPERIA X8 General] Dexter_prog:
Here you are, sir: http://xdaforums.com/showthread.php?t=1188486
[XPERIA X8 General] Chris_Castro:
I am still using FroyoBread V.023b

http://xdaforums.com/showthread.php?t=1079463

Thanks!
[XPERIA X8 General] Pjay12:
What are you guys doing....? I have no problem with setting values and having them stick. Tested with different settings as well...

What exactly is the problem? Anyone with probs please post and give all details. What memory management apps you have. Hw_config edits and your values. Post your local.prop and any extra files you have in init.d. and whether you have Script Manager and what it runs at boot if any.
[XPERIA X8 General] lukewong01:
Hey..alfa samsung..what u mean here..?..i cant see any local.prop under data/..........and how about the build.prop..do u need to add anything to make it fasteer...how do u set the minsfree ?...or the speed of opening an appl...i am a noob..forgive me pls..:)
[XPERIA X8 General] Pjay12:
Lol there is a local.prop in /data. There always is. Check again.

When you find it check that

ro.FOREGROUND_APP_ADJ=0

ro.VISIBLE_APP_ADJ=3

ro.PERCEPTIBLE_APP_ADJ=2

ro.HEAVY_WEIGHT_APP_ADJ=4

ro.SECONDARY_SERVER_ADJ=5

ro.BACKUP_APP_ADJ=6

ro.HOME_APP_ADJ=2

ro.HIDDEN_APP_MIN_ADJ=7

ro.EMPTY_APP_ADJ=15

^those values are the same. There will be more lines under that (ro.VISIBLE_APP_MEM, ro.HOME_APP_MEM, etc etc) let those be.

[Not necessary]In build.prop,

change -

dalvik.vm.heapsize=40m -(it might be 32 or another number depending on your pre defined value)(If you have a better performance increase with your former VM heapsize, go with that)

And make sure these lines -

ro.ril.hsxpa=2

ro.ril.hsupa.category=5

ro.ril.gprsclass=12

are the same. Some roms have gprsclass set to 10.

If it still doesn't stick, it may be the rom you're using, what scripts you have, something in init.d. Feel free to PM if it doesn't work. Post your results :) Also, did your minfree values stick after reboot?

PS- I know it was a question at alf. Just trying to help.
[XPERIA X8 General] Pjay12:
Some roms have juwes script or other ram management scripts pre-installed. If this is the case, youll have to delete those from init.d.

Ex - Gingercruzt RC3 has Juwes ramscript pre-installed. People experiencing lags remove it from init.d. Its S97ramscript or something.

Also, I "sent" PM's to 3 people but Im not sure they were actually sent.

lukewong01, Chris_Castro, Dexter_prog

If you didnt get it, post here or send me another PM.. If I cant PM, Ill post my reply here. Im not sure why but sometimes my xda PMs dont get sent.. Apologies :P
[XPERIA X8 General] lukewong01:
Thanks Pjay12 :D

I have seen ur PM...Now i had just replied ur PM..check it under your inbox..;)
[XPERIA X8 General] Chris_Castro:
@Pjay12 --Got your PM. Replied today. Check if you received it. Thanks!
[XPERIA X8 General] Dexter_prog:
haha I had just edited the first post. I had to quote your PMs, it would've been easier to just post the links to the posts containing that info, so that people could track them.
[XPERIA X8 General] Pjay12:
Ah lol yea same thing here :)
[XPERIA X8 General] lukewong01:
PJ or dexter..what rom u guys using?...don u feel tat GDX 008 android system is much faster?....and less RAM eaters?....i felt that i use GDX 008 is the best..:D...dun u guys feel it?
[XPERIA X8 General] Dexter_prog:
I was using GDX 008 and when I updated to 009 and 010 I had lots of problems (full wiped a lotta times). Now I am using MiniCM 2.0.6. It's OK but it's laggy while scrolling the drawer
[XPERIA X8 General] Pjay12:
GingerDX was smooth for me. Not using it for now though. trying others
[XPERIA X8 General] Pjay12:
Update - Some of you may already have seen it.

There is a new update 9 of the supercharger script (still in beta)

New features -

Updated August 21: - V6 SuperCharger Update9 Beta1

Remembers - scrolling speed. You can change it under Options (#19)

Added - BulletProof App!

Added - Engine Flush - Quick Boost & Eliminate Lag!

Added - Nitro Lag Nullifier (Experimental)

Added - Options (Change scrolling speed)

More Compatible - Backs up build.prop and cleans ADJ and MEM values from it

Check it out here -

http://xdaforums.com/showpost.php?p=15948434&postcount=1127

:)
[XPERIA X8 General] p41n:
Hi Pj thanks for all your answer on dx thread, I tried to run the script with the current bb version (1.15.3) but every time I restart I re-run the script and it shows me that he doesn't maintain the changes. Do I need to manually edit the files like you wrote in the post above? Sorry if it's a stupid question but I don't speak english very well and I can't understand if we have to do all of this manually, and how to do this.. Thanks for your support man.
[XPERIA X8 General] Pjay12:
Yeah. Add the lines above to the respective files :)

The command that sets minfrees on boot is

echo "1536,2048,6656,7168,7680,8192" > /sys/module/lowmemorykiller/parameters/minfree which goes into hw_config.

Just add all the lines aove to the respective files and the entire v6 script as well as a few other tweaks will be set on boot.
[XPERIA X8 General] p41n:
Thanks but how can I modify these files with a mac? Or I have to rewrite everything with the phone?
[XPERIA X8 General] SpyderX:
It's easier to edit it with root explorer.
[XPERIA X8 General] Pjay12:
I havent used a mac so I wouldnt know. If you can use adb its possible. But yea, I find it easier to edit them straight from the phone. Just create .txt files and put the the lines in those, save them to your sd card, copy them to where-ever they have to go via root explorer or any other root file manager
[XPERIA X8 General] aries77:
already set things right, value is there on minfress but when running v6 sueprcharger the current minfrees is at default value , not 6 ,8 ,26 ,28 ,30 ,32
[XPERIA X8 General] zeppelinrox:
FYI...

Updated September 3

: - V6 SuperCharger Update9 Beta3

Fixed - Cleaning of local.prop. It was leaving a mess behind.

Enhanced - User notification of events a little more

Updated September 3

: - 98KickAssKernelTweaksInstallerUpdate3 test3

Fixed - A big error (I doubt the io scheduling tweaks were being applied in Update 3 test 2)

Improved - Application of io scheduling tweaks so that it is much more selective and safer

Runs - 98kickasskernel after creating 98kickasskernel!

Notifies - You of the I/O Scheduler in use - Before AND After running 98kickasskernel

Defaults - To using Deadline (of available) instead of Noop io schedular.

Updated September 3

: - 3GTurboChargerInstallerUpdate3 test 9

Added - Complete menu with 4 configurations!

Installs - /sdcard/3GTurboCharger.txt which has specific details of the 4 options.

This is what it looks like:

================================================
\\\\ 3 G T U R B O C H A R G E R - M E N U ////
==============================================
1. Fast?
2. Faster?
3. Fastest?
4. Experimental!
5. UnTurboCharger
6. REBOOT! (WARNING - There is NO Warning!)
7. Exit

Your Mileage WILL Vary!

View settings in /sdcard/3GTurboCharger.txt!

Test all 4 to see which works best for you!

The SpeedTest.Net app is highly recommended :)

Please enter option [1 - 7]:

Download from the usual place http://xdaforums.com/showpost.php?p=15948434&postcount=1127

All 4 updated files are 100% untested by me... so good luck :D
[XPERIA X8 General] Dexter_prog:
I never got what kickass kernel does :p
[XPERIA X8 General] zeppelinrox:
In the days before supercharging, the best 2 options were overclocking and kernel tweaks which optimize various android settings.

So the kernel tweaks make the phone ubercharged lol
[XPERIA X8 General] zeppelinrox:
Ok a couple of more updates... on account of me being a n00b

Updated September 4

: - 98KickAssKernelTweaksInstallerUpdate3 test4

Tweaked - io scheduling tweaks some more so that it is even more selective and safer

Updated September 4

: - 3GTurboChargerInstallerUpdate3 test 10

Fixed - Yesterday's file (Update 3 test9) didn't apply ANY variations so now it's fixed.

Added - Another configuration. Some people reported great results with yesterday's version (removes limits?) so added a "nulled" configuration.
[XPERIA X8 General] _JoaoCampos:
Thought I'd add this, nothing to do with any memory tweaks and most people are probably aware of it already but I wasn't and finally found the reason why all roms I used got quite sluggish after a couple of days: Swiftkey X. I had bought this app after trying it, it's by far the best keyboard app available. But today I found out it uses bout 25/30 MB when NOT being used, and 70+ when actually typing... As you can imagine this has a huge impact on a X8...

What would be the reason for a simple keyboard app to use this amount of memory? Anyway, got rid of it, looking for a good alternative now...
[XPERIA X8 General] Dexter_prog:
I was having problems with Swiftkey too. It is the best keyboard but the slowest to load. Also, for some reason, all of a sudden I kept getting force closes every a couple of words. So I uninstalled it and went back to HTC mod
[XPERIA X8 General] Pjay12:
I'm using SwiftKey daily... I can't imagine typing without it. I dont have many probs. If I'm using playerpro, dsp managet, and surfing the net and then I open the messaging app to reply, the music stutters a bit but that's it
[XPERIA X8 General] _JoaoCampos:
Are you using the old Swiftkey or the relatively new "Swiftkey X"? The problem lies on the latter..
[XPERIA X8 General] Dexter_prog:
I was using Swiftkey X.
[XPERIA X8 General] SpyderX:
Anyway, the reason why the minfree parameters don't stick is probably because of /init.rc.

There's one line in there which says:

write /sys/module/lowmemorykiller/parameters/minfree 1536,2048,4096,5120,5632,6144

Problem is, init.rc is loaded through ramdisk.tar so we better don't meddle with it and use the hw_config method instead.
[XPERIA X8 General] dmcb123:
i use iTap keyboard :) i love it its really fast :) you should give it a go
[XPERIA X8 General] zeppelinrox:
So... I've been busy today... all 3 are updated... and still 100% untested by me :p

http://xdaforums.com/showpost.php?p=15948434&postcount=1127

Updated September 12

: - 3G TurboCharger Installer Update 3 test 11

Tweaked - The interface a little

Updated September 12

: - Kick Ass Kernelizer Installer Update 3 test 5

All-In-One - io scheduling tweaks are optional

Data Foler - is now used for stock roms

Errors - are now hidden so no need to worry about unknown keys showing up ;)

Enhanced - user interface greatly

Tweaked - some io scheduler commands - should be safer than before

Updated September 12

: - V6 SuperCharger Update 9 Beta 4

Massive - Changes lol

Changed - All the names/presets. More options for higher ram devices.

Added - Help Menu Item (launches help file on sd card)

Added - Help Online - Opens up XDA thread in the browser!

Added - Re-SuperCharger! Restore Prior V6 Settings from SD Card

Added - Saftey nets - Checks for BusyBox, it's version (and if it's too high), an error check, and if running as root

Checks RAM - And recommends which horsepower settings to use

Build.prop - is now used. No more local.prop. This enhances stickiness.

Extra - build.prop integration in case you have /system/bin/build.prop

Milestones - More stickiness - init.d script and build.prop are now used as well as the *rc file

Tweaked - some user prompts/information

Numerous - enhancements

\\\\\\\\ V 6 S U P E R C H A R G E R - M E N U ////
==============================================
1. SuperCharger & Launcher Status for Update 9
==============================================
2. 256HP Ledded {6,8,22,24,26,28 mb}
3. 256HP UnLedded {6,8,26,28,30,32 mb}
4. 256HP Super UnLedded {6,8,28,30,35,50 mb}
==============================================
5. 512HP Ledded {6,12,40,60,80,100}
6. 512HP UnLedded {6,12,55,75,95,125}
7. 512HP Super UnLedded {6,12,75,100,125,150}
==============================================
8. 768HP Super UnLedded{6,12,150,175,200,250}
9. 1000HP Super UnLedded{6,12,200,225,250,300}
===============================================
10. Cust-OOMizer Settings {Create Or Restore!}
===============================================
11. OOM Grouping Fixes + Hard To Kill Launcher
12. OOM Grouping Fixes + BulletProof Launcher
===============================================
13. UnKernelizer - UnDo Kernel/Memory Tweaks
14. UnSuperCharger
===============================================
15. BulletProof App! {Hit or Miss}
16. Engine Flush - Quick Boost & Eliminate Lag!
17. Nitro Lag Nullifier {Experimental}
18. Use V6 SuperCharger with Terminal Emulator!
===============================================
19. Help File!
20. Help Online!
21. Options
22. Re-SuperCharger!{Restore Prior V6 Settings}
23. REBOOT! (WARNING - There is NO Warning!)
24. Exit
[XPERIA X8 General] scorpion 21:
I don't know what I do wrong but my supercharger is working until I reboot :/
[XPERIA X8 General] deedii:
So its working, what is the problem sweetie? Sorry I didnt catch your words :)
[XPERIA X8 General] scorpion 21:
Oh sorry :/ its NOT WORKING AFTER REBOOT.
[XPERIA X8 General] deedii:
Can you share to me your procedures? Maybe I can help you :)
[XPERIA X8 General] scorpion 21:
Downloaded supercharger v6 update 9,downloaded script manager,then set tp balanced 3 settings.. oh first I selected run as root in options and i run script,then finished all and works ofc phone is faster but after restart that ,,minifees'' are default :(
[XPERIA X8 General] deedii:
Have you tried v7? Try it please more stable for me.
[XPERIA X8 General] scorpion 21:
hmm. not tryed yet :P
[XPERIA X8 General] newdon07:
will it work on stock 2.1 rom too???
[XPERIA X8 General] scorpion 21:
I tryed but same thing :(
[XPERIA X8 General] URINUDNK:
So is it right that this tweak doesnt stick after reboot?
[XPERIA X8 General] scorpion 21:
for me yes :(
[XPERIA X8 General] URINUDNK:
How do i even check whether they have sticked or not:confused:
[XPERIA X8 General] scorpion 21:
maybe someone can helf us :( . just run with script manager your supercharger again and select speed for text and it will be pop up that is supercharget but current minifrees are not match for supercharged or something like that
[XPERIA X8 General] Pjay12:
You guys need to read the post I made.. if you edit the 3 files in my post a few pages back they stick. I have confirmation from a few people in my pm. The values get reset it you run the script after a reboot. So do not run it after a reboot
[XPERIA X8 General] URINUDNK:
Well i just ran the thing with script manager. Using setting number 2, and it sticks fine after reboot it seems. The phone really feels much more smooth and snappy now :)
[XPERIA X8 General] zeppelinrox:
I uploaded a test file.. includes hw_config.sh support... on the last page of my thread