Re: Porting Android X86 from ICS to JB

640 views
Skip to first unread message

Frank van Beek

unread,
Oct 12, 2012, 4:44:32 PM10/12/12
to andro...@googlegroups.com
Dan has ported Android x86 to Jelly Bean as well. You can read about it here:

http://androvm.org/blog/blog/2012/10/02/androvm-jelly-bean-release/

Maybe you could use files from his build to test if the problem is in
the laucher / opengl library / Dalvik.
Message has been deleted

fgdn17

unread,
Oct 13, 2012, 10:50:02 PM10/13/12
to andro...@googlegroups.com
maybe using davlik(2) and/or check with Chih-Wei as he most likely has tegav2 complete for JB

also Intel has JB running on x86 and has released the source code(ia0 & ia1)....check these forums

On Friday, October 12, 2012 12:53:58 PM UTC-4, Vsevolod Mountaniol wrote:
Hello all,

I am porting Android ICS x86 to JB. Generally, I've ported  the system. 
it finishes the compilation, and I success to build ISO image with a minor work-around.
As a target I got Asus Laptop device.

What have I done:
I extracted diffs between ICS and ICS X86. 
I injected it carefully into JB and fixed the patch rejects, differences of build system scripts, added several components which are lackedin JB (like v86d and the friends), and now I am testing the Jelly Bean X86.

I can run it in QEMU, but the system in whole is unstable. I run it with redirected console so I can collect the logs and analyze the patterns of crashes.

I build the system with next egl.cfg file in ./device/asus/laptop/

0 1 android

The Kernel string is:

/kernel initrd=/initrd.img vgs=788 DEBUG=1 SRC= DATA= console=ttyS0


The system is up, but It is unstable. When I try to run the icons of application menu it shows the icons table for a second, then throw out the message "Unfortunately, Launcher is stopped" and get back to main screen. The next log is the typical pattern of what happens due this problem:


