hi ashwan
  are you able to resolve the issue?? if so can you let me know. now i too
ran to same issue depsite providing the write permissions
sayiram K N

On Thu, Oct 14, 2010 at 2:59 AM, Deva R <r.deva...@gmail.com> wrote:

> deja vu., felt like i just replied for this log :)
>
> http://groups.google.com/group/android-porting/browse_thread/thread/abc0633915c8b047#
>
> [snip]
> >E/AndroidRuntime(  883): java.lang.UnsatisfiedLinkError: native_update
> >E/AndroidRuntime(  883):        at
> >com.android.server.BatteryService.native_update(Native Method)
> >E/AndroidRuntime(  883):        at
>
> till proper battery interface is up, u need to fake battery interface
> to keep android going.
> almost all new android ports will hit this block.,
> you can look for hints/issues-history on similar line.,
> below is a commit, probably submitted for battery issue.
>
> http://dev.omapzoom.org/?p=aboateng/omap3-linux-cam.git;a=commitdiff;h=eaff38c66985603eb4b53ceb25f6e837f0937efb
>
> --
> Regards,
> Deva
> www.bittoggler.com
>
> On Wed, Oct 13, 2010 at 5:53 PM, ashwani <ash1...@gmail.com> wrote:
>  > Hi All,
> >
> > I am trying to port Android my ARM platform. And just got a problem
> > that my platform boot getting into a forever "ANIDROID" animation
> > loop. There is a flashing "ANDROID" animation in my LCD screen. And
> > after a while it disappears and restart again. It keeps looping and
> > never get into Android home screen. And the logcat message is listed
> > as follows:
> >
> > D/AndroidRuntime( 1724): >>>>>>>>>>>>>> AndroidRuntime START
> > <<<<<<<<<<<<<<
> > D/AndroidRuntime( 1724): CheckJNI is ON
> > D/AndroidRuntime( 1724): --- registering native functions ---
> > I/        ( 1723): ServiceManager: 0xacd0
> > W/AudioHardwareInterface( 1723): Using stubbed audio hardware. No
> > sound will be produced.
> > D/AudioHardwareInterface( 1723): setMode(NORMAL)
> > I/CameraService( 1723): CameraService started: pid=1723
> > I/AudioFlinger( 1723): AudioFlinger's thread 0xb3d8 ready to run
> > I/SamplingProfilerIntegration( 1724): Profiler is disabled.
> > I/Zygote  ( 1724): Preloading classes...
> > D/dalvikvm( 1724): GC_EXPLICIT freed 816 objects / 47208 bytes in 8ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 219 objects / 13560 bytes in 9ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 253 objects / 14336 bytes in 11ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 466 objects / 28872 bytes in 12ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 2090 objects / 108312 bytes in
> > 16ms
> > W/MediaProfiles( 1724): could not find media config xml file
> > D/dalvikvm( 1724): GC_EXPLICIT freed 279 objects / 15968 bytes in 16ms
> > D/dalvikvm( 1724): GC_FOR_MALLOC freed 5090 objects / 225472 bytes in
> > 33ms
> > D/dalvikvm( 1724): GC_FOR_MALLOC freed 11260 objects / 383272 bytes in
> > 42ms
> > D/dalvikvm( 1724): GC_FOR_MALLOC freed 9868 objects / 463568 bytes in
> > 48ms
> > D/dalvikvm( 1724): GC_FOR_MALLOC freed 8630 objects / 420664 bytes in
> > 51ms
> > D/dalvikvm( 1724): GC_FOR_MALLOC freed 7582 objects / 462112 bytes in
> > 53ms
> > D/dalvikvm( 1724): GC_FOR_MALLOC freed 6997 objects / 461184 bytes in
> > 54ms
> > D/dalvikvm( 1724): GC_FOR_MALLOC freed 7755 objects / 459376 bytes in
> > 55ms
> > D/dalvikvm( 1724): GC_FOR_MALLOC freed 7801 objects / 458144 bytes in
> > 57ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 1236 objects / 82560 bytes in
> > 49ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 596 objects / 28936 bytes in 50ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 449 objects / 24968 bytes in 52ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 308 objects / 35168 bytes in 71ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 279 objects / 18936 bytes in 72ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 341 objects / 18384 bytes in 73ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 449 objects / 28296 bytes in 74ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 529 objects / 53152 bytes in 82ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 623 objects / 34024 bytes in 83ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 861 objects / 46944 bytes in 85ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 1747 objects / 85632 bytes in
> > 86ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 447 objects / 29440 bytes in 87ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 315 objects / 20200 bytes in 86ms
> > I/Zygote  ( 1724): ...preloaded 1265 classes in 14023ms.
> > D/dalvikvm( 1724): GC_EXPLICIT freed 99 objects / 13912 bytes in 86ms
> > I/Zygote  ( 1724): Preloading resources...
> > D/dalvikvm( 1724): GC_EXPLICIT freed 312 objects / 15576 bytes in 89ms
> > W/Zygote  ( 1724): Preloaded drawable resource #0x10801e8 (res/
> > drawable-mdpi/jog_tab_bar_left_end_confirm_gray.9.png) that varies
> > with configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x10801ec (res/
> > drawable-mdpi/jog_tab_bar_left_end_normal.9.png) that varies with
> > configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x10801ed (res/
> > drawable-mdpi/jog_tab_bar_left_end_pressed.9.png) that varies with
> > configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x10801f1 (res/
> > drawable-mdpi/jog_tab_bar_right_end_confirm_gray.9.png) that varies
> > with configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x10801f5 (res/
> > drawable-mdpi/jog_tab_bar_right_end_normal.9.png) that varies with
> > configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x10801f6 (res/
> > drawable-mdpi/jog_tab_bar_right_end_pressed.9.png) that varies with
> > configuration!!
> > D/dalvikvm( 1724): GC_EXPLICIT freed 392 objects / 23928 bytes in 93ms
> > W/Zygote  ( 1724): Preloaded drawable resource #0x10801fb (res/
> > drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with
> > configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x1080200 (res/
> > drawable-mdpi/jog_tab_left_normal.png) that varies with
> > configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x1080201 (res/
> > drawable-mdpi/jog_tab_left_pressed.png) that varies with
> > configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x1080203 (res/
> > drawable-mdpi/jog_tab_right_confirm_gray.png) that varies with
> > configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x1080209 (res/
> > drawable-mdpi/jog_tab_right_normal.png) that varies with
> > configuration!!
> > W/Zygote  ( 1724): Preloaded drawable resource #0x108020a (res/
> > drawable-mdpi/jog_tab_right_pressed.png) that varies with
> > configuration!!
> > I/Zygote  ( 1724): ...preloaded 61 resources in 967ms.
> > I/Zygote  ( 1724): ...preloaded 15 resources in 41ms.
> > D/dalvikvm( 1724): GC_EXPLICIT freed 331 objects / 19952 bytes in 91ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 111 objects / 4376 bytes in 92ms
> > D/dalvikvm( 1724): GC_EXPLICIT freed 2 objects / 48 bytes in 89ms
> > I/dalvikvm( 1724): System server process 1730 has been created
> > I/Zygote  ( 1724): Accepting command socket connections
> > E/BatteryService( 1730): Could not open /sys/class/power_supply
> > I/sysproc ( 1730): Entered system_init()
> > I/sysproc ( 1730): ServiceManager: 0x126150
> > I/SurfaceFlinger( 1730): SurfaceFlinger is starting
> > I/SurfaceFlinger( 1730): SurfaceFlinger's main thread ready to run.
> > Initializing graphics H/W...
> > W/gralloc ( 1730): FBIOPUT_VSCREENINFO failed, page flipping not
> > supported
> > W/gralloc ( 1730): page flipping not supported (yres_virtual=480,
> > requested=960)
> > I/gralloc ( 1730): using (fd=22)
> > I/gralloc ( 1730): id           = dm_osd0_fb
> > I/gralloc ( 1730): xres         = 720 px
> > I/gralloc ( 1730): yres         = 480 px
> > I/gralloc ( 1730): xres_virtual = 720 px
> > I/gralloc ( 1730): yres_virtual = 480 px
> > I/gralloc ( 1730): bpp          = 16
> > I/gralloc ( 1730): r            = 11:5
> > I/gralloc ( 1730): g            =  5:6
> > I/gralloc ( 1730): b            =  0:5
> > I/gralloc ( 1730): width        = 114 mm (160.421051 dpi)
> > I/gralloc ( 1730): height       = 76 mm (160.421051 dpi)
> > I/gralloc ( 1730): refresh rate = 29.97 Hz
> > E/SurfaceFlinger( 1730): Couldn't open /sys/power/wait_for_fb_sleep
> > or /sys/power/wait_for_fb_wake
> > D/libEGL  ( 1730): egl.cfg not found, using default config
> > D/libEGL  ( 1730): loaded /system/lib/egl/libGLES_android.so
> > I/SurfaceFlinger( 1730): EGL informations:
> > I/SurfaceFlinger( 1730): # of configs : 8
> > I/SurfaceFlinger( 1730): vendor    : Android
> > I/SurfaceFlinger( 1730): version   : 1.4 Android META-EGL
> > I/SurfaceFlinger( 1730): extensions: EGL_KHR_image EGL_KHR_image_base
> > EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer
> > EGL_ANDROID_swap_rectangle EGL_AND
> > ROID_get_render_buffer
> > I/SurfaceFlinger( 1730): Client API: OpenGL ES
> > I/SurfaceFlinger( 1730): EGLSurface: 5-6-5-0, config=0x1000000
> > I/SurfaceFlinger( 1730): flags     : 001c0000
> > W/SurfaceFlinger( 1730): ro.sf.lcd_density not defined, using 160 dpi
> > by default.
> > I/SurfaceFlinger( 1730): OpenGL informations:
> > I/SurfaceFlinger( 1730): vendor    : Android
> > I/SurfaceFlinger( 1730): renderer  : Android PixelFlinger 1.3
> > I/SurfaceFlinger( 1730): version   : OpenGL ES-CM 1.0
> > I/SurfaceFlinger( 1730): extensions: GL_OES_byte_coordinates
> > GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format
> > GL_OES_compressed_paletted_texture
> >  GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix
> > GL_OES_EGL_image GL_OES_compressed_ETC1_RGB8_texture
> > GL_ARB_texture_compression GL_ARB_texture_non
> > _power_of_two GL_ANDROID_user_clip_plane
> > GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap
> > I/SurfaceFlinger( 1730): GL_MAX_TEXTURE_SIZE = 4096
> > I/SurfaceFlinger( 1730): GL_MAX_VIEWPORT_DIMS = 4096
> > I/sysproc ( 1730): System server: starting Android runtime.
> > I/sysproc ( 1730): System server: starting Android services.
> > I/SystemServer( 1730): Entered the Android system server!
> > I/sysproc ( 1730): System server: entering thread pool.
> > I/SystemServer( 1730): Entropy Service
> > I/SystemServer( 1730): Power Manager
> > I/SystemServer( 1730): Activity Manager
> > D/libEGL  ( 1739): egl.cfg not found, using default config
> > D/libEGL  ( 1739): loaded /system/lib/egl/libGLES_android.so
> > W/zipro   ( 1739): Unable to open zip '/data/local/bootanimation.zip':
> > No such file or directory
> > W/zipro   ( 1739): Unable to open zip '/system/media/
> > bootanimation.zip': No such file or directory
> > I/ActivityManager( 1730): Memory class: 16
> > I/ARMAssembler( 1730): generated
> > scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at
> > [0x1ef170:0x1ef214] in 10000000 ns
> > I/ARMAssembler( 1739): generated
> > scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at
> > [0x18548:0x18614] in 0 ns
> > W/UsageStats( 1730): Usage stats version changed; dropping
> > I/SystemServer( 1730): Telephony Registry
> > I/SystemServer( 1730): Package Manager
> > I/Installer( 1730): connecting...
> > I/installd( 1646): new connection
> > I/PackageManager( 1730): Libs: android.test.runner:/system/framework/
> > android.test.runner.jar javax.obex:/system/framework/javax.obex.jar
> > I/PackageManager( 1730): Features:
> > D/dalvikvm( 1730): GC_FOR_MALLOC freed 5749 objects / 240184 bytes in
> > 163ms
> > W/PackageManager( 1730): Running ENG build: no pre-dexopt!
> > D/PackageManager( 1730): Scanning app dir /system/framework
> > D/PackageManager( 1730): Scanning app dir /system/app
> > D/dalvikvm( 1730): GC_FOR_MALLOC freed 6851 objects / 334592 bytes in
> > 169ms
> > W/PackageParser( 1730): No actions in intent filter at /system/app/
> > Bluetooth.apk Binary XML file line #124
> > D/dalvikvm( 1730): GC_FOR_MALLOC freed 5781 objects / 315432 bytes in
> > 171ms
> > D/PackageManager( 1730): Scanning app dir /data/app
> > D/PackageManager( 1730): Scanning app dir /data/app-private
> > I/PackageManager( 1730): Time to scan packages: 4.045 seconds
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.gm.permission.WRITE_GMAIL in package
> > com.android.settings
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.gm.permission.READ_GMAIL in package
> > com.android.settings
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH in package
> > com.android.settings
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH in package
> > com.android.providers.contacts
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package
> > com.android.providers.contacts
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
> > com.android.contacts
> > W/PackageManager( 1730): Unknown permission
> > android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH in package
> > com.android.providers.calendar
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH.cl<http://com.google.android.googleapps.permission.google_auth.cl/>in
> >  package
> > com.android.providers.calendar
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in
> > package com.android.development
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH in package
> > com.android.development
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in
> > package com.android.development
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in
> > package com.android.development
> > W/PackageManager( 1730): Unknown permission
> > com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
> > com.android.calendar
> > W/PackageManager( 1730): Not granting permission
> > android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package
> > com.android.browser (protectionLevel=2 flags=0
> > x1be45)
> > W/PackageManager( 1730): Not granting permission
> > android.permission.DEVICE_POWER to package com.android.deskclock
> > (protectionLevel=2 flags=0xbe45)
> > D/dalvikvm( 1730): GC_EXPLICIT freed 5851 objects / 345328 bytes in
> > 182ms
> > I/SystemServer( 1730): Account Manager
> > I/SystemServer( 1730): Content Manager
> > I/SystemServer( 1730): System Content Providers
> > I/ActivityThread( 1730): Publishing provider settings:
> > com.android.providers.settings.SettingsProvider
> >
> > I/SystemServer( 1730): Battery Service
> > W/dalvikvm( 1730): No implementation found for native Lcom/android/
> > server/BatteryService;.native_update ()V
> > W/dalvikvm( 1730): threadid=7: thread exiting with uncaught exception
> > (group=0x4001d7f0)
> >
> > E/AndroidRuntime( 1730): *** FATAL EXCEPTION IN SYSTEM PROCESS:
> > android.server.ServerThread
> > E/AndroidRuntime( 1730): java.lang.UnsatisfiedLinkError: native_update
> > E/AndroidRuntime( 1730):        at
> > com.android.server.BatteryService.native_update(Native Method)
> > E/AndroidRuntime( 1730):        at
> > com.android.server.BatteryService.update(BatteryService.java:208)
> > E/AndroidRuntime( 1730):        at
> > com.android.server.BatteryService.<init>(BatteryService.java:134)
> > E/AndroidRuntime( 1730):        at coinit: untracked pid 1723 exited
> > m.android.server.ServerThread.run(SystemServer.java:146)
> > E/AndroidRuntime( 1730): Error reporting crash
> > E/AndroidRuntime( 1730): java.lang.NullPointerException
> > E/AndroidRuntime( 1730):        at
> > android.os.DropBoxManager.isTagEnabled(DropBoxManager.java:287)
> > E/AndroidRuntime( 1730):        at
> >
> com.android.server.am.ActivityManagerService.addErrorToDropBox(ActivityManagerService.java:
> > 9190)
> > E/AndroidRuntime( 1730):        at
> >
> com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:
> > 9101)
> > E/AndroidRuntime( 1730):        at com.android.internal.os.RuntimeInit
> > $UncaughtHandler.uncaughtException(RuntimeInit.java:76)
> > E/AndroidRuntime( 1730):        at
> > java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)
> > E/AndroidRuntime( 1730):        at
> > java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)
> > I/Process ( 1730): Sending signal. PID: 1730 SIG: 9
> > D/BootAnimation( 1739): SurfaceFlinger died, exiting...
> > E/installd( 1646): eof
> > E/installd( 1646): failed to read size
> > I/installd( 1646): closing connection
> > I/Zygote  ( 1724): Exit zygote because system server (1730) has
> > terminated
> > I/ServiceManager( 1638): service 'power' died
> > I/ServiceManager( 1638): service 'permission' died
> > I/ServiceManager( 1638): service 'batteryinfo' died
> > I/ServiceManager( 1638): service 'usagestats' died
> > I/ServiceManager( 1638): service 'SurfaceFlinger' died
> > I/ServiceManager( 1638): service 'entropy' died
> > I/ServiceManager( 1638): service 'package' died
> > I/ServiceManager( 1638): service 'activity' died
> > I/ServiceManager( 1638): service 'meminfo' died
> > I/ServiceManager( 1638): service 'cpuinfo' died
> > I/ServiceManager( 1638): service 'account' died
> > I/ServiceManager( 1638): service 'content' died
> > I/ServiceManager( 1638): service 'telephony.registry' died
> > I/ServiceManager( 1638): service 'media.audio_flinger' died
> > I/ServiceManager( 1638): service 'media.player' died
> > I/ServiceManager( 1638): service 'media.camera' died
> > I/ServiceManager( 1638): service 'media.audio_policy' died
> >
> >
> > anyone can help me clarify this issue?
> >
> >
> > Regards
> > Ashwani
> >
> > --
> > unsubscribe: 
> > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> > website: http://groups.google.com/group/android-porting
> >
>
> --
> unsubscribe: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-porting
>

h

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to