How to build android init for android-2.6.30

by Elvis Dowson » Thu, 16 Jul 2009 10:08:30 GMT


Sponsored Links
 Hi,
       I'm working on trying to get android running on linux-
omap3-2.6.30 kernel version. I've managed to compile a basic kernel
image. Now I just need some guidance on what to do to get the android
init to work correctly, at the moment, I get a kernel panic when the
boot tries to run init, since init was created for v2.6.29.

What should I replace or modify in order to get init to compile
against the v2.6.30 linux kernel sources?

Best regards,

Elvis

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



How to build android init for android-2.6.30

by Shrinivas » Fri, 17 Jul 2009 13:19:41 GMT


 if you provide the kernel logs, we can help you out with this
problem...



--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


How to build android init for android-2.6.30

by Neo » Tue, 21 Jul 2009 10:30:04 GMT


 check out this thread -



How to build android init for android-2.6.30

by Neil Nguyen » Tue, 21 Jul 2009 11:13:37 GMT


 I used to have a similar problem.  It turned out that I forgot to turn on the 
"CONFIG_EABI" option.  Maybe you should double-check your configuration to make 
sure.

Cheers,
Neil




> 



How to build android init for android-2.6.30

by Elvis Dowson » Thu, 23 Jul 2009 20:37:43 GMT


 Hi,
      I guess part of the solution is to update the bionic/libc linux
kernel headers. There are some changes to linux/posix_types.h that
need to be factored, used by zygote init, that may be responsible for
the crash.

I've started a separate thread for porting bionic/libc for v2.6.30
here:




Other Threads

1. Map problem on Vista

I'm desperately in need of some help.

I can't get the maps app to work on the emulator.  I can successfully
use the web browser to view any webpage I want (so I know it's not a
network issue), but whenever I load the maps screen I just get a
chequered grey screen and no map.  After awhile I get a message "Oops!
The network seems to be down for now. We'll keep trying, though."

I'm running the emulator under Windows Vista.  When I try the emulator
under a WinXP virtual machine, everything works fine.

Below is the output from the emulator when I run it with the "-logcat
debug" option.

Thanks in advance.

