[Android Software Development] a1exander:
Iv'e fixed all (I think so?) E/ smali errors (GLES20, camera, AssetManager and so on) but it still wont boot. Can someone please look through my logcat and help me? :)

I think this is the only part of the logcat you need:

--------- beginning of /dev/log/main

I/cm ( 1859): Welcome to Android 4.1.1 / CyanogenMod-10-20120924-NIGHTLY-i9100

I/cm ( 1860): _

I/cm ( 1861): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))

I/cm ( 1862): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(

I/cm ( 1863): )) _))

I/cm ( 1864):

I/DEBUG ( 1869): debuggerd: Sep 24 2012 00:23:05

--------- beginning of /dev/log/system

I/Vold ( 1867): Vold 2.1 (the revenge) firing up

D/Vold ( 1867): Volume sdcard0 state changing -1 (Initializing) -> 0 (No-Media)

D/Vold ( 1867): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)

D/Vold ( 1867): Volume usbdisk0 state changing -1 (Initializing) -> 0 (No-Media)

D/Vold ( 1867): Volume sdcard0 state changing 0 (No-Media) -> 2 (Pending)

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 3, PARTN 3

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 4, PARTN 4

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 5, PARTN 5

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 6, PARTN 6

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 7, PARTN 7

D/Vold ( 1867): Volume sdcard0 state changing 2 (Pending) -> 1 (Idle-Unmounted)

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 0, PARTN 8

E/DirectVolume( 1867): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p8' has a different major than its disk!

W/Vold ( 1867): Duplicate state (1)

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 1, PARTN 9

E/DirectVolume( 1867): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p9' has a different major than its disk!

W/Vold ( 1867): Duplicate state (1)

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 2, PARTN 10

E/DirectVolume( 1867): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p10' has a different major than its disk!

W/Vold ( 1867): Duplicate state (1)

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 3, PARTN 11

E/DirectVolume( 1867): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p11' has a different major than its disk!

W/Vold ( 1867): Duplicate state (1)

D/DirectVolume( 1867): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 4, PARTN 12

E/DirectVolume( 1867): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p12' has a different major than its disk!

W/Vold ( 1867): Duplicate state (1)

W/Vold ( 1867): Duplicate state (1)

W/Vold ( 1867): Duplicate state (1)

W/Vold ( 1867): Duplicate state (1)

W/Vold ( 1867): Duplicate state (1)

I/Netd ( 1868): Netd 1.0 starting

I/Tvout ( 1878): TvoutService Service start!

I/ServiceManager( 1878): Waiting for service SurfaceFlinger...

D/AndroidRuntime( 1872):

D/AndroidRuntime( 1872): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

D/AndroidRuntime( 1872): CheckJNI is OFF

I/SurfaceFlinger( 1871): SurfaceFlinger is starting

I/SurfaceFlinger( 1871): use dithering

I/SurfaceFlinger( 1871): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

I/gralloc ( 1871): using (fd=15)

I/gralloc ( 1871): id = s3cfb

I/gralloc ( 1871): xres = 480 px

I/gralloc ( 1871): yres = 800 px

I/gralloc ( 1871): xres_virtual = 480 px

I/gralloc ( 1871): yres_virtual = 1600 px

I/gralloc ( 1871): bpp = 32

I/gralloc ( 1871): r = 16:8

I/gralloc ( 1871): g = 8:8

I/gralloc ( 1871): b = 0:8

I/gralloc ( 1871): width = 56 mm (217.714279 dpi)

I/gralloc ( 1871): height = 93 mm (218.494629 dpi)

I/gralloc ( 1871): refresh rate = 60.38 Hz

D/libEGL ( 1871): loaded /system/lib/egl/libEGL_mali.so

D/dalvikvm( 1872): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---

D/libEGL ( 1871): loaded /system/lib/egl/libGLESv1_CM_mali.so

D/libEGL ( 1871): loaded /system/lib/egl/libGLESv2_mali.so

D/ ( 1871): Device driver API match

D/ ( 1871): Device driver API version: 10

D/ ( 1871): User space API version: 10

D/ ( 1871): mali: REVISION=Linux-r2p4-02rel0 BUILD_DATE=Mon Mar 5 09:47:55 KST 2012

I/SurfaceFlinger( 1871): EGL informations:

I/SurfaceFlinger( 1871): # of configs : 24

I/SurfaceFlinger( 1871): vendor : Android

I/SurfaceFlinger( 1871): version : 1.4 Android META-EGL

I/SurfaceFlinger( 1871): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer

I/SurfaceFlinger( 1871): Client API: OpenGL_ES

I/SurfaceFlinger( 1871): EGLSurface: 8-8-8-8, config=0x60000005

I/SurfaceFlinger( 1871): OpenGL informations:

I/SurfaceFlinger( 1871): vendor : ARM

