[SCRIPT] The Best RAM Optimization - Eee Pad Transformer Android Development

Hello,
I just try this on my Asus Transformer and it seem to make a big different on the tablet smoothness.
Before when I either wake up the TF or running allot of program, it would lag allot. After the ram tweak, I can said it does make a different. Even after I had almost fill my memory up to 90%, opening new programs and swapping screen is fast. Android does a decent amount of work and return my memory back to 150 (and up) with the OOM Kill task. It did not cure my SOD problem.
I am current running the ram optimization with no other ram optimizer or task killer.
Here my TF configuration:
Prime 1.5, Netformer 1.5 @ 1.5GHZ, SD Boost, and Script Ram Optimization. The link is below. Check it out and let me know how it goes on your transformer. As always, make a nano backup before the tweak.
Credit goes to Juwe11
http://forum.xda-developers.com/showthread.php?t=1111145&highlight=ram

Hi, if you're running prime 1.5 it has support for sysctl changes built in. By using /system/etc/sysctl.conf_default as a guide, simply put the desired settings into the /system/etc/sysctl.conf file and these will be applied on reboot by the 04sysctl init.d script that's already in the rom.
Or just use the script for the post above, it should work fine too.

nice work !
By the way, what is SD Boost?

can i use this tweak with the netformer kernel and stock rom?

amerikian said:
By the way, what is SD Boost?
Click to expand...
Click to collapse
The default settings for I/O is really slow when it comes to SD r/w. With SD Boost app on market, it'll tweak the I/O parameters on boot. If you're running Prime, then it is already tweaked for you and is permanent.

frosty5689 said:
The default settings for I/O is really slow when it comes to SD r/w. With SD Boost app on market, it'll tweak the I/O parameters on boot. If you're running Prime, then it is already tweaked for you and is permanent.
Click to expand...
Click to collapse
But those files can be applied on stock rom with root and Kernel netformer 1.5 or i can fall in some issue if i don't have prime 1.5 installed into TF?

devilpera64 said:
But those files can be applied on stock rom with root and Kernel netformer 1.5 or i can fall in some issue if i don't have prime 1.5 installed into TF?
Click to expand...
Click to collapse
Apps like that or SD Speed Increase should be fine with just a rooted device at minimum.

jonitfcfan said:
Apps like that or SD Speed Increase should be fine with just a rooted device at minimum.
Click to expand...
Click to collapse
and the RAM tweak? if i apply it with CWM on the stock rom (as i have done with wpa_supplicant to turn on Ad-Hoc connections) it's ok or i can have issues?

Here is what Roach2010 already has in the kernel by default:
[taken from the /system/etc/sysctl.conf_default file in PRIME v1.5]
NOTE: only the values that relate to what is in the script that the OP links to
Code:
vm.dirty_background_ratio = 5
vm.dirty_ratio = 20
vm.dirty_writeback_centisecs = 500
vm.dirty_expire_centisecs = 200
vm.swappiness = 60
vm.vfs_cache_pressure = 100
Here are the values to place into the /system/etc/sysctl.conf file that Roach2010 mentions above:
NOTE: these are the replaced values that relate to the script the OP links to
Code:
vm.dirty_background_ratio = 5
vm.dirty_ratio = 90
vm.dirty_writeback_centisecs = 1000
vm.dirty_expire_centisecs = 500
vm.swappiness = 50
vm.vfs_cache_pressure = 10
Looks to be similar to this app => https://market.android.com/details?id=com.rs.autokiller&feature=search_result

Roach2010 said:
Hi, if you're running prime 1.5 it has support for sysctl changes built in. By using /system/etc/sysctl.conf_default as a guide, simply put the desired settings into the /system/etc/sysctl.conf file and these will be applied on reboot by the 04sysctl init.d script that's already in the rom.
Or just use the script for the post above, it should work fine too.
Click to expand...
Click to collapse
Canny figure oot if yer sayin this is gonny help oor no?
I'm running Prime 1.5 and clemsys kernel v14b.

Globespy said:
Canny figure oot if yer sayin this is gonny help oor no?
I'm running Prime 1.5 and clemsys kernel v14b.
Click to expand...
Click to collapse
Everything about how much "snappier" it becomes is subjective.

frosty5689 said:
Everything about how much "snappier" it becomes is subjective.
Click to expand...
Click to collapse
Cheers. I guess it falls in the same basket as autokiller etc. Highly debatable subjects.

Just from my experience. When I have using the TF for 4 hours, I would have use over 10 programs. opening the android market up would take at least ten seconds or more. With the ram tweak, it open up in two seconds.
Opening all other programs there after are just as quick, as if you first start up the Transformer. Switching from screen to screen is very smooth. Where with out the tweak it would lag for a few seconds if I have allot of programs running.
My experience with the tweak vastly improve the usability of the tablet. Then again, it is subjective.
Did not know Prime 1.5 already have the SD Boost tweak? Can anyone recommend me a SD Card benchmark tools that can work on the microsd, SD, and internal storage? Been looking on the market, but not that work for all the storage slots in one tools.
Thanks

I am using the Clemsyn version 16 kernel. Can I use the CWM RAM Script?
Thanks a lot

I don't see why not. OC does help with loading up the program faster and durning usage. The ram tweak help with the multitasking part. It use subjective though.
Do a backup before tweaking it.

minhgi said:
I don't see why not. OC does help with loading up the program faster and durning usage. The ram tweak help with the multitasking part. It use subjective though.
Do a backup before tweaking it.
Click to expand...
Click to collapse
would a complete nandroid be necessary or could we just backup the files it alters?

adiliyo said:
would a complete nandroid be necessary or could we just backup the files it alters?
Click to expand...
Click to collapse
A complete nandroid backup would a safer bet in this instance, or any other instance for that matter, in case you can't boot into your TF for whatever reason. It'll also be more convenient than having to find out which exact files are being modified and to use a root file manager to manually copy and paste the current versions before flashing.

It seemed to help me on my tf. Surprisingly I didn't have anything in my sysctl.conf before I added this in.

