Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Perms! enabled cortex only in XML, added back SCARY gov. + TUNE.

  • Loading branch information...
commit c75f4cebb6fdd60a34bcb00408a5e989adb02203 1 parent a79fda3
@dorimanx dorimanx authored
Showing with 36 additions and 14 deletions.
  1. 0  cache/EMPTY_DIRECTORY
  2. 0  data/EMPTY_DIRECTORY
  3. 0  dev/EMPTY_DIRECTORY
  4. 0  efs/EMPTY_DIRECTORY
  5. 0  lib/modules/EMPTY_DIRECTORY
  6. 0  mnt/emmc/EMPTY_DIRECTORY
  7. 0  mnt/ntfs/EMPTY_DIRECTORY
  8. 0  mnt/sdcard/EMPTY_DIRECTORY
  9. 0  mnt/usbdisk/EMPTY_DIRECTORY
  10. 0  preload/EMPTY_DIRECTORY
  11. 0  proc/EMPTY_DIRECTORY
  12. +1 −1  res/customconfig/battery.profile
  13. +8 −8 res/customconfig/customconfig.xml
  14. +1 −1  res/customconfig/default.profile
  15. +2 −2 res/customconfig/performance.profile
  16. 0  res/etc/lvm.conf
  17. 0  res/etc/recovery.fstab
  18. 0  res/images/charger/battery_0.png
  19. 0  res/images/charger/battery_1.png
  20. 0  res/images/charger/battery_2.png
  21. 0  res/images/charger/battery_3.png
  22. 0  res/images/charger/battery_4.png
  23. 0  res/images/charger/battery_5.png
  24. 0  res/images/charger/battery_charge.png
  25. 0  res/images/charger/battery_fail.png
  26. 0  res/keys-samsung
  27. 0  res/misc/cyano/sql/libsqlite.so
  28. 0  res/misc/dev.tar
  29. 0  res/misc/hosts
  30. 0  res/no-push-on-boot/EMPTY_DIRECTORY
  31. 0  res/update.url
  32. +24 −2 sbin/ext/cortexbrain-tune.sh
  33. 0  sys/EMPTY_DIRECTORY
  34. 0  system/EMPTY_DIRECTORY
  35. 0  tmp/.gitignore
  36. 0  tmp/EMPTY_DIRECTORY
  37. 0  vendor/firmware/mfc_fw.bin
