참고글
odex - deodex : http://matcl.com/b/tip/112566
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작업 하시면 적용이 됩니다.
안녕하세요 kt갤3 인데요 PowerManagerService.smali 에서 line 부분에 kt갤3은 114 로되어있는데 똑같이 114로 넣고 수정해야되나요? 그리고 PowerManagerService$BrightnessState.smali 부분에선 ctrl f 로 line 2679 부분을 찾아서 수정할라는데 line 2679 부분이 없네요 눈으로 스크롤 내려가면서 봐도 없는데 어떻게하면되죠? ㅠ