brando56894 said:
It seemed tohelp me on my tf. Surprisingly I didn't have anything in my sysctl.conference before I added this in.
Click to expand...
Click to collapse
Same here...I don't have any sysctl.conf on my Asus..

I have asus eee transformer with kernel netformer 1.5 @1,5 ghz and prime 1.4 but after a succesfull flash wirh cwm i don't see the file in the folder and with the other metod i can't change permissions with root explorer, what have to do?*

Related

Increase ram by 10% lets make it happen

Below are steps to increase your real ram by about 10%. Imagine your hero rom having about 10% more ram to work with!
Download bootimg:http://www.mediafire.com/?dvwmwyit4yn
Directions to install are below
Copy the bootimg on to your sdcard.
Go into recovery console and enter the commands below.
mount sdcard (enter)
mount system (enter)
flash_image boot /sdcard/boot.img (enter)
reboot
or install using Fastboot
Copy the bootimg on to your sdcard.
Go into fastboot and enter this command: fastboot flash boot bootmem.img
Check to see if your ram upgrade worked enter the below in terminal
su (enter)
cat /proc/meminfo (enter)
supposedly we are missing 18m of ram. we can have 128m. Lets figure out how to get that back? :-D
UPDATE :
daproy said:
Reuploaded the boot.img, and attached is the latest patch used to make the kernel.
MD5SUM 9e49829ad466b2f3adf9402bcba9c9c0
http://www.mediafire.com/?dvwmwyit4yn
http://drop.io/mempatch
Click to expand...
Click to collapse
Attachment:
http://forum.xda-developers.com/attachment.php?attachmentid=232380&d=1254152183
whats there to work out? Huanyu has already done it
alritewhadeva said:
whats there to work out? Huanyu has already done it
Click to expand...
Click to collapse
We need a tutorial. This is big and really no one knows about it. This is not swap we are talking about here. We are talking about real ram not virtual. This could help us with our roms.
····
How to do it?
If this works with no strings like(radio wont work as good or something like that), then I am all for it.
I think that is an issue if you recover to much ram. So far no complaints on using 106-109MB. If you use to much I think your phone will keep restarting its self until you change back the setting or flash a new rom.
Yea that's what I was reading like if you want like 15% more or something along those lines.
How does it run? Nothing noticeable right?
~~Tito~~ said:
Yea that's what I was reading like if you want like 15% more or something along those lines.
How does it run? Nothing noticeable right?
Click to expand...
Click to collapse
If your running Hero I am sure its noticeable. We are talking about 10% more real ram. Even though we have 10% more we might still need to use swap. But swap sucks its virtual.
Edit:
Yes its reversible.
Yea we still need to use swap since its a lot of stuff to handle. The Hero has 288mb ram, and we have a bit more than 1/2 of that.
Is it reversible if it goes into a bootloop?
I recompiled cyanogen's kernel with the change in board-trout.c to
mi->bank[0].size = (106*1024*1024);
and it boot looped as soon as the gpu was initialized. I am not sure how much ram you can actually squeeze out without stepping into the gpu's allocated space. I might give some other values a try tonight.
I'm running alla's mt3g ROM which has the extra ram hack on my mt3g and its running great.
http://forum.xda-developers.com/showthread.php?t=555499
Its just as fast as cyanogen's ROM and the extra RAM is definitely noticeable.
Where you can see the difference is browser refresh. Alla's ROM has compcache enabled by default just like cyanogen's ROM, but the browser refreshes much less frequently than CY's ROM. I'm also noticing foreground apps run smoother when music is streaming in the background.
I'm hoping cyanogen will incorporate this into his future releases. I haven't noticed any stability issues with this hack. Of course I've only been running it for a day or two. But so far, its been stable.
Same results on G1 with:
mi->bank[0].size = (104*1024*1024);
reboots at:
D/SurfaceFlinger( 2240): pid 2248 requesting gpu surface (current owner = -1)
Try 103. That should work.
maxisma said:
Try 103. That should work.
Click to expand...
Click to collapse
you know how to do this?
Ok I've dug a little deeper and indeed on the G1 the GPU1 memory (8M) comes directly after the linux memory (101M). Following the GPU1 memory is the RAM CONSOLE memory (128K). There is no space space between them. Increasing the size of the bank overwrites GPU1 memory and that's why it will boot loop. The total memory defined in the EBI bank is 110M and that pretty much eats it up other than 896K.
Is there any reason why you guys couldn't run RogerMod (or any Magic-specific ROM that includes the extended RAM) by doing the reverse of what we do to convert a Dream ROM?
i.e.
unpack rom zip
unpack boot.img
rename init.sapphire.rc to init.trout.rc (we would do this the other way round)
repack boot.img
repack rom zip
resign rom zip
???
It might be an interesting experiment to try, you'd be using a known good set of extended RAM settings and could see whether the concept can be applied to the Dream at all.
The memory map is compiled in the kernel for each separate board. Changing the init scripts won't do anything to the memory.
The EBI memory map is very similar on trout (dream/G1) to sapphire meaning biktor_gj's method of extending the linux memory on sapphire should overwrite GPU1 memory too, unless he moved GPU1 to some other memory location?
daproy said:
The EBI memory map is very similar on trout (dream/G1) to sapphire meaning biktor_gj's method of extending the linux memory on sapphire should overwrite GPU1 memory too, unless he moved GPU1 to some other memory location?
Click to expand...
Click to collapse
I have a modded Cyanogen Kernel with this RAM Mod and it works w/o reboots.
Only thing I've noticed is a lag in Hyperspace (3DGame), but I don't know if this is an issue of the kernel, but CM-Experimental itself.
maxisma said:
I have a modded Cyanogen Kernel with this RAM Mod and it works w/o reboots.
Only thing I've noticed is a lag in Hyperspace (3DGame), but I don't know if this is an issue of the kernel, but CM-Experimental itself.
Click to expand...
Click to collapse
hyper space works ok the 41.111.

Kernel- Ziggy Kernel - update 11/24- credit to ziggy471