I/SurfaceFlinger( 1871): renderer : Mali-400 MP

I/SurfaceFlinger( 1871): version : OpenGL ES-CM 1.1

I/SurfaceFlinger( 1871): extensions: GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_size_array GL_OES_point_sprite GL_OES_texture_npot GL_OES_query_matrix GL_OES_matrix_palette GL_OES_extended_matrix_palette GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_draw_texture GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_framebuffer_object GL_OES_stencil8 GL_OES_depth24 GL_ARM_rgba8 GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_OES_texture_cube_map GL_EXT_discard_framebuffer

I/SurfaceFlinger( 1871): GL_MAX_TEXTURE_SIZE = 4096

I/SurfaceFlinger( 1871): GL_MAX_VIEWPORT_DIMS = 4096 x 4096

I/SurfaceFlinger( 1871): flags = 00000000

D/SECHWC_LOG( 1871): Dump Window Information

D/SECHWC_LOG( 1871): win->fd = 26

D/SECHWC_LOG( 1871): win->size = 1536000

D/SECHWC_LOG( 1871): win->rect_info.x = 0

D/SECHWC_LOG( 1871): win->rect_info.y = 0

D/SECHWC_LOG( 1871): win->rect_info.w = 480

D/SECHWC_LOG( 1871): win->rect_info.h = 800

D/SECHWC_LOG( 1871): win->addr[0] = 0x7103b000

D/SECHWC_LOG( 1871): win->addr[1] = 0x711b2000

D/SECHWC_LOG( 1871): win->buf_index = 0

D/SECHWC_LOG( 1871): win->power_state = 1

D/SECHWC_LOG( 1871): win->blending = 0

D/SECHWC_LOG( 1871): win->layer_index = 0

D/SECHWC_LOG( 1871): win->status = 0

D/SECHWC_LOG( 1871): win->vsync = 0

D/SECHWC_LOG( 1871): win->fix_info.smem_start = 0x7103b000

D/SECHWC_LOG( 1871): win->fix_info.line_length = 1920

D/SECHWC_LOG( 1871): win->var_info.xres = 480

D/SECHWC_LOG( 1871): win->var_info.yres = 800

D/SECHWC_LOG( 1871): win->var_info.xres_virtual = 480

D/SECHWC_LOG( 1871): win->var_info.yres_virtual = 1600

D/SECHWC_LOG( 1871): win->var_info.xoffset = 0

D/SECHWC_LOG( 1871): win->var_info.yoffset = 0

D/SECHWC_LOG( 1871): win->lcd_info.xres = 480

D/SECHWC_LOG( 1871): win->lcd_info.yres = 800

D/SECHWC_LOG( 1871): win->lcd_info.xoffset = 0

D/SECHWC_LOG( 1871): win->lcd_info.yoffset = 0

D/SECHWC_LOG( 1871): win->lcd_info.bits_per_pixel = 32

I/ServiceManager( 1871): Waiting for service SecTVOutService...

I/mediaserver( 1874): ServiceManager: 0x41100ee0

V/yamaha::media::VolumeCtrl( 1874): VolumeCtrl constructor

E/yamaha::media::ParamFile( 1874): readVolume(/data/system/volume.dat) Error.

V/yamaha::media::VolumeCtrl( 1874): VolumeCtrl::getDefaultVolume()

D/MDnsDS ( 1868): MDnsSdListener::Hander starting up

D/MDnsDS ( 1868): MDnsSdListener starting to monitor

D/MDnsDS ( 1868): Going to poll with pollCount 1

V/yamaha::media::VolumeCtrl( 1874): VolumeCtrl::initialize()

V/yamaha::media::VolumeCtrl( 1874): VolumeCtrl::createVolume()

V/yamaha::media::VolumeCtrl( 1874): VolumeCtrl::setVolume()

D/yamaha::media::VolumeCtrl( 1874): VolumeCtrl::setVolume() FM Playback: Ready

D/yamaha::media::VolumeCtrl( 1874): VolumeCtrl::setVolume() VoiceCall: Ready

D/SecTVOutService( 1874): SecTVOutService instantiate

I/libfimc ( 1874): bool SecFimc::create(SecFimc::FIMC_DEV, fimc_overlay_mode, unsigned int):: Fimc reserved memory =0x 0

D/SecTVOutService( 1874): virtual void android::SecTVOutService::setHdmiStatus(uint32_t) HDMI cable status = 1

D/dalvikvm( 1995): Ignoring duplicate verify attempt on Ljava/lang/Object;

D/dalvikvm( 1995): Ignoring duplicate verify attempt on Ljava/lang/ref/Reference;

D/dalvikvm( 1995): Ignoring duplicate verify attempt on Ljava/lang/Class;

D/dalvikvm( 1995): Ignoring duplicate verify attempt on Ljava/lang/ref/FinalizerReference;

