Skip to content
Browse files

v5.0i

  • Loading branch information...
1 parent 09ba454 commit 4b33a7a8c6c31ddf93782a7f2d28199c7862e379 @gokhanmoral committed Oct 30, 2012
View
16 res/customconfig/customconfig-helper
@@ -134,11 +134,11 @@ if [ ! -f $PROFILE_PATH/default.profile ];then
cp $DEFAULT_PROFILE $PROFILE_PATH/default.profile
chmod 777 $PROFILE_PATH/default.profile
fi
-if [ ! -f $PROFILE_PATH/battery.profile ];then
- cp $BATTERY_PROFILE $PROFILE_PATH/battery.profile
- chmod 777 $PROFILE_PATH/battery.profile
-fi
-if [ ! -f $PROFILE_PATH/performance.profile ];then
- cp $PERFORMANCE_PROFILE $PROFILE_PATH/performance.profile
- chmod 777 $PROFILE_PATH/performance.profile
-fi
+#if [ ! -f $PROFILE_PATH/battery.profile ];then
+# cp $BATTERY_PROFILE $PROFILE_PATH/battery.profile
+# chmod 777 $PROFILE_PATH/battery.profile
+#fi
+#if [ ! -f $PROFILE_PATH/performance.profile ];then
+# cp $PERFORMANCE_PROFILE $PROFILE_PATH/performance.profile
+# chmod 777 $PROFILE_PATH/performance.profile
+#fi
View
53 res/customconfig/customconfig.xml
@@ -37,66 +37,63 @@
<settingsPane description=""
name="CPU Scaling Settings">
+ <spinner description="This will set the default CPU governor. Default CPU governor will only be set during early stages of booting (before init.d execution) and can be overriden by later scripts or apps." name="Default CPU Governor" action="generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor">
+ <spinnerItem name="pegasusq" value="pegasusq"/>
+ <spinnerItem name="lulzactiveq" value="lulzactiveq"/>
+ <spinnerItem name="hotplug" value="hotplug"/>
+ <spinnerItem name="ondemand" value="ondemand"/>
+ <spinnerItem name="conservative" value="conservative"/>
+ </spinner>
<seekBar description="Scaling maximum frequency (Samsung default: 1200000)"
- name="scaling_max_freq" action="generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" unit=" kHz" min="100000" reversed="false" step="100000" max="1600000"/>
+ name="scaling_max_freq" action="generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" unit=" kHz" min="800000" reversed="false" step="100000" max="1600000"/>
<seekBar description="Scaling minimum frequency (Samsung default: 200000)"
- name="scaling_min_freq" action="generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq" unit=" kHz" min="100000" reversed="false" step="100000" max="1600000"/>
+ name="scaling_min_freq" action="generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq" unit=" kHz" min="100000" reversed="false" step="100000" max="500000"/>
</settingsPane>
</settingsTab>
<settingsTab name="GPU">
<settingsPane description="GPU Frequency Settings. Defaults frequencies are 100, 133, 160, 200 and 267. Voltage defaults are 900mV, 950mV, 1000mV and 1050mV." name="GPUFreq">
- <spinner description="Select the level to be used to boost GPU frequency when you touch the screen." name="Mali Touch Boost Level" action="generic /sys/module/mali/parameters/mali_touch_boost_level">
- <spinnerItem name="Disabled" value="0"/>
- <spinnerItem name="Step2" value="1"/>
- <spinnerItem name="Step3" value="2"/>
- <spinnerItem name="Step4" value="3"/>
- </spinner>
+ <checkbox description="Enabling VPLL mode may be unstable on some devices so do not complain if your device crash or burn. If you do not use VPLL Mode some frequency steps will be unavailable." name="VPLL Mode" action="generic01 /sys/module/mali/parameters/mali_use_vpll" label="VPLL Mode"/>
<spinner description="Changes the first GPU frequency step" name="GPU Freq Step1" action="gpu-freq 1">
+ <spinnerItem name="267MHz" value="267"/>
+ <spinnerItem name="200MHz" value="200"/>
<spinnerItem name="160MHz" value="160"/>
- <spinnerItem name="133MHz" value="133"/>
- <spinnerItem name="100MHz" value="100"/>
+ <spinnerItem name="108MHz" value="108"/>
<spinnerItem name="66MHz" value="66"/>
- <spinnerItem name="40MHz" value="40"/>
+ <spinnerItem name="54MHz" value="54"/>
</spinner>
<spinner description="Changes the second GPU frequency step" name="GPU Freq Step2" action="gpu-freq 2">
+ <spinnerItem name="330MHz" value="330"/>
<spinnerItem name="267MHz" value="267"/>
<spinnerItem name="200MHz" value="200"/>
<spinnerItem name="160MHz" value="160"/>
- <spinnerItem name="133MHz" value="133"/>
- <spinnerItem name="100MHz" value="100"/>
+ <spinnerItem name="108MHz" value="108"/>
<spinnerItem name="66MHz" value="66"/>
- <spinnerItem name="40MHz" value="40"/>
</spinner>
<spinner description="Changes the third GPU frequency step" name="GPU Freq Step3" action="gpu-freq 3">
<spinnerItem name="400MHz" value="400"/>
+ <spinnerItem name="330MHz" value="330"/>
<spinnerItem name="267MHz" value="267"/>
<spinnerItem name="200MHz" value="200"/>
<spinnerItem name="160MHz" value="160"/>
- <spinnerItem name="133MHz" value="133"/>
- <spinnerItem name="100MHz" value="100"/>
- <spinnerItem name="66MHz" value="66"/>
- <spinnerItem name="40MHz" value="40"/>
+ <spinnerItem name="108MHz" value="108"/>
</spinner>
<spinner description="Changes the fourth GPU frequency step" name="GPU Freq Step4" action="gpu-freq 4">
+ <spinnerItem name="520MHz" value="520"/>
+ <spinnerItem name="440MHz" value="440"/>
<spinnerItem name="400MHz" value="400"/>
+ <spinnerItem name="330MHz" value="330"/>
<spinnerItem name="267MHz" value="267"/>
<spinnerItem name="200MHz" value="200"/>
<spinnerItem name="160MHz" value="160"/>
- <spinnerItem name="133MHz" value="133"/>
- <spinnerItem name="100MHz" value="100"/>
- <spinnerItem name="66MHz" value="66"/>
- <spinnerItem name="40MHz" value="40"/>
</spinner>
<spinner description="Changes the fifth GPU frequency step" name="GPU Freq Step5" action="gpu-freq 5">
+ <spinnerItem name="520MHz" value="520"/>
+ <spinnerItem name="440MHz" value="440"/>
<spinnerItem name="400MHz" value="400"/>
+ <spinnerItem name="330MHz" value="330"/>
<spinnerItem name="267MHz" value="267"/>
<spinnerItem name="200MHz" value="200"/>
- <spinnerItem name="160MHz" value="160"/>
- <spinnerItem name="133MHz" value="133"/>
- <spinnerItem name="100MHz" value="100"/>
- <spinnerItem name="66MHz" value="66"/>
- <spinnerItem name="40MHz" value="40"/>
</spinner>
</settingsPane>
@@ -162,6 +159,8 @@
<settingsPane description="Other Settings" name="Other Settings">
<seekBar description="User adjustable gamma shift."
name="Gamma Shift" action="generic /sys/class/lcd/panel/user_gamma_adjust" unit="" min="-50" reversed="false" step="5" max="50"/>
+ <checkbox description="Enable slide2wake feature. Enabling this feature may decrease your battery life." name="Slide2Wake" action="generic01 /sys/devices/virtual/sec/sec_touchscreen/tsp_slide2wake" label="Slide2Wake"/>
+ <checkbox description="mDNIe sharpness tweaks from hardcore. Requires reboot to be effective." name="mDNIe Sharpness Tweaks" action="generic /tmp/mdniemod" label="mDNIe Sharpness Tweaks"/>
<checkbox description="Enable inverting the screen colors by quickly pressing Home button 4 times" name="mDNIe Negative Toggle" action="generic01 /sys/module/gpio_keys/parameters/mdnie_shortcut_enabled" label="mDNIe Negative Toggle"/>
<seekBar description="FB earlysuspend delay to run CRT animation when you turn the screen off."
name="FB Earlysuspend Delay" action="generickmem fbearlysuspend_delay 0 int" unit=" ms" min="0" reversed="false" step="100" max="500"/>
View
21 res/customconfig/default.profile
@@ -1,13 +1,13 @@
GPUFREQ1=66
-GPUFREQ2=100
+GPUFREQ2=108
GPUFREQ3=160
-GPUFREQ4=200
-GPUFREQ5=267
+GPUFREQ4=267
+GPUFREQ5=330
GPUVOLT1=900
GPUVOLT2=900
GPUVOLT3=950
-GPUVOLT4=950
-GPUVOLT5=1000
+GPUVOLT4=1000
+GPUVOLT5=1100
GPUTHRESHOLD1UP=80
GPUTHRESHOLD2DOWN=60
GPUTHRESHOLD2UP=80
@@ -16,16 +16,16 @@ GPUTHRESHOLD3UP=85
GPUTHRESHOLD4DOWN=70
GPUTHRESHOLD4UP=90
GPUTHRESHOLD5DOWN=80
-min_bl=50
-min_gamma=1
+min_bl=30
+min_gamma=0
max_gamma=24
rate=100
enable_mask=3
chargecurrent=1
logger=on
max_cpu_lock=2
secondcore=hotplug
-scheduler=deadline
+scheduler=cfq
scaling_governor=pegasusq
load_l1=20
load_h0=30
@@ -36,8 +36,6 @@ install_root=on
mov_hysti=5
suspend_freq=500000
user_gamma_adjust=0
-user_cr=128
-user_cb=128
blnww=off
cpustepcount=16
notification_enabled=off
@@ -47,6 +45,7 @@ bln_effect=0
touchkey_brightness=3000
led_fadeout=on
led_on_touch=on
+tsp_slide2wake=off
cpu_undervolting=0
smooth_level0=4
scaling_max_freq=1200000
@@ -55,8 +54,10 @@ usb_mode=default
GENTLE_FAIR_SLEEPERS=on
default_stats=off
mdnie_shortcut_enabled=on
+mdniemod=off
cfs_tweaks=0
mali_touch_boost_level=0
+mali_use_vpll=off
soundgasm_hp=0
dyn_brightness=off
sound_volume1=0
View
190 res/misc/gesture_set.sh
@@ -1,190 +0,0 @@
-#!/sbin/busybox sh
-
-#
-# Sample touch gesture actions by Tungstwenty - forum.xda-developers.com
-# Modded by GM and dorimanx.
-
-(
-echo "
-# Gesture 1 - swipe 1 finger near the top and one near the bottom from left to right
-1:1:(0|150,0|150)
-1:1:(330|480,0|150)
-1:2:(0|150,650|800)
-1:2:(330|480,650|800)
-
-# Gesture 2 - swipe 3 fingers from near the top to near the bottom
-2:1:(0|480,0|200)2:1:(0|480,600|800)
-2:2:(0|480,0|200)2:2:(0|480,600|800)
-2:3:(0|480,0|200)2:3:(0|480,600|800)
-
-# Gesture 3 - draw a Z with one finger while another is pressed on the middle left
-3:1:(0|150,0|150)
-3:1:(330|480,0|150)
-3:1:(0|150,650|800)
-3:1:(330|480,650|800)
-
-3:2:(0|150,300|500)
-
-# Gesture 4 draw a heart starting at middle lower part of the screen
-4:1:(200|280,699|799)
-4:1:(0|150,300|500)
-4:1:(200|280,300|500)
-4:1:(330|480,300|500)
-4:1:(200|280,699|799)
-
-# Gesture 5 swipe 3 fingers from near the bottom to the top
-5:1:(0|480,600|800)5:1:(0|480,0|200)
-5:2:(0|480,600|800)5:2:(0|480,0|200)
-5:3:(0|480,600|800)5:3:(0|480,0|200)
-
-# Gesture 6 - one finger on bottom right while another goes from top-left to middle and back
-6:1:(0|240,0|320) 6:1:(180|300,340|460) 6:1:(0|240,0|320) # top-left, middle, top-left
-6:2:(530|800,960|1280) # 2nd finger on the bottom right
-
-# Gesture 7 - one finger on bottom left while another goes from top-right to middle and back
-7:1:(530|800,0|320) 7:1:(180|300,340|460) 7:1:(530|800,0|320) # top-right, middle, top-right
-7:2:(0|240,960|1280) # 2nd finger on the bottom left
-
-# Gesture 8 - 2 fingers start from the top-left and bottom-left corners and end in the middle right, like an arrow
-8:1:(0|240,0|320) 8:1:(300|800,300|500) # top-left to middle-right
-8:2:(0|240,960|1280) 8:2:(300|800,300|500) # bottom-left to middle-right
-
-# Gesture 9 - 1 finger draws an X starting at the top left
-9:1:(0|240,0|320) # top left
-9:1:(530|800,960|1280) # bottom right
-9:1:(530|800,0|320) # top right
-9:1:(0|240,960|1280) # bottom left
-
-# Gesture 10 - 1 finger from bottom-left, bottom-right, bottom-left, bottom-right
-10:1:(0|240,960|1280) # bottom left
-10:1:(530|800,960|1280) # bottom right
-10:1:(0|240,960|1280) # bottom left
-10:1:(530|800,960|1280) # bottom right
-
-" > /sys/devices/virtual/misc/touch_gestures/gesture_patterns
-)&
-
-# Detect ICS or JB - bluetooth calls are different
-case "`getprop ro.build.version.release`" in
- 4.1.* ) is_jb=1;;
- * ) is_jb=0;;
-esac
-
-(while [ 1 ];
-do
-
- GESTURE=`cat /sys/devices/virtual/misc/touch_gestures/wait_for_gesture`
-
- if [ "$GESTURE" -eq "1" ]; then
-
- mdnie_status=`cat /sys/class/mdnie/mdnie/negative`
- if [ "$mdnie_status" -eq "0" ]; then
- echo 1 > /sys/class/mdnie/mdnie/negative
- else
- echo 0 > /sys/class/mdnie/mdnie/negative
- fi;
-
- elif [ "$GESTURE" -eq "2" ]; then
-
- # Power down the screen.
- input keyevent 26
-
- elif [ "$GESTURE" -eq "3" ]; then
-
- # Start the extweaks
- am start -a android.intent.action.MAIN -n com.darekxan.extweaks.app/.ExTweaksActivity
-
- elif [ "$GESTURE" -eq "4" ]; then
-
- echo "if blank GESTURE dont remove me." > /dev/null 2>&1
-
- # Edit and uncomment the next line to automatically start a call to the target number
- # WARNING / BONUS: This will work even in the lockscreen with a PIN protection
- # When you ready to add some phone, remove the # before service call...
-
- #service call phone 2 s16 "your girl number"
-
- elif [ "$GESTURE" -eq "5" ]; then
-
- # Start Camera APP
- # for CM10
- launch_flags="--activity-exclude-from-recents --activity-reset-task-if-needed"
-
- result=`am start $launch_flags com.sec.android.app.camera/.Camera 2>&1 | grep Error`
- [ "$result" != "" ] && result=`am start $launch_flags com.android.camera/.Camera 2>&1 | grep Error`
- [ "$result" != "" ] && result=`am start $launch_flags com.android.gallery3d/com.android.camera.CameraLauncher 2>&1 | grep Error`
- [ "$result" != "" ] && result=`am start $launch_flags com.android.camera/.Camera 2>&1 | grep Error`
-
- elif [ "$GESTURE" == "6" ]; then
-
- # Toggle bluetooth on/off
- service call bluetooth 1 | grep "0 00000000" > /dev/null
- if [ "$?" -eq "0" ]; then
- service call bluetooth 3 > /dev/null
- else
- [ "$is_jb" -eq "1" ] && service call bluetooth 5 > /dev/null
- [ "$is_jb" -ne "1" ] && service call bluetooth 4 > /dev/null
- fi;
-
- elif [ "$GESTURE" == "7" ]; then
-
- # Toggle WiFi on/off
- service call wifi 14 | grep "0 00000001" > /dev/null
- if [ "$?" -eq "0" ]; then
- service call wifi 13 i32 1 > /dev/null
- else
- service call wifi 13 i32 0 > /dev/null
- fi;
-
- elif [ "$GESTURE" == "8" ]; then
-
- # Simulate key press - Play/Pause
-
- # 26 = Power
- # 3 = Home
- # 24/25 = Volume up/down
- # 85 = Media Play / pause
- # 86 = Media stop
- # 87/88 = Media next / previous
- # 164 = Volume mute / unmute
-
- input keyevent 85
-
- elif [ "$GESTURE" == "9" ]; then
-
- # Simulate key press - Volume mute / unmute
-
- # 26 = Power
- # 3 = Home
- # 24/25 = Volume up/down
- # 85 = Media Play / pause
- # 86 = Media stop
- # 87/88 = Media next / previous
- # 164 = Volume mute / unmute
- # 187 = Recent apps
-
- input keyevent 164
-
- elif [ "$GESTURE" == "10" ]; then
-
- # Simulate key press - Home
-
- # 26 = Power
- # 3 = Home
- # 24/25 = Volume up/down
- # 85 = Media Play / pause
- # 86 = Media stop
- # 87/88 = Media next / previous
- # 164 = Volume mute / unmute
- # 187 = Recent apps
-
- input keyevent 3
- fi;
-
- # Small vibration to provide feedback
- service call vibrator 2 i32 50 i32 0
-
- sleep 3
-
-done &) > /dev/null 2>&1;
-
View
BIN res/misc/lights.exynos4.so
Binary file not shown.
View
BIN sbin/busybox
Binary file not shown.
View
37 sbin/ext/mdnie-sharpness-tweak.sh
@@ -2,35 +2,12 @@
# mDNIe sharpness tweaks by hardcore script'ed
-echo 8 88 > /sys/class/misc/mdnie/tune_dynamic_gallery
-echo 8 88 > /sys/class/misc/mdnie/tune_dynamic_ui
-echo 8 88 > /sys/class/misc/mdnie/tune_dynamic_video
-echo 8 8a > /sys/class/misc/mdnie/tune_dynamic_vtcall
-echo 8 aa > /sys/class/misc/mdnie/tune_movie_vtcall
-echo 8 88 > /sys/class/misc/mdnie/tune_standard_gallery
-echo 8 88 > /sys/class/misc/mdnie/tune_standard_ui
-echo 8 88 > /sys/class/misc/mdnie/tune_standard_video
-echo 8 8a > /sys/class/misc/mdnie/tune_standard_vtcall
-echo 8 a8 > /sys/class/misc/mdnie/tune_natural_gallery
-echo 8 a8 > /sys/class/misc/mdnie/tune_natural_ui
-echo 8 a8 > /sys/class/misc/mdnie/tune_natural_video
-echo 8 aa > /sys/class/misc/mdnie/tune_natural_vtcall
-echo 8 8 > /sys/class/misc/mdnie/tune_camera
-echo 8 408 > /sys/class/misc/mdnie/tune_camera_outdoor
-echo 8 e8 > /sys/class/misc/mdnie/tune_cold
-echo 8 4e8 > /sys/class/misc/mdnie/tune_cold_outdoor
-echo 8 4a8 > /sys/class/misc/mdnie/tune_outdoor
-echo 8 e8 > /sys/class/misc/mdnie/tune_warm
-echo 8 4e8 > /sys/class/misc/mdnie/tune_warm_outdoor
-
-for i in `ls -1 /sys/class/misc/mdnie`;do
-echo 92 0 > /sys/class/misc/mdnie/$i
-echo 93 0 > /sys/class/misc/mdnie/$i
-echo 94 0 > /sys/class/misc/mdnie/$i
-echo 95 0 > /sys/class/misc/mdnie/$i
-echo 96 0 > /sys/class/misc/mdnie/$i
-echo 97 0 > /sys/class/misc/mdnie/$i
-echo 98 0 > /sys/class/misc/mdnie/$i
-echo 99 0 > /sys/class/misc/mdnie/$i
+for i in `ls -1 /sys/class/misc/mdnie/t*`;do
+echo 3A 9 > $i
+echo 3F F > $i
+echo 3B 0 > $i
+echo 3C 0 > $i
+echo 42 0 > $i
+echo 4D 0 > $i
done;
@dorimanx
dorimanx added a note Nov 5, 2012