D/dalvikvm( 2002): GC_CONCURRENT freed 325K, 5% free 7431K/7780K, paused 10ms+0ms, total 14ms
D/dalvikvm( 2002): GC_FOR_ALLOC freed 8K, 5% free 7446K/7780K, paused 2ms, total 2ms
I/dalvikvm-heap( 2002): Grow heap (frag case) to 8.675MB for 1453068-byte allocation
D/dalvikvm( 2002): GC_FOR_ALLOC freed <1K, 4% free 8865K/9200K, paused 12ms, total 12ms
D/dalvikvm( 2002): GC_CONCURRENT freed <1K, 4% free 8864K/9200K, paused 23ms+1ms, total 27ms
D/dalvikvm( 2002): GC_FOR_ALLOC freed <1K, 4% free 8865K/9200K, paused 1ms, total 1ms
I/dalvikvm-heap( 2002): Grow heap (frag case) to 9.991MB for 1379052-byte allocation
D/dalvikvm( 2002): GC_CONCURRENT freed 0K, 4% free 10212K/10548K, paused 14ms+1ms, total 17ms
D/dalvikvm( 2002): GC_CONCURRENT freed 312K, 4% free 11211K/11572K, paused 10ms+7ms, total 20ms
D/dalvikvm( 2002): GC_FOR_ALLOC freed 524K, 7% free 11347K/12116K, paused 2ms, total 2ms
I/dalvikvm-heap( 2002): Grow heap (frag case) to 12.854MB for 1840012-byte allocation
D/dalvikvm( 2002): GC_FOR_ALLOC freed <1K, 6% free 13144K/13916K, paused 2ms, total 2ms
D/dalvikvm( 2002): GC_CONCURRENT freed 1K, 6% free 13143K/13916K, paused 10ms+1ms, total 13ms
D/dalvikvm( 2002): GC_FOR_ALLOC freed 174K, 4% free 13373K/13916K, paused 2ms, total 2ms
I/dalvikvm-heap( 2002): Grow heap (frag case) to 14.833MB for 1840012-byte allocation
I/dalvikvm-heap( 2002): Clamp target GC heap from 16.832MB to 16.000MB
D/dalvikvm( 2002): GC_FOR_ALLOC freed 1K, 4% free 15169K/15716K, paused 2ms, total 4ms
D/dalvikvm( 2002): GC_FOR_ALLOC freed 2279K, 16% free 13831K/16296K, paused 2ms, total 2ms
D/dalvikvm( 2002): GC_FOR_ALLOC freed 1415K, 16% free 13769K/16296K, paused 2ms, total 7ms
I/dalvikvm-heap( 2002): Forcing collection of SoftReferences for 1286220-byte allocation
D/dalvikvm( 2002): GC_BEFORE_OOM freed 9K, 16% free 13759K/16296K, paused 2ms, total 2ms
E/dalvikvm-heap( 2002): Out of memory on a 1286220-byte allocation.
I/dalvikvm( 2002): "AsyncTask #3" prio=5 tid=14 RUNNABLE
I/dalvikvm( 2002):   | group="main" sCount=0 dsCount=0 obj=0xb59fffd8 self=0xae6422c8
I/dalvikvm( 2002):   | sysTid=2023 nice=1 sched=0/0 cgrp=apps handle=-1369240720
I/dalvikvm( 2002):   | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
I/dalvikvm( 2002):   at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
I/dalvikvm( 2002):   at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:500)
I/dalvikvm( 2002):   at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:353)
I/dalvikvm( 2002):   at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:781)
I/dalvikvm( 2002):   at android.content.res.Resources.loadDrawable(Resources.java:1930)
I/dalvikvm( 2002):   at android.content.res.Resources.getDrawable(Resources.java:659)
I/dalvikvm( 2002):   at android.app.ApplicationPackageManager.getDrawable(ApplicationPackageManager.java:605)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizePagedView.getWidgetPreview(AppsCustomizePagedView.java:1279)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizePagedView.loadWidgetPreviewsInBackground(AppsCustomizePagedView.java:1511)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizePagedView.access$100(AppsCustomizePagedView.java:235)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizePagedView$6.run(AppsCustomizePagedView.java:1161)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizeAsyncTask.doInBackground(AppsCustomizePagedView.java:152)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizeAsyncTask.doInBackground(AppsCustomizePagedView.java:142)
I/dalvikvm( 2002):   at android.os.AsyncTask$2.call(AsyncTask.java:287)
I/dalvikvm( 2002):   at java.util.concurrent.FutureTask.run(FutureTask.java:234)
I/dalvikvm( 2002):   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
I/dalvikvm( 2002):   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
I/dalvikvm( 2002):   at java.lang.Thread.run(Thread.java:856)
I/dalvikvm( 2002):
D/skia    ( 2002): --- decoder->decode returned false
W/dalvikvm( 2002): threadid=14: thread exiting with uncaught exception (group=0xb52a2950)
E/AndroidRuntime( 2002): FATAL EXCEPTION: AsyncTask #3
E/AndroidRuntime( 2002): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 2002):     at android.os.AsyncTask$3.done(AsyncTask.java:299)
E/AndroidRuntime( 2002):     at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
E/AndroidRuntime( 2002):     at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
E/AndroidRuntime( 2002):     at java.util.concurrent.FutureTask.run(FutureTask.java:239)
E/AndroidRuntime( 2002):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
E/AndroidRuntime( 2002):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
E/AndroidRuntime( 2002):     at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime( 2002): Caused by: java.lang.OutOfMemoryError
E/AndroidRuntime( 2002):     at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
E/AndroidRuntime( 2002):     at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:500)
E/AndroidRuntime( 2002):     at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:353)
E/AndroidRuntime( 2002):     at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:781)
E/AndroidRuntime( 2002):     at android.content.res.Resources.loadDrawable(Resources.java:1930)
E/AndroidRuntime( 2002):     at android.content.res.Resources.getDrawable(Resources.java:659)
E/AndroidRuntime( 2002):     at android.app.ApplicationPackageManager.getDrawable(ApplicationPackageManager.java:605)
E/AndroidRuntime( 2002):     at com.android.launcher2.AppsCustomizePagedView.getWidgetPreview(AppsCustomizePagedView.java:1279)
E/AndroidRuntime( 2002):     at com.android.launcher2.AppsCustomizePagedView.loadWidgetPreviewsInBackground(AppsCustomizePagedView.java:1511)
E/AndroidRuntime( 2002):     at com.android.launcher2.AppsCustomizePagedView.access$100(AppsCustomizePagedView.java:235)
E/AndroidRuntime( 2002):     at com.android.launcher2.AppsCustomizePagedView$6.run(AppsCustomizePagedView.java:1161)
E/AndroidRuntime( 2002):     at com.android.launcher2.AppsCustomizeAsyncTask.doInBackground(AppsCustomizePagedView.java:152)
E/AndroidRuntime( 2002):     at com.android.launcher2.AppsCustomizeAsyncTask.doInBackground(AppsCustomizePagedView.java:142)
E/AndroidRuntime( 2002):     at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/AndroidRuntime( 2002):     at java.util.concurrent.FutureTask.run(FutureTask.java:234)
E/AndroidRuntime( 2002):     ... 3 more
W/ActivityManager( 1451):   Force finishing activity com.android.launcher/com.android.launcher2.Launcher
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/dalvikvm( 1451): JIT couldn't compile Ljava/lang/ref/Reference;<init> dex_pc=0
I/dalvikvm( 1451): codeGenBasicBlockJit returns negative number
W/WindowManager( 1451): Failure taking screenshot for (246x184) to layer 21005
I/dalvikvm-heap( 2002): Clamp target GC heap from 16.322MB to 16.000MB
D/dalvikvm( 2002): GC_FOR_ALLOC freed 980K, 11% free 14646K/16296K, paused 2ms, total 5ms
I/dalvikvm-heap( 2002): Forcing collection of SoftReferences for 1286220-byte allocation
I/dalvikvm-heap( 2002): Clamp target GC heap from 16.322MB to 16.000MB
D/dalvikvm( 2002): GC_BEFORE_OOM freed <1K, 11% free 14645K/16296K, paused 19ms, total 19ms
E/dalvikvm-heap( 2002): Out of memory on a 1286220-byte allocation.
I/dalvikvm( 2002): "AsyncTask #1" prio=5 tid=12 RUNNABLE
I/dalvikvm( 2002):   | group="main" sCount=0 dsCount=0 obj=0xb58b89a8 self=0xae653450
I/dalvikvm( 2002):   | sysTid=2017 nice=1 sched=0/0 cgrp=apps handle=-1368802760
I/dalvikvm( 2002):   | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
I/dalvikvm( 2002):   at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
I/dalvikvm( 2002):   at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:500)
I/dalvikvm( 2002):   at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:353)
I/dalvikvm( 2002):   at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:781)
I/dalvikvm( 2002):   at android.content.res.Resources.loadDrawable(Resources.java:1930)
I/dalvikvm( 2002):   at android.content.res.Resources.getDrawable(Resources.java:659)
I/dalvikvm( 2002):   at android.app.ApplicationPackageManager.getDrawable(ApplicationPackageManager.java:605)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizePagedView.getWidgetPreview(AppsCustomizePagedView.java:1279)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizePagedView.loadWidgetPreviewsInBackground(AppsCustomizePagedView.java:1511)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizePagedView.access$100(AppsCustomizePagedView.java:235)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizePagedView$6.run(AppsCustomizePagedView.java:1161)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizeAsyncTask.doInBackground(AppsCustomizePagedView.java:152)
I/dalvikvm( 2002):   at com.android.launcher2.AppsCustomizeAsyncTask.doInBackground(AppsCustomizePagedView.java:142)
I/dalvikvm( 2002):   at android.os.AsyncTask$2.call(AsyncTask.java:287)
I/dalvikvm( 2002):   at java.util.concurrent.FutureTask.run(FutureTask.java:234)
I/dalvikvm( 2002):   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
I/dalvikvm( 2002):   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
I/dalvikvm( 2002):   at java.lang.Thread.run(Thread.java:856)
I/dalvikvm( 2002):
I/ActivityManager( 1451): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher/com.android.launcher2.Launcher u=0} from pid 0
D/skia    ( 2002): --- decoder->decode returned false
W/dalvikvm( 2002): threadid=12: thread exiting with uncaught exception (group=0xb52a2950)
[   78.434018] binder: release 2002:2023 transaction 7743 out, still active
I/Process ( 2002): Sending signal. PID: 2002 SIG: 9