View
0  cache/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  data/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  dev/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  efs/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  lib/modules/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  mnt/emmc/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  mnt/ntfs/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  mnt/sdcard/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  mnt/usbdisk/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  preload/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  proc/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
2  res/customconfig/battery.profile
@@ -25,7 +25,7 @@ busfreq_up_threshold=35
busfreq_down_threshold=35
scaling_max_suspend_freq=600000
scaling_min_suspend_freq=200000
-deep_sleep=pegasusq
+deep_sleep=scary
GPUFREQ1=100
GPUFREQ2=200
GPUFREQ3=267
View
16 res/customconfig/customconfig.xml
@@ -39,14 +39,14 @@
<spinnerItem name="800MHz" value="8"/>
</spinner>
- <!--checkbox description="Wakeup booster main switch, depend on cortex background process!, it's will boost the phone wakeup when screen will be turn ON for time that set below, note! intellidemand gov not allowed to use wakeup booster"
+ <checkbox description="Wakeup booster main switch, depend on cortex background process!, it's will boost the phone wakeup when screen will be turn ON for time that set below, note! intellidemand gov not allowed to use wakeup booster"
name="WakeUp Booster" action="generic_cortex /tmp/awake_booster" label="WakeUp Booster"/>
<spinner description="Wakeup booster delay on max speed and peformance gov, depend on cortex background process" name="WakeUp Booster Delay" action="awake_booster_delay">
<spinnerItem name="3Sec" value="3"/>
<spinnerItem name="5Sec" value="5"/>
<spinnerItem name="10Sec" value="10"/>
- </spinner-->
+ </spinner>
<spinner description="This will set the AWAKE (screen ON) CPU governor. Default CPU governor will only be set during early stages of booting (before init.d execution), and can be overridden by later scripts or apps."
name="Default CPU Governor" action="generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor">
@@ -59,7 +59,7 @@
<!--spinnerItem name="wheatley" value="wheatley"/-->
<spinnerItem name="smartassV2" value="smartassV2"/>
<spinnerItem name="conservative" value="conservative"/>
- <!--spinnerItem name="scary" value="scary"/-->
+ <spinnerItem name="scary" value="scary"/>
</spinner>
<seekBar description="second core will be enabled when the load goes above this threshold (default is 30)"
@@ -151,7 +151,7 @@ but will increase UI responsiveness" name="CFS Tweaks" action="cfs_tweaks">
<spinner description="This will set the DEEP-SLEEP (screen OFF) CPU governor, depend on cortex background process ON."
name="Deep-Sleep! CPU Governor" action="generic /tmp/deep_sleep">
- <!--spinnerItem name="scary" value="scary"/-->
+ <spinnerItem name="scary" value="scary"/>
<!--spinnerItem name="intellidemand" value="intellidemand"/-->
<spinnerItem name="conservative" value="conservative"/>
<spinnerItem name="pegasusq" value="pegasusq"/>
@@ -557,11 +557,11 @@ do not set the same levels! have fun tuning." name="Touch Screen Sensitivity">
<settingsPane description="Here you can manage cortexbrain-tune script" name="Automation Script tuning.">
- <!--spinner description="Enable or Disable the 'background-process' from 'cortexbrain-tune.sh'. If you disable it the cpu-governor will not change automatically for deep-sleep. Also you can't test BLN and fix permissions, battery will not get statistics reset when 100%, CPU tweaks will not be dynamically changed, use it in your own will. if you disabled, and want to enable it back, wait 40sec before enable, then push the CHECK if service online."
+ <spinner description="Enable or Disable the 'background-process' from 'cortexbrain-tune.sh'. If you disable it the cpu-governor will not change automatically for deep-sleep. Also you can't test BLN and fix permissions, battery will not get statistics reset when 100%, CPU tweaks will not be dynamically changed, use it in your own will. if you disabled, and want to enable it back, wait 40sec before enable, then push the CHECK if service online."
name="Cortexbrain-Background-Process" action="cortexbrain_background_process">
<spinnerItem name="Enable" value="1"/>
<spinnerItem name="Disable" value="0"/>
- </spinner-->
+ </spinner>
<button description="Cortex service checker, Click to see if cortexbrain 'background-process' is running or not"
name="CORTEX Service check" action="push-actions/cortexbrain_background_process_check" label="CHECK SERVICE"/>
@@ -575,8 +575,8 @@ do not set the same levels! have fun tuning." name="Touch Screen Sensitivity">
<checkbox description="Enable or Disable the 'TCP-Tweaks' from 'cortexbrain-tune.sh'. (reboot needed after change)"
name="TCP-Tweaks" action="generic_cortex /tmp/cortexbrain_tcp" label="TCP-Tweaks"/>
- <!--checkbox description="Enable or Disable the 'CPU-Tweaks' from 'cortexbrain-tune.sh'. (reboot needed after change)"
- name="CPU-Tweaks" action="generic_cortex /tmp/cortexbrain_cpu" label="CPU-Tweaks"/-->
+ <checkbox description="Enable or Disable the 'CPU-Tweaks' from 'cortexbrain-tune.sh'. (reboot needed after change)"
+ name="CPU-Tweaks" action="generic_cortex /tmp/cortexbrain_cpu" label="CPU-Tweaks"/>
<checkbox description="Enable or Disable the 'Memory-Tweaks' from 'cortexbrain-tune.sh'. (reboot needed after change)"
name="Memory-Tweaks" action="generic_cortex /tmp/cortexbrain_memory" label="Memory-Tweaks"/>
View
2  res/customconfig/default.profile
@@ -25,7 +25,7 @@ busfreq_up_threshold=30
busfreq_down_threshold=30
scaling_max_suspend_freq=600000
scaling_min_suspend_freq=200000
-deep_sleep=pegasusq
+deep_sleep=scary
GPUFREQ1=100
GPUFREQ2=200
GPUFREQ3=267
View
4 res/customconfig/performance.profile
@@ -3,7 +3,7 @@ cpustepcount=15
scaling_max_freq=1500000
scaling_min_freq=100000
smooth_level0=4
-awake_booster=on
+awake_booster=off
awake_booster_delay=5
scaling_governor=HYPER
load_l1=20
@@ -25,7 +25,7 @@ busfreq_up_threshold=25
busfreq_down_threshold=25
scaling_max_suspend_freq=600000
scaling_min_suspend_freq=200000
-deep_sleep=pegasusq
+deep_sleep=scary
GPUFREQ1=100
GPUFREQ2=200
GPUFREQ3=267
View
0  res/etc/lvm.conf 100644 → 100755
File mode changed
View
0  res/etc/recovery.fstab 100644 → 100755
File mode changed
View
0  res/images/charger/battery_0.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  res/images/charger/battery_1.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  res/images/charger/battery_2.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  res/images/charger/battery_3.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  res/images/charger/battery_4.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  res/images/charger/battery_5.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  res/images/charger/battery_charge.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  res/images/charger/battery_fail.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  res/keys-samsung 100644 → 100755
File mode changed
View
0  res/misc/cyano/sql/libsqlite.so 100644 → 100755
File mode changed
View
0  res/misc/dev.tar 100644 → 100755
File mode changed
View
0  res/misc/hosts 100644 → 100755
File mode changed
View
0  res/no-push-on-boot/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  res/update.url 100644 → 100755
File mode changed
View
26 sbin/ext/cortexbrain-tune.sh
@@ -329,6 +329,15 @@ if [ $cortexbrain_battery == on ]; then
fi;
# ==============================================================
+# CPU-LUZACTIVE FIX
+# ==============================================================
+
+SYSTEM_GOVERNOR=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`
+if [ $SYSTEM_GOVERNOR == "lulzactive" ]; then
+ echo "${scaling_max_freq}" > /sys/devices/virtual/sec/sec_touchscreen/tsp_touch_freq;
+fi;
+
+# ==============================================================
# CPU-TWEAKS
# ==============================================================
@@ -390,6 +399,10 @@ elif [ $DEFAULT_SPEED == 1 ]; then
echo "30" > /sys/devices/system/cpu/cpufreq/ondemand/freq_step
fi;
+ if [ $SYSTEM_GOVERNOR == "lulzactive" ]; then
+ echo "${scaling_max_freq}" > /sys/devices/virtual/sec/sec_touchscreen/tsp_touch_freq;
+ fi;
+
if [ $SYSTEM_GOVERNOR == "HYPER" ]; then
echo "70" > /sys/devices/system/cpu/cpufreq/HYPER/up_threshold;
echo "1" > /sys/devices/system/cpu/cpufreq/HYPER/sampling_down_factor;
@@ -434,6 +447,10 @@ elif [ $MORE_SPEED == 1 ]; then
echo "40" > /sys/devices/system/cpu/cpufreq/ondemand/freq_step
fi;
+ if [ $SYSTEM_GOVERNOR == "lulzactive" ]; then
+ echo "${scaling_max_freq}" > /sys/devices/virtual/sec/sec_touchscreen/tsp_touch_freq;
+ fi;
+
if [ $SYSTEM_GOVERNOR == "HYPER" ]; then
echo "60" > /sys/devices/system/cpu/cpufreq/HYPER/up_threshold;
echo "1" > /sys/devices/system/cpu/cpufreq/HYPER/sampling_down_factor;
@@ -732,7 +749,12 @@ echo "${scaling_min_freq}" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_fr
echo "${scaling_max_freq}" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
# Set lock screen freq to max scalling freq.
-echo "${tsp_touch_freq}" > /sys/devices/virtual/sec/sec_touchscreen/tsp_touch_freq
+SYSTEM_GOVERNOR=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`
+if [ $SYSTEM_GOVERNOR == "lulzactive" ]; then
+ echo "${scaling_max_freq}" > /sys/devices/virtual/sec/sec_touchscreen/tsp_touch_freq;
+else
+ echo "${tsp_touch_freq}" > /sys/devices/virtual/sec/sec_touchscreen/tsp_touch_freq
+fi;
if [ $cortexbrain_battery == on ]; then
BATTERY_TWEAKS;
@@ -774,7 +796,7 @@ echo "noop" > /sys/block/mmcblk1/queue/scheduler
setprop wifi.supplicant_scan_interval 60
# cpu - second core off
-echo "on" > /sys/devices/virtual/misc/second_core/hotplug_on;
+echo "off" > /sys/devices/virtual/misc/second_core/hotplug_on;
echo "off" > /sys/devices/virtual/misc/second_core/second_core_on;
# Bus Freq for deep sleep
View
0  sys/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  system/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  tmp/.gitignore 100644 → 100755
File mode changed
View
0  tmp/EMPTY_DIRECTORY 100644 → 100755
File mode changed
View
0  vendor/firmware/mfc_fw.bin 100644 → 100755
File mode changed
Please sign in to comment.
Something went wrong with that request. Please try again.