Skip to content

Commit

Permalink
v4.1.3 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhanmoral committed Sep 5, 2012
1 parent 6b250f3 commit fed0c9f
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 42 deletions.
1 change: 0 additions & 1 deletion res/customconfig/battery.profile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ GENTLE_FAIR_SLEEPERS=off
default_stats=off
mdnie_shortcut_enabled=on
cfs_tweaks=0
zram_size=0
mali_touch_boost_level=1
soundgasm_hp=0

20 changes: 6 additions & 14 deletions res/customconfig/customconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@

<settingsPane description="GPU Voltage Levels: The defaults are 900, 950, 1000 and 1050." name="GPU Voltage Levels">
<seekBar description="GPU Voltage for the first step"
name="GPU Voltage Level1" action="gpu-voltage 1" unit="mV" min="800" reversed="false" step="50" max="1400"/>
name="GPU Voltage Level1" action="gpu-voltage 1" unit="mV" min="800" reversed="false" step="25" max="1400"/>
<seekBar description="GPU Voltage for the second step"
name="GPU Voltage Level2" action="gpu-voltage 2" unit="mV" min="800" reversed="false" step="50" max="1400"/>
name="GPU Voltage Level2" action="gpu-voltage 2" unit="mV" min="800" reversed="false" step="25" max="1400"/>
<seekBar description="GPU Voltage for the third step"
name="GPU Voltage Level3" action="gpu-voltage 3" unit="mV" min="800" reversed="false" step="50" max="1400"/>
name="GPU Voltage Level3" action="gpu-voltage 3" unit="mV" min="800" reversed="false" step="25" max="1400"/>
<seekBar description="GPU Voltage for the fourth step"
name="GPU Voltage Level4" action="gpu-voltage 4" unit="mV" min="800" reversed="false" step="50" max="1400"/>
name="GPU Voltage Level4" action="gpu-voltage 4" unit="mV" min="800" reversed="false" step="25" max="1400"/>
</settingsPane>

<settingsPane description="GPU load thresholds to change between frequency steps. The third step is disabled as default by having the second to third threshold 100." name="GPU Thresholds">
Expand Down Expand Up @@ -172,8 +172,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"/>
<seekBar description="Vibration intensity level (default 6)"
name="Vibration Intensity" action="generic /sys/devices/platform/tspdrv/vibrator_level" unit="" min="0" reversed="false" step="1" max="6"/>
<seekBar description="Vibration intensity level"
name="Vibration Intensity" action="generic /sys/vibrator/pwm_val" unit="" min="0" reversed="false" step="5" max="100"/>
<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"/>
</settingsPane>
</settingsTab>
Expand Down Expand Up @@ -223,14 +223,6 @@
<spinnerItem name="vr" value="vr"/>
<spinnerItem name="cfq" value="cfq"/>
</spinner>
<spinner description="ZRAM (Compressed swap space in RAM) size" name="ZRAM Size" action="zram">
<spinnerItem name="disabled" value="0"/>
<spinnerItem name="100MB" value="100"/>
<spinnerItem name="150MB" value="150"/>
<spinnerItem name="200MB" value="200"/>
<spinnerItem name="250MB" value="250"/>
<spinnerItem name="300MB" value="300"/>
</spinner>
<spinner description="Charge current setting" name="Charge Current" action="chargecurrent">
<spinnerItem name="AC:650mA, Misc,USB:450mA (Stock)" value="1"/>
<spinnerItem name="AC,Misc:650mA, USB:450mA" value="2"/>
Expand Down
5 changes: 2 additions & 3 deletions res/customconfig/default.profile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GPUFREQ1=100
GPUFREQ2=160
GPUFREQ3=200
GPUFREQ4=267
GPUVOLT1=900
GPUVOLT1=925
GPUVOLT2=950
GPUVOLT3=1000
GPUVOLT4=1050
Expand Down Expand Up @@ -30,7 +30,7 @@ freq_min=200000
install_root=on
mov_hysti=5
suspend_freq=500000
vibrator_level=6
pwm_val=50
user_gamma_adjust=0
blnww=off
cpustepcount=16
Expand All @@ -50,7 +50,6 @@ GENTLE_FAIR_SLEEPERS=off
default_stats=off
mdnie_shortcut_enabled=on
cfs_tweaks=0
zram_size=0
mali_touch_boost_level=1
soundgasm_hp=0

1 change: 0 additions & 1 deletion res/customconfig/performance.profile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ GENTLE_FAIR_SLEEPERS=off
default_stats=off
mdnie_shortcut_enabled=on
cfs_tweaks=1
zram_size=0
mali_touch_boost_level=2
soundgasm_hp=3