And after one minute of inactivity the system reboots with the next log:

I/ActivityManager( 1451): Process com.android.launcher (pid 2002) has died.
I/WindowState( 1451): WIN DEATH: Window{b59758b8 com.android.launcher/com.android.launcher2.Launcher paused=false}
I/ActivityManager( 1451): Start proc com.android.launcher for activity com.android.launcher/com.android.launcher2.Launcher: pid=2029 uid=10017 gids={1028}
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
E/Trace   ( 2029): error opening trace file: No such file or directory (2)
I/ActivityThread( 2029): Pub com.android.launcher2.settings: com.android.launcher2.LauncherProvider
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
D/dalvikvm( 2029): GC_CONCURRENT freed 174K, 4% free 6230K/6428K, paused 11ms+0ms, total 13ms
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
D/dalvikvm( 2029): GC_CONCURRENT freed 118K, 3% free 6540K/6680K, paused 1ms+0ms, total 2ms
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
I/InputDispatcher( 1451): Dropping event because there is no touched window.
W/InputMethodManagerService( 1451): Got RemoteException sending setActive(false) notification to pid 2002 uid 10017
I/ActivityManager( 1451): Displayed com.android.launcher/com.android.launcher2.Launcher: +248ms
D/dalvikvm( 2029): GC_CONCURRENT freed 182K, 3% free 6836K/7044K, paused 13ms+1ms, total 16ms
D/dalvikvm( 2029): GREF has increased to 201
D/dalvikvm( 2029): GC_CONCURRENT freed 23K, 3% free 7200K/7348K, paused 11ms+1ms, total 13ms
W/ActivityManager( 1451): Permission denied: checkComponentPermission() owningUid=1000
W/BroadcastQueue( 1451): Permission Denial: broadcasting Intent { act=android.appwidget.action.APPWIDGET_UPDATE_OPTIONS flg=0x10 cmp=com.android.settings/.widget.SettingsAppWidgetProvider (has extras) } from android (pid=2029, uid=10017) is not exported from uid 1000 due to receiver com.android.settings/com.android.settings.widget.SettingsAppWidgetProvider
D/dalvikvm( 2029): GC_CONCURRENT freed 215K, 4% free 7374K/7616K, paused 10ms+0ms, total 12ms
W/ThrottleService( 1451): unable to find stats for iface rmnet0
E/ThrottleService( 1451): Error reading data file
W/SocketClient( 1278): write error (Broken pipe)
D/InputEventConsistencyVerifier( 2029): KeyEvent: ACTION_UP but key was not down.
D/InputEventConsistencyVerifier( 2029):   in com.android.internal.policy.impl.PhoneWindow$DecorView@b58c5c60
D/InputEventConsistencyVerifier( 2029):   0: sent at 109832000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_LEFT, scanCode=105, metaState=META_ALT_ON|META_ALT_LEFT_ON|META_CTRL_ON|META_CTRL_LEFT_ON, flags=0x8, repeatCount=0, eventTime=109832, downTime=109704, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   -- recent events --
D/InputEventConsistencyVerifier( 2029):   1: sent at 109554000000, (unhandled) KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_CTRL_LEFT, scanCode=29, metaState=META_ALT_ON|META_ALT_LEFT_ON|META_CTRL_ON|META_CTRL_LEFT_ON, flags=0x8, repeatCount=0, eventTime=109554, downTime=109554, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   2: sent at 109524000000, (unhandled) KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_ALT_LEFT, scanCode=56, metaState=META_ALT_ON|META_ALT_LEFT_ON, flags=0x8, repeatCount=0, eventTime=109524, downTime=109524, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   3: sent at 107703000000, (unhandled) KeyEvent { action=ACTION_UP, keyCode=KEYCODE_ALT_LEFT, scanCode=56, metaState=0, flags=0x8, repeatCount=0, eventTime=107703, downTime=107552, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   4: sent at 107552000000, (unhandled) KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_ALT_LEFT, scanCode=56, metaState=META_ALT_ON|META_ALT_LEFT_ON, flags=0x8, repeatCount=0, eventTime=107552, downTime=107552, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   5: sent at 80247000000, (unhandled) KeyEvent { action=ACTION_UP, keyCode=KEYCODE_CTRL_LEFT, scanCode=29, metaState=0, flags=0x8, repeatCount=0, eventTime=80247, downTime=80123, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029): KeyEvent: ACTION_UP but key was not down.
D/InputEventConsistencyVerifier( 2029):   in android.widget.LinearLayout@b58c6c20
D/InputEventConsistencyVerifier( 2029):   0: sent at 110135000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_CTRL_LEFT, scanCode=29, metaState=META_ALT_ON|META_ALT_LEFT_ON, flags=0x8, repeatCount=0, eventTime=110135, downTime=109704, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   -- recent events --
D/InputEventConsistencyVerifier( 2029):   1: sent at 109832000000, (unhandled) KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_LEFT, scanCode=105, metaState=META_ALT_ON|META_ALT_LEFT_ON|META_CTRL_ON|META_CTRL_LEFT_ON, flags=0x80000008, repeatCount=0, eventTime=109832, downTime=109704, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   2: sent at 80058415000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=790.0, y[0]=566.6811, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=1, eventTime=80058, downTime=77275, deviceId=2, source=0x2002 }
D/InputEventConsistencyVerifier( 2029):   3: sent at 80022111000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=791.0, y[0]=565.6811, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=2, eventTime=80022, downTime=77275, deviceId=2, source=0x2002 }
D/InputEventConsistencyVerifier( 2029):   4: sent at 79985294000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=793.0, y[0]=562.6811, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=4, eventTime=79985, downTime=77275, deviceId=2, source=0x2002 }
D/InputEventConsistencyVerifier( 2029):   5: sent at 79947390000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=796.0, y[0]=556.6811, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=4, eventTime=79947, downTime=77275, deviceId=2, source=0x2002 }
D/InputEventConsistencyVerifier( 2029): KeyEvent: ACTION_UP but key was not down.
D/InputEventConsistencyVerifier( 2029):   in android.widget.LinearLayout@b58c6c20
D/InputEventConsistencyVerifier( 2029):   0: sent at 110136000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_ALT_LEFT, scanCode=56, metaState=0, flags=0x8, repeatCount=0, eventTime=110136, downTime=109704, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   -- recent events --
D/InputEventConsistencyVerifier( 2029):   1: sent at 110135000000, (unhandled) KeyEvent { action=ACTION_UP, keyCode=KEYCODE_CTRL_LEFT, scanCode=29, metaState=META_ALT_ON|META_ALT_LEFT_ON, flags=0x80000008, repeatCount=0, eventTime=110135, downTime=109704, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   2: sent at 109832000000, (unhandled) KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_LEFT, scanCode=105, metaState=META_ALT_ON|META_ALT_LEFT_ON|META_CTRL_ON|META_CTRL_LEFT_ON, flags=0x80000008, repeatCount=0, eventTime=109832, downTime=109704, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   3: sent at 80058415000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=790.0, y[0]=566.6811, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=1, eventTime=80058, downTime=77275, deviceId=2, source=0x2002 }
D/InputEventConsistencyVerifier( 2029):   4: sent at 80022111000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=791.0, y[0]=565.6811, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=2, eventTime=80022, downTime=77275, deviceId=2, source=0x2002 }
D/InputEventConsistencyVerifier( 2029):   5: sent at 79985294000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=793.0, y[0]=562.6811, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=4, eventTime=79985, downTime=77275, deviceId=2, source=0x2002 }
D/dalvikvm( 1451): GC_CONCURRENT freed 304K, 21% free 8105K/10148K, paused 10ms+0ms, total 21ms
D/PhoneStatusBar( 1576): disable: < EXPAND* icons alerts ticker system_info back home recent clock >
D/InputEventConsistencyVerifier( 1451): KeyEvent: ACTION_UP but key was not down.
D/InputEventConsistencyVerifier( 1451):   in android.view.ViewRootImpl@b59c90d0
D/InputEventConsistencyVerifier( 1451):   0: sent at 111003000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_ALT_LEFT, scanCode=56, metaState=0, flags=0x8, repeatCount=0, eventTime=111003, downTime=110924, deviceId=3, source=0x101 }
D/PhoneStatusBar( 1576): disable: < expand* icons alerts ticker system_info back home recent clock >
W/InputMethodManagerService( 1451): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@b59a3cf0 attribute=null
D/InputEventConsistencyVerifier( 2029): KeyEvent: ACTION_UP but key was not down.
D/InputEventConsistencyVerifier( 2029):   in android.view.ViewRootImpl@b58c4040
D/InputEventConsistencyVerifier( 2029):   0: sent at 111037000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_TAB, scanCode=15, metaState=0, flags=0x8, repeatCount=0, eventTime=111037, downTime=110924, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   -- recent events --
D/InputEventConsistencyVerifier( 2029):   1: sent at 110924000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_ALT_LEFT, scanCode=56, metaState=META_ALT_ON|META_ALT_LEFT_ON, flags=0x28, repeatCount=0, eventTime=110924, downTime=110834, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   2: sent at 110834000000, KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_ALT_LEFT, scanCode=56, metaState=META_ALT_ON|META_ALT_LEFT_ON, flags=0x8, repeatCount=0, eventTime=110834, downTime=110834, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   3: sent at 110136443000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=799.0, y[0]=599.0, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=7, eventTime=110136, downTime=77275, deviceId=2, source=0x2002 }
D/InputEventConsistencyVerifier( 2029):   4: sent at 110136000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_ALT_LEFT, scanCode=56, metaState=0, flags=0x8, repeatCount=0, eventTime=110136, downTime=109704, deviceId=3, source=0x101 }
D/InputEventConsistencyVerifier( 2029):   5: sent at 110135000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_CTRL_LEFT, scanCode=29, metaState=META_ALT_ON|META_ALT_LEFT_ON, flags=0x8, repeatCount=0, eventTime=110135, downTime=109704, deviceId=3, source=0x101 }
D/dalvikvm( 2029): GC_CONCURRENT freed 341K, 5% free 7545K/7908K, paused 0ms+1ms, total 5ms
W/SocketClient( 1278): write error (Broken pipe)
[  174.560778] request_suspend_state: sleep (3->3) at 174560771788 (2012-10-12 16:19:33.126874988 UTC)
D/SurfaceFlinger( 1281): About to give-up screen, flinger = 0xb61c4cf0
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
E/libEGL  ( 1281): called unimplemented OpenGL ES API
W/WindowManager( 1451): Failure taking screenshot for (246x184) to layer 21005
[  174.582492] PM: Syncing filesystems ... done.
[  174.584131] Freezing user space processes ... (elapsed 0.01 seconds) done.
[  174.600332] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[  174.620328] Suspending console(s) (use no_console_suspend to debug)

