지레프
12.09.29
조회 수 10744
추천 수 3
댓글 23
참고글
CRT-OFF효과 원문 : http://forum.xda-developers.com/showthread.php?t=1725361



services.odex를 deodex합니다.


com/android/server/PowerManagerService.smali 열으셔서

.method static synthetic access$900(Lcom/android/server/PowerManagerService;)Lcom/android/server/BatteryService;
    .registers 2
    .parameter "x0"

    .prologue
    .line 110
    iget-object v0, p0, Lcom/android/server/PowerManagerService;->mBatteryService:Lcom/android/server/BatteryService;

    return-object v0
.end method

아래부분에

.method static synthetic access$9000(Lcom/android/server/PowerManagerService;I)V
    .registers 2
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 110
    invoke-direct {p0, p1}, Lcom/android/server/PowerManagerService;->nativeStartSurfaceFlingerAnimation(I)V

    return-void
.end method

추가 후 저장


com/android/server/PowerManagerService$BrightnessState.smali 열으셔서

    .line 2679
    .restart local v3       #turningOff:Z
    :cond_38    
    iget-object v4, p0, Lcom/android/server/PowerManagerService$BrightnessState;->this$0:Lcom/android/server/PowerManagerService;

    #getter for: Lcom/android/server/PowerManagerService;->mScreenBrightness:Lcom/android/server/PowerManagerService$BrightnessState;
    invoke-static {v4}, Lcom/android/server/PowerManagerService;->access$6000(Lcom/android/server/PowerManagerService;)Lcom/android/server/PowerManagerService$BrightnessState;

부분을 찾으신 후 
:cond_38 아래에

    iget-object v4, p0, Lcom/android/server/PowerManagerService$BrightnessState;->this$0:Lcom/android/server/PowerManagerService;
    
    const/16 v3, 0x10 # CRT-Off
    
    #calls: Lcom/android/server/PowerManagerService;->nativeStartSurfaceFlingerAnimation(I)
    invoke-static {v4, v3}, Lcom/android/server/PowerManagerService;->access$9000(Lcom/android/server/PowerManagerService;I)V

추가


그 후 odex작업 하시면 적용이 됩니다.
댓글 23
댓글 쓰기 권한이 없습니다.
정렬 목록 검색 쓰기
등록된 글이 없습니다.
1 - 2