[Eee Pad Transformer Themes and Apps] Roach2010:
Any time mate, You may want to check out my thread, I've updated Prime but I dunno yet if it will be a one-off or if I am as well to stick with it and tidy it up a little.

Attached at the bottom oft this post is a small patch for Prime v2.0.5 that enables the CRT animation using the code below if people wanna check it out.

Also, here is the code to add the Screen on/off animation if anyone want's to do this to any other roms: http://pastebin.com/pVL364Qy

CRT Screen animation commit 1

----------------- framework/framework-res/res/values/bools.xml -----------------
old mode 100644
new mode 100755
index cc0f1ce..8fdc4d4
@@ -11,7 +11,7 @@
[COLOR="Blue"] <bool name="config_automatic_brightness_available">true</bool>
<bool name="config_annoy_dianne">true</bool>
<bool name="config_unplugTurnsOnScreen">true</bool>
[COLOR="Red"]- <bool name="config_animateScreenLights">true</bool>
[/COLOR][COLOR="Lime"]+ <bool name="config_animateScreenLights">false</bool>[/COLOR]
<bool name="config_allowAllRotations">true</bool>
<bool name="config_reverseDefaultRotation">false</bool>
<bool name="config_deskDockEnablesAccelerometer">false</bool>[/COLOR]

framework/services/com/android/server/PowerManagerService$BrightnessState.smali
old mode 100644
new mode 100755
index b0de77a..3771204
@@ -91,6 +91,50 @@
[COLOR="Blue"] return-void
.end method

[COLOR="Lime"]+.method private getScreenAnimationMode(Landroid/content/Context;)I
+ .registers 7
+ .parameter "context"
+
+ .prologue
+ const v0, 0x0
+
+ const v3, 0x1
+
+ const v4, 0x10
+
+ invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
+
+ move-result-object v1
+
+ const-string v2, "config_beam_screen_on"
+
+ invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
+
+ move-result v2
+
+ if-eqz v2, :cond_22
+
+ const v0, 0x1
+
+ :goto_18
+ const-string v2, "config_beam_screen_off"
+
+ invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
+
+ move-result v2
+
+ if-eqz v2, :cond_21
+
+ add-int/2addr v0, v4
+
+ :cond_21
+ return v0
+
+ :cond_22
+ const v0, 0x0
+
+ goto :goto_18
+.end method[/COLOR]

# virtual methods
.method public dump(Ljava/io/PrintWriter;Ljava/lang/String;)V[/COLOR]
@@ -212,6 +256,18 @@
[COLOR="Blue"] .line 2224
iget-object v4, p0, Lcom/android/server/PowerManagerService$BrightnessState;->this$0:Lcom/android/server/PowerManagerService;

[COLOR="Lime"]+ 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_2f
+
+ iget-object v4, p0, Lcom/android/server/PowerManagerService$BrightnessState;->this$0:Lcom/android/server/PowerManagerService;
+
iget-boolean v4, v4, Lcom/android/server/PowerManagerService;->mAnimateScreenLights:Z[/COLOR]

if-eqz v4, :cond_2f[/COLOR]
@@ -378,6 +434,16 @@
[COLOR="Blue"]
move-result v6

[COLOR="Lime"]+ iget-object v6, p0, Lcom/android/server/PowerManagerService$BrightnessState;->this$0:Lcom/android/server/PowerManagerService;
+
+ invoke-static {v6}, Lcom/android/server/PowerManagerService;->getContextZZ(Lcom/android/server/PowerManagerService;)Landroid/content/Context;
+
+ move-result-object v6
+
+ invoke-direct {p0, v6}, Lcom/android/server/PowerManagerService$BrightnessState;->getScreenAnimationMode(Landroid/content/Context;)I
+
+ move-result v6
+[/COLOR]
goto :goto_4e
.end method

[/COLOR]
------- framework/services/com/android/server/PowerManagerService.smali -------
old mode 100644
new mode 100755
index 5d6a92f..6f9b36f
@@ -92,9 +92,9 @@

[COLOR="Blue"] .field private static final WAKE_KEYGUARD_ACTION:Ljava/lang/String; = "android.intent.action.internal.KEYGUARD_WAKE"

[COLOR="Red"]-.field private static final mDebugLightSensor:Z
[/COLOR][COLOR="Lime"]+.field private static final mDebugLightSensor:Z = true
[/COLOR]
[COLOR="Red"]-.field private static final mDebugProximitySensor:Z
[/COLOR][COLOR="lime"]+.field private static final mDebugProximitySensor:Z = true
[/COLOR]
.field private static final mSpew:Z
[/COLOR]
@@ -2246,6 +2246,16 @@
[COLOR="Blue"] goto :goto_e
.end method

[COLOR="Lime"]+.method static synthetic getContextZZ(Lcom/android/server/PowerManagerService;)Landroid/content/Context;
+ .registers 2
+ .parameter "x0"
+
+ .prologue
+ iget-object v0, p0, Lcom/android/server/PowerManagerService;->mContext:Landroid/content/Context;
+
+ return-object v0
+.end method
+[/COLOR]
.method private getPreferredBrightness()I
.registers 5

[/COLOR]

CRT ON/OFF Patch for Prime v2.0.5

http://roach.qap.la/Roms/Prime_v2.0/CRT_patch.zip

MD5: ba36a620382b8e32d14da358198788bc