[Galaxy S Plus I9001 Android Development] dbx4:
mazen912 kindly built an AriesParts.apk for CM7 for me to try out, thanks mazen912!

On CM7 AriesParts adds an entry "Device settings" in the settings menu but when you choose it crashes with:

W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._setHdmiCableConnected:(I)V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHdmiEnabled:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHdmiSuspended:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHdmiCableConnected:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._SetTvoutHdmiStatus:(I)Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutHdmiSuspend:(Ljava/lang/String;)V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutEnableHDMISubtitleOn:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutPostHDMISubtitle:(Ljava/lang/String;)V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHDMISubtitleOn:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutDisableHDMISubtitleOn:()V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutPostHDMIBitmap:(Landroid/graphics/Bitmap;)V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHdmiDualEnabled:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._SetTvoutHdmiDualStatus:(I)V
E/JNIHelp ( 1007): RegisterNatives failed for 'android/hardware/TvOut'
E/TvOut-JNI( 1007): ERROR: TvOut native registration failed
W/dalvikvm( 1007): JNI_OnLoad returned bad version (-1) in /system/lib/libtvout_jni.so 0x405140b8
W/dalvikvm( 1007): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Landroid/hardware/TvOut;
D/AndroidRuntime( 1007): Shutting down VM
W/dalvikvm( 1007): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 1007): FATAL EXCEPTION: main
E/AndroidRuntime( 1007): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 1007): at com.cyanogenmod.AriesParts.AriesParts.onCreate(AriesParts.java:55)
E/AndroidRuntime( 1007): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 1007): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)
E/AndroidRuntime( 1007): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)
E/AndroidRuntime( 1007): at android.app.ActivityThread.access$1500(ActivityThread.java:123)
E/AndroidRuntime( 1007): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
E/AndroidRuntime( 1007): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1007): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1007): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 1007): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1007): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1007): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/AndroidRuntime( 1007): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
E/AndroidRuntime( 1007): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1007): Caused by: java.lang.UnsatisfiedLinkError: unknown failure
E/AndroidRuntime( 1007): at java.lang.Runtime.loadLibrary(Runtime.java:434)
E/AndroidRuntime( 1007): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 1007): at android.hardware.TvOut.<clinit>(TvOut.java:53)
E/AndroidRuntime( 1007): ... 14 more
W/ActivityManager( 269): Force finishing activity com.cyanogenmod.AriesParts/.AriesParts

I'm assuming all those declarations in the first error lines need to be added to AriesParts/src/android/hardware/TvOut.java