[Thunderbolt Themes and Apps] yareally:
I give up working on patching it and compiling for froyo. I patched the cm7 issue in the 2.2 source and compiled and copied the appropriate files over and flashed on my phone, but just resorted in another white screen. There's obviously more to it than just the patch when it comes to backporting to froyo from gingerbread and not really worth dealing with; especially when GB will be officially out in less than a month.

I tried to compile the patch with the 2.2 source, but I was getting errors with libmedia_jni.so and a whitescreen and had to revert to my backup.

D/AndroidRuntime( 1674): CheckJNI is ON
D/AndroidRuntime( 1674): --- registering native functions ---
I/SamplingProfilerIntegration( 1674): Profiler is disabled.
I/Zygote ( 1674): Preloading classes...
D/dalvikvm( 1674): GC_EXPLICIT freed 816 objects / 47208 bytes in 8ms
D/dalvikvm( 1674): GC_EXPLICIT freed 219 objects / 13560 bytes in 19ms
D/dalvikvm( 1674): GC_EXPLICIT freed 253 objects / 14336 bytes in 20ms
D/dalvikvm( 1674): GC_EXPLICIT freed 466 objects / 28872 bytes in 22ms
D/dalvikvm( 1674): GC_EXPLICIT freed 2090 objects / 108312 bytes in
26ms
I/dalvikvm( 1674): Unable to dlopen(/system/lib/libmedia_jni.so):
Cannot load library: link_image[1995]: failed to link libmedia_jni.so
I/dalvikvm( 1674):
W/dalvikvm( 1674): Exception Ljava/lang/UnsatisfiedLinkError; thrown
during Landroid/media/DecoderCapabilities;.<clinit>
W/dalvikvm( 1674): Exception Ljava/lang/ExceptionInInitializerError;
thrown during Landroid/media/MediaFile;.<clinit>
E/Zygote ( 1674): Error preloading android.media.MediaFile.
E/Zygote ( 1674): java.lang.ExceptionInInitializerError
E/Zygote ( 1674): at java.lang.Class.classForName(Native Method)
E/Zygote ( 1674): at java.lang.Class.forName(Class.java:235)
E/Zygote ( 1674): at java.lang.Class.forName(Class.java:182)
E/Zygote ( 1674): at
com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:302)
E/Zygote ( 1674): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:589)
E/Zygote ( 1674): at dalvik.system.NativeStart.main(Native
Method)
E/Zygote ( 1674): Caused by: java.lang.ExceptionInInitializerError
E/Zygote ( 1674): at
android.media.MediaFile.isWMAEnabled(MediaFile.java:106)
E/Zygote ( 1674): at
android.media.MediaFile.<clinit>(MediaFile.java:131)
E/Zygote ( 1674): ... 6 more
E/Zygote ( 1674): Caused by: java.lang.UnsatisfiedLinkError: Library
media_jni not found
E/Zygote ( 1674): at java.lang.Runtime.loadLibrary(Runtime.java:
461)
E/Zygote ( 1674): at java.lang.System.loadLibrary(System.java:
557)
E/Zygote ( 1674): at
android.media.DecoderCapabilities.<clinit>(DecoderCapabilities.java:
46)
E/Zygote ( 1674): ... 8 more
D/AndroidRuntime( 1674): Shutting down VM
W/dalvikvm( 1674): threadid=1: thread exiting with uncaught exception
(group=0x4001d7f0)
init: untracked pid 1675 exited

It complains about libmedia_jni not being found, but it's in the /system/lib, so something just isn't linked correctly. What that is, is too annoying for me to want to deal with.

Someone else wants to try, feel free but with what is described. **NOTE THIS WILL NOT WORK AND WILL TEMP BRICK (white screen) UNTIL YOU REVERT, BUT IT WILL AT LEAST GET YOU TO WHERE I WAS SO YOU CAN SEE THE LOGS YOURSELF**

I do have the .so files from building, but just to make sure someone doesnt do something dumb and flash them without knowing what they're doing, I'm not posting. If you're able enough to try to get this to work, you should be able to replicate the steps below anyways to get them yourself.

get source:

http://source.android.com/source/initializing.html (source and compile directions)

apply patch:

http://review.cyanogenmod.com/#patch,sidebyside,5303,1,include/media/stagefright/ColorConverter.h

http://review.cyanogenmod.com/#patc...tagefright/colorconversion/ColorConverter.cpp

http://review.cyanogenmod.com/#change,5303

Then compile and build the source. I used debian lenny to build it, though squeeze or any unbuntu version should work just the same as long as you can get sun-java5-jdk.

Move over files that were patched (colorcoverter whatever it's called .so) via an update file (see below):

http://www.londatiga.net/it/how-to-create-android-update-zip-package/

Make a nandroid backup and then flash and dump out logs while it loads to a blank white screen and then recover and try again (with a better fix hopefully).

**NOTE: IF YOU CANT READ THAT I SAID THIS DOESN'T WORK AND IS JUST AN EXPLAINATION OF A HALF ATTEMPT TO GET IT WORKING (and needs further work I don't want to try) AND YOU TRY THIS AND DON'T BACK UP AND GET A WHITE SCREEN, IT'S YOUR FAULT, NOT MINE (since some people are just really excited to do anything to get netflix to work blah blah)**

Anyways, it was fun to try to figure out, but it's too much work for just fun and not getting paid, haha. If someone has some actual useful information though, then feel free to post and let me know and I'll try again if it looks like it be helpful. I'm still semi noob as an android user (few months), but I'm a long time *nix user and developer (8 or so years), so knowing my way around everything in the android source is still growing on me. I'm just burned out on my googlefu atm and pages are starting to bleed together...