Android not booting up as Init program stuck

by zam » Thu, 24 Sep 2009 01:00:03 GMT


Sponsored Links
 i All,

I am trying to boot Android 1.5 on Omap3430 based device. While
booting up the device stops while showing shiny android text logo. I
am pasting the logcat log below:

-----------------------log
start---------------------------------------------
D/AndroidRuntime( 578):
D/AndroidRuntime( 578): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 578): CheckJNI is ON
D/dalvikvm( 578): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
I/ ( 579): ServiceManager: 0xac38
D/A2dpAudioInterface( 579): A2dpAudioInterface::openOutputStream 1,
0, 0
D/A2DP ( 579): a2dp_init rate: 44100 channels: 2
D/A2DP ( 579): bluetooth_init
E/A2DP ( 579): bt_audio_service_open failed
D/A2DP ( 579): bluetooth_close
E/A2dpAudioInterface( 579): a2dp_init failed err: -111
D/A2dpAudioInterface( 579): A2dpAudioStreamOut::set 1, 0, 0
I/AudioFlinger( 579): AudioFlinger's thread ready to run for output 0
D/AudioFlinger( 579): setRouting 0 2 -1, tid 579, calling tid 579
E/AudioHardwareOmap( 579): Mixer attach error: No such device
D/AudioFlinger( 579): setRouting 1 2 -1, tid 579, calling tid 579
D/AudioFlinger( 579): setRouting 2 1 -1, tid 579, calling tid 579
E/AudioFlinger( 579): mA2dpDisableCount is already zero
E/AudioHardwareOmap( 579): Mixer attach error: No such device
I/AudioFlinger( 579): AudioFlinger's thread ready to run for output 1
I/CameraService( 579): CameraService started: pid=579
D/dalvikvm( 582): Ignoring duplicate verify attempt on Ljava/lang/
Object;
D/dalvikvm( 582): Ignoring duplicate verify attempt on Ljava/lang/
Class;
D/dalvikvm( 582): DexOpt: load 210ms, verify 2339ms, opt 106ms
D/dalvikvm( 578): DexOpt: --- END 'core.jar' (success) ---
D/dalvikvm( 578): DEX prep '/system/framework/core.jar': unzip in
340ms, rewrite 3150ms
D/dalvikvm( 578): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---
D/dalvikvm( 589): DexOpt: load 52ms, verify 557ms, opt 23ms
D/dalvikvm( 578): DexOpt: --- END 'ext.jar' (success) ---
D/dalvikvm( 578): DEX prep '/system/framework/ext.jar': unzip in
53ms, rewrite 774ms
D/dalvikvm( 578): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) ---
D/dalvikvm( 590): DexOpt: load 366ms, verify 3059ms, opt 130ms
D/dalvikvm( 578): DexOpt: --- END 'framework.jar' (success) ---
D/dalvikvm( 578): DEX prep '/system/framework/framework.jar': unzip
in 303ms, rewrite 4188ms
D/dalvikvm( 578): DexOpt: --- BEGIN
'android.policy.jar' (bootstrap=1) ---
D/dalvikvm( 591): DexOpt: load 29ms, verify 130ms, opt 4ms
D/dalvikvm( 578): DexOpt: --- END 'android.policy.jar' (success) ---
D/dalvikvm( 578): DEX prep '/system/framework/android.policy.jar':
unzip in 9ms, rewrite 223ms
D/dalvikvm( 578): DexOpt: --- BEGIN 'services.jar' (bootstrap=1) ---
D/dalvikvm( 592): DexOpt: load 72ms, verify 805ms, opt 30ms
D/dalvikvm( 578): DexOpt: --- END 'services.jar' (success) ---
D/dalvikvm( 578): DEX prep '/system/framework/services.jar': unzip in
56ms, rewrite 1039ms
D/AndroidRuntime( 578): --- registering native functions ---
I/Zygote ( 578): Preloading classes...
D/dalvikvm( 578): GC freed 763 objects / 42128 bytes in 3ms
D/dalvikvm( 578): GC freed 278 objects / 17200 bytes in 3ms
D/dalvikvm( 578): GC freed 204 objects / 12424 bytes in 3ms
D/dalvikvm( 578): GC freed 441 objects / 28216 bytes in 4ms
D/dalvikvm( 578): GC freed 3570 objects



Other Threads

1. Lunar Lander IllegalThreadStateException

There appears to be a synchronization related bug in the Lunar Lander
example or SurfaceView.  I need help debugging it because I've
inadvertently copied the bug into my own project.

How to recreate it:
  Start Lunar Lander.
  Press up to start playing.
  Press Home.
  Long-Press Home to get the Activity stack.
  Select Lunar Lander in the Activity Stack.

