Quote:
Originally Posted by wilfredcool007
Code:
Note:
Make changes in the line numbers (ex:.line 2098,.line2083) according to the order the lines organized in ur smali
|
Can you elaborate on this more? It is pretty vague.
I can see one value that does not match up that should be changed in the step listed here:
Quote:
Now Search For
Code:
.method public run()V
.registers 10
.prologue
const/4 v8, 0x0
And paste this code below “const/4 v8, 0x0”
Code:
.line 2078
iget-object v4, p0, Lcom/android/server/PowerManagerService$BrightnessState;->this$0:Lcom/android/server/PowerManagerService;
invoke-static {v4}, Lcom/android/server/PowerManagerService;->getContextZZ(Lcom/android/server/PowerManagerService;)Landroid/content/Context;
move-result-object v4
invoke-direct {p0, v4}, Lcom/android/server/PowerManagerService$BrightnessState;->getScreenAnimationMode(Landroid/content/Context;)I
move-result v4
if-nez v4, :cond_3b
|
But as for anything else, Im not sure.
I see in the last step (the one with all the tiny mods) that your unmodded codes .line numbers differ from the modded version. are we to change those numbers to match?
The reason Im asking, is because I have made the modifications, and CRT on is still not working.
Also, in your first step, with the code:
search for these two lines
Code:
.field static final ANIM_STEPS:I = 0xf
.field static final AUTOBRIGHTNESS_ANIM_STEPS:I = 0x3c
And Replace With
Code:
.field static final ANIM_STEPS:I = 0xa
.field static final AUTOBRIGHTNESS_ANIM_STEPS:I = 0xf
My code reads slightly different:
Code:
.field static final ANIM_STEPS:I = 0x1
.field static final AUTOBRIGHTNESS_ANIM_STEPS:I = 0x3c
Do I still change to match your steps?
Thanks in advance!
~Spz0
.......Devices.......
...Kyocera M6000(zio)
OpenZio ROM 2.1.2
Adrynalyne OC
...Pandigital Planet
OpenPDP ROM-2.2.1
...Pandigital Planet 2.3.4 REFRESH
OpenPDP ROM 2.3.4
...Samsung ?SCH-R720 (Vitality)
OpenAndroid ROM 2.3 w/Spz0's OC Kernel
...Moto Droid X
VXL-OpenAndroid 2.1.2
Lots moar..
>Donate<
|