[Galaxy S I9000 Android Development] didicola:
ok now that i read more is it ok?

#!/system/xbin/sh
touch /data/local/DevilSettinxExecuted.log
echo "DevilSettinx executed @`date`" >> /data/local/DevilSettinxExecuted.log
#
#
#
#####################################################################
#init.d-script for devil2-kernels
#v2.09 06-06-2012
#####################################################################
#
#
#
#####################################################################
#DESCRIPTION
#this script is based on the devil.json made by crack on 27-05-2012
#so credits go to him, i just copypasted it into this script
#and added some minor things myself.
#greetz,
#sUsH667
#####################################################################
#STRUCTURE OF THE SCRIPT
#name of the function
#description
#settinx possible
#function where you have to swap the ?? with your desired values
#####################################################################
#INSTRUCTIONS
#1. change ALL (really, ALL!!!) ?? to the values you want to set
#2. remove the .txt file extension
#3. copy the edited script to /system/etc/init.d/
#4. change permissions of script (eg with root explorer) to r-xr-xr-x
# (or to the permissions all the other scripts in init.d have)
#####################################################################
#
#
#
#####################################################################
#beginning of script
#####################################################################
#
mount -o remount,rw -t /dev/block/mtdblock5 /system
#
#RAM settings
#Choice between three RAM Settings
#0:CM9 378MB|1:XL 391MB|2:XL_bm 403MB
echo 2 > /sys/kernel/bigmem/enable && touch /data/local/devil/bigmem && echo 2 > /data/local/devil/bigmem
#
#Toggle ZRAM/Swap
#Toggles ZRAM/Swap
#0:Disable|1:Swap|2:ZRAM
echo 1 > /data/local/devil/swap_use
#
#Devil Idle
#Sets Devil Idle Mode
#0:Disable|1:Enable
echo 1 > /sys/class/misc/devil_idle/bus_limit && echo 1 > /data/local/devil/bus_limit
#
#Screen off - Min/Max Freq
#Toggles Min/Max Freq while screen off
#0:Disable|1:Enable
echo 1 > /sys/class/misc/devil_idle/user_min_max_enable && echo 1 > /data/local/devil/user_min_max_enable
#
#Screen off - Min Freq
#Sets minimum frequency while screen off
#100000:100|200000:200|400000:400|800000:800
echo 400000 > /sys/class/misc/devil_idle/user_min && echo 400000 > /data/local/devil/screen_off_min
#
#Screen off - Max Freq
#Sets maximum frequency while screen off
#1400000:1400|1300000:1300|1200000:1200|1000000:1000|800000:800|400000:400
echo 800000 > /sys/class/misc/devil_idle/user_max && echo 800000 > /data/local/devil/screen_off_max
#
#LiveOC target high
#Sets LiveOC High Target Frequency
#1400000:1400|1300000:1300|1200000:1200|1000000:1000|800000:800|400000:400|100000:100
echo 1400000 > /sys/class/misc/liveoc/oc_target_high
#
#LiveOC target low
#Sets LiveOC Low Target Frequency
#1400000:1400|1300000:1300|1200000:1200|1000000:1000|800000:800|400000:400|100000:100
echo 1000000 > /sys/class/misc/liveoc/oc_target_low
#
#Toggle Fast charge
#Enable Fast Charge Mode
#1:Fast charge|0:Normal charge
echo 0 > /sys/kernel/fast_charge/force_fast_charge
#
#Toggle Touchwake
#Toggles Touchwake
#1:Enable|0:Disable
echo 0 > /sys/class/misc/touchwake/enabled
#
#Touchwake Delay
#Sets Touchwake Delay
#30000:30sec|45000:45sec|60000:60sec
echo 45000 > /sys/class/misc/touchwake/delay
#
#Toggle Deep Idle
#Toggles Deep Idle
#1:On|0:Off
echo 1 > /sys/class/misc/deepidle/enabled
#
#Bluetooth kill
#Kill Bluetooth (cannot be enabled again until reboot)
#1:Disable Bluetooth|0:Enable Bluetooth
echo 1 > /sys/class/rfkill/rfkill0/soft
#
#Vibration Intensity
#Sets the vibration intensity
#43640:maximum|40140:default|31820:medium|25910:low|20000:minimum
echo 20000 > /sys/class/timed_output/vibrator/duty && echo 20000 > /data/local/devil/vibrator
#
#Fsync Control
#Toggles Fsync (better to keep Enable)
#0:Disable Fsync|1:Enable Fsync
echo 1 > /sys/class/misc/fsynccontrol/fsync_enabled && echo 1 > /data/local/devil/fsync
#
#Smooth UI
#Toggles Smooth UI
#0:Disable|1:Enable
echo 1 > /sys/class/misc/devil_tweaks/smooth_ui_enabled && echo 1 > /data/local/devil/smooth_ui
#
#Wifi Power Mode
#Sets Wifi Power Mode
#0:Powersave Wifi|1:Stronger Wifi
echo 1 > /sys/module/bcmdhd/parameters/uiFastWifi && echo 1 > /data/local/devil/wifi
#
#Governor Presets
#Sets Governor Presets Settings
#0:Normal|1:Smooth|2:Powersave
echo 0 > /sys/class/misc/devil_tweaks/governors_profile && echo 0 > /data/local/devil/profile
#
#Fudgeswap
#Sets Fudgeswap-Value
#512:standard
echo 512 /sys/module/lowmemorykiller/parameters/fudgeswap
#
#Deep Idle Stats
#Toggles Deep Idle-Stats
#0:disable|1:enable
echo 1 /sys/class/misc/deepidle/stats_enabled
#####################################################################
#end of script
#####################################################################