Uncompressing
Linux.................................................................................
done, booting the kernel.
# I/DEBUG   (  499): de{*filter*}d: Feb 28 2008 17:13:08
D/AndroidRuntime(  501):
D/AndroidRuntime(  501): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
I/AndroidRuntime(  501): Assertions enabled for ALL code (-ea and -
esa)
I/runtime (  502): Startup: sys='/system' asset='/system/app' data='/
data'
I/runtime (  502): Entered boot_init()!
D/runtime (  502): ProcessState: 0x124e8
I/runtime (  502): Binder driver opened.  Multiprocess enabled.
D/AndroidRuntime(  501): --- registering native functions ---
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.app.Activity
$LocalWindowManager' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.app.Activity
$LocalWindowManager with class android.app.Activity$LocalWindowManager
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.content.PackageManager'
0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.content.PackageManager with
class android.content.PackageManager
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.content.PackageManager
$ActivityInfo' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.content.PackageManager
$ActivityInfo with class android.content.PackageManager$ActivityInfo
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.content.PackageManager
$ActivityInfo$1' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.content.PackageManager
$ActivityInfo$1 with class android.content.PackageManager$ActivityInfo
$1
D/dalvikvm(  501): LOADING path /system/lib/libmedia_jni.so 0x0
I/dalvikvm(  501): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  501): LOADING path /system/lib/libmedia_jni.so 0x0
I/dalvikvm(  501): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  501): LOADING path /system/lib/libmedia_jni.so 0x0
I/dalvikvm(  501): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.os.BinderNative'
0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.os.BinderNative with class
android.os.BinderNative
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.text.style.CharacterStyle
$DrawState' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.text.style.CharacterStyle
$DrawState with class android.text.style.CharacterStyle$DrawState
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.webkit.JsConfirmResult'
0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.webkit.JsConfirmResult with
class android.webkit.JsConfirmResult
D/dalvikvm(  501): LOADING path /system/lib/libwebcore.so 0x0
I/dalvikvm(  501): Added shared lib /system/lib/libwebcore.so 0x0
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.widget.AbsListView
$MyContentObserver' 0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.widget.AbsListView
$MyContentObserver with class android.widget.AbsListView
$MyContentObserver
D/dalvikvm(  501): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  501): NOTE: loadClass 'android.widget.WidgetInflate'
0x40018950 threw an exception
W/Zygote  (  501): Zygote class init exception
java.lang.ClassNotFoundException: android.widget.WidgetInflate with
class android.widget.WidgetInflate
I/dalvikvm-heap(  501): GC! (0ms since last GC)
I/dalvikvm-heap(  501): GC old usage 26.3%; now 0.543MB used / 1.087MB
soft max (2.062MB real max)
I/dalvikvm-heap(  501): GC freed 3293 objects / 219724 bytes in 17ms
I/Zygote  (  501): Accepting command socket connections
I/ServiceManager(  502): ServiceManager: waiting for service
SurfaceFlinger
I/jdwp    (  513): prepping for JDWP over ADB
I/jdwp    (  513): PID sent as '0201' to ADB
I/jdwp    (  513): trying to receive file descriptor from ADB
D/AndroidRuntime(  512): Shutting down VM
D/dalvikvm(  512): DestroyJavaVM waiting for non-daemon threads to
exit
I/dalvikvm(  512): DestroyJavaVM shutting VM down
D/dalvikvm(  512): All daemon threads shut down, cleaning up
D/dalvikvm(  512): LinearAlloc 0x0 used 949804 of 4194304 (22%)
I/sysproc (  513): Entered system_init()
I/sysproc (  513): ServiceManager: 0x140a30
I/SurfaceFlinger(  513): SurfaceFlinger is starting
I/SurfaceFlinger(  513): showbackground enabled
I/SurfaceFlinger(  513): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
W/        (  513): <eglQueryStringConfigANDROID> not found in
libagl.so
W/        (  513): can't access 3D hardware (No such file or
directory)
I/SurfaceFlinger(  513): EGL informations:
I/SurfaceFlinger(  513): # of configs : 4
I/SurfaceFlinger(  513): vendor    : Google Inc.
I/SurfaceFlinger(  513): version   : 1.2 Android META-EGL
I/SurfaceFlinger(  513): extensions: EGL_ANDROID_swap_rectangle
EGL_ANDROID_copy_front_to_back EGL_ANDROID_get_render_buffer_address
EGL_ANDROID_query_string_config
I/SurfaceFlinger(  513): ext/config: EGL_ANDROID_swap_rectangle
EGL_ANDROID_copy_front_to_back EGL_ANDROID_get_render_buffer_address
I/SurfaceFlinger(  513): Client API: OpenGL ES
I/EGLDisplaySurface(  513): using (fd=21)
I/EGLDisplaySurface(  513): id           =
I/EGLDisplaySurface(  513): xres         = 320 px
I/EGLDisplaySurface(  513): yres         = 480 px
I/EGLDisplaySurface(  513): xres_virtual = 320 px
I/EGLDisplaySurface(  513): yres_virtual = 960 px
I/EGLDisplaySurface(  513): bpp          = 16
I/EGLDisplaySurface(  513): r            = 11:5
I/EGLDisplaySurface(  513): g            =  5:6
I/EGLDisplaySurface(  513): b            =  0:5
I/EGLDisplaySurface(  513): width        = 51 mm (159.372543 dpi)
I/EGLDisplaySurface(  513): height       = 38 mm (320.842102 dpi)
I/EGLDisplaySurface(  513): refresh rate = 60.00 Hz
I/SurfaceFlinger(  513): OpenGL informations:
I/SurfaceFlinger(  513): vendor    : Google Inc.
I/SurfaceFlinger(  513): renderer  : Android PixelFlinger 1.0
I/SurfaceFlinger(  513): version   : OpenGL ES-CM 1.0
I/SurfaceFlinger(  513): 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_ARB_texture_compression
GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture
I/RFBServer(  513): RFB server ready to run
I/ServiceManager(  502): ServiceManager: waiting for service
SurfaceFlinger
I/ServiceManager(  502): ServiceManager: addService(SurfaceFlinger,
0x12dc8)
I/ServiceManager(  502): ServiceManager: waiting for service activity
W/        (  513): can't access 3D hardware (No such file or
directory)
E/SurfaceFlinger(  513): GL error 0x0500
I/ARMAssembler(  513): generated
scanline__00000077:03515104_00001A01_00000000 [ 46 ipp] (68 ins) at
[0x14e250:0x14e360] in 5656446 ns
D/AudioFlinger(  513): Running in emulation - using generic audio
driver
I/AudioFlinger(  513): AudioFlinger's main thread ready to run.
I/ServiceManager(  502): ServiceManager: addService(AudioFlinger,
0x130e0)
I/sysproc (  513): System server: starting Android runtime.
I/sysproc (  513): System server: starting Android services.
I/SystemServer(  513): Entered the Android system server!
D/TouchDex(  513): TouchDex parent waiting for pid=534 (timeout=36.4s)
I/sysproc (  513): System server: entering thread pool.
D/dalvikvm(  534): DestroyJavaVM waiting for non-daemon threads to
exit
I/dalvikvm(  534): DestroyJavaVM shutting VM down
D/dalvikvm(  534): HeapWorker thread shutting down
D/dalvikvm(  534): HeapWorker thread has shut down
D/dalvikvm(  534): All daemon threads shut down, cleaning up
D/dalvikvm(  534): LinearAlloc 0x0 used 295132 of 4194304 (7%)
I/TouchDex(  513): Dalvik-cache prep: status=0x0000, finished in
1030ms
I/SystemServer(  513): Starting Power Manager.
I/ServiceManager(  502): ServiceManager: addService(power, 0x13140)
I/SystemServer(  513): Starting Activity Manager.
I/ServiceManager(  502): ServiceManager: addService(activity, 0x13218)
I/ServiceManager(  502): ServiceManager: addService(meminfo, 0x13588)
I/ServiceManager(  502): ServiceManager:
addService(activity.receivers, 0x13678)
I/ServiceManager(  502): ServiceManager: addService(activity.services,
0x136f0)
I/ServiceManager(  502): ServiceManager:
addService(activity.providers, 0x131c0)
I/SystemServer(  513): Starting Package Manager.
D/PackageManager(  513): Scanning app dir /system/framework
D/        (  513): zip_openZipFile(/system/framework/framework-
res.apk)
W/PackageParser(  513): Skipping non-package file: /system/framework/
core.jar
W/PackageParser(  513): Skipping non-package file: /system/framework/
ext.jar
W/PackageParser(  513): Skipping non-package file: /system/framework/
framework.jar
W/PackageParser(  513): Skipping non-package file: /system/framework/
am.jar
W/PackageParser(  513): Skipping non-package file: /system/framework/
input.jar
W/PackageParser(  513): Skipping non-package file: /system/framework/
monkey.jar
W/PackageParser(  513): Skipping non-package file: /system/framework/
ssltest.jar
W/PackageParser(  513): Skipping non-package file: /system/framework/
framework-tests.jar
W/PackageParser(  513): Skipping non-package file: /system/framework/
pm.jar
D/PackageManager(  513): Scanning app dir /system/app
D/        (  513): zip_openZipFile(/system/app/ContactsProvider.apk)
D/        (  513): zip_openZipFile(/system/app/GoogleAppsProvider.apk)
D/        (  513): zip_openZipFile(/system/app/MasfProxyService.apk)
D/        (  513): zip_openZipFile(/system/app/MediaProvider.apk)
D/        (  513): zip_openZipFile(/system/app/SettingsProvider.apk)
D/        (  513): zip_openZipFile(/system/app/TelephonyProvider.apk)
D/        (  513): zip_openZipFile(/system/app/Browser.apk)
I/dalvikvm-heap(  513): GC! (3202ms since last GC)
I/dalvikvm-heap(  513): GC old usage 67.7%; now 0.736MB used / 1.472MB
soft max (2.062MB real max)
I/dalvikvm-heap(  513): GC freed 5436 objects / 368320 bytes in 74ms
D/        (  513): zip_openZipFile(/system/app/Contacts.apk)
D/        (  513): zip_openZipFile(/system/app/Development.apk)
D/        (  513): zip_openZipFile(/system/app/Fallback.apk)
D/        (  513): zip_openZipFile(/system/app/GTalkSettings.apk)
D/        (  513): zip_openZipFile(/system/app/GoogleApps.apk)
D/        (  513): zip_openZipFile(/system/app/Home.apk)
D/        (  513): zip_openZipFile(/system/app/ImProvider.apk)
D/        (  513): zip_openZipFile(/system/app/Maps.apk)
D/        (  513): zip_openZipFile(/system/app/Phone.apk)
D/        (  513): zip_openZipFile(/system/app/gtalkservice.apk)
D/PackageManager(  513): Scanning app dir /data/app
D/        (  513): zip_openZipFile(/data/app/ApiDemos.apk)
D/        (  513): zip_openZipFile(/data/app/MapTest.apk)
W/PackageManager(  513): Not granting permission
android.permission.RUN_INSTRUMENTATION to package
com.google.android.samples
W/PackageManager(  513): Granting new permission
android.permission.WRITE_CONTACTS to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.READ_CONTACTS to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.ADD_SYSTEM_SERVICE to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.SYSTEM_ALERT_WINDOW to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.WRITE_CONTACTS to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.WRITE_SETTINGS to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.BROADCAST_STICKY to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.READ_CONTACTS to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.CALL_PHONE to android.server.PackageManagerService
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.INTERNAL_SYSTEM_WINDOW to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.WRITE_SETTINGS to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.BROADCAST_STICKY to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.RECEIVE_BOOT_COMPLETED to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
com.google.android.gtalkservice.permission.GTALK_SERVICE to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.CALL_PHONE to android.server.PackageManagerService
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.ACCESS_LOCATION to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
com.google.android.maps.permission.READ_MY_MAPS to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
com.google.android.maps.permission.WRITE_MY_MAPS to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.ACCESS_CELL_ID to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.ACCESS_ASSISTED_GPS to
[EMAIL PROTECTED]
W/PackageManager(  513): Granting new permission
android.permission.ACCESS_GPS to android.server.PackageManagerService
[EMAIL PROTECTED]
I/dalvikvm-heap(  513): GC! (2702ms since last GC)
I/dalvikvm-heap(  513): GC old usage 61.2%; now 0.901MB used / 1.802MB
soft max (2.062MB real max)
I/dalvikvm-heap(  513): GC freed 10024 objects / 598936 bytes in 75ms
D/        (  513): removing file '/data/system/packages-backup.xml'
I/dalvikvm-heap(  513): GC! (659ms since last GC)
I/dalvikvm-heap(  513): GC old usage 46.5%; now 0.838MB used / 1.678MB
soft max (2.062MB real max)
I/dalvikvm-heap(  513): GC freed 2819 objects / 146068 bytes in 37ms
I/ServiceManager(  502): ServiceManager: addService(package, 0x138b0)
I/SystemServer(  513): Starting Content Manager.
I/Zygote  (  513): Process: zygote socket opened
I/ActivityManager(  513): Starting app process
com.google.process.content to host service
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService}: pid=541
I/ServiceManager(  502): ServiceManager: addService(content, 0x13990)
I/SystemServer(  513): Starting System Content Providers.
I/ActivityThread(  513): Publishing provider settings:
com.google.android.providers.settings.SettingsProvider
I/ActivityThread(  513): Loading code package
com.google.android.providers.settings (in null)
D/        (  513): zip_openZipFile(/system/app/SettingsProvider.apk)
I/jdwp    (  541): prepping for JDWP over ADB
I/jdwp    (  541): PID sent as '021d' to ADB
I/jdwp    (  541): trying to receive file descriptor from ADB
D/AudioFlinger(  513): Audio hardware entering standby
I/ActivityThread(  513): Publishing provider android.server.checkin:
android.server.checkin.CheckinProvider
D/BatteryService(  513): BatteryService statup
D/BatteryService(  513): mUseProperties = true
D/BatteryService(  513): updateBattery level:5 scale:9 raw:50 state:50
icon:16908642
I/ServiceManager(  502): ServiceManager: addService(battery, 0x139f8)
I/SystemServer(  513): Starting Alarm Manager.
I/ServiceManager(  502): ServiceManager: addService(alarm, 0x13a58)
I/SystemServer(  513): Starting Window Manager.
E/EventHub(  513): could not get driver version for /dev/input/mice,
Not a typewriter
E/EventHub(  513): could not get driver version for /dev/input/mouse0,
Not a typewriter
I/EventHub(  513): New device: path=/dev/input/event0 name=qwerty2
id=0x10000 (of 0x1) index=1 fd=46
I/EventHub(  513): new keyboard input device added, name = qwerty2
I/EventHub(  513): New keyboard: name=qwerty2 keymap=qwerty.kl
keymapPath=/system/usr/keychars/qwerty.kcm.bin
I/EventHub(  513): Reporting device opened: id=0x10000, name=/dev/
input/event0
I/KeyInputQueue(  513): Device added: id=0x10000, name=qwerty2,
classes=7
I/KeyInputQueue(  513):   Keymap: qwerty.kl
I/KeyInputQueue(  513):   X: unknown values
I/KeyInputQueue(  513):   Y: unknown values
I/KeyInputQueue(  513):   Pressure: unknown values
I/KeyInputQueue(  513):   Size: unknown values
D/WindowManager(  513): Starting input thread.
D/WindowManager(  513): Startup complete!
I/ServiceManager(  502): ServiceManager: addService(window, 0x13770)
I/SystemServer(  513): Starting Bluetooth Service.
I/org.bluez.EventLoop(  513): Initializing class org.bluez.EventLoop.
I/org.bluez.Manager(  513): Initializing class org.bluez.Manager.
I/org.bluez.Manager(  513): initializeNativeDataNative
I/ActivityThread(  541): Loading code package
com.google.android.googleapps (in com.google.process.content)
I/ActivityThread(  541): Publishing provider googleaccounts:
com.google.android.providers.googleapps.GoogleAccountsProvider
I/org.bluez.EventLoop(  513): initializeNativeDataNative
I/org.bluez.Security(  513): Initializing class org.bluez.Security.
I/org.bluez.Security(  513): initializeNativeDataNative
I/ServiceManager(  502): ServiceManager:
addService(org.bluez.bluetooth_service, 0x13bf8)
I/SystemServer(  513): Starting USB Service.
I/ActivityThread(  541): Loading code package
com.google.android.providers.googleapps (in
com.google.process.content)
I/ServiceManager(  502): ServiceManager: addService(USB, 0x13c58)
I/SystemServer(  513): Starting Status Bar Service.
D/usb     (  513): [UsbListener] UsbListener.handleEvent ums_disabled
D/usb     (  513): [UsbListener] UsbListener.handleEvent
ums_disconnected
D/usb     (  513): [UsbListener] UsbListener.handleEvent ums_disabled
D/        (  541): zip_openZipFile(/system/app/GoogleAppsProvider.apk)
I/WindowManager(  513): Input configuration changed: { scale=1.0
locale=en_US touch=3 key=2/1 nav=3 orien=1 }
I/ServiceManager(  502): ServiceManager: addService(statusbar,
0x13930)
I/SystemServer(  513): Starting Hardware Service.
I/ServiceManager(  502): ServiceManager: addService(hardware, 0x13d90)
I/SystemServer(  513): Starting Notification Manager.
I/ServiceManager(  502): ServiceManager: addService(notification,
0x13e18)
I/SystemServer(  513): Starting Location Manager.
D/LocationManagerService(  513): loadProviders
D/LocationManagerService(  513): loadProvidersNoSync
I/LocationManagerService(  513): Found dir /data/misc/location/gps
I/LocationManagerService(  513): name = gps
D/LocationProvider(  513): Constructor: name = gps
D/LocationManagerService(  513): Loading properties file /data/misc/
location/gps/properties
I/LocationManagerService(  513): supportsAltitude: true
I/LocationManagerService(  513): supportsBearing: true
I/LocationManagerService(  513): supportsSpeed: true
I/ActivityThread(  541): Publishing provider contacts;call_log:
com.google.android.providers.contacts.ContactsProvider
I/ActivityThread(  541): Loading code package
com.google.android.providers.contacts (in com.google.process.content)
D/        (  541): zip_openZipFile(/system/app/ContactsProvider.apk)
D/ActivityThread(  541): Installing external provider settings:
com.google.android.providers.settings.SettingsProvider
I/ActivityThread(  541): Publishing provider im:
com.google.android.providers.im.ImProvider
I/ActivityThread(  541): Loading code package
com.google.android.providers.im (in com.google.process.content)
D/        (  541): zip_openZipFile(/system/app/ImProvider.apk)
I/dalvikvm-heap(  513): GC! (2993ms since last GC)
I/dalvikvm-heap(  513): GC old usage 78.3%; now 1.315MB used / 2.630MB
real max
I/dalvikvm-heap(  513): GC freed 6171 objects / 380604 bytes in 107ms
I/ActivityThread(  541): Publishing provider maps:
com.google.android.maps.provider.MapsProvider
I/ActivityThread(  541): Loading code package com.google.android.maps
(in com.google.process.content)
D/        (  541): zip_openZipFile(/system/app/Maps.apk)
I/ActivityThread(  541): Publishing provider media:
com.google.android.providers.media.MediaProvider
I/ActivityThread(  541): Loading code package
com.google.android.providers.media (in com.google.process.content)
D/        (  541): zip_openZipFile(/system/app/MediaProvider.apk)
W/ActivityManager(  513): Unable to start service Intent
{ comp={com.google.android.drm.mobile1/
com.google.android.drm.mobile1.DrmService} }: not found
D/MediaProvider(  541): openDatabase: null isExternal: false
D/        (  541): zip_openZipFile(/system/app/GoogleApps.apk)
D/ActivityThread(  541): Creating service
com.google.android.googleapps.GoogleLoginService
I/ServiceManager(  502): ServiceManager: waiting for service phone
D/        (  541): zip_openZipFile(/system/framework/core.jar)
I/ServiceManager(  502): ServiceManager: unable to find service phone
D/LocationManagerService(  513): Constructed LocationManager Service
for Context [EMAIL PROTECTED]
I/ServiceManager(  502): ServiceManager: addService(location, 0x13e98)
I/SystemServer(  513): Starting Search Service.
I/SearchManagerService(  513): created
D/SearchManagerService(  513): created
I/ServiceManager(  502): ServiceManager: addService(search, 0x13f18)
I/SystemServer(  513): Starting Checkin Service
I/ServiceManager(  502): ServiceManager: addService(checkin, 0x13f98)
D/ActivityManager(  513): Start running!
I/ActivityManager(  513): Starting app process com.google.android.home
to host added application {com.google.android.home/--}: pid=556
I/ActivityManager(  513): Starting app process
com.google.android.phone to host added application
{com.google.android.phone/--}: pid=558
I/jdwp    (  558): prepping for JDWP over ADB
I/jdwp    (  556): prepping for JDWP over ADB
I/jdwp    (  556): PID sent as '022c' to ADB
I/jdwp    (  556): trying to receive file descriptor from ADB
I/jdwp    (  558): PID sent as '022e' to ADB
I/jdwp    (  558): trying to receive file descriptor from ADB
I/ActivityManager(  513): Starting activity: Intent
{ action=android.intent.action.MAIN
categories={android.intent.category.HOME}
comp={com.google.android.home/com.google.android.home.NewHome} }
W/ActivityManager(  513): startActivity called from non-Activity
context; forcing Intent.NEW_TASK_LAUNCH for: Intent
{ action=android.intent.action.MAIN
categories={android.intent.category.HOME}
comp={com.google.android.home/com.google.android.home.NewHome} }
I/ActivityThread(  558): Loading code package com.google.android.phone
(in com.google.android.phone)
D/        (  558): zip_openZipFile(/system/app/Phone.apk)
I/ActivityThread(  556): Loading code package com.google.android.home
(in com.google.android.home)
D/        (  556): zip_openZipFile(/system/app/Home.apk)
I/ActivityThread(  558): Publishing provider telephony:
com.google.android.providers.telephony.TelephonyProvider
I/ActivityThread(  558): Loading code package
com.google.android.providers.telephony (in com.google.android.phone)
D/        (  558): zip_openZipFile(/system/app/TelephonyProvider.apk)
D/ActivityThread(  556): Performing launch of ActivityRecord{400b1ae0
[EMAIL PROTECTED] {com.google.android.home/
com.google.android.home.NewHome}}
I/TelephonyProvider(  558): *** going for the open. version = 196611
I/ActivityThread(  558): Publishing provider mms-sms:
com.google.android.providers.telephony.MmsSmsProvider
I/ActivityThread(  558): Publishing provider sim:
com.google.android.phone.SimProvider
I/ActivityThread(  558): Publishing provider sms:
com.google.android.providers.telephony.SmsProvider
I/ActivityThread(  558): Publishing provider mms:
com.google.android.providers.telephony.MmsProvider
I/dalvikvm-heap(  556): GC! (19 sec since last GC)
I/ServiceManager(  502): ServiceManager: addService(simphonebook,
0x13ad8)
I/ServiceManager(  502): ServiceManager: addService(isms, 0x13b50)
D/ActivityThread(  558): Installing external provider settings:
com.google.android.providers.settings.SettingsProvider
I/dalvikvm-heap(  556): GC old usage 93.3%; now 1.015MB used / 2.031MB
soft max (2.062MB real max)
I/dalvikvm-heap(  556): GC freed 591 objects / 47220 bytes in 126ms
I/ServiceManager(  502): ServiceManager: addService(volume, 0x14180)
D/PhoneApp(  558): [PhoneIntfMgr] publish:
[EMAIL PROTECTED]
I/ServiceManager(  502): ServiceManager: addService(phone, 0x13cb8)
I/bluez   (  558): [BluetoothProxy] BluetoothServiceProxy:
[EMAIL PROTECTED]
I/org.bluez.Manager(  558): Initializing class org.bluez.Manager.
I/org.bluez.Manager(  558): initializeNativeDataNative
I/org.bluez.Manager(  558): getDefaultAdapterNative
E/org.bluez.*(  558): D-Bus error: The name org.bluez was not provided
by any .service files
V/PhoneApp(  558): [BluetoothHeadsetMgr] ##### BluetoothHeadsetMgr:
null adapter! #####
V/PhoneApp(  558): [BluetoothHeadsetMgr] publish:
[EMAIL PROTECTED]
I/ServiceManager(  502): ServiceManager:
addService(org.bluez.bluetooth, 0x14310)
I/bluez   (  558): [BluetoothProxy] BluetoothServiceProxy:
[EMAIL PROTECTED]
I/bluez   (  558): [BluetoothProxy] isBluetoothStarted()
V/PhoneApp(  558): [BluetoothHeadsetMgr] Bluetooth is not enabled on
power-up.
D/ActivityThread(  556): Installing external provider settings:
com.google.android.providers.settings.SettingsProvider
D/dalvikvm(  558): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  558): NOTE: loadClass
'org.apache.harmony.luni.internal.locale.ISO4Currencies_en_US'
0x40018950 threw an exception
D/dalvikvm(  558): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  558): NOTE: loadClass
'org.apache.harmony.luni.internal.locale.ISO4Currencies_en' 0x40018950
threw an exception
I/dalvikvm-heap(  558): GC! (20 sec since last GC)
I/dalvikvm-heap(  558): GC old usage 86.7%; now 0.943MB used / 1.886MB
soft max (2.062MB real max)
I/dalvikvm-heap(  558): GC freed 2130 objects / 151424 bytes in 137ms
D/dalvikvm(  558): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  558): NOTE: loadClass
'org.apache.harmony.luni.internal.locale.ISO4CurrenciesToDigits_en_US'
0x40018950 threw an exception
D/dalvikvm(  558): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  558): NOTE: loadClass
'org.apache.harmony.luni.internal.locale.ISO4CurrenciesToDigits_en'
0x40018950 threw an exception
D/SystemClock(  558): Setting time of day to sec=1214568192
W/SystemClock(  558): Unable to set rtc to 1214568192: Invalid
argument
I/ActivityManager(  513): Displayed activity {com.google.android.home/
com.google.android.home.NewHome}: 3906 ms
I/ActivityManager(  513): Done launching {com.google.android.home/
com.google.android.home.NewHome}: 4037 ms
I/SurfaceFlinger(  513): Boot is finished (0 ms)
I/ARMAssembler(  513): generated
scanline__00000077:03545404_00000A04_00000000 [ 29 ipp] (51 ins) at
[0x18d2e8:0x18d3b4] in 2198254 ns
D/ActivityThread(  558): Installing external provider
android.server.checkin: android.server.checkin.CheckinProvider
D/SurfaceFlinger(  513): Surface 0, heap=0x1458f8 destroyed
W/SurfaceFlinger(  513): LayerVector[0x140b5c, counts=(2,2)]: layer
(0x146860, index=0) not found (not a bug)
D/Sync    (  513): received data connection state changed:
DISCONNECTED
W/ActivityManager(  513): Permission Denial: receiving Intent
{ action=android.intent.action.BOOT_COMPLETED } from android requires
android.permission.RECEIVE_BOOT_COMPLETED
D/ActivityThread(  541): Creating service
com.google.android.providers.media.MediaScannerService
D/MediaScannerService(  541): start scanning volume internal
I/ActivityThread(  541): Loading code package
com.google.android.gtalkservice (in com.google.process.content)
D/        (  541): zip_openZipFile(/system/app/gtalkservice.apk)
I/gtalkSrv(  541): --- on boot, startService ---
D/ActivityThread(  541): Creating service
com.google.android.gtalkservice.service.GTalkService
D/gtalkSrv(  541): [GTalkService] gtalkservice Started
V/gtalkSrv(  541): [ServiceContext] queryProviders: AIM provider=3
D/Sync    (  513): received data connection state changed:
DISCONNECTED
D/MediaScanner(  541): opendir /data/images/ failed, errno: 2
D/MediaScanner(  541):  prescan time: 342ms
D/MediaScanner(  541):     scan time: 77ms
D/MediaScanner(  541): postscan time: 0ms
D/MediaScanner(  541):    total time: 419ms
D/MediaScannerService(  541): done scanning volume internal
I/ActivityManager(  513): Stopping service:
{com.google.android.providers.media/
com.google.android.providers.media.MediaScannerService}
I/dalvikvm-heap(  541): GC! (22 sec since last GC)
D/TelephonyProvider(  558): Setting numeric '310995' to be the current
operator
I/dalvikvm-heap(  541): GC old usage 76.9%; now 0.835MB used / 1.672MB
soft max (2.062MB real max)
I/dalvikvm-heap(  541): GC freed 3581 objects / 263068 bytes in 113ms
D/ActivityThread(  541): Stopping service
[EMAIL PROTECTED]
D/Sync    (  513): received data connection state changed: CONNECTING
D/Sync    (  513): received data connection state changed: CONNECTING
D/Sync    (  513): received data connection state changed: CONNECTED
I/ActivityManager(  513): Starting activity: Intent
{ action=android.intent.action.MAIN launchFlags=4
comp={com.google.android.maps/com.google.android.maps.Maps} }
I/ActivityThread(  513): Loading resource-only package
com.google.android.maps (in null)
I/ActivityManager(  513): Starting app process com.google.android.maps
to host activity {com.google.android.maps/
com.google.android.maps.Maps}: pid=593
I/ARMAssembler(  513): generated
scanline__00000077:03545404_00000004_00000000 [ 47 ipp] (67 ins) at
[0x149b48:0x149c54] in 2083784 ns
I/jdwp    (  593): prepping for JDWP over ADB
I/jdwp    (  593): PID sent as '0251' to ADB
I/jdwp    (  593): trying to receive file descriptor from ADB
I/ActivityThread(  593): Loading code package com.google.android.maps
(in com.google.android.maps)
D/        (  593): zip_openZipFile(/system/app/Maps.apk)
D/ActivityThread(  593): Performing launch of ActivityRecord{4001e370
[EMAIL PROTECTED] {com.google.android.maps/
com.google.android.maps.Maps}}
W/Maps_Persistence(  593): Couldn't find file:  /data/data/
com.google.android.maps/files/DATA_Preferences
D/ActivityThread(  593): Installing external provider settings:
com.google.android.providers.settings.SettingsProvider
I/MapActivity(  593): Connecting to:  http://www.***.com/ 
D/LocationManager(  593): Constructor: service =
[EMAIL PROTECTED], handler =
[EMAIL PROTECTED]
D/LocationManager(  593): getProviders
D/LocationManagerService(  513): getProviders
D/LocationManagerService(  513): loadProviders
D/LocationManagerService(  513): loadProviders: already loaded
D/LocationManager(  593): getProviders: name = gps
D/LocationManagerService(  513): getProviderInfo: provider = gps
D/LocationManagerService(  513): loadProviders
D/LocationManagerService(  513): loadProviders: already loaded
D/LocationProvider(  593): Constructor: name = gps
D/MapActivity(  593): Found 1 providers.
W/Maps_Persistence(  593): Couldn't find file:  /data/data/
com.google.android.maps/files/DATA_Tiles
D/        (  593): removing file '/data/data/com.google.android.maps/
files/DATA_testRecordStore'
D/        (  593): removing file '/data/data/com.google.android.maps/
files/DATA_Preferences'
I/dalvikvm-heap(  593): GC! (39 sec since last GC)
I/dalvikvm-heap(  593): GC old usage 91.9%; now 1.000MB used / 2.000MB
soft max (2.062MB real max)
I/dalvikvm-heap(  593): GC freed 1031 objects / 77228 bytes in 37ms
D/        (  593): zip_openZipFile(/system/framework/core.jar)
D/dalvikvm(  593): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  593): NOTE: loadClass
'org.apache.harmony.luni.internal.locale.ISO4Currencies_en_US'
0x40018950 threw an exception
D/dalvikvm(  593): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  593): NOTE: loadClass
'org.apache.harmony.luni.internal.locale.ISO4Currencies_en' 0x40018950
threw an exception
D/dalvikvm(  593): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  593): NOTE: loadClass
'org.apache.harmony.luni.internal.locale.ISO4CurrenciesToDigits_en_US'
0x40018950 threw an exception
D/dalvikvm(  593): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  593): NOTE: loadClass
'org.apache.harmony.luni.internal.locale.ISO4CurrenciesToDigits_en'
0x40018950 threw an exception
W/global  (  593): Jun 27, 2008 12:03:31 PM java.io.BufferedReader
<init>
W/global  (  593): WARNING: Default buffer size used in BufferedReader
constructor. It would be
W/global  (  593): better to be explicit if a 8k-char buffer is
required.
D/LocationManager(  593): getProviders
D/LocationManagerService(  513): getProviders
D/LocationManagerService(  513): loadProviders
D/LocationManagerService(  513): loadProviders: already loaded
D/LocationManager(  593): getProviders: name = gps
D/LocationManagerService(  513): getProviderInfo: provider = gps
D/LocationManagerService(  513): loadProviders
D/LocationManagerService(  513): loadProviders: already loaded
D/LocationProvider(  593): Constructor: name = gps
I/MapActivity(  593): No provider found: 1
I/ActivityManager(  513): Displayed activity {com.google.android.maps/
com.google.android.maps.Maps}: 1794 ms
I/dalvikvm-heap(  593): GC! (6466ms since last GC)
I/dalvikvm-heap(  593): GC old usage 71.0%; now 1.420MB used / 2.841MB
real max
I/dalvikvm-heap(  593): GC freed 9317 objects / 608204 bytes in 47ms
I/dalvikvm-heap(  513): GC! (37 sec since last GC)
I/dalvikvm-heap(  513): GC old usage 69.1%; now 1.861MB used / 3.723MB
real max
D/SurfaceFlinger(  513): Surface 1, heap=0x1671a8 destroyed
I/dalvikvm-heap(  513): GC freed 18209 objects / 1025956 bytes in
151ms
W/ActivityManager(  513): Activity idle timeout for
HistoryRecord{4025df20 {com.google.android.maps/
com.google.android.maps.Maps}} ({com.google.android.maps/
com.google.android.maps.Maps})
D/ActivityManager(  513): Stopping: HistoryRecord{401fd0a8
{com.google.android.home/com.google.android.home.NewHome}}
D/dalvikvm(  593): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  593): NOTE: loadClass
'org.apache.harmony.luni.util.ExternalMessages_en_US' 0x40018950 threw
an exception
D/dalvikvm(  593): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  593): NOTE: loadClass
'org.apache.harmony.luni.util.ExternalMessages_en' 0x40018950 threw an
exception
D/dalvikvm(  593): Exception Ljava/lang/ClassNotFoundException; from
PathClassLoader.java:205 not caught locally
D/dalvikvm(  593): NOTE: loadClass
'org.apache.harmony.luni.util.ExternalMessages' 0x40018950 threw an
exception
D/        (  593): zip_openZipFile(/system/framework/core.jar)
I/dalvikvm-heap(  593): GC! (32 sec since last GC)
I/dalvikvm-heap(  593): GC old usage 51.7%; now 1.489MB used / 2.978MB
real max
I/dalvikvm-heap(  593): GC freed 25896 objects / 1615032 bytes in 51ms
E/Maps    (  593): Network error: 3
E/Maps    (  593): java.io.IOException
E/Maps    (  593):      at
com.google.common.DataRequestDispatcher.serviceRequests(Unknown
Source)
E/Maps    (  593):      at com.google.common.DataRequestDispatcher
$DispatcherServer.run(Unknown Source)
E/Maps    (  593):      at java.lang.Thread.run(Thread.java:896)
I/dalvikvm-heap(  593): GC! (35 sec since last GC)
I/dalvikvm-heap(  593): GC old usage 50.6%; now 1.519MB used / 3.039MB
real max
I/dalvikvm-heap(  593): GC freed 27931 objects / 1724092 bytes in 59ms
Audio out device: Microsoft Sound Mapper
Audio in device: Microsoft Sound Mapper

--~--~---------~--~----~------------~-------~--~----~

2. Setting a breakpoint in a service

Hi all,

I have created a service based on AlarmService_Service.java from the
SDK samples.

In my service I want to do some work which will update a
ContentProvider.

The problem I am having is that I cannot seem to get a breakpoint
inside the service to fire. I know it is executing the service as I
can add log statements and see it pass the point where the breakpoint
is set. Running in debug mode under Eclipse obviously.

Is this possible? Can you step through the code for a background
service?

Al.

--~--~---------~--~----~------------~-------~--~----~

3. Confused about WebView#loadData()

4. debugging..

5. One-Third year since last public Google Android SDK release

6. how to run an application compiled with gcc

7. hiiiiii