달력

52024  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

Limit CPU Frequency to Save Battery

이건 cpu 클럭을 다운시켜서 배터리를 왕 세이브 시키는 방법입니다. 
어느 정도 내려도 쓰는데는 그렇게 지장이 없고 배터리를 엄청 여유 있게 사용 할수 있다니 한번쯤 해보는것도 좋을거 같네요. 

As you may know, I have a thread about a modified ramdisk kernel to save battery, but I don't want to release 3+ versions with a new kernel every week, so here is a solution which doesn't require flashing, and can survive OTA updates, etc.

  1. You need to install an init.d emulator, like Init.d scripts support. 다운받으세요. 밑에 그림과 같이 세팅
  2. Start it, tick acquire root.
  3. Go to Home Screen->Tools->Security->Root permissions, enable it.
  4. Go to Home Screen->Tools->Security->Autostart, enable it.
  5. Set it up like this

  6. Create a folder on your inner SD with name "scripts".  /sdcard/scripts/limit.sh 란 파일 생성

  7. Create a text file inside it, with name "limit.sh", and the content: 1200000 이니까 1.2ghz네요
    Code:
    #!/system/bin/sh
    
    echo '1200000' > /proc/cpufreq/cpufreq_limited_max_freq_by_user
    echo '0' > /proc/cpufreq/cpufreq_limited_by_hevc
    chmod 0600 /proc/cpufreq/cpufreq_limited_by_hevc

    • If you want 1.5GHz, change the first number to 1500000
    • If you want touch boost, remove the last 2 lines.
      Touch boost immediately boosts the frequency to a given state (usually close to the highest) when you touch the screen.
      I didn't notice any slowdown without it
      .


That's it, now you don't have to worry about flashing or OTA updates.

폴더 경로 지정해 두고 run scripts now 누르시면 됩니다. 

그냥 usb 연결해서 파일 보내서 실행 해 주셔도 됩니다 sdcard/scripts 에 보내면 됩니다.

Posted by decompiler
|