[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
And yet, still no "cm-10.1" branch for the skyrocket or msm8660-common kernel, and device_samsung_msm8660-common and device_samsung_celox-common haven't been updated from "mr1-staging" yet. :grumpy:

I tried using Evervolv's legacy qcom display/audio repo's but that did work so well. Tried to fork the repos myself from CM and modify the jellybean branch slightly but that did work either. Errors out while building with some conflict between the qcom audio repo and the libhardware-legacy repo.

hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioPolicyManager::setDeviceConnectionState(android_audio_legacy::AudioSystem::audio_devices, android_audio_legacy::AudioSystem::device_connection_state, char const*)':
hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp:420:33: error: 'updateDeviceForStrategy' was not declared in this scope
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h: In member function 'virtual android::status_t android_audio_legacy::AudioPolicyManager::startOutput(audio_io_handle_t, android_audio_legacy::AudioSystem::stream_type, int)':
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:566:14: error: 'void android_audio_legacy::AudioPolicyManagerBase::handleNotificationRoutingForStream(android_audio_legacy::AudioSystem::stream_type)' is private
hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp:548:9: error: within this context
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:566:14: error: 'void android_audio_legacy::AudioPolicyManagerBase::handleNotificationRoutingForStream(android_audio_legacy::AudioSystem::stream_type)' is private
hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp:548:50: error: within this context
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h: In member function 'virtual android::status_t android_audio_legacy::AudioPolicyManager::stopOutput(audio_io_handle_t, android_audio_legacy::AudioSystem::stream_type, int)':
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:566:14: error: 'void android_audio_legacy::AudioPolicyManagerBase::handleNotificationRoutingForStream(android_audio_legacy::AudioSystem::stream_type)' is private
hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp:604:13: error: within this context
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:566:14: error: 'void android_audio_legacy::AudioPolicyManagerBase::handleNotificationRoutingForStream(android_audio_legacy::AudioSystem::stream_type)' is private
hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp:604:54: error: within this context
hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioPolicyManager::stopInput(audio_io_handle_t)':
hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp:616:26: warning: converting to non-pointer type 'uint32_t {aka unsigned int}' from NULL [-Wconversion-null]
hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp: In member function 'virtual void android_audio_legacy::AudioPolicyManager::setForceUse(android_audio_legacy::AudioSystem::force_use, android_audio_legacy::AudioSystem::forced_config)':
hardware/qcom/audio-legacy/msm8660/AudioPolicyManager.cpp:825:29: error: 'updateDeviceForStrategy' was not declared in this scope
make: *** [/home/m4570d0n/cm10/out/target/product/skyrocket/obj/SHARED_LIBRARIES/audio_policy.msm8660_intermediates/AudioPolicyManager.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp: In member function 'virtual void android_audio_legacy::AudioPolicyManagerBase::setPhoneState(int)':
hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:348:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

...and I have reached the point where this is now well beyond my knowledge.

I also tried to just build this normally again and manually added the drivers from my phone into out/target/product/skyrocket/system/lib/hw.

(Added copybit.msm8660.so, hwcomposer.msm8660.so, audio.primary.msm8660.so and audio_policy.msm8660.so pulled from my phone, and gralloc.msm8660.so, pulled from the HTC build)

Same result and error log as last time. However, I picked up on more files that it complained about not finding. "libgenlock.so", "libmemalloc.so" and "liboverlay.so".

12-13 15:48:00.904: E/libEGL(862): load_driver(/system/lib/egl/libEGL_adreno200.so): Cannot load library: soinfo_link_image(linker.cpp:1649): could not load library "libgenlock.so" needed by "libEGL_adreno200.so"; caused by load_library(linker.cpp:747): library [B]"libgenlock.so" not found[/B]
12-13 15:48:00.904: E/libEGL(862): eglGetDisplay:121 error 300c (EGL_BAD_PARAMETER)
12-13 15:48:00.904: E/libEGL(862): eglInitialize:137 error 3008 (EGL_BAD_DISPLAY)
12-13 15:48:00.904: E/HAL(862): load: module=/system/lib/hw/gralloc.msm8660.so
12-13 15:48:00.904: E/HAL(862): Cannot load library: soinfo_link_image(linker.cpp:1649): could not load library "libmemalloc.so" needed by "gralloc.msm8660.so"; caused by load_library(linker.cpp:747): library [B]"libmemalloc.so" not found[/B]
12-13 15:48:00.904: E/SurfaceFlinger(862): gralloc module not found
12-13 15:48:00.904: E/HAL(862): load: module=/system/lib/hw/hwcomposer.msm8660.so
12-13 15:48:00.904: E/HAL(862): Cannot load library: soinfo_link_image(linker.cpp:1649): could not load library "liboverlay.so" needed by "hwcomposer.msm8660.so"; caused by load_library(linker.cpp:747): library [B]"liboverlay.so" not found[/B]
12-13 15:48:00.904: E/SurfaceFlinger(862): hwcomposer module not found
12-13 15:48:00.904: E/SurfaceFlinger(862): ERROR: failed to open framebuffer, aborting
12-13 15:48:00.904: A/libc(862): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 863 (SurfaceFlinger)