4 changes: 2 additions & 2 deletions res/misc/init.40/default.prop
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
#
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=mtp,adb
ro.debuggable=0
persist.sys.usb.config=mtp
8 changes: 4 additions & 4 deletions res/misc/init.40/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ on post-fs-data
mkdir /data/misc/wifi 0770 wifi wifi
chmod 0770 /data/misc/wifi
chmod 0660 /data/misc/wifi/wpa_supplicant.conf
mkdir /data/local 0771 shell shell
mkdir /data/local 0751 root root
mkdir /data/local/tmp 0771 shell shell
mkdir /data/data 0771 system system
mkdir /data/app-private 0771 system system
Expand Down Expand Up @@ -750,7 +750,7 @@ service surfaceflinger /system/bin/surfaceflinger

service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
class main
socket zygote stream 666
socket zygote stream 660 root system
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
onrestart restart media
Expand All @@ -759,7 +759,7 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys
service drm /system/bin/drmserver
class main
user drm
group system inet sdcard_rw media_rw radio
group system inet drmrpc sdcard_rw media_rw radio

service media /system/bin/mediaserver
class main
Expand Down Expand Up @@ -832,7 +832,7 @@ service racoon /system/bin/racoon
class main
socket racoon stream 600 system system
# racoon will setuid to vpn after getting necessary resources.
group net_admin
group vpn net_admin inet
disabled
oneshot

Expand Down
8 changes: 4 additions & 4 deletions res/misc/init.40/init.rc.2
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ on post-fs-data
mkdir /data/misc/wifi 0770 wifi wifi
chmod 0770 /data/misc/wifi
chmod 0660 /data/misc/wifi/wpa_supplicant.conf
mkdir /data/local 0771 shell shell
mkdir /data/local 0751 root root
mkdir /data/local/tmp 0771 shell shell
mkdir /data/data 0771 system system
mkdir /data/app-private 0771 system system
Expand Down Expand Up @@ -752,7 +752,7 @@ service surfaceflinger /system/bin/surfaceflinger

service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
class main
socket zygote stream 666
socket zygote stream 660 root system
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
onrestart restart media
Expand All @@ -761,7 +761,7 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys
service drm /system/bin/drmserver
class main
user drm
group system inet sdcard_rw media_rw radio
group system inet drmrpc sdcard_rw media_rw radio

service media /system/bin/mediaserver
class main
Expand Down Expand Up @@ -834,7 +834,7 @@ service racoon /system/bin/racoon
class main
socket racoon stream 600 system system
# racoon will setuid to vpn after getting necessary resources.
group net_admin
group vpn net_admin inet
disabled
oneshot

Expand Down
Binary file modified res/misc/init.40/innt
Binary file not shown.
2 changes: 1 addition & 1 deletion res/misc/init.cm10/default.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=mtp,adb
16 changes: 6 additions & 10 deletions res/misc/init.cm10/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,12 @@ on boot
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/input_boost

# Assume SMP uses shared cpufreq policy for all CPUs
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

chown system system /sys/class/timed_output/vibrator/enable
chown system system /sys/class/leds/keyboard-backlight/brightness
Expand Down Expand Up @@ -307,14 +311,6 @@ on boot
chown system system /sys/kernel/ipv4/tcp_rmem_max
chown root radio /proc/cmdline

# allow system to modify cpufreq control files
chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

# Define TCP buffer sizes for various networks
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
setprop net.tcp.buffersize.default 4096,87380,704512,4096,16384,110208
Expand Down Expand Up @@ -424,7 +420,7 @@ service ril-daemon /system/bin/rild
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio sdcard_rw qcom_oncrpc diag
group radio cache inet misc audio sdcard_r sdcard_rw qcom_oncrpc diag log

service surfaceflinger /system/bin/surfaceflinger
class main
Expand Down
Binary file modified res/misc/init.cm10/innt
Binary file not shown.
2 changes: 1 addition & 1 deletion res/misc/init.cm9/default.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.vold.switchexternal=1
Expand Down
3 changes: 2 additions & 1 deletion res/misc/init.cm9/init.smdk4210.rc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ on post-fs-data
# Permissions for input devices
chown system radio /sys/devices/virtual/sec/sec_key/sec_key_pressed

chown system radio /sys/devices/virtual/sec/sec_touchkey/enable_disable
chown system radio /sys/devices/virtual/sec/sec_touchkey/force_disable
chown system radio /sys/devices/virtual/sec/sec_touchkey/recommended_version
chown system radio /sys/devices/virtual/sec/sec_touchkey/touch_sensitivity
chown system radio /sys/devices/virtual/sec/sec_touchkey/brightness
Expand All @@ -195,6 +195,7 @@ on post-fs-data
chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_update_status
chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_update
chown system radio /sys/devices/virtual/sec/sec_touchkey/updated_version
chown system radio /sys/devices/virtual/sec/sec_touchkey/led_timeout

chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_firm_version
chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_threshould
Expand Down
Binary file modified res/misc/init.cm9/innt
Binary file not shown.

0 comments on commit fed0c9f

Please sign in to comment.