11-24-2010 UPDATE
http://www.ziggy471.com/2010/11/24/ziggy471-kernels-incbravoevo-updated-24-nov/
11-14-2010 UPDATE
http://www.ziggy471.com/2010/11/14/ziggy471-kernels-incbravoevo-updated-14-nov/
11-13-2010 UPDATE
http://www.ziggy471.com/2010/11/13/ziggy471-kernels-incbravoevo-updated-13-nov/
11-05-2010 UPDATE - Sorry for the late update!
http://www.ziggy471.com/2010/11/05/ziggy471-evo-kernels-fps-fixed-updated-5-nov/
10-28-2010 UPDATE
http://www.ziggy471.com/2010/10/28/betaziggy471-evo-kernel-updated-28-oct/
10-26-2010 UPDATE!
ZIGGY updated the kernel. Here is the link. (It's the link that has evo in it)
http://www.ziggy471.com/2010/10/26/...credible-aospevobravo-kernels-updated-26-oct/
ZIGGY, thanks for visiting this thread and thanks for a great kernel.
10-25-2010
Hey Everyone, first of all I DO NOT take any credit for this kernel. I came across it in Myn's Rom thread and since it didn't have it's own thread, I just wanted to start one so people could find it easily. I also noticed it in VirusRom's thread. So whoever ziggy is, thanks a lot! I'm getting great battery life on this kernel and according to the threads, it looks like others are also. Here's the link to ziggy471 website with the download. Thanks again ziggy!
http://www.ziggy471.com/downloads/?did=31
source can be found here ~~~> https://github.com/ziggy471/linux-2.6.32.25/tree/evo
gotshores said:
Hey Everyone, first of all I DO NOT take any credit for this kernel. I came across it in Myn's Rom thread and since it didn't have it's own thread, I just wanted to start one so people could find it easily. I also noticed it in VirusRom's thread. So whoever ziggy is, thanks a lot! I'm getting great battery life on this kernel and according to the threads, it looks like others are also. Here's the link to ziggy471 website with the download. Thanks again ziggy!
http://www.ziggy471.com/downloads/?did=31
Click to expand...
Click to collapse
+1 on this bro! Found the kernel this morning while looking for bakes kernel lol. Awsome one got lil lags here n their but can b workable
Sent from my PC36100 using Tapatalk
ya man, i ran it the other day and had great battery, but i thought it had affected my 4g connection, so i flashed another kernel. i reflashed ziggy's today because i missed the battery effect and i haven't had any issues all day (4G connects just fine). I not too technical, so i don't know the in's and out's of this kernel, but i do notice my battery life at the end of the day.
you said that you came across it on Myn's ROM. Is that the ROM your currently running? Just want to see how it works on others
ya, i'm using myn's rom and have only used that so far. would be interesting to see how it run's on other roms
im using a htc evo 4g with ziggys Ziggy471Kernel-EVO-update_signed-10242010-1644
on the download page it says alot but doesnt really explain how to access anything.
http://www.ziggy471.com/2010/10/23/z...kernel-23-oct/
i cannot adb in, says device not found, but via terminal if i do lsmod i get this
bcm4329 210342 0 – live 0xbf000000
if i try init.d or /proc/undervolt i get permission denied.
i did enter SU before entering anything, i dont know whats going on.
if i do cat /proc/undervolt i get the list of undervolt values like shown a few pages ago...
can anyone help?
Ziggy471 HTC EVO Kernel 23 Oct
NOTICE: I am not responsible for anything that may or may not happen to your phone, except for maybe it running faster. You break it, you fix it.
23 Oct 2010:
Kernel version 2.6.32.24
Overclocked
1.28GHz, I don’t recommend this setting, it doesn’t appear to work on the newer Desire ports. I recommend 1.113 or 1.15.
BFS 357 CPU Scheduler
BFQ IO Scheduler
Swap enalbed
SLUB (Unqueued Allocator)
All CPU governors, Interactive is the default
CPU Undervolt control via /proc/undervolt – built in, not a module
http://forum.xda-developers.com/showthread.php?t=775997&highlight=voltage+module
Fix for slow SD card access
http://forum.xda-developers.com/showthread.php?t=815557
CIFS
EXT4
TUN
A few tweaks here and there.
etc…
Also included in the update:
1. For any ROM that has busybox’s run-parts enabled, I added a screen state frequency/governor switching script, located in /system/etc/init.d. This means you do not have to use setcpu to control the frequency or governor anymore. If you prefer not using this script, delete it
The defaults for the script:
AWAKE_GOVERNOR=”interactive”
AWAKE_GOVERNOR_FREQENCY_MAX=”1113600″
AWAKE_GOVERNOR_FREQENCY_MIN=”245000″
SLEEP_GOVERNOR=”powersave”
SLEEP_GOVERNOR_FREQENCY_MAX=”460800″
SLEEP_GOVERNOR_FREQENCY_MIN=”245000″
2. remount script that will be installed to /system/bin.
Valid input format:
remount [ro|rw|status]
ro = read only (default)
rw = read write (to make modifications)
status = current mount mode
3. hosts file that blocks most ads, if you find more, let me know
also new kernel released on the 24th...
http://virusrom.com/Kernels/Ziggy471/Ziggy471Kernel-EVO-update_signed-10242010-1644.zip
hmm might give this kernel a try...I'm willing to try anything to save battery life...
intheb0x said:
Ziggy471 HTC EVO Kernel 23 Oct
NOTICE: I am not responsible for anything that may or may not happen to your phone, except for maybe it running faster. You break it, you fix it.
23 Oct 2010:
Kernel version 2.6.32.24
Overclocked
1.28GHz, I don’t recommend this setting, it doesn’t appear to work on the newer Desire ports. I recommend 1.113 or 1.15.
BFS 357 CPU Scheduler
BFQ IO Scheduler
Swap enalbed
SLUB (Unqueued Allocator)
All CPU governors, Interactive is the default
CPU Undervolt control via /proc/undervolt – built in, not a module
http://forum.xda-developers.com/showthread.php?t=775997&highlight=voltage+module
Fix for slow SD card access
http://forum.xda-developers.com/showthread.php?t=815557
CIFS
EXT4
TUN
A few tweaks here and there.
etc…
Also included in the update:
1. For any ROM that has busybox’s run-parts enabled, I added a screen state frequency/governor switching script, located in /system/etc/init.d. This means you do not have to use setcpu to control the frequency or governor anymore. If you prefer not using this script, delete it
The defaults for the script:
AWAKE_GOVERNOR=”interactive”
AWAKE_GOVERNOR_FREQENCY_MAX=”1113600″
AWAKE_GOVERNOR_FREQENCY_MIN=”245000″
SLEEP_GOVERNOR=”powersave”
SLEEP_GOVERNOR_FREQENCY_MAX=”460800″
SLEEP_GOVERNOR_FREQENCY_MIN=”245000″
2. remount script that will be installed to /system/bin.
Valid input format:
remount [ro|rw|status]
ro = read only (default)
rw = read write (to make modifications)
status = current mount mode
3. hosts file that blocks most ads, if you find more, let me know
also new kernel released on the 24th...
http://virusrom.com/Kernels/Ziggy471/Ziggy471Kernel-EVO-update_signed-10242010-1644.zip
Click to expand...
Click to collapse
Is there a changelog for the latest?
Trying it now. I wonder why he left out 2 of the most popular frequencies 1119 and 1228. Goes from 1115 to 1280, thats a pretty big jump......
myn said on his thread that he can confirm that adb doesn't work on the kernel released on the 24th also. if ziggy gets adb to work, he's gonna recommend it. i don't use adb, i do use terminal emulator every now and then, but haven't check to see if that wouldn't work either.
phistyle said:
hmm might give this kernel a try...I'm willing to try anything to save battery life...
Click to expand...
Click to collapse
I just grabbed it and id say Im a heavy user and i took it off the charger at 4:30am and it just died on me at 11 something ... id say pretty good battery life... using Myn's Rom
Problem with the broken adb shell is that it's causing some users to have problems using Titanium Backup. I love the kernel, but won't use it as a daily driver until Ti works without issue.
gotshores said:
myn said on his thread that he can confirm that adb doesn't work on the kernel released on the 24th also. if ziggy gets adb to work, he's gonna recommend it. i don't use adb, i do use terminal emulator every now and then, but haven't check to see if that wouldn't work either.
Click to expand...
Click to collapse
Crazy, ADB works fine for me with the one from the 24th.
do i have to go into adb shell in order to change the clock speed?
sorry im a newb...
f10g44 said:
do i have to go into adb shell in order to change the clock speed?
sorry im a newb...
Click to expand...
Click to collapse
you can use setcpu or Overclock wideget
nugzo said:
Crazy, ADB works fine for me with the one from the 24th.
Click to expand...
Click to collapse
you lucky ****er lol,
i think your the ONLY one adb shell is working for!
ugh,
we need to get someone in here that knows how to run and tweak this kernel.
its got so much crap built in and its hard to access it all, i wish there was a write up for us evo owners...
someone get ziggy in here or someone that knows about this!
The kernel that was released on the 24th seems to be well put together, I'm oc to the fullest and stable as can be, will report back what the battery life is.
Funny thing my ADB has nvr been broken and the 24th works fine for me
Sent from my phone.. I think Tapatalk???

[CLOSED][MOD][UPDATE][b_randon14's Triumph Tweak Mod v1.2][CLOSED]

Thread closed because I no longer own this device. The download links no longer work. Sorry for any inconvenience.
Works on the stock system and everything? If you made the stock Triumph experience that much better, Virgin Mobile owes you a debt of gratitude. Heck, I owe you a debt of gratitude!
...just let me make sure it works on my phone first.
Sent from my Frankenphone using Tapatalk
Yeah it should work. You just need to be rooted and have CWM to flash it. Other than that the stock kernel will run the install-recovery.sh script at boot, which will intern run my tweak scripts at boot and viola you have a tweaked out stock phone. In therory it should work with any stock based(no cm7/aosp) rom and kernel as long as the kernel hasn't been modified to not run intsall-recovery.sh at boot!
Yes it works on Stock, and it seems to be running faster, and smoother. Also my compass is now correct, and GPS seems to lock faster 5-8ish seeconds
Thanks! Rated 5.
Thanks! This will be the set of tweaks that my bROM will contain plus me and my brother are trying to get a kernel going. Hopefully we will have the oc up to 1900 maybe more plus were trying to get controllable undervolting for each frequency. There are alot of stuff were going to try to add to it if we can ever get it working. But its still a while down the road!
Sent from my OC'ed Triumph!
What did you change? I locked onto GPS in 2s, whereas my 2nd to last one took 256s, and the last attempt wouldn't lock at all.
yesterday my phone reported it was off the coast of Africa. I'm suing
In all serious though, have you increased the speed the system accesses the SD card? I want to know because I'm running SD Speed Increase and FasterFix, and if your mod fixes both I'll just trash them.
Sent from my Frankenphone using Tapatalk
Rezanow said:
What did you change? I locked onto GPS in 2s, whereas my 2nd to last one took 256s, and the last attempt wouldn't lock at all.
Click to expand...
Click to collapse
Times 2, I would like to know as well
Mine does that too lol, it locates me by africa in the atl ocean, but i just start up gps test and immediately finds my correct location.
Sent from my MOTWX435KT using XDA App
Just the config file for GPS. I found some various fixes. Yeah mine does that as well sometimes. I may look and see if I can fix that!
Yes the SD card read ahead as well ad entire mmc read ahead for the whole system is increased. Partitions are mounted as noatime, nodiratime.
Sent from my OC'ed Triumph!
So I can flash this on my existing ROM? Would be nice to have these tweaks but I dont want to start from stock again Also, I tried that OC kernel but gave me some issues. If I leave this at stock speed I should be ok right?
Sent from my rooted Moto Triumph
b_randon14 said:
Just the config file for GPS. I found some various fixes. Yeah mine does that as well sometimes. I may look and see if I can fix that!
Yes the SD card read ahead as well ad entire mmc read ahead for the whole system is increased. Partitions are mounted as noatime, nodiratime.
Sent from my OC'ed Triumph!
Click to expand...
Click to collapse
Yeah its no biggie seeing as how it immediately locates me after i start gps test, way better than waiting around seeing if it will even locate me at all.
Sent from my MOTWX435KT using XDA App
Fodoom said:
So I can flash this on my existing ROM? Would be nice to have these tweaks but I dont want to start from stock again Also, I tried that OC kernel but gave me some issues. If I leave this at stock speed I should be ok right?
Sent from my rooted Moto Triumph
Click to expand...
Click to collapse
Yeah you can flash this over the stock ROM. This leaves whatever kernel you have intact so if you got the stock kernel it will leave it. But yeah this is pretty universal!
b_randon14 said:
Just the config file for GPS. I found some various fixes. Yeah mine does that as well sometimes. I may look and see if I can fix that!
Yes the SD card read ahead as well ad entire mmc read ahead for the whole system is increased. Partitions are mounted as noatime, nodiratime.
Sent from my OC'ed Triumph!
Click to expand...
Click to collapse
How does this compare to the advanced system tweaks that are a part of Autokiller Memory Optimizer? A few of which might overlap with what you have done.
b_randon14 said:
Yeah you can flash this over the stock ROM. This leaves whatever kernel you have intact so if you got the stock kernel it will leave it. But yeah this is pretty universal!
Click to expand...
Click to collapse
Thanks duder. I'll flash this puppy when I get off work.
Sent from my rooted Moto Triumph
cant wait to flash this! im a newb at this stuff though. how do i root and get CWM on my phone? also, i dont know where to get the drivers i need
Rezanow said:
How does this compare to the advanced system tweaks that are a part of Autokiller Memory Optimizer? A few of which might overlap with what you have done.
Click to expand...
Click to collapse
Well I couldn't ever get the noatime tweaks of autokiller to actually work. And my tcp tweaks increase the tcp buffer window even more than autokillers. And autokillers I/o tweaks only work on the cfq scheduler and none of our kernels use cfq. We have noop anticioatory and deadline. The others I'm not to sure about!
Sent from my OC'ed Triumph!
i installed your tweak and now im in africa..
My gps said I was in africa until I turned on wifi, but now it only locks at 2000 meters.
Sent from my rooted Moto Triumph

[TUT][Script]v6 Supercharger and Kick Ass Kernelizer script WORKS

Hello. The supercharger script by zep worked great on my galaxy ace. Now, has anyone been able to use it with the tab+? I think it would be a huge help to remove kauncher redraws and in improving the battery life. Do you guys think it would work on our tab? Our brothers from the gtab 10.1 were able to use it. http://forum.xda-developers.com/showthread.php?t=1256796&page=24
Click to expand...
Click to collapse
EDIT. 12/29/2011
Okay. Since no one bothered to reply, i took the risk and applied the script. To cut to the chase, IT WORKS. There are no launcher redraws and my tab sure feels a lot smoother. I also have 400 used RAM instead of 600 after a restart. Not to mention, i now have 6037 AnTuTu benchmark score as opposed to the 5700 that i got before supercharging.
------------------------------------------------------------------------
EDIT. 12/31/2011
------------------------------------------------------------------------
EDIT. 02/02/12
(I updated the versions to their latest in accordance with zepp's latest released scripts. supercharger 5.2 and KAK 3.1. The steps to be followed are still the same.)
If anyone wants to try, here are the steps that i followed.
BUT first things first.
CREDIT GOES TO zeppelinrox FOR HIS GREAT WORK ON THIS SCRIPT.
I ALSO WOULD LIKE TO THANK mroneeyedboh FOR THE STEPS HE PROVIDED OVER THE GTAB 10.1 FORUMS.
Original supercharger thread http://forum.xda-developers.com/showthread.php?t=991276
GTAB 10.1 supercharger guide http://forum.xda-developers.com/showthread.php?t=1256796
P6200 CWM and Root by garyd http://forum.xda-developers.com/showthread.php?t=1392348
***You MUST be rooted and have busybox 1.18.2 or upper (I have 1.19.3)***
So let's cut to the chase!
DOWNLOAD THE FOLLOWING.
v6 Supercharger script U9 RC5.2 http://forum.xda-developers.com/attachment.php?attachmentid=877591&d=1327834355
Script Manager https://market.android.com/details?id=os.tools.scriptmanager&feature=search_result
Zepp's original post with the log changes http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
Save the supercharger script anywhere on your storage
Run Script Manager and press Browse as Root (the one under Install). When the SU dialog appears press allow.
While on Script Manager, browse to where you save the supercharger script click it
A new window would appear. Press the "Su" icon under the Run button at the upper left hand corner. Press Run.
A lot of codes would appear. Some sort of system check bla bla bla. Just a little patience...
"Press Return Key... and Come Get Some!!" would appear. DON'T PRESS THE RETURN KEY. Press anywhere and press any key and then press enter.
You would then see a lot of options 1-31. Please enter number 9.
It would now run the setting we chose. Like lowmemkiller values, OOM groupings, Kernel/Mem Tweaks, etc..
If an option to not use Build.prop appears, cause it might cause boot loops, then allow the creation of local.prop (i think. i can't remember). Just follow your heart. haha
Press the back soft key. "Script is running. What do you want?" Choose Kill.
Since we're all using stock ROMs (for the moment), press the back soft key until you reach the ROOT directory. Then open the Data folder and click on the 99Supercharger.sh
Then under the Run button, press the icon for Su and Boot. This would automate the supercharger script upon boot. Then press run and then kill the script.
Run the first script again (yup the one from Step 1). and now, choose option number 30. It would now super clean the system and restart.
DONE! Feel the difference!
If I missed anything, please inform me.
You could also install the Kick Ass Kernel Tweaks (KAK) from here http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021. Get the update 3 RC3.1
KAK Direct Download http://forum.xda-developers.com/attachment.php?attachmentid=877590&d=1327834355
IMPORTANT!!!!! Just follow the steps from above and be sure not to apply the IO Tweak as it is very unstable and might cause boot loop
Then using step number 11, navigate to 98KickAssKernelizer.sh and make it run upon boot.
Reboot your device and DONE!
Based on MY observations, here are the changes that I noticed.
Completely no launcer redraws (wherein the widgets disappear and appear. it's like refreshing in windows), I'm using the default Touchwiz UX.
There is no delay with the Task Switcher. (the third soft key) Before applying the script, I had like 1-1.5 second delay with it. Now it only has 0.5 or so.
The RAM usage is stable at 530-570. Compared to 660 before supercharging
The best part about this script is that multi-tasking has been easier. Jumping from one app to another is now a breeze. Applications start faster than before.
The thing is, our tablet is already blessed with great hardware which is why it is already fast and smooth to begin with. BUT, there is always room for improvements. FACT.
BR
That's impressive!
I have the P6210. Are you using the P6200 with the 3g?
Dan
Interesting find. Would you mind sharing the installation process. From the original post seems quite easy, but on the 10.1 tread it looks way more complicated.
P_
rp518dan said:
I have the P6210. Are you using the P6200 with the 3g?
Dan
Click to expand...
Click to collapse
Yes. i have the P6200 with 3G. I think the process and result would be the same with the P6210.
pakalrtb said:
Interesting find. Would you mind sharing the installation process. From the original post seems quite easy, but on the 10.1 tread it looks way more complicated.
P_
Click to expand...
Click to collapse
okay. i'll update it in a while.
just tried it, enabling the 99supercharger.sh and 98kickasskernel.sh at boot threw me into a boot loop. it said to make sure to enable at boot, so i did. will give it another try or just manually add custom lines to build.prop ..
chrisrotolo said:
just tried it, enabling the 99supercharger.sh and 98kickasskernel.sh at boot threw me into a boot loop. it said to make sure to enable at boot, so i did. will give it another try or just manually add custom lines to build.prop ..
Click to expand...
Click to collapse
really? I wonder why. I did not encounter any boot loop. Could you check my steps that i just posted and compare it with the steps that you did?
Also, what busybox version did you use?
I think it's with the KAK Tweak. Maybe you applied the IO scheduler?
as quoted from zeppelinrox
Updated August 1: Added Kick Ass Kernel Tweak Installer but without io scheduler tweaks. Use this new script if you try the regular Kick Ass Kernel Tweak Installer and get a boot loop! (My apologies to those that got the boot loops )
Click to expand...
Click to collapse
SOURCE: http://forum.xda-developers.com/showpost.php?p=15948434&postcount=1127
And you think that I would wait for tutorial or tester to try it out !?!?!
OK, I did the following :
1) downloaded the script and put it in the sd card ( not external sd ) root
2) downloaded and installed script manager
3) run the SM and selected the script
4) selected run as root and hit the RUN
5) selected 1 as scrolling speed
6) selected 9 ( MegaRam 2 )
7) selected 17 = Exit
8) broswed back to ../data and selected the 99supercharger.sh file
9) selected the run as root and run at boot option
10) Save and Exit the SM
11) Rebooted
All fine ( I mean no bootloop ) but to be quite honest NOTHING changed in terms of performance. I double checked that the script was run at boot and it did, since the values have been changed.
But the benchmarks are the same and the tab seems lagging as usual.
Also the amount of free RAM have not changed from previous stock configuration.
I fear that the main problem is GoLauncher, that seems to have slowed down the tab even more after the last update.
P_
---------- Post added at 12:01 PM ---------- Previous post was at 11:44 AM ----------
chrisrotolo said:
just tried it, enabling the 99supercharger.sh and 98kickasskernel.sh at boot threw me into a boot loop.
Click to expand...
Click to collapse
What do U mean by boot loop, and how did you get out of it ?
P_
pakalrtb said:
And you think that I would wait for tutorial or tester to try it out !?!?!
OK, I did the following :
1) downloaded the script and put it in the sd card ( not external sd ) root
2) downloaded and installed script manager
3) run the SM and selected the script
4) selected run as root and hit the RUN
5) selected 1 as scrolling speed
6) selected 9 ( MegaRam 2 )
7) selected 17 = Exit
8) broswed back to ../data and selected the 99supercharger.sh file
9) selected the run as root and run at boot option
10) Save and Exit the SM
11) Rebooted
All fine ( I mean no bootloop ) but to be quite honest NOTHING changed in terms of performance. I double checked that the script was run at boot and it did, since the values have been changed.
But the benchmarks are the same and the tab seems lagging as usual.
Also the amount of free RAM have not changed from previous stock configuration.
I fear that the main problem is GoLauncher, that seems to have slowed down the tab even more after the last update.
P_
Click to expand...
Click to collapse
Hmmm.. Maybe it's because we have different applications installed, settings, etc. With my experience, there are some very noticeable changes.
Completely no launcer redraws (wherein the widgets disappear and appear. it's like refreshing in windows), I'm using the default Touchwiz UX.
There is no delay with the Task Switcher. (the third soft key) Before applying the script, I had like 1-1.5 second delay with it. Now it only has 0.5 or so.
The RAM usage is stable at 530-570. Compared to 660 before supercharging
The best part about this script is that multi-tasking has been easier. Jumping from one app to another is now a breeze. Applications start faster than before.
I think it may hav had to do with changing the I/O tweaks from local.prop to build.prop, it said it was dangerous. after reboot about 20 sec or so SuperUser toast says script manager was granted root permissions, meaning the 98/99.sh scripts were loaded. I didnt run the v6script at boot. after about the 3rd reboot, I had time to go into app drawer and quickly drag uninstall and it stopped constant reboot.
tried the instructions in the OP and i can confirm this works on my P6200 and solved a lot of the lag I had.
Sent from my GT-P6200 using xda premium
Hmm, I had originally used the V8 version . I have uncharged, wiped the cache and recharged it with RC4 9V . But still the same. I do not see any difference from the original performances and the Antutu Benchmark gives pretty much the same results as before. I was hoping my tab would fly out of my hands after this hack ......... but not really
Curious to read about others, it looks like we have only 3 brave souls so far
P_
pakalrtb said:
Hmm, I had originally used the V8 version . I have uncharged, wiped the cache and recharged it with RC4 9V . But still the same. I do not see any difference from the original performances and the Antutu Benchmark gives pretty much the same results as before. I was hoping my tab would fly out of my hands after this hack ......... but not really
Curious to read about others, it looks like we have only 3 brave souls so far
P_
Click to expand...
Click to collapse
Haha yeah. And I am hoping that there would be more brave souls in the Development Section.
What score did you get in the Antutu Benchmark?
5648/5804/5727 three consecutive tests.
uncharged everything and got back to stock config : 5654/5841/5708
After uncharging I still got left a 1000HP Super-(6,12,200,220,240,275).sh file in ../data
P_
Bump.
No more testers?
P_
I am giving it another shot .
The only noticeable difference is that the amount of available RAM is always around 300 mb. BUT this also tend to decrease ( sometimes to 100 ) with extended use. With stock configuration I'd have 100/250 available, with the system bumping it up to about 300 when it was going lower than 100.
As for the quick access button, it's definitely snappier when you turn the device on, but it goes back to about 1 sec after a while.
I have a P6200 and applied the script, look smooth then before applied the script. Thanks for the instruction
Hey just wondering if anyone knows how to remove this script..Thanks!
Sent from my GT-P6200.
DevilBeyond said:
Hey just wondering if anyone knows how to remove this script..Thanks!
Sent from my GT-P6200.
Click to expand...
Click to collapse
It has an option to unsupercharge. It's listed in the menu with the different options of supercharging etc.
I'm currently suggesting that people do NOT use this script.
There are bugs in the GT-P62x0 kernel(s) that can (and do) cause kernel panics. Under normal circumstances, those panics would cause your tablet to simply reboot.
However, this "supercharger" script overrides a kernel parameter and prevents the kernel from rebooting on a panic, instead forcing it into an infinite loop. Instead of the bug rebooting your tablet, it causes your tablet to be frozen (if the screen is off, it appears to be a so-called sleep of death.)
To make matters worse, if this situation occurs when the tablet is running on battery power (not plugged in), then the infinite loop will completely deplete your tablet's battery (which can harm it.)
Take care
Gary
I have used supercharger on my phone without issue but after
reading what Gary discovered, I won't be using it again.
Thanks Gary

[A510][KERNEL][2012-11-18] ThrillsKernel V2 & V3

ThrillsKernel for the Acer Iconia TAB A510
version 2012-11-18, built from source​
Here it is, the first ever non-stock kernel for the Acer Iconia TAB A510, dubbed the "ThrillsKernel"!
What's in this kernel:
Comes in two flavors: V2 for ICS ROMs and V3 for JB ROMs
Removed 'Samsung EMMC brick' bug: This prevents your internal memory from becoming corrupted.
CPU Governors: Interactive, conservative, ondemand, powersave, userspace, performance, SmartassV2 and lulzactive.
I/O schedulers: Noop, deadline, CFQ, Simple I/O, V/R and BFQ.
Removed Acer mount security: Now you can mount system as r/w.
NTFS, CIFS, and MD4 support
Tegra3 optimizations
Various other performance tweaks
Installation:
Step 0:
Check this thread to see if you can help the community before you let us help you!
Step 1:
If you don't have it already, install my CWM-Based Recovery.
Step 2:
Download the kernel from this post, extract the .RAR files and put the .ZIP file on your internal or external SD Card.
Step 3:
Start Recovery by powering down your device, holding the Volume down (**) button and turning it on again.
Step 4:
Make a Nandroid Backup. I can't stress this enough. Select backup and restore and choose one of the backup options.
Step 5:
Install this ROM by choosing install zip from sdcard and then choose zip from sdcard or choose zip from external sdcard.
Step 6:
Wait for the installation to finish (this takes a few minutes). Spend your time reading the text below these installation instructions!
Step 7:
Select wipe dalvik cache from the advanced menu, thenreboot system now, and enjoy!
Please read the following carefully before installing this kernel:
I am not responsible for anything you do to your tablet. Whatever you do, you do it at your own risk!
Which version should I install?
ThrillsKernel2 is built on the 2.6.39 linux kernel and intended for A510 tablets with a ICS ROM installed. That's Android version 4.0.0, 4.0.1, 4.0.2, 4.0.3 or 4.0.4.
ThrillsKernel3 is built on the 3.1.10 linux kernel and intended for A510 tablets with a JB ROM installed. That's Android version 4.1.0, 4.1.1 or 4.1.2. There is no support for 4.2+ yet.
FAQ:
Want to use ThrillsKernel in your own ROM? Go ahead, make my day.
Need ***** added to the kernel? Let me know, and I will try!
Want to remove the kernel from a NoThrills ROM? Although it's not recommended, it's possible. Check the instructions in the respective ROM thread.
Want to give me your first born baby? I'd rather not have that, but if you really want to give me something: Either click the 'Donate to me' button on the left, or simply hit the 'Thanks' button on this post.
Changelog:
The ThrillsKernel has the date as version number, e.g. version 20121118 is November 18th, 2012. You can check the status (or changelog, whatever you will) of the kernel by visiting the commit history of my github page:
Click here for updates to ThrillsKernel2
Click here for updates to ThrillsKernel3
Just check what the date of the ThrillsKernel is, and you can simply look at the dates of the commits to see if it's included in the kernel or not. Example: With the version from November 18th, any commit up untill that date is included in the kernel. With the 20120917 version, every commit up untill September 17th is included in the kernel.
​
Downloads:
The kernel is not released on its own yet, because I haven't been able to test it on many ROMs. If you want it, install any of my ROMs:
NoThrills A510 WorldWide optimized Stock ROM
NoThrills A510 "Franken700" Stock ROM
NoThrills A510 Unofficial CyanogenMod 10
ThrillsKernel is included with these ROMs as of 2012/09/17. Developers, feel free to extract the kernel and use it in your own ROMs.
Great new!
NoThrills said:
[*]Removed Acer mount security: Now you can mount system as r/w.​
Click to expand...
Click to collapse
So it was Acer who was messing with remounting system RW?
Suggestion- maybe switching to TinyRCU is a good idea? It has a lower memory footprint and performs faster​
gen_scheisskopf said:
So it was Acer who was messing with remounting system RW?
Click to expand...
Click to collapse
yep, great catch by nothrills, i should have seen this one
Is it possible to extend the minimum level brightness ?
When i read on night, it's too high.
maybe this can help http://forum.xda-developers.com/showthread.php?t=1644345
or maybe by using an dedicated app but...
kiteman44 said:
Is it possible to extend the minimum level brightness ?
When i read on night, it's too high.
maybe this can help http://forum.xda-developers.com/showthread.php?t=1644345
or maybe by using an dedicated app but...
Click to expand...
Click to collapse
It might be, never looked into it as I have used Screen Filter since forever
kiteman44 said:
Is it possible to extend the minimum level brightness ?
When i read on night, it's too high.
maybe this can help http://forum.xda-developers.com/showthread.php?t=1644345
or maybe by using an dedicated app but...
Click to expand...
Click to collapse
I used to use rootdim on my thrive to get it so low I could use the tab as an alarm clock with the screen on and facing me all night.
But trying the same on this a510, the backlight just goes completely off if I try to set it any lower than default. So I wonder if it is a hardware limitation.
It would be nice though. This thing makes my eyes hurt in the morning on the bus to work.
Overclock possible please? Thanks.
Sent from my Galaxy Nexus using Tapatalk 2
kiteman44 said:
Is it possible to extend the minimum level brightness ?
When i read on night, it's too high.
maybe this can help http://forum.xda-developers.com/showthread.php?t=1644345
or maybe by using an dedicated app but...
Click to expand...
Click to collapse
I would absolutely love this feature. I dont like apps messing with my system...
Working A510 CIFS at last!!!
NoThrills said:
ThrillsKernel for the Acer Iconia TAB A510 version 2012-09-17, built from source
[*]NTFS, CIFS, and MD4 support
The kernel is not released on its own yet, because I haven't been able to test it on many ROMs. If you want it, install any of my ROMs:
Click to expand...
Click to collapse
I'm currently quote happy with the stock ROM apart from the lack of CIFS so I took the modules from /system/lib/modules [NoThrills A510 WorldWide optimized Stock ROM] and copied them to my stock (but rooted) A510.
CIFS works perfectly!
Thanks!:good:
Feedback:
I've tried Smartass v2 and Lulzactive and they seem to eat up more juice.
I then checked System Tuner Pro for my CPU times, and I noticed that my CPU would only go from inactive to 1.3 or 1.4GHz. It doesn't use the values in between.
I then switched to Interactive, and I can see the CPU clocks like 400+ and 600+ used again.
Not sure if it's just me though, but I'm putting it out there for everyone to test. Nevertheless, I love this kernel, I love the optimized A510 that you released as it fixed my screen responsiveness issue entirely. Take that Acer!
Another question, what's the best app to tweak the CPU governor? Or I guess... what do you use NoThrills?
salisbury_steak said:
Another question, what's the best app to tweak the CPU governor? Or I guess... what do you use NoThrills?
Click to expand...
Click to collapse
I'd say NoFrills CPU Control- works fine on ICS/JB
Other one is SetCPU but last time I used it there were problems on ICS (January/February)
I've used SetCPU without problems myself. I do however have the purchased version, which is different from the free version that can be found on XDA. That one doesn't seem to be updated anymore.
I've posted about my touchscreen problems in some games in the Optimized ROM thread.. but no answers there. The problem is only there when I use the NoThrills kernel... the stock kernel works good. Have you got any idea what the problem can be?
I had the same problem with some games too ... so I came back to stock kernel
another bug I noticed: battery can't charge to 100%, always blocking at 99%
meldrak said:
I had the same problem with some games too ... so I came back to stock kernel
another bug I noticed: battery can't charge to 100%, always blocking at 99%
Click to expand...
Click to collapse
I just charged to 100% yesterday, it worked.
Did you try to restart your tablet, then charge again?
salisbury_steak said:
I just charged to 100% yesterday, it worked.
Did you try to restart your tablet, then charge again?
Click to expand...
Click to collapse
I didn't reboot just after being blocked at 99%
but between 2 charges I rebooted it and in both case blocking at 99
I came back to stock kernel so I can't test it again
Aaargh, I hate all this touch problems with this f#@$ tablet. Games only playable with the stock kernel, but a piano app is not usable because it doesn't always detect your fingers. Sometimes it's perfect, you can press up to 10 keys at the same time, and sometimes it doesn't recognize two fingers. So I probably need the custom kernel for this.. but I don't want to flash a different kernel for different apps.
This is really the worst device I've ever bought, I hate this piece of crap. I hope this annoying problem will be solved in some future kernels but untill now there isn't a perfect one out there which solves all the problems. No offence to anyone, I know it's all in your spare time, but it's a rant to Acer. A device of about €450 which is soo bad, that's some really bad engineering!
Maybe this new file format would be considerated (or not ) ?
http://www.muktware.com/4485/samsung-creates-new-file-system-f2fs-linux-good-news-android#.UHPclVFKSVh
How to implement
https://lkml.org/lkml/2012/10/5/205
some benchmark results post by the F2FS author : http://www.mail-archive.com/[email protected]/msg318439.html
1. iozone in Panda board
- ARM A9
- DRAM : 1GB
- Kernel: Linux 3.3
- Partition: 12GB (64GB Samsung eMMC)
- Tested on 2GB file
seq. read, seq. write, rand. read, rand. write
- ext4: 30.753 | 17.066 | 5.06 | 4.15
- f2fs: 30.71 | 16.906 | 5.073 | 15.204
2. iozone in Galaxy Nexus
- DRAM : 1GB
- Android 4.0.4_r1.2
- Kernel omap 3.0.8
- Partition: /data, 12GB
- Tested on 2GB file
seq. read, seq. write, rand. read, rand. write
- ext4: 29.88 | 12.83 | 11.43 | 0.56
- f2fs: 29.70 | 13.34 | 10.79 | 12.82

Categories

Resources