[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] enli:
I have got a question for mikeioannina or anybody else who can help - The LegacyXperia kernel doesn't boot when added to another ROM's sources.

I have downloaded LegacyXperia sources and the ROM builds perfectly fine. The kernel boots and everything else is as expected. But, when I put the kernel sources in another roms, Paranoid Android or CarbonRom, the kernel doesn't finish booting. I have made sure that the kernel sources are pointing to Github cm-11.0 branch. I have also compared the device/semc/urushi sources and those are identical to that of LegacyXperia sources. I am completely stuck here, been trying to figure out this mess myself since last 10 days or so, but no luck so far.

Here is the logcat. The logcat doesn't proceed after the last line but it's still running apparently. I have left the phone like 10 minutes and still the last line remains the same. Any help would be super helpful.

I/clearpad_fwloader( 211): check_device_info: device.module_id = [0x02]
I/clearpad_fwloader( 211): check_device_info: revision = [0x07]
I/clearpad_fwloader( 211): check_nv_info: nv.module_id = [0x02]
I/clearpad_fwloader( 211): main_execution: Device is normal
I/clearpad_fwloader( 211): main_execution: Module ID is same
I/clearpad_fwloader( 211): compare_and_flush: Update of firmware is unnecessary
I/auditd ( 225): Starting up
--------- beginning of /dev/log/main
E/uim-sysfs( 224): uim: Inside main
E/uim-sysfs( 224): uim:ST built into the kernel ?
E/uim-sysfs( 224): uim:BT driver module un-available...
E/uim-sysfs( 224): uim:BT driver built into the kernel ?
E/uim-sysfs( 224): uim:FM driver module un-available...
E/uim-sysfs( 224): uim:FM driver built into the kernel ?
E/uim-sysfs( 224): uim:GPS driver module un-available...
E/uim-sysfs( 224): uim:GPS driver built into the kernel ?
E/uim-sysfs( 224): uim:FM V4L2 driver module un-available...
E/uim-sysfs( 224): uim:FM V4L2 driver built into the kernel ?
E/uim-sysfs( 224): uim:unable to chmod /dev/radio0, might not exist
E/uim-sysfs( 224): uim:found bluetooth rfkill entry @ 0
E/uim-sysfs( 224):
E/uim-sysfs( 224): uim:change mode failed for /sys/class/rfkill/rfkill0/state (1)
E/uim-sysfs( 224):
E/uim-sysfs( 224): uim:rfkill not enabled in st_drv - BT on from UI might fail
E/uim-sysfs( 224):
I/audit_log( 225): Previous audit logfile detected, rotating
I/AKMD2 ( 244): AK8975/B for Android v 2.0.0.---- (Library: v1.2.3.114) started.
I/installd( 240): installd firing up
I/nv_param_loader( 247): read_nv: NV value is active. nv_id=60240
I/nv_param_loader( 247): main_execution:prox_cal=0
W/libc ( 223): WARNING: generic atexit() called from legacy shared library
I/Vold ( 221): Vold 2.1 (the revenge) firing up
D/Vold ( 221): Volume sdcard0 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 221): Volume usbdisk state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 221): Volume sdcard0 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 221): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 221): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/DirectVolume( 221): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 3, PARTN 3
D/Vold ( 221): Volume sdcard0 state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/Netd ( 226): Netd 1.0 starting
W/InterfaceController( 226): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
W/libc ( 223): WARNING: generic atexit() called from legacy shared library
W/libc ( 223): WARNING: generic atexit() called from legacy shared library
I/SurfaceFlinger( 231): SurfaceFlinger is starting
I/SurfaceFlinger( 231): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 231): loaded /vendor/lib/egl/libEGL_adreno.so
D/libEGL ( 231): loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
D/libEGL ( 231): loaded /vendor/lib/egl/libGLESv2_adreno.so
W/Adreno-GSL( 231): <get_panel_settings:3802>: Android framework reported version 2. So, don't force ES30
I/Adreno-EGL( 231): <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.00.007.018_msm8960_KK_2.7_RB1_CL3869936_release_AU (CL3869936)
I/Adreno-EGL( 231): OpenGL ES Shader Compiler Version: 17.01.10.SPL
I/Adreno-EGL( 231): Build Date: 12/09/13 Mon
I/Adreno-EGL( 231): Local Branch: mybranch2092625
I/Adreno-EGL( 231): Remote Branch: quic/kk_2.7_rb1.15
I/Adreno-EGL( 231): Local Patches: NONE
I/Adreno-EGL( 231): Reconstruct Branch: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.00.007.018 + NOTHING
D/qdoverlay( 231): initoverlay:: opening the device:: /dev/graphics/fb0
D/qdoverlay( 231): initoverlay:: opening the device:: /dev/graphics/fb1
E/qdoverlay( 231): cannot open framebuffer(1)
W/qdcopybit( 231): open_copybit i = 0 surface_id=2
W/qdcopybit( 231): open_copybit i = 1 surface_id=3
W/qdcopybit( 231): open_copybit i = 2 surface_id=4
W/qdcopybit( 231): open_copybit i = 3 surface_id=5
W/qdcopybit( 231): open_copybit i = 4 surface_id=6
W/qdcopybit( 231): open_copybit i = 5 surface_id=7
W/qdcopybit( 231): open_copybit i = 6 surface_id=8
W/qdcopybit( 231): open_copybit i = 7 surface_id=9
W/qdcopybit( 231): open_copybit i = 8 surface_id=10
W/qdcopybit( 231): open_copybit i = 9 surface_id=11
W/qdcopybit( 231): open_copybit i = 10 surface_id=12
W/qdcopybit( 231): open_copybit i = 11 surface_id=13
W/qdcopybit( 231): open_copybit i = 12 surface_id=14
W/qdcopybit( 231): open_copybit i = 13 surface_id=15
W/qdcopybit( 231): open_copybit i = 14 surface_id=16
W/qdcopybit( 231): open_copybit i = 15 surface_id=17
W/qdcopybit( 231): open_copybit i = 16 surface_id=18
W/qdcopybit( 231): open_copybit i = 17 surface_id=19
W/qdcopybit( 231): open_copybit i = 18 surface_id=20
W/qdcopybit( 231): open_copybit i = 19 surface_id=21
W/qdcopybit( 231): open_copybit i = 20 surface_id=22
W/qdcopybit( 231): open_copybit i = 21 surface_id=23
W/qdcopybit( 231): open_copybit i = 22 surface_id=24
W/qdcopybit( 231): open_copybit i = 23 surface_id=25
W/qdcopybit( 231): open_copybit i = 24 surface_id=26
W/qdcopybit( 231): open_copybit i = 25 surface_id=27
W/qdcopybit( 231): open_copybit i = 26 surface_id=28
W/qdcopybit( 231): open_copybit i = 27 surface_id=29
W/qdcopybit( 231): open_copybit i = 28 surface_id=30
W/qdcopybit( 231): open_copybit i = 29 surface_id=31
W/qdcopybit( 231): open_copybit i = 30 surface_id=32
W/qdcopybit( 231): open_copybit i = 31 surface_id=33
W/qdcopybit( 231): open_copybit: 2 Plane YUV i=0 surface_id=35
W/qdcopybit( 231): open_copybit: 2 Plane YUV i=1 surface_id=36
W/qdcopybit( 231): open_copybit: 2 Plane YUV i=2 surface_id=37
W/qdcopybit( 231): open_copybit: 2 Plane YUV i=3 surface_id=38
W/qdcopybit( 231): open_copybit: 3 Plane YUV i=0 surface_id=40
I/qdhwcomposer( 231): Initializing Qualcomm Hardware Composer
I/qdhwcomposer( 231): MDP version: 400
D/qdhwcomposer( 231): connectPPDaemon: CABL is disabled
I/SurfaceFlinger( 231): Using composer version 1.3
I/qdhwcomposer( 231): hwc_registerProcs
I/qdhwcomposer( 231): Initializing UEVENT Thread
I/qdhwcomposer( 231): Initializing VSYNC Thread
D/qdhwcomposer( 231): hwc_getDisplayAttributes disp = 0, width = 480
D/qdhwcomposer( 231): hwc_getDisplayAttributes disp = 0, height = 854
I/SurfaceFlinger( 231): EGL informations:
I/SurfaceFlinger( 231): vendor : Android
I/SurfaceFlinger( 231): version : 1.4 Android META-EGL
I/SurfaceFlinger( 231): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable
I/SurfaceFlinger( 231): Client API: OpenGL_ES
I/SurfaceFlinger( 231): EGLSurface: 8-8-8-8, config=0x5
I/SurfaceFlinger( 231): OpenGL ES informations:
I/SurfaceFlinger( 231): vendor : Qualcomm
I/SurfaceFlinger( 231): renderer : Adreno (TM) 205
I/SurfaceFlinger( 231): version : OpenGL ES 2.0 V@45.0 AU@04.04.00.007.018 (CL@3869936)
I/SurfaceFlinger( 231): extensions: GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_robustness GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_depth_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_AMD_compressed_3DC_texture GL_EXT_texture_filt
I/SurfaceFlinger( 231): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 231): GL_MAX_VIEWPORT_DIMS = 4096
E/cutils-trace( 231): Error opening trace file: No such file or directory (2)
D/SurfaceFlinger( 231): Screen acquired, type=0 flinger=0x1333450
D/qdhwcomposer( 231): hwc_blank: Unblanking display: 0
D/qdhwcomposer( 231): hwc_blank: Done unblanking display: 0
I/mediaserver( 234): ServiceManager: 0x19c84f0
I/AudioFlinger( 234): Using default 3000 mSec as standby time.
E/MediaPlayerFactory( 234): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory( 234): calling dlsym on pFactoryLib for FACTORY_CREATE_FN
E/MediaPlayerFactory( 234): registering DASH Player factory...
I/CameraService( 234): CameraService started (pid=234)
I/CameraService( 234): Loaded "Xperia msm7x30 Camera Wrapper" camera module
E/SEMC Camera HAL( 234): HAL_getNumberOfCameras: E
D/qdutils ( 231): DEBUG_CALC_FPS: 0
D/qdutils ( 231): period: 10
D/qdutils ( 231): ignorethresh_us: 500000
I/DEBUG ( 228): debuggerd: Jun 20 2014 01:03:11
D/libEGL ( 330): loaded /vendor/lib/egl/libEGL_adreno.so
D/libEGL ( 330): loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
D/libEGL ( 330): loaded /vendor/lib/egl/libGLESv2_adreno.so
W/Adreno-GSL( 330): <get_panel_settings:3802>: Android framework reported version 2. So, don't force ES30
I/Adreno-EGL( 330): <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.00.007.018_msm8960_KK_2.7_RB1_CL3869936_release_AU (CL3869936)
I/Adreno-EGL( 330): OpenGL ES Shader Compiler Version: 17.01.10.SPL
I/Adreno-EGL( 330): Build Date: 12/09/13 Mon
I/Adreno-EGL( 330): Local Branch: mybranch2092625
I/Adreno-EGL( 330): Remote Branch: quic/kk_2.7_rb1.15
I/Adreno-EGL( 330): Local Patches: NONE
I/Adreno-EGL( 330): Reconstruct Branch: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.00.007.018 + NOTHING
E/cutils-trace( 330): Error opening trace file: No such file or directory (2)
D/AndroidRuntime( 232):
D/AndroidRuntime( 232): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 232): CheckJNI is OFF
I/dalvikvm( 232): DexOpt: not all deps represented
D/dalvikvm( 232): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/system@framework@qcmediaplayer.jar@classes.dex)
D/dalvikvm( 232): DexOpt: --- BEGIN 'qcmediaplayer.jar' (bootstrap=1) ---
D/dalvikvm( 386): DexOpt: sleeping on flock(/data/dalvik-cache/system@framework@qcmediaplayer.jar@classes.dex)
I/AudioPolicyManagerBase( 234): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
D/AudioHardware7x30( 234): msm_mixer_open: Opening the device
D/AudioHardware7x30( 234): msm_mixer_count:mixer_cnt =46
I/AudioHardware7x30( 234): ******* name[0] = [handset_rx] *********
I/AudioHardware7x30( 234): ******* name[1] = [handset_tx] *********
I/AudioHardware7x30( 234): ******* name[2] = [headset_stereo_rx] *********
I/AudioHardware7x30( 234): ******* name[3] = [headset_mono_rx] *********
I/AudioHardware7x30( 234): ******* name[4] = [headset_mono_tx] *********
I/AudioHardware7x30( 234): ******* name[5] = [fmradio_handset_rx] *********
I/AudioHardware7x30( 234): ******* name[6] = [speaker_stereo_rx] *********
I/AudioHardware7x30( 234): ******* name[7] = [fmradio_speaker_rx] *********
I/AudioHardware7x30( 234): ******* name[8] = [fmradio_headset_rx] *********
I/AudioHardware7x30( 234): ******* name[9] = [handset_dual_mic_endfire_tx] *********
I/AudioHardware7x30( 234): ******* name[10] = [handset_dual_mic_broadside_tx] *********
I/AudioHardware7x30( 234): ******* name[11] = [speaker_dual_mic_endfire_tx] *********
I/AudioHardware7x30( 234): ******* name[12] = [speaker_mono_tx] *********
I/AudioHardware7x30( 234): ******* name[13] = [tty_headset_mono_rx] *********
I/AudioHardware7x30( 234): ******* name[14] = [tty_headset_mono_tx] *********
I/AudioHardware7x30( 234): ******* name[15] = [bt_sco_rx] *********
I/AudioHardware7x30( 234): ******* name[16] = [bt_sco_tx] *********
I/AudioHardware7x30( 234): ******* name[17] = [speaker_mono_rx] *********
I/AudioHardware7x30( 234): ******* name[18] = [headset_speaker_mono_rx] *********
I/AudioHardware7x30( 234): ******* name[19] = [ringtone_speaker_stereo_rx] *********
I/AudioHardware7x30( 234): ******* name[20] = [ringtone_speaker_mono_rx] *********
I/AudioHardware7x30( 234): ******* name[21] = [bt_carkit_rx] *********
I/AudioHardware7x30( 234): ******* name[22] = [bt_carkit_tx] *********
I/AudioHardware7x30( 234): ******* name[23] = [bt_dsp_sco_rx] *********
I/AudioHardware7x30( 234): ******* name[24] = [bt_dsp_sco_tx] *********
I/AudioHardware7x30( 234): ******* name[25] = [handset_spkr_hac_rx] *********
I/AudioHardware7x30( 234): ******* name[26] = [headphone_mic_tx] *********
I/AudioHardware7x30( 234): ******* name[27] = [headset_stereo_speaker_stereo_rx] *********
I/AudioHardware7x30( 234): ******* name[28] = [hdmi_stereo_rx] *********
I/AudioHardware7x30( 234): ******* name[29] = [fmradio_stereo_tx] *********
I/AudioHardware7x30( 234): ******* name[30] = [headphone_mic_endfire_tx] *********
I/AudioHardware7x30( 234): ******* name[31] = [speaker_secondary_mic_tx] *********
I/AudioHardware7x30( 234): ******* name[32] = [speaker_dual_mic_endfire_tx_real_stereo] *********
I/AudioHardware7x30( 234): Set master volume to 7.
I/AudioFlinger( 234): loadHwModule() Loaded primary audio interface from QCOM Audio HW HAL (audio) handle 1
D/AudioHardware7x30( 234): AudioHardware::openOutputStream devices 2 format 1 channels 3 samplerate 44100
I/AudioFlinger( 234): HAL output buffer size 1200 frames, normal mix buffer size 1200 frames
I/AudioMixer( 234): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 234): Using module 1 has the primary audio interface
D/AudioHardwareInterface( 234): setMode(NORMAL)
D/AudioPolicyManagerBase( 234): setOutputDevice() changing device from (2) to (2) force (1) delayMs (0) on Output (2)
I/AudioFlinger( 234): AudioFlinger's thread 0x41412008 ready to run
W/AudioFlinger( 234): Thread AudioOut_2 cannot connect to the power manager service
I/AudioHardware7x30( 234): Routing audio to Speakerphone
D/AudioHardware7x30( 234): new_rx = 17
D/AudioHardware7x30( 234): new_tx = 12
W/AudioFlinger( 234): Thread AudioOut_2 cannot connect to the power manager service
D/AudioHardware7x30( 234): setVoiceVolume(0.000000)
I/AudioHardware7x30( 234): Setting in-call volume to 0 (available range is 0 to 100)
E/AudioHardware7x30( 234): msm_set_voice_rx_vol(0) failed errno = 1
W/AudioFlinger( 234): Thread AudioOut_2 cannot connect to the power manager service
E/AudioFlinger( 234): no wake lock to update!
I/audio_a2dp_hw( 234): adev_open: adev_open in A2dp_hw module
I/AudioFlinger( 234): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 3
I/AudioFlinger( 234): loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 4
I/AudioPolicyService( 234): Loaded audio policy from QCOM Audio Policy HAL (audio_policy)
V/NatController( 226): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController( 226): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController( 226): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController( 226): runCmd(/system/bin/ip route flush cache) res=0
V/NatController( 226): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=1
V/NatController( 226): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=1
V/NatController( 226): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
W/libc ( 229): WARNING: generic atexit() called from legacy shared library
D/MDnsDS ( 226): MDnsSdListener::Hander starting up
D/MDnsDS ( 226): MDnsSdListener starting to monitor
D/MDnsDS ( 226): Going to poll with pollCount 1