D/dalvikvm( 1995): Ignoring duplicate verify attempt on Ljava/lang/ref/ReferenceQueue;

I/ServiceManager( 1878): Waiting for service SurfaceFlinger...

D/ ( 1874): bool android::SecHdmi::connect()::m_flagHWConnected() fail

E/SecTVOutService( 1874): virtual void android::SecTVOutService::setHdmiStatus(uint32_t)::mSecHdmi.connect() fail

D/SecTVOutService( 1874): SecTVOutService r=0

I/AudioFlinger( 1874): Using default 3000 mSec as standby time.

I/CameraService( 1874): CameraService started (pid=1874)

V/CameraWrapper( 1874): camera_get_number_of_cameras

V/CameraWrapper( 1874): check_vendor_module

D/SecCameraHardware( 1874): LSIHAL int android::HAL_getNumberOfCameras()

I/AudioPolicyManager( 1874): android::AudioPolicyInterface* android::createAudioPolicyManager(android::AudioPolicyClientInterface*)

W/AudioFlinger( 1874): findSuitableHwDev_l() loading well know audio hw modules

V/yamaha::media::CManager( 1874): constructor

V/yamaha::media::CManager( 1874): connect()

I/AudioHardwareYamaha( 1874): AudioHardware::AudioHardware() create_LVVEFS()

I/AudioHardwareYamaha( 1874): setEnableHDMI enable - 0, mOldEnableHDMI - 1

I/AudioFlinger( 1874): loadHwModule() Loaded primary audio interface from Samsung SMDKC210 audio hw HAL (audio) handle 1

I/AudioFlinger( 1874): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 2

E/AudioFlinger( 1874): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.usb (No such file or directory)

I/AudioFlinger( 1874): loadHwModule() error -2 loading module usb

I/ALSAModule( 1874): Initialized ALSA PLAYBACK device hifi

I/SoundBooster( 1874): Construct SoundBooster for Phone

I/SoundBooster( 1874): SoundBooster : H,0 G,6 C,2 S,2

D/SoundBooster( 1874): SoundBoosterInit(): sampleRate=44100

I/AcousticEQ( 1874): Construct AcousticEQ for Phone

I/AcousticEQ( 1874): [AEQ] readAcousticEQTable

I/AcousticEQ( 1874): [AEQ] readAcousticEQ_ULPTables

I/AudioFlinger( 1874): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames

I/AudioMixer( 1874): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project

I/AudioFlinger( 1874): Using module 0 has the primary audio interface

E/AudioHardwareYamaha( 1874): Connect_RILD() error

V/yamaha::media::CManager( 1874): setMasterVolume(volume=1.000000)

V/yamaha::media::VolumeCtrl( 1874): VolumeCtrl::setMasterVolume(volume=1.000000)

I/AudioFlinger( 1874): AudioFlinger's thread 0x410cd008 ready to run

W/AudioFlinger( 1874): Thread AudioOut_3 cannot connect to the power manager service

I/AudioHardwareYamaha( 1874): AudioHardware::setDevices(devices=00000002h, mask=00023FFFh)

V/yamaha::media::CManager( 1874): setDevices(devices=00000002h)

I/AudioHardwareYamaha( 1874): AudioHardware::setParameters(keyValuePairs="routing=1048576")

I/AudioHardwareYamaha( 1874): ### setDeivceInCall devices 1048576, force = 1

I/AudioHardwareYamaha( 1874): AudioHardware::setDevices(devices=00100000h, mask=C3FC0000h)

V/yamaha::media::CManager( 1874): setDevices(devices=00000002h)

I/AudioHardwareYamaha( 1874): ### setDeivceInCall = 00100000h mEnabledDualMic 1

I/AudioPolicyService( 1874): Loaded audio policy from Samsung SMDKC210 audio policy HAL (audio_policy)

I/ALSAModule( 1874): Terminated ALSA PLAYBACK device hifi

D/dalvikvm( 1995): DexOpt: load 50ms, verify+opt 708ms, 1590988 bytes

I/SurfaceFlinger( 1871): EventThread ready to run.

D/libEGL ( 2089): loaded /system/lib/egl/libEGL_mali.so

D/libEGL ( 2089): loaded /system/lib/egl/libGLESv1_CM_mali.so

D/libEGL ( 2089): loaded /system/lib/egl/libGLESv2_mali.so

D/ ( 2089): Device driver API match

D/ ( 2089): Device driver API version: 10

D/ ( 2089): User space API version: 10

D/ ( 2089): mali: REVISION=Linux-r2p4-02rel0 BUILD_DATE=Mon Mar 5 09:47:55 KST 2012

I/ServiceManager( 1871): Waiting to check permission android.permission.ACCESS_SURFACE_FLINGER from uid=1000 pid=1878

D/dalvikvm( 1872): DexOpt: --- END 'core.jar' (success) ---