Now I can really see sharpness difference! great work! :)

@gokhanmoral
Owner
gokhanmoral added a note Nov 5, 2012

I still cannot but it must be a problem with my eyes :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
View
2 sbin/ext/post-init.sh
@@ -10,7 +10,7 @@ chmod 777 /data/.siyah
ccxmlsum=`md5sum /res/customconfig/customconfig.xml | awk '{print $1}'`
if [ "a${ccxmlsum}" != "a`cat /data/.siyah/.ccxmlsum`" ];
then
-# rm -f /data/.siyah/*.profile
+ rm -f /data/.siyah/*.profile
echo ${ccxmlsum} > /data/.siyah/.ccxmlsum
fi
[ ! -f /data/.siyah/default.profile ] && cp /res/customconfig/default.profile /data/.siyah
View
2 sbin/ext/tweaks.sh
@@ -3,7 +3,7 @@
# remount partitions with noatime
for k in $(mount | grep relatime | cut -d " " -f3);
do
-mount -o remount,noatime,nodiratime,noauto_da_alloc,barrier=0 $k
+mount -o remount,noatime $k
done;
echo 256 > /sys/block/mmcblk0/bdi/read_ahead_kb

0 comments on commit 4b33a7a

Please sign in to comment.
Something went wrong with that request. Please try again.