Several developers encountered a problem that bootanimation shows endless. It results from the mis-optimization in libgui, which handles the operations in Android SensorManager.
To work around this problem, you can apply the following patch:
--- a/libs/gui/Android.mk +++ b/libs/gui/Android.mk @@ -18,6 +18,8 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_MODULE:= libgui
+LOCAL_CFLAGS += -O0 + ifeq ($(TARGET_SIMULATOR),true) LOCAL_LDLIBS += -lpthread endif
Then, replace /system/lib/libgui.so with the newer one. I didn't look into the details. But at least, Android is able to serve user interaction again.
Several developers encountered a problem that bootanimation shows endless. It results from the mis-optimization in libgui, which handles the operations in Android SensorManager.
To work around this problem, you can apply the following patch:
--- a/libs/ gui/Android. mk gui/Android. mk LIBRARIES := \
+++ b/libs/
@@ -18,6 +18,8 @@ LOCAL_SHARED_
LOCAL_MODULE:= libgui
+LOCAL_CFLAGS += -O0 SIMULATOR) ,true)
+
ifeq ($(TARGET_
LOCAL_LDLIBS += -lpthread
endif
Then, replace /system/ lib/libgui. so with the newer one. I didn't look into the details. But at least, Android is able to serve user interaction again.