#!/system/bin/sh # # DimmerMod Guide # 백라이트 조절 가이드 # # All credit for this mod goes to Ezekeel, who created it, # and to the kernel devs (e.g. morfic, reddv1, and # mathkid95) who have implemented it. If you're not # rooted and using a kernel that supports it, such as # Trinity, Lucid Nexus, or Matrix, don't ask why it # doesn't work. If you don't know what I'm talking # about, this might not be for you. # Lines not preceded by a pound are commands that # may be entered in terminal emulator. If you get a # "directory nonexistent" error, your kernel does not # support this. If you're familiar with init.d scripts, you # know what to do. # # 이 코드를 만든 사람은 Ezekeel 이며 Maximilian Mary님이 정리한 파일을 케일럽이 번역했습니다. # 파운드 표시가 않되있는 것이 코드이며 설명에 따라 수정하시기 바랍니다. # # Screen Dimmer # Screen dimmer will turn the screen off at the # specified interval. Touching the screen will turn it # back on. It does not play nicely with movies or other # things that should keep the screen awake, but does # allow the system and running apps to continue # running, which shortens battery life. It has been # made obsolete by touch wake dimmer. Use that # instead. # 스크린 조절: 정해둔 시간이 지나면 화면이 꺼지게하는 방식. 단 보통 화면 끄기와 다른 점은 화면을 만져주면 다시 켜짐. 영화같은 것을 볼때는 귀찮아질 수도 있고 화면이 꺼진 상태에서 앱이 계속 돌아가므로 배터리 소모도 심해짐. 밑에 있는 터치로 깨우기 사용하세요... # # Default is deactivated. Change 0 to 1 to activate it. # 기본으로 비활성화 되어있습니다. 0을 1로 바꾸어 활성화하시기 바랍니다. echo 0 > /sys/class/misc/screendimmer/enabled # Set screen time-out delay, # in milliseconds (example: 25 seconds). Value of 0 = # indefinite delay (not useful for screen dimmer). # 화면 꺼지는 시간 설정, # 1000분의 1초 값. (0으로 하면 이상한 반응이 옵니다) echo 25000 > /sys/class/misc/screendimmer/delay # Touchkey Backlight Dimmer (BLD) # Touchkey backlight dimmer turns off the softkey # backlight at the specified interval. It will turn back # on (temporarily) when you touch the menu buttons. # The battery savings are negligible. It is more of a # user experience tweak. Some people prefer the way # the phone looks with them off, particularly when # watching movies. It can also be useful for bln users, # who may prefer the keys to light up only when there # is a notification. # 터치 백라이트 조절 (BLD): 넥서스 s 의 하단에 보면 4가지 버튼이 있죠? 그 버튼을 꺼주는 코드입니다. 그리고 한번 누르면 정해준 시간만큼 켜졌다가 다시 꺼집니다. 배터리 소모랑은 거의 상관없고 사용자 용도에 따라 설정해주면 되지요... 영화같은 것을 볼때 눈에 거슬리는 것들을 없애주거나 좀더 특이한 걸 원하시는 분들을 위해... ㅋㅋ # # Default is activated. Change 1 to 0 to deactivate it. # 기본으로 활성화 되어있습니다. 1을 0으로 바꾸어 비활성화하시기 바랍니다. echo 1 > /sys/class/misc/backlightdimmer/enabled # Set backlight dimmer time-out delay, # in milliseconds (example: 3 seconds). Value of 0 = # indefinite delay (not useful for backlight dimmer). # 백라이트 꺼지는 시간 설정, # 1000분의 1초 값 (0으로 하면 이상한 반응이 옵니다) echo 500 > /sys/class/misc/backlightdimmer/delay # Touch Wake # Touch wake will keep the touch input and menu # softkeys active for the specified delay. The screen # timeout will work normally, but you can then wake # the phone by touching the screen or menu buttons # instead of the power button. If you press the power # button (or the touch wake expires) the phone will # then be woken only by the power button, like normal. # If you're running CyanogenMod, you can prevent the # lockscreen from displaying when using touch-to-wake. # Just set CyanogenMod settings->Lockscreen->Delay # and timeout->Screen timeout delay to the same # interval as touchwake/delay. # 터치로 깨우기: 화면이 꺼진 후 정해진 시간동안 터치 및 메뉴 버튼으로 화면을 다시 낄 수 있도록 설정할 수 있는 코드... 책을 읽다가 오랫동안 않만져서 화면이 꺼질때 다시 파워 버튼 누르기 힘들죠? 이 기능이 있으면 화면만 만져도 다시 켜집니다... 사이노젠모드의 화면 장금 장치를 사용하고 있으면 CyanogenMod settings >Lockscreen >Delay and timeout > Screen timeout delay 시간을 이거랑 똑같이 설정하면 화면 꺼질 때마다 장금 장치가 않뜹니다... # # Default is activated. Change 1 to 0 to deactivate it. # 기본으로 활성화 되어있습니다. 1을 0으로 바꾸어 비활성화하시기 바랍니다. echo 1 > /sys/class/misc/touchwake/enabled # Set touch wake time-out delay, # in milliseconds (example: 5 minutes). Value of 0 = # indefinite delay (If you do this, touch wake will stay # active indefinitely. Press the power button to disable # it when you put the phone in your pocket.) # 터치로 깨우기 시간 설정 # 1000분의 1초 값 (0으로 하면 화면이 자동으로 꺼지면 항상 터치로 깨울 수 있습니다. 주머니에 놓기 전에는 꼭 파워 버튼을 사용하세요) echo 5000 > /sys/class/misc/touchwake/delay # This guide brought to you by Maximilian Mary & translated to Korean by Caleb. # Maximilian Mary님이 만든 가이드를 케일럽이 번역했습니다. # # Next mod section is coded by Ezekeel & brought to you by Caleb # 다음 모드는 Ezekeel 님이 코딩하시고 케일럽이 추가하였습니다. # # Battery Life Extender (BLX) # if you use Ezekeel's Battery Life Extender (BLX) mod, you can set the charge limit... just change 100 to the desired number in the code below.. # 배터리 라이프 연장 (BLX) # Ezekeel 님의 배터리 수명 연장 (BLX) 모드를 사용하면 충전 한도를 정해줄 수 있다. 다음 코드에서 100을 원하는 숫자로 바꿔주면 된다... echo 100 > /sys/class/misc/batterylifeextender/charging_limit # Custom Voltage # ARM 볼트는 cpu 속도의 볼트를 수정해 주고 INT 볼트는 버스 속도 및 GPU, 즉 그랙픽 속도의 볼트를 수정할 수 있다. 라이브 OC를 통해 버스 속도를 올려주면 INT 볼트도 같이 올려 더욱 안정적으로 만들 수 있다. (순정 arm 볼트: 1250, 1200, 1050, 950, 950), (순정 int 볼트: 1100 1100 1100 1100 1000) # The ARM voltage is for the CPU, the internal voltage for the bus (and also GPU I believe). If you increase the bus/GPU speeds with LiveOC you might have to increase the internal voltages additionally to the ARM voltages to get it stable. (stock arm voltage: 1250, 1200, 1050, 950, 950), (stock int voltage: 1100 1100 1100 1100 1000) echo "1290 1155 1000 900 900" > /sys/class/misc/customvoltage/arm_volt echo "1100 1100 1100 1100 1000" > /sys/class/misc/customvoltage/int_volt echo "1400" > /sys/class/misc/customvoltage/max_arm_volt echo "1250" > /sys/class/misc/customvoltage/max_int_volt # CPU Frequency # 최소 및 최대 cpu 속도를 지정해줄 수 있습니다. - 단 기억할 것은 커널에 따라 지원하는 속도가 다를 수도 있습니다. (순정 속도: 100000, 200000, 400000, 800000, 1000000) # this is to set the max & min frequence/speed of your cpu - make sure to use the values provided on your specific kernel. (stock speed: 100000, 200000, 400000, 800000, 1000000) echo "800000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq echo "400000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq # Live OC # Live OC allows user to modify the cpu speeds without serious coding. 110 represents 10% increase. 100 is normal # 라이브 오버클럭은 사용자가 cpu 속도를 언제나 바꿀수 있도록 도와줍니다... 110 은 10% 증감이고 100 이 보통입니다. echo 110 > /sys/class/misc/liveoc/oc_value # Deep Idle # Deep Idle allows your phone to enter deep sleep by turning off unnecessary sensors during screen off, which in turn will save more battery. # 딥아이들은 핸드폰이 깊은 잠에 빠져들게 하여 배터리 소모를 줄입니다. # # Default is activated. Change 1 to 0 to deactivate it. # 기본으로 활성화 되어있습니다. 1을 0으로 바꾸어 비활성화하시기 바랍니다. echo 1 > /sys/class/misc/deepidle/enabled # Lazy Governor # developed by Ezekeel by adding min_timeinstate to ondemand governor... min_timeinstate is setting the minimum time to stay on each cpu frequency, reducing lags... it is by far the fastest and least battery consuming governor out there... # Ezekeel 님께서 ondemand 에 min_timeinstate 을 추가하여 만든 거버너... min_timeinstate 는 각 cpu 속도에서 머무는 최소 속도 시간을 지정해 줄수 있으므로 ondemand 처럼 느려지거나 하는 점이 개선되었다... 지금 현존하는 거버너 중에서는 가장 빠르고 배터리 소모를 줄인다... echo "lazy" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor # Lazy - Screenoff Max # this setting will optimize deep idle mod with lazy governor... what this does is when screen is off, you uses maximum cpu speed. as mentioned before, this is to ensure you enter deep idle mode as soon as possible. to set it, run the following script. # 딥아이들 모드를 lazy 거버너와 최적화합니다. 화면 끈 상태에서 가장 빠른 cpu 속도를 사용하게 됩니다. 그 이유는 전에도 설명했지만 빠른 속도로 딥아이들로 들어가기 위해섭니다. 설정은 다음과 같습니다 # # Default is deactivated. Change 0 to 1 to activate it. # 기본으로 비활성화 되어있습니다. 0을 1로 바꾸어 활성화하시기 바랍니다. echo 0 > /sys/devices/system/cpu/cpufreq/lazy/screenoff_maxfreq # Next mod section is coded by Morfic & brought to you by Caleb # 다음 모드는 Morfic 님이 코딩하시고 케일럽이 추가하였습니다. # # Backlight Notificaiton (BLN) # with BLN you will be able to check notification even when your screen is off with 4 backlights on the bottom of your nexus S~! # 백라이트 알림 모드 (BLN) # BLN 모드를 활성화하면 화면 끈 상태에서도 넥서스 s 하단에 있는 4개의 백라이트로 이메일 및 메시지 알림을 확인할 수 있다. # # Default is deactivated. Change 0 to 1 to activate it. # 기본으로 비활성화 되어있습니다. 0을 1로 바꾸어 활성화하시기 바랍니다. echo 0 > /sys/class/misc/backlightnotification/enabled # if you want to make it blink, insert the following code. # 만약 백라이트를 깜박이게 하고 싶으면 다음 코드를 입력하면된다 # # Default is deactivated. Change 0 to 1 to activate it. # 기본으로 비활성화 되어있습니다. 0을 1로 바꾸어 활성화하시기 바랍니다. echo 0 > /sys/class/misc/backlightnotification/blink_control # for details on each mod, please visit http://caleb1783.tistory.com/218 # 각 모드의 자세한 내용은 http://caleb1783.tistory.com/218 방문해 주세요