D/dalvikvm( 1872): DEX prep '/system/framework/core.jar': unzip in 132ms, rewrite 1748ms

D/dalvikvm( 1872): DexOpt: --- BEGIN 'core-junit.jar' (bootstrap=1) ---

D/dalvikvm( 2097): DexOpt: load 3ms, verify+opt 7ms, 140348 bytes

D/dalvikvm( 1872): DexOpt: --- END 'core-junit.jar' (success) ---

D/dalvikvm( 1872): DEX prep '/system/framework/core-junit.jar': unzip in 0ms, rewrite 74ms

D/dalvikvm( 1872): DexOpt: --- BEGIN 'bouncycastle.jar' (bootstrap=1) ---

D/dalvikvm( 2099): DexOpt: load 19ms, verify+opt 248ms, 601812 bytes

D/dalvikvm( 1872): DexOpt: --- END 'bouncycastle.jar' (success) ---

D/dalvikvm( 1872): DEX prep '/system/framework/bouncycastle.jar': unzip in 53ms, rewrite 484ms

D/dalvikvm( 1872): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---

D/dalvikvm( 2100): DexOpt: load 29ms, verify+opt 392ms, 940124 bytes

D/dalvikvm( 1872): DexOpt: --- END 'ext.jar' (success) ---

D/dalvikvm( 1872): DEX prep '/system/framework/ext.jar': unzip in 69ms, rewrite 1094ms

D/dalvikvm( 1872): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) ---

D/dalvikvm( 2124): Note: class Landroid/opengl/GLWrapperBase; has 250 unimplemented (abstract) methods

D/dalvikvm( 2124): DexOpt: load 301ms, verify+opt 2763ms, 5515644 bytes

D/dalvikvm( 1872): DexOpt: --- END 'framework.jar' (success) ---

D/dalvikvm( 1872): DEX prep '/system/framework/framework.jar': unzip in 444ms, rewrite 6226ms

D/dalvikvm( 1872): DexOpt: --- BEGIN 'framework2.jar' (bootstrap=1) ---

D/dalvikvm( 2140): DexOpt: load 38ms, verify+opt 155ms, 835140 bytes

D/dalvikvm( 1872): DexOpt: --- END 'framework2.jar' (success) ---

D/dalvikvm( 1872): DEX prep '/system/framework/framework2.jar': unzip in 115ms, rewrite 444ms

D/dalvikvm( 1872): DexOpt: --- BEGIN 'android.policy.jar' (bootstrap=1) ---

D/dalvikvm( 2141): DexOpt: load 73ms, verify+opt 277ms, 1246452 bytes

D/dalvikvm( 1872): DexOpt: --- END 'android.policy.jar' (success) ---

D/dalvikvm( 1872): DEX prep '/system/framework/android.policy.jar': unzip in 47ms, rewrite 650ms

D/dalvikvm( 1872): DexOpt: --- BEGIN 'services.jar' (bootstrap=1) ---

D/dalvikvm( 2142): DexOpt: load 43ms, verify+opt 900ms, 1902124 bytes

D/dalvikvm( 1872): DexOpt: --- END 'services.jar' (success) ---

D/dalvikvm( 1872): DEX prep '/system/framework/services.jar': unzip in 135ms, rewrite 1866ms

D/dalvikvm( 1872): DexOpt: --- BEGIN 'apache-xml.jar' (bootstrap=1) ---

D/dalvikvm( 2143): DexOpt: load 33ms, verify+opt 310ms, 836668 bytes

D/dalvikvm( 1872): DexOpt: --- END 'apache-xml.jar' (success) ---

D/dalvikvm( 1872): DEX prep '/system/framework/apache-xml.jar': unzip in 121ms, rewrite 670ms

D/dalvikvm( 1872): Trying to load lib libjavacore.so 0x0

D/dalvikvm( 1872): Added shared lib libjavacore.so 0x0

D/dalvikvm( 1872): Trying to load lib libnativehelper.so 0x0

D/dalvikvm( 1872): Added shared lib libnativehelper.so 0x0

E/AudioTrack-JNI( 1872): Can't find android/media/AudioFormat.ENCODING_AMRNB

E/AndroidRuntime( 1872): Unable to register all android natives

I/ServiceManager( 1866): service 'SecTVOutService' died

I/ServiceManager( 1866): service 'media.audio_flinger' died

I/ServiceManager( 1866): service 'media.player' died

I/ServiceManager( 1866): service 'media.camera' died

I/ServiceManager( 1866): service 'media.audio_policy' died

I/ServiceManager( 1866): service 'media.yamahaplayer' died

Thanks in advance! :)

EDIT: Think i figured it out, has to be this line right: "Can't find android/media/AudioFormat.ENCODING_AMRNB". I'll try adding it into smali/android/media! :)