[General Questions and Answers] patraanjan23:
I'm working on a cyanogenmod porting. I've made one of my builds actually boot successfully. but my current builds are showing these errors in log when trying to boot:

--------- beginning of /dev/log/main
E/BRCM ( 1271): Read /sys/class/android_usb/android0/functions failed
E/AndroidRuntime( 1261): cannot open customer xml file
E/AndroidRuntime( 1261): can't open CUSTOMER_XML
--------- beginning of /dev/log/system
E/Encryption( 1255): created DirEncryptionManager
E/SurfaceFlinger( 1260): ro.sf.lcd_density must be defined as a build property
E/V4L2CameraDevice( 1263): checkSupportedCameras(): cannot open /dev/video1
E/ALSAControl( 1263): Error -2	snd_config_search for key Hardware.configuration.SSPI.1.value
E/AudioHardwareALSA( 1263): Voice Volume min = 0, max = 5
E/AudioHardwareALSA( 1263): FM Volume min = 0, max = 14
E/AudioPolicyManagerBase( 1263): Not output found for attached devices 00000002
E/AudioPolicyManagerBase( 1263): Failed to open primary output
E/AudioPolicyManagerBase( 1263): getDeviceForStrategy() speaker device not found
E/AudioPolicyManagerBase( 1263): getDeviceForStrategy() speaker device not found
E/AudioPolicyManagerBase( 1263): getDeviceForStrategy() speaker device not found
E/VolumeCustomizer( 1263): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1263): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1263): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1263): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1263): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1263): checkCRC fail. recover db is impossible. files corrupted.
E/AudioPolicyService( 1263): couldn't init_check the audio policy (No such device)
E/BRCM-OMX( 1263): HandleInitError mLibHandle is null for index = 0
E/ ( 1263): Failed to open file 'system/media/audio/ui/PowerOn.ogg'. (No such file or directory)
E/AwesomePlayer( 1263): cannot create dataSource
E/MediaPlayer( 1485): error (1, -2147483648)
E/MediaPlayer( 1485): Attempt to call getDuration without a valid mediaplayer
E/MediaPlayer( 1485): start called in state 0
E/dalvikvm( 1261): ERROR: couldn't find native method
E/dalvikvm( 1261): Requested: Landroid/os/SystemClock;._setCurrentTimeMillis:(J)Z
E/JNIHelp ( 1261): RegisterNatives failed for 'android/os/SystemClock', aborting
F/libc ( 1261): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1261 (zygote)
E/su ( 1605): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1606): cannot open customer xml file
E/AndroidRuntime( 1606): can't open CUSTOMER_XML
E/dalvikvm( 1606): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1606): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1606): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1606): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1606 (app_process)
E/su ( 1619): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1620): cannot open customer xml file
E/AndroidRuntime( 1620): can't open CUSTOMER_XML
E/dalvikvm( 1620): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1620): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1620): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1620): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1620 (app_process)
E/su ( 1628): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1629): cannot open customer xml file
E/AndroidRuntime( 1629): can't open CUSTOMER_XML
E/dalvikvm( 1629): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1629): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1629): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1629): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1629 (app_process)
E/su ( 1644): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1645): cannot open customer xml file
E/AndroidRuntime( 1645): can't open CUSTOMER_XML
E/dalvikvm( 1645): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1645): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1645): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1645): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1645 (app_process)
E/su ( 1653): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1654): cannot open customer xml file
E/AndroidRuntime( 1654): can't open CUSTOMER_XML
E/dalvikvm( 1654): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1654): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1654): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1654): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1654 (app_process)
E/su ( 1662): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1663): cannot open customer xml file
E/AndroidRuntime( 1663): can't open CUSTOMER_XML
E/dalvikvm( 1663): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1663): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1663): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1663): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1663 (app_process)
E/su ( 1672): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1673): cannot open customer xml file
E/AndroidRuntime( 1673): can't open CUSTOMER_XML
E/dalvikvm( 1673): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1673): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1673): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1673): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1673 (app_process)
E/su ( 1681): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1682): cannot open customer xml file
E/AndroidRuntime( 1682): can't open CUSTOMER_XML
E/dalvikvm( 1682): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1682): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1682): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1682): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1682 (app_process)
E/su ( 1691): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1692): cannot open customer xml file
E/AndroidRuntime( 1692): can't open CUSTOMER_XML
E/dalvikvm( 1692): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1692): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1692): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1692): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1692 (app_process)
E/su ( 1702): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1703): cannot open customer xml file
E/AndroidRuntime( 1703): can't open CUSTOMER_XML
E/dalvikvm( 1703): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1703): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1703): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1703): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1703 (app_process)
E/su ( 1713): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1714): cannot open customer xml file
E/AndroidRuntime( 1714): can't open CUSTOMER_XML
E/dalvikvm( 1714): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1714): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1714): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1714): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1714 (app_process)
E/su ( 1723): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1724): cannot open customer xml file
E/AndroidRuntime( 1724): can't open CUSTOMER_XML
E/dalvikvm( 1724): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1724): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1724): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1724): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1724 (app_process)
E/MediaPlayer( 1485): error (100, 0)
E/SamsungPowerSound( 1485): Power sound play error (100, 0)
E/SamsungPowerSound( 1485): Can't get Audio Policy Service, so can't revert connection state
E/AndroidRuntime( 1732): cannot open customer xml file
E/AndroidRuntime( 1732): can't open CUSTOMER_XML
E/dalvikvm( 1732): ERROR: couldn't find native method
E/dalvikvm( 1732): Requested: Landroid/os/SystemClock;._setCurrentTimeMillis:(J)Z
E/JNIHelp ( 1732): RegisterNatives failed for 'android/os/SystemClock', aborting
F/libc ( 1732): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1732 (zygote)
E/V4L2CameraDevice( 1735): checkSupportedCameras(): cannot open /dev/video1
E/ALSAControl( 1735): Error -2	snd_config_search for key Hardware.configuration.SSPI.1.value
E/AudioHardwareALSA( 1735): Voice Volume min = 0, max = 5
E/AudioHardwareALSA( 1735): FM Volume min = 0, max = 14
E/AudioPolicyManagerBase( 1735): Not output found for attached devices 00000002
E/AudioPolicyManagerBase( 1735): Failed to open primary output
E/AudioPolicyManagerBase( 1735): getDeviceForStrategy() speaker device not found
E/AudioPolicyManagerBase( 1735): getDeviceForStrategy() speaker device not found
E/AudioPolicyManagerBase( 1735): getDeviceForStrategy() speaker device not found
E/VolumeCustomizer( 1735): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1735): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1735): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1735): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1735): checkCRC fail. recover db is impossible. files corrupted.
E/VolumeCustomizer( 1735): checkCRC fail. recover db is impossible. files corrupted.
E/AudioPolicyService( 1735): couldn't init_check the audio policy (No such device)
E/BandwidthController( 1733): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController( 1733): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
E/su ( 1899): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1900): cannot open customer xml file
E/AndroidRuntime( 1900): can't open CUSTOMER_XML
E/dalvikvm( 1900): Dex cache directory isn't writable: /data/dalvik-cache
E/appproc ( 1900): ERROR: could not find class 'com.android.commands.am.Am'
E/JNIHelp ( 1900): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 1900): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1900 (app_process)
E/su ( 1913): Root access is disabled by a system setting - enable it under settings -> developer options
E/AndroidRuntime( 1914): cannot open customer xml file
E/AndroidRuntime( 1914): can't open CUSTOMER_XML

Any suggestion how I can fix this? It keeps loading at the boot screen.