I tried several configuration. When I change the egl.cfg file the behavioral of the system changed as well. It can get stuck on the start screen, or it can boot up, depends on the  egl.cfg
It looks like I have a problem with OpenGL library / configuration. 
Or I may be wrong, and the problem is more serious (the problem of dalvik memory manager, for example).

I couldn't find any document which describes the egl.cfg and its usage.

I will be glad to any idea. I need a direction to continue.
PS. I am sorry if this question us stupid or whatever, I am a newcomer in Android.

Vsevolod Mountaniol

unread,
Oct 14, 2012, 5:18:02 AM10/14/12
to andro...@googlegroups.com
Thanks, I'll check it. 

Vsevolod Mountaniol

unread,
Oct 14, 2012, 10:40:24 AM10/14/12
to andro...@googlegroups.com
An update:

I tested the image again, told to several persons and we've found that the errors in openGL are not as critical as I though, it also happens in ICS X86 and doesn't lead to crashes.

The conclusion is that it is a problem of the merge, probably in Java code.

Vsevolod Mountaniol

unread,
Oct 17, 2012, 3:56:17 AM10/17/12
to andro...@googlegroups.com
FIXED.

I fixed the memory problem be increasing vm heap size:
Settings in the file device/asus/laptop/system.prop :

dalvik.vm.heapsize = 512m
dalvik.vm.heapstartsize = 256m

Thank you all for the help.
Reply all
Reply to author
Forward
0 new messages