I'm sure there are other ways variants to the same end, but this is
repeatable on 1.0r1 emulator (I'm running on Mac).

Stack traces and variables from Eclipse de{*filter*} follow:


==================================================
Stack Trace
---------------------------------------------------------
Thread [<3> main] (Suspended (exception IllegalThreadStateException))
        LunarView(SurfaceView).updateWindow(boolean) line: 362
        LunarView(SurfaceView).onWindowVisibilityChanged(int) line: 173
        LunarView(View).dispatchWindowVisibilityChanged(int) line: 3241
        FrameLayout(ViewGroup).dispatchWindowVisibilityChanged(int) line:
691
        FrameLayout(ViewGroup).dispatchWindowVisibilityChanged(int) line:
691
        PhoneWindow$DecorView(ViewGroup).dispatchWindowVisibilityChanged(int)
line: 691
        ViewRoot.performTraversals() line: 587
        ViewRoot.handleMessage(Message) line: 1103
        ViewRoot(Handler).dispatchMessage(Message) line: 88
        Looper.loop() line: 123
        ActivityThread.main(String[]) line: 3742
        Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
        Method.invoke(Object, Object...) line: 515
        ZygoteInit$MethodAndArgsCaller.run() line: 739
        ZygoteInit.main(String[]) line: 497
        NativeStart.main(String[]) line: not available [native method]




==================================================
Variables
---------------------------------------------------------
this    LunarView  (id=830056358096)
        mAttachInfo     View$AttachInfo  (id=830056328120)
        mBackgroundResource     0
        mBackgroundSizeChanged  true
        mBGDrawable     null
        mBottom 455
        mCallbacks      ArrayList  (id=830056358512)
        mContext        LunarLander  (id=830056347464)
        mContext        LunarLander  (id=830056347464)
        mCoveredInsets  Rect  (id=830056358776)
        mCurrentAnimation       null
        mDestroyReportNeeded    true
        mDrawableState  null
        mDrawingCache   null
        mDrawingCacheBackgroundColor    0
        mDrawingStopped false
        mFloatingTreeObserver   null
        mFormat -1
        mHandler        SurfaceView$1  (id=830056358976)
        mHasPerformedLongPress  false
        mHaveFrame      true
        mHeight 455
        mID     2131034112
        mIsCreating     false
        mLastLockTime   55492
        mLayout WindowManager$LayoutParams  (id=830056358648)
        mLayoutParams   FrameLayout$LayoutParams  (id=830056294272)
        mLeft   0
        mLeft   0
        mLocation       int[2]  (id=830056358448)
        mMeasuredHeight 455
        mMeasuredWidth  320
        mMinHeight      0
        mMinWidth       0
        mNewSurfaceNeeded       false
        mNextFocusDownId        -1
        mNextFocusLeftId        -1
        mNextFocusRightId       -1
        mNextFocusUpId  -1
        mOldHeightMeasureSpec   1073742279
        mOldWidthMeasureSpec    1073742144
        mOnClickListener        null
        mOnCreateContextMenuListener    null
        mOnFocusChangeListener  null
        mOnKeyListener  null
        mOnLongClickListener    null
        mOnTouchListener        null
        mPaddingBottom  0
        mPaddingLeft    0
        mPaddingRight   0
        mPaddingTop     0
        mParent FrameLayout  (id=830056355256)
        mPendingCheckForLongPress       null
        mPrivateFlags   134800
        mRequestedFormat        -1
        mRequestedHeight        -1
        mRequestedType  -1
        mRequestedVisible       true
        mRequestedWidth -1
        mResources      Resources  (id=830056332440)
        mRight  320
        mScrollCache    null
        mScrollX        0
        mScrollY        0
        mSession        IWindowSession$Stub$Proxy  (id=830056334560)
        mStatusText     TextView  (id=830056315544)
        mSurface        Surface  (id=830056358592)
        mSurfaceFrame   Rect  (id=830056359008)
        mSurfaceHolder  SurfaceView$2  (id=830056359288)
        mSurfaceLock    ReentrantLock  (id=830056358544)
        mTag    null
        mTempRect       Rect  (id=830056358480)
        mTop    0
        mTop    25
        mTouchDelegate  null
        mType   -1
        mUserPaddingBottom      0
        mUserPaddingRight       0
        mViewFlags      134217857
        mVisible        true
        mWidth  320
        mWindow SurfaceView$MyWindow  (id=830056319160)
        mWindowAttachCount      1
        mWinFrame       Rect  (id=830056358744)
        thread  LunarView$LunarThread  (id=830056361944)
visible true
relayoutResult  3
creating        false
formatChanged   false
myHeight        455
myWidth 320
sizeChanged     false
typeChanged     false
visibleChanged  true
force   false


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

2. how to download and install applications on android phone

it is supposed to be through the command line:

adb install c:\ANDROID\Donwloads\VolcanoIsland.apk

like:

C:\ANDROID\SDKs\android-sdk_m5-rc14_windows\tools>adb install c:
\ANDROID\Donwloads\VolcanoIsland.apk

The version of your aplication must be compatible to the ADB, though.





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

3. custom UI

4. ActiveSync with Outlook, Exchange and Business Users

5. Programmatic scrolling of a ListView?

6. FileNotFoundException when creating FileOutputStream with file on sdcard

7. can someone please help me error .. could not find .apk