[scripts pack] tgb gaming/performance engine V2

shreyas.kukde

Senior Member
Feb 4, 2011
726
668
0
Pune


What is the GingerBlurB Engine?


Its a Scripts Package I created. It combines the scripts which I personally chose to make ROMS and my ROM too more smoother and increase the overall performance. It also makes Games perform better.


Note: Dont use any other scripts package, it may conflict and may make your phone not boot. For max performance, use with The GingerBlurB V3 ROM.

Features
✔ Increase touchscreen sensitivity
✔ Less RAM usage
✔ Reduced usage of *.db files and faster database access.
✔ Faster disk access through remount script (noatime, disabled barrier etc)
✔ Better network throughput from TCP tweaks and 3G tweaks
✔ Overall Better Performance and Battery Life
✔ Less lags through LMK Tweak and Various VM Tweaks
✔ Faster SDCARD Read/Write Speed


Requirement: Kernel and ROM which supports init.d scripts.

I want to thank you the following people for I took their scripts and included it in my engine:

Loopy
Pikachu
Zeppelinrox
Imbawind
Slaid480


Changelog:
This is a smaller update which has updated CFS kernel tweak by thachtunganh

GET THE ENGINE HERE. V2
 
Last edited:

shreyas.kukde

Senior Member
Feb 4, 2011
726
668
0
Pune
Well, don't have to call me sir :)
We are the same :D.

And i have some tweaks for CFS kernel, i will send them to you later.

Sent from my LG-P500 using xda premium
yes, but I respect talent very much. And you have done too much for this O1 Community.
Anyways, send me the tweaks anytime bro and I'll include it for sure :)
 

dnle71

Senior Member
Nov 9, 2011
914
194
0
Hmmm... there is no /dbdata and /datadata folder on root.*

You might wanna delete it....

Edit: You might wanna review your script, you already had v6 & kak on /system/xbin but there are the same scripts that conflicts it on /system/etc/init.d. And there is no /sys/devices /virtual/bdi/0:18 folder on the 09sdcardspeedfix, and also how can you be so sure that all script located on /system/xbin work, when it's not being called..

Sent from my LG-P500 using xda premium
 
Last edited:

shreyas.kukde

Senior Member
Feb 4, 2011
726
668
0
Pune
Oppss,, forgot the terminal emulator(so focused about executing it on boot)..

Sent from my LG-P500 using xda premium
yeah, maybe I'll make it in v2 :)
and about the sdcardspeedfix, I got no idea because that script is from slaidy, i did not modify any of it except the loopysmoothness, can you help fix it bro?
 

thachtunganh

Senior Member
Mar 19, 2011
1,695
1,901
0
Hà Nội - Hanoi
I've just checked your script... You got almost my tweaks :D
This is what i have:

Code:
# IBM recommandation cfs task scheduler
echo 1000000 > /proc/sys/kernel/sched_latency_ns #10000000
echo 25000 > /proc/sys/kernel/sched_wakeup_granularity_ns #2000000
echo 100000 > /proc/sys/kernel/sched_min_granularity_ns #4000000

# Use ondemand as default kernel
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 85 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
This is from Galaxy Spica device, it's tweak for CFS Kernel.


Oh, and in /system/etc/init.d/S98system_tweak, i saw the smartassV2 tweaks, it ISN'T For our device, use my tweak instead:

Code:
# ============
# smartassV2 
# ============

	if [ -e /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq ]; then

		echo "768000" > /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq;
		if [ "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq`" -eq 200000 ]; then
			echo "320000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;
		else 
			echo "245760" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;
		fi;
		
		echo "99999999" > /sys/devices/system/cpu/cpufreq/smartass/sleep_wakeup_freq;
		echo "85" > /sys/devices/system/cpu/cpufreq/smartass/max_cpu_load;
		echo "75" > /sys/devices/system/cpu/cpufreq/smartass/min_cpu_load;
		echo "256000" > /sys/devices/system/cpu/cpufreq/smartass/ramp_down_step;
		echo "0" > /sys/devices/system/cpu/cpufreq/smartass/ramp_up_step;
	fi;
Test it :)!
 

shreyas.kukde

Senior Member
Feb 4, 2011
726
668
0
Pune
I've just checked your script... You got almost my tweaks :D
This is what i have:

Code:
# IBM recommandation cfs task scheduler
echo 1000000 > /proc/sys/kernel/sched_latency_ns #10000000
echo 25000 > /proc/sys/kernel/sched_wakeup_granularity_ns #2000000
echo 100000 > /proc/sys/kernel/sched_min_granularity_ns #4000000

# Use ondemand as default kernel
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 85 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
This is from Galaxy Spica device, it's tweak for CFS Kernel.


Oh, and in /system/etc/init.d/S98system_tweak, i saw the smartassV2 tweaks, it ISN'T For our device, use my tweak instead:

Code:
# ============
# smartassV2 
# ============

	if [ -e /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq ]; then

		echo "768000" > /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq;
		if [ "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq`" -eq 200000 ]; then
			echo "320000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;
		else 
			echo "245760" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;
		fi;
		
		echo "99999999" > /sys/devices/system/cpu/cpufreq/smartass/sleep_wakeup_freq;
		echo "85" > /sys/devices/system/cpu/cpufreq/smartass/max_cpu_load;
		echo "75" > /sys/devices/system/cpu/cpufreq/smartass/min_cpu_load;
		echo "256000" > /sys/devices/system/cpu/cpufreq/smartass/ramp_down_step;
		echo "0" > /sys/devices/system/cpu/cpufreq/smartass/ramp_up_step;
	fi;
Test it :)!
sure I'll test it tonight. one question, can u make something for keyboard lags? our low end device need it heavily.
 

-DarkKnight-

Senior Member
Mar 14, 2011
6,485
1,301
0
Gotham
For keyboard lags I just use smart keyboard

And I don't see any benchmark differences after flashing

I still get 2700 in quadrant

Sent from my LG-P500 using xda premium