http://stackoverflow.com/questions/5878926/cannot-run-simple-android-application-in-eclipse

Check it ?

Regards,
Rahul R

On Wednesday, December 8, 2010 7:55:35 PM UTC+5:30, Stefan wrote:
>
> Hi there, 
>
> I'm trying to boot Android on a ARM926EJ-S core. 
>
> I patched the kernel, extracted system.img, ramdisk.img from emulator 
> and 
> want to start android from a sd card. 
>
> First I mount the images from sd card: 
>
> $mount /dev/mmcblk0p1 /media/mmc 
> $mount /dev/mmcblk0p2 /media/mmc/data 
> $mount /dev/mmcblk0p4 /media/mmc/system 
>
> $umount /proc 
> $umount /sys 
> $mount -t proc proc /mnt/usb/proc 
> $mount -t sysfs sysfs /mnt/usb/sys 
>
> Then I change root and start from android filesystem 
>
> $chroot /media/mmc /system/bin/sh 
>
> After this I run the init 
>
> #/init 
>
> But then following logcat shows me that my starting process wasn't 
> succesfull 
> and the operation stucks at the last line: 
>
> Accepting command socket connections. 
>
> Here the whole logcat: 
>
> # /init 
> at24 0-0050: uevent 
> rtc-pcf8563 0-0051: uevent 
> init: cannot open '/initlogo.rle' 
> sh: can't access tty; job control turned off 
> # init: cannot find '/system/etc/install-recovery.sh', disabling 
> 'flash_recovery 
> ' 
> I/DEBUG   (  504): debuggerd: May  6 2010 09:07:51 
> I/vold    (  503): Android Volume Daemon version 2.0 
> I/vold    (  503): New MMC card 'SU02G' (serial 2153472246) added @ / 
> devices/pla 
> tform/mxsdhci.1/mmc_host/mmc0/mmc0:8fe4 
> I/vold    (  503): Disk (blkdev 179:0), 3862528 secs (1886 MB) 4 
> partitions 
> I/vold    (  503): New blkdev 179.0 on media SU02G, media path / 
> devices/platform 
> /mxsdhci.1/mmc_host/mmc0/mmc0:8fe4, Dpp 4 
> I/vold    (  503): Partition (blkdev 179:1), 610407 secs (298 MB) type 
> 0x83 
> I/vold    (  503): New blkdev 179.1 on media SU02G, media path / 
> devices/platform 
> /mxsdhci.1/mmc_host/mmc0/mmc0:8fe4, Dpp 3 
> I/vold    (  503): Partition (blkdev 179:2), 610470 secs (298 MB) type 
> 0x83 
> I/vold    (  503): New blkdev 179.2 on media SU02G, media path / 
> devices/platform 
> /mxsdhci.1/mmc_host/mmc0/mmc0:8fe4, Dpp 2 
> I/vold    (  503): Partition (blkdev 179:3), 610470 secs (298 MB) type 
> 0x83 
> I/vold    (  503): New blkdev 179.3 on media SU02G, media path / 
> devices/platform 
> /mxsdhci.1/mmc_host/mmc0/mmc0:8fe4, Dpp 1 
> D/vold    (  503): Bootstrapping complete 
> warning: `rild' uses 32-bit capabilities (legacy support in use) 
> D/AndroidRuntime(  506): 
> D/AndroidRuntime(  506): >>>>>>>>>>>>>> AndroidRuntime START 
> <<<<<<<<<<<<<< 
> D/AndroidRuntime(  506): CheckJNI is ON 
> I/        (  507): ServiceManager: 0xad08 
> W/AudioHardwareInterface(  507): Using stubbed audio hardware. No 
> sound will be 
> produced. 
> D/AudioHardwareInterface(  507): setMode(NORMAL) 
> I/CameraService(  507): CameraService started: pid=507 
> I/AudioFlinger(  507): AudioFlinger's thread 0xb370 ready to run 
> D/AndroidRuntime(  506): --- registering native functions --- 
> I/SamplingProfilerIntegration(  506): Profiler is disabled. 
> I/Zygote  (  506): Preloading classes... 
> D/dalvikvm(  506): GC freed 793 objects / 50568 bytes in 5ms 
> D/dalvikvm(  506): GC freed 251 objects / 16168 bytes in 5ms 
> D/dalvikvm(  506): GC freed 295 objects / 18768 bytes in 6ms 
> D/dalvikvm(  506): GC freed 214 objects / 13712 bytes in 7ms 
> D/dalvikvm(  506): GC freed 415 objects / 26544 bytes in 8ms 
> D/skia    (  506): ------ build_power_table 1.4 
> D/skia    (  506): ------ build_power_table 0.714286 
> D/dalvikvm(  506): GC freed 418 objects / 28656 bytes in 9ms 
> D/dalvikvm(  506): Trying to load lib /system/lib/libmedia_jni.so 0x0 
> D/dalvikvm(  506): Added shared lib /system/lib/libmedia_jni.so 0x0 
> D/dalvikvm(  506): Trying to load lib /system/lib/libexif.so 0x0 
> D/dalvikvm(  506): Added shared lib /system/lib/libexif.so 0x0 
> D/dalvikvm(  506): GC freed 2314 objects / 121424 bytes in 13ms 
> D/dalvikvm(  506): Trying to load lib /system/lib/libmedia_jni.so 0x0 
> D/dalvikvm(  506): Shared lib '/system/lib/libmedia_jni.so' already 
> loaded in sa 
> me CL 0x0 
> D/dalvikvm(  506): Trying to load lib /system/lib/libmedia_jni.so 0x0 
> D/dalvikvm(  506): Shared lib '/system/lib/libmedia_jni.so' already 
> loaded in sa 
> me CL 0x0 
> D/dalvikvm(  506): Trying to load lib /system/lib/libmedia_jni.so 0x0 
> D/dalvikvm(  506): Shared lib '/system/lib/libmedia_jni.so' already 
> loaded in sa 
> me CL 0x0 
> D/dalvikvm(  506): Trying to load lib /system/lib/libmedia_jni.so 0x0 
> D/dalvikvm(  506): Shared lib '/system/lib/libmedia_jni.so' already 
> loaded in sa 
> me CL 0x0 
> D/dalvikvm(  506): GC freed 3790 objects / 197024 bytes in 24ms 
> D/dalvikvm(  506): GC freed 461 objects / 26360 bytes in 22ms 
> D/dalvikvm(  506): GC freed 294 objects / 17072 bytes in 23ms 
> D/dalvikvm(  506): GC freed 204 objects / 11488 bytes in 25ms 
> D/dalvikvm(  506): GC freed 178 objects / 9568 bytes in 27ms 
> D/dalvikvm(  506): Trying to load lib /system/lib/libsrec_jni.so 0x0 
> D/dalvikvm(  506): Added shared lib /system/lib/libsrec_jni.so 0x0 
> D/dalvikvm(  506): Trying to load lib /system/lib/libsrec_jni.so 0x0 
> D/dalvikvm(  506): Shared lib '/system/lib/libsrec_jni.so' already 
> loaded in sam 
> e CL 0x0 
> D/dalvikvm(  506): GC freed 296 objects / 34704 bytes in 29ms 
> D/dalvikvm(  506): GC freed 123 objects / 24488 bytes in 42ms 
> D/dalvikvm(  506): GC freed 337 objects / 38424 bytes in 42ms 
> D/dalvikvm(  506): GC freed 418 objects / 25832 bytes in 43ms 
> D/dalvikvm(  506): Trying to load lib /system/lib/libwebcore.so 0x0 
> D/dalvikvm(  506): Added shared lib /system/lib/libwebcore.so 0x0 
> D/dalvikvm(  506): GC freed 432 objects / 25144 bytes in 43ms 
> D/dalvikvm(  506): GC freed 489 objects / 30680 bytes in 43ms 
> D/dalvikvm(  506): GC freed 349 objects / 28968 bytes in 44ms 
> D/dalvikvm(  506): GC freed 309 objects / 21840 bytes in 46ms 
> D/dalvikvm(  506): GC freed 915 objects / 80144 bytes in 51ms 
> D/dalvikvm(  506): GC freed 664 objects / 35896 bytes in 51ms 
> D/dalvikvm(  506): GC freed 709 objects / 41224 bytes in 51ms 
> D/dalvikvm(  506): GC freed 735 objects / 40576 bytes in 52ms 
> D/dalvikvm(  506): GC freed 14045 objects / 475672 bytes in 64ms 
> D/dalvikvm(  506): GC freed 10473 objects / 448432 bytes in 69ms 
> D/dalvikvm(  506): GC freed 10835 objects / 472440 bytes in 74ms 
> D/dalvikvm(  506): GC freed 7919 objects / 459488 bytes in 73ms 
> D/dalvikvm(  506): GC freed 7892 objects / 459704 bytes in 74ms 
> D/dalvikvm(  506): GC freed 8485 objects / 517312 bytes in 75ms 
> D/dalvikvm(  506): GC freed 6945 objects / 390968 bytes in 75ms 
> D/dalvikvm(  506): GC freed 847 objects / 51592 bytes in 70ms 
> D/dalvikvm(  506): GC freed 540 objects / 39088 bytes in 72ms 
> D/dalvikvm(  506): GC freed 460 objects / 31656 bytes in 72ms 
> D/dalvikvm(  506): GC freed 426 objects / 29968 bytes in 72ms 
> I/Zygote  (  506): ...preloaded 1942 classes in 13171ms. 
> D/dalvikvm(  506): GC freed 117 objects / 14864 bytes in 74ms 
> I/Zygote  (  506): Preloading resources... 
> D/dalvikvm(  506): GC freed 5 objects / 224 bytes in 75ms 
> W/Zygote  (  506): Preloaded drawable resource #0x1080093 (res/ 
> drawable-mdpi/sym 
> _def_app_icon.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080002 (res/ 
> drawable-mdpi/arr 
> ow_down_float.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x10800b4 (res/ 
> drawable/btn_chec 
> k.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x10800b7 (res/ 
> drawable-mdpi/btn 
> _check_label_background.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x10800b8 (res/ 
> drawable-mdpi/btn 
> _check_off.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x10800bd (res/ 
> drawable-mdpi/btn 
> _check_on.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080004 (res/ 
> drawable/btn_defa 
> ult.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080005 (res/ 
> drawable/btn_defa 
> ult_small.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080006 (res/ 
> drawable/btn_drop 
> down.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080008 (res/ 
> drawable/btn_plus 
> .xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080007 (res/ 
> drawable/btn_minu 
> s.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080009 (res/ 
> drawable/btn_radi 
> o.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x108000a (res/ 
> drawable/btn_star 
> .xml) that varies with configuration!! 
> D/dalvikvm(  506): GC freed 396 objects / 24000 bytes in 74ms 
> W/Zygote  (  506): Preloaded drawable resource #0x1080125 (res/ 
> drawable/btn_togg 
> le.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080187 (res/ 
> drawable-mdpi/ic_ 
> emergency.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080012 (res/ 
> drawable-mdpi/div 
> ider_horizontal_bright.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080014 (res/ 
> drawable-mdpi/div 
> ider_horizontal_dark.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080016 (res/ 
> drawable/edit_tex 
> t.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080161 (res/ 
> drawable/expander 
> _group.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080062 (res/ 
> drawable/list_sel 
> ector_background.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080217 (res/ 
> drawable-mdpi/men 
> u_background.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080218 (res/ 
> drawable-mdpi/men 
> u_background_fill_parent_width.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080219 (res/ 
> drawable/menu_sel 
> ector.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080224 (res/ 
> drawable-mdpi/pan 
> el_background.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x108022e (res/ 
> drawable-mdpi/pop 
> up_bottom_bright.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x108022f (res/ 
> drawable-mdpi/pop 
> up_bottom_dark.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080230 (res/ 
> drawable-mdpi/pop 
> up_bottom_medium.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080231 (res/ 
> drawable-mdpi/pop 
> up_center_bright.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080232 (res/ 
> drawable-mdpi/pop 
> up_center_dark.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080235 (res/ 
> drawable-mdpi/pop 
> up_full_dark.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080238 (res/ 
> drawable-mdpi/pop 
> up_top_bright.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080239 (res/ 
> drawable-mdpi/pop 
> up_top_dark.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x108006d (res/ 
> drawable/progress 
> _indeterminate_horizontal.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x108023f (res/ 
> drawable/progress 
> _small.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080240 (res/ 
> drawable/progress 
> _small_titlebar.xml) that varies with configuration!! 
> D/dalvikvm(  506): GC freed 452 objects / 31968 bytes in 112ms 
> W/Zygote  (  506): Preloaded drawable resource #0x1080262 (res/ 
> drawable-mdpi/scr 
> ollbar_handle_horizontal.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080263 (res/ 
> drawable-mdpi/scr 
> ollbar_handle_vertical.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080071 (res/ 
> drawable/spinner_ 
> dropdown_background.xml) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x1080326 (res/ 
> drawable-mdpi/tit 
> le_bar_shadow.9.png) that varies with configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x10801c6 (res/ 
> drawable-mdpi/ind 
> icator_code_lock_drag_direction_green_up.png) that varies with 
> configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x10801c7 (res/ 
> drawable-mdpi/ind 
> icator_code_lock_drag_direction_red_up.png) that varies with 
> configuration!! 
> D/dalvikvm(  506): GC freed 207 objects / 11640 bytes in 72ms 
> W/Zygote  (  506): Preloaded drawable resource #0x10801c8 (res/ 
> drawable-mdpi/ind 
> icator_code_lock_point_area_default.png) that varies with 
> configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x10801c9 (res/ 
> drawable-mdpi/ind 
> icator_code_lock_point_area_green.png) that varies with 
> configuration!! 
> W/Zygote  (  506): Preloaded drawable resource #0x10801ca (res/ 
> drawable-mdpi/ind 
> icator_code_lock_point_area_red.png) that varies with configuration!! 
> I/Zygote  (  506): ...preloaded 48 resources in 1491ms. 
> I/Zygote  (  506): ...preloaded 15 resources in 31ms. 
> D/dalvikvm(  506): GC freed 142 objects / 11896 bytes in 74ms 
> D/dalvikvm(  506): GC freed 127 objects / 5168 bytes in 72ms 
> D/dalvikvm(  506): GC freed 14 objects / 512 bytes in 73ms 
> I/dalvikvm(  506): Splitting out new zygote heap 
> I/dalvikvm(  506): System server process 518 has been created 
> I/Zygote  (  506): Accepting command socket connections 
>
>
> I'm not sure but I don't think that the warnings "Preloaded drawable 
> resource .....that varies with configuration!!" 
> is the problem? 
>
> Does somebody know why my init stucks here??

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to