mrg666
Well-known member
The latest surfaceflinger merge causes image corruption in some apps such as Google Goggles and Barcode Scanner. FYI.
Did you have any errors after make bacon?
target Strip: libstagefrighthw (out/target/product/thunderc/obj/lib/libstagefrighthw.so)
target Strip: libcamera_client (out/target/product/thunderc/obj/lib/libcamera_client.so)
target Strip: bootanimation (out/target/product/thunderc/obj/EXECUTABLES/bootanimation_intermediates/bootanimation)
target SharedLib: libcamera (out/target/product/thunderc/obj/SHARED_LIBRARIES/libcamera_intermediates/LINKED/libcamera.so)
target Strip: screenshot (out/target/product/thunderc/obj/EXECUTABLES/screenshot_intermediates/screenshot)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
target Strip: libsurfaceflinger (out/target/product/thunderc/obj/lib/libsurfaceflinger.so)
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
project build/
diff --git a/core/pathmap.mk b/core/pathmap.mk
index 6cd3b8f..68e61f9 100644
--- a/core/pathmap.mk
+++ b/core/pathmap.mk
@@ -89,6 +89,7 @@ FRAMEWORKS_BASE_SUBDIRS := \
vpn \
keystore \
voip \
+ omapmmlib \
)
We can't see your errors, there are up further. Copy and paste the whole log on pastebin.com and post the link here.
int Stuff = "Some text";
^
Its not necessarily building an android system, blarf did that for us. You are just compiling from his source. There is still a sense of satisfaction when you finally got your own. Zip file you created
frameworks/base/core/java/android/widget/VideoView.java:46: package com.ti.omap.omap_mm_library does not exist
import com.ti.omap.omap_mm_library.OmapMMLibrary;
^
frameworks/base/core/java/android/widget/VideoView.java:62: cannot find symbol
symbol : class OmapMMLibrary
location: class android.widget.VideoView
private OmapMMLibrary mOmapMMHandle = null;
^
frameworks/base/core/java/android/widget/VideoView.java:196: cannot find symbol
symbol : class OmapMMLibrary
location: class android.widget.VideoView
mOmapMMHandle = new OmapMMLibrary();
^
Glad you got it working! Welcome to the addiction!
I'm betting it's the omap libraries. I just got finished building after syncing with IHO+CM, and the build would error out with undefined omap classes. I did a quick google search, and found this post in an asian language:
Richard's Blog - ITeye
It shows you need to add the following line to /build/core/pathmap.mk
(you add the line that starts with +, removing the + of course )Code:project build/ diff --git a/core/pathmap.mk b/core/pathmap.mk index 6cd3b8f..68e61f9 100644 --- a/core/pathmap.mk +++ b/core/pathmap.mk @@ -89,6 +89,7 @@ FRAMEWORKS_BASE_SUBDIRS := \ vpn \ keystore \ voip \ + omapmmlib \ )
This seems to fix the build errors, testing on my phone now.
Does this fix allow this surfaceflinger commit or do we still need to revert? https://github.com/CyanogenMod/andr...dbd3e5191f7336e47736ef04#commitcomment-698298
git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_frameworks_base refs/changes/14/7314/2 && git cherry-pick FETCH_HEAD
git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_packages_apps_CMParts refs/changes/13/7313/3 && git cherry-pick FETCH_HEAD
To fix the sound problem in movie recording was a permission issue, grab this file to fix it: https://github.com/BobZhome/android_device_lge_thunderc/raw/gingerbread/files/ueventd.thunderc.rc