[Q] [Cyanogenmod 7] Help - Error While Compiling Cm 7.1 - Libicui/libdvm - Optimus One, P500, V Q&A, Help & Troubleshooting

Hi guys,
Im new in the Forum and this is my first post, if someone can help me with my situation I will be very grateful.
My problem is the following:
Ive been trying to compile CM and while building there where few errors, until now I could fix them by myself but the latest one I havent been able to.
My machine: Pretty much standard Dell xps 15, core i7, 8GB RAM running Ubuntu 13.10, I upgrade it from 13.04.
I follow the standard guide to compile the code presented in the Wiki:
//wiki.cyanogen.../Build_for_p500 (im new and i cannot post outgoing links)
And the error is the following , after using the BRUNCH P500 command:
Code:
target StaticLib: libop (out/target/product/p500/obj/STATIC_LIBRARIES/libop_intermediates/libop.a)
host SharedLib: libdvm (out/host/linux-x86/obj/lib/libdvm.so)
Install: out/host/linux-x86/lib/libssl.so
Install: out/host/linux-x86/lib/libicuuc.so
Install: out/host/linux-x86/bin/dexdeps
Install: out/host/linux-x86/bin/emulator
Install: out/host/linux-x86/bin/jasmin
Install: out/host/linux-x86/bin/mksnapshot
Install: out/host/linux-x86/framework/hosttestlib.jar
Install: out/host/linux-x86/framework/sdklib.jar
Install: out/host/linux-x86/framework/sdkstats.jar
Install: out/host/linux-x86/framework/ddmuilib.jar
out/host/linux-x86/obj/lib/libicui18n.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libdvm.so] Error 1
make: *** Waiting for unfinished jobs....
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
external/sqlite/dist/sqlite3.c: In function 'fkLookupParent':
external/sqlite/dist/sqlite3.c:54938: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true
target StaticLib: libc_nomalloc (out/target/product/p500/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area

Related

Cyanogenmod 10 libz error[HELP]

I have thought of every possible way. The last way is to delete the lines but i need ur help to fix it
the error is
Code:
target arm C: libz <= external/zlib/adler32.c
In file included from external/zlib/zlib.h:34:0,
from external/zlib/zutil.h:24,
from external/zlib/adler32.c:9:
external/zlib/zconf.h:395:22: fatal error: limits.h: No such file or directory
compilation terminated.
make: *** [/home/yajnavalkya/cm10/out/target/product/beni/obj/SHARED_LIBRARIES/libz_intermediates/adler32.o] Error 1

[Q] Cannot find -lpthread

Hi all,
I am trying to build AOSP kitkat for Canvas Magnus. While building i get this error and compiling stops. "Cannot find -lpthred" in <path-to-toolchain>/bin/ld. I have tried using android toolchain 4.8, 4.7 came along with source. I tried it with Linaro 4.7, still the same.
I tried searching on XDA & google but not much help found.
Under frameworks/compile/libcc/Android.mk i found this:
ifndef USE_MINGW
LOCAL_LDLIBS := -ldl -lpthread
endif
Seems on non windows os (nix) its asking to use local LD Libs, I am using Mint 17, gcc version 4.8.2.
I need any help understanding why its failing. I don't need a fix, but if you can guide me in a direction i will be greatful.
Regards
AJ
Here's the few lines with the error: its happing while linking gsm0710 modem
Install: out/target/product/a117/system/lib/libext2fs.so
target Executable: bugreport (out/target/product/a117/obj/EXECUTABLES/bugreport_intermediates/LINKED/bugreport)
target Executable: toolbox (out/target/product/a117/obj/EXECUTABLES/toolbox_intermediates/LINKED/toolbox)
target Executable: clatd (out/target/product/a117/obj/EXECUTABLES/clatd_intermediates/LINKED/clatd)
target SharedLib: libbacktrace_libc++ (out/target/product/a117/obj/SHARED_LIBRARIES/libbacktrace_libc++_intermediates/LINKED/libbacktrace_libc++.so)
target Executable: dnsmasq (out/target/product/a117/obj/EXECUTABLES/dnsmasq_intermediates/LINKED/dnsmasq)
target Executable: dumpstate (out/target/product/a117/obj/EXECUTABLES/dumpstate_intermediates/LINKED/dumpstate)
target Executable: gsm0710muxd (out/target/product/a117/obj/EXECUTABLES/gsm0710muxd_intermediates/LINKED/gsm0710muxd)
target Executable: installd (out/target/product/a117/obj/EXECUTABLES/installd_intermediates/LINKED/installd)
/home/xelion/droid-dev/asop/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
collect2: error: ld returned 1 exit status
make: *** [out/target/product/a117/obj/EXECUTABLES/gsm0710muxd_intermediates/LINKED/gsm0710muxd] Error 1
make: *** Waiting for unfinished jobs....
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.

[Q] pac man 5.1 kernel/rom related errors while building

hi there, im building pac 5.1 from source for my device and i get the following error(s) while building the rom from :
1. a prebuilt kernel (the zimage ofcourse)
Code:
Copy: /home/bassface/pac-rom/out/target/product/a6000/root/init.target.rc
Notice file: external/sepolicy/NOTICE -- /home/bassface/pac-rom/out/target/product/a6000/obj/NOTICE_FILES/src//root/property_contexts.txt
Install: /home/bassface/pac-rom/out/target/product/a6000/root/property_contexts
make: *** No rule to make target '/home/bassface/pac-rom/out/target/product/a6000/obj/KERNEL_OBJ/usr', needed by '/home/bassface/pac-rom/out/target/product/a6000/obj/EXECUTABLES/adbd_intermediates/adb.o'. Stop.
#### make failed to build some targets (06:57 (mm:ss)) ####
if u want the whole log - http://pastebin.com/Qcm83xrv
2.im using a prebuilt kernel because im having problems compiling a kernel :c am i missing something.?
Code:
[email protected]:~/pac-rom/kernel1/lenovo/a6000$ make config
scripts/kconfig/conf --oldaskconfig Kconfig
arch/Kconfig:436: can't open file "kernel/gcov/Kconfig"
/home/bassface/pac-rom/kernel1/lenovo/a6000/scripts/kconfig/Makefile:27: recipe for target 'config' failed
make[1]: *** [config] Error 1
Makefile:503: recipe for target 'config' failed
make: *** [config] Error 2
[email protected]:~/pac-rom/kernel1/lenovo/a6000$
i get somewhat the same error while i try compiling the kernel from source through the rom..again, am i missing something.?
i checked for the folder irq in the sources and it wasnt there.
i searched for these errors but didnt find any fix any help would be highly appreciated
Anyone.?

[Q] [Q&A]problems when build android-5.1.1_r2

Hello, everyone,
I'm using Ubuntu14.0.4 virtualbox virtual machine, the memory size is set as 2G. I set two more virtual disks(/disk_2nd for source code download, /disk_3rd for build output and the directory is android_out).
Java version is openjdk7 as required by android official website.
Git was rebuilt for openssl because of gnutls_handshake error during downloading source code.
I had met the problem caused by small swap so that I already set a new 8G swap partion(not swapfile).
Now I meet two problems during build the android-5.1.1_r2. I searched from web but can't find answer(looks someone met same problem but no answer). If someone can help, it will be very great. Thank you very much.
--------------------------------------------------------------------------------------------------------
1.
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: /disk_3rd/android_out/androidsource/host/linux-x86/obj32/SHARED_LIBRARIES/libjavacore_intermediates/luni/src/main/native/android_system_OsConstants.o: file is empty
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
2.
target Strip: libwebviewchromium (/disk_3rd/android_out/androidsource/target/product/generic/obj/lib/libwebviewchromium.so)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-strip:/disk_3rd/android_out/androidsource/target/product/generic/symbols/system/lib/libwebviewchromium.so: File format not recognized
make: *** [/disk_3rd/android_out/androidsource/target/product/generic/obj/lib/libwebviewchromium.so] error 1
make: *** Waiting for unfinished work .....( It could be not exact the same words because I translate it from Chinese)

[DEV][DISCONTINUED] CyanogenMod 12.1 for the Lenovo Yoga Tablet 2-830F

NOTE: This project is now discontinued - the source code is still up though...
Grarak and me have been working on a CM port for this device - I got it booting some weeks ago, but there are a lot of issues - as of today, this is far from being a daily driver! The purpose of this thread is for developers to contribute with bug fixes, ideas etc. If you are looking for builds, I'll have to disappoint you: I'm not going to link to any, this is just a development thread (as the [DEV] tag in the title suggests).
However, everyone is encouraged to make their own builds, debug, fix and send pull requests. To get a build, proceed as follows:
Code:
repo init -u git://github.com/lenovo-yt2-dev/android.git -b cm-12.1
repo sync
source build/envsetup.sh
lunch cm_YT2-userdebug
mka bacon
I also encourage interested devs and experienced users to join #cm-baytrail on freenode.
The device-specific code can be found on GitHub.
YES YES YES... I knew someone was working away on this tab.... Buzzing... I have my build environment set up and will have a go this week end.
So glad we have a dev
Sent from my SM-G901F using Tapatalk
Great to see development on these devices. Now that @surdu_petru worked hard to develop a boot-loader unlocker, TWRP and is working on CM13.1, maybe you guys can collaborate.
@Olivier thanks to you and @Grarak for your work
I know that the title says 830F but the 8" and 10.1" are basically the same, just different clock speeds and screen res.
Is the kernel the same?
I am leaving it to build while i go to work and will report back tonight
Cheers
Edit
Got this error
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/logcat
target SharedLib: libsysutils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsysutils_intermediates/LINKED/libsysutils.so)
target SharedLib: libext4_utils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libext4_utils_intermediates/LINKED/libext4_utils.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libsparse.so
target SharedLib: libaudioresampler (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libaudioresampler_intermediates/LINKED/libaudioresampler.so)
target SharedLib: libeffects (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libeffects_intermediates/LINKED/libeffects.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libvorbisidec.so
target SharedLib: libstagefright_yuv (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libstagefright_yuv_intermediates/LINKED/libstagefright_yuv.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/mount.exfat
target Executable: mtpd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/mtpd_intermediates/LINKED/mtpd)
target Executable: ndc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ndc_intermediates/LINKED/ndc)
target SharedLib: liblogwrap (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/liblogwrap_intermediates/LINKED/liblogwrap.so)
target SharedLib: libmdnssd (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libmdnssd_intermediates/LINKED/libmdnssd.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/ping6
target Symbolic: pngtest (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/bin/pngtest)
target Executable: pppd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/pppd_intermediates/LINKED/pppd)
target Executable: racoon (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/racoon_intermediates/LINKED/racoon)
target Executable: radiooptions (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/radiooptions_intermediates/LINKED/radiooptions)
target Executable: reboot (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/reboot_intermediates/LINKED/reboot)
target Executable: resize2fs (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/resize2fs_intermediates/LINKED/resize2fs)
target Symbolic: libssh (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/lib/libssh.so)
target Executable: run-as (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/run-as_intermediates/LINKED/run-as)
target Executable: sdcard (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/sdcard_intermediates/LINKED/sdcard)
target Executable: servicemanager (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/servicemanager_intermediates/LINKED/servicemanager)
target Executable: vdc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/vdc_intermediates/LINKED/vdc)
target SharedLib: libdiskconfig (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdiskconfig_intermediates/LINKED/libdiskconfig.so)
target SharedLib: libf2fs_sparseblock (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libf2fs_sparseblock_intermediates/LINKED/libf2fs_sparseblock.so)
target Executable: wpa_cli (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/wpa_cli_intermediates/LINKED/wpa_cli)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.dex
target Executable: ip-up-vpn (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ip-up-vpn_intermediates/LINKED/ip-up-vpn)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.dex
target SharedLib: audio.a2dp.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/LINKED/audio.a2dp.default.so)
target SharedLib: audio.primary.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/LINKED/audio.primary.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/lights.baytrail.so
target SharedLib: gralloc.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/gralloc.default_intermediates/LINKED/gralloc.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/power.default.so
target SharedLib: local_time.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/local_time.default_intermediates/LINKED/local_time.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/vibrator.default.so
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libbacktrace_test.so
target SharedLib: libsuspend (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsuspend_intermediates/LINKED/libsuspend.so)
target Strip: libswresample (/home/rob/cm/Tab/out/target/product/YT2/obj/lib/libswresample.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libswscale.so
target SharedLib: libnfc_ndef (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libnfc_ndef_intermediates/LINKED/libnfc_ndef.so)
target SharedLib: libsurfaceflinger_ddmconnection (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsurfaceflinger_ddmconnection_intermediates/LINKED/libsurfaceflinger_ddmconnection.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libwsbm.so
target SharedLib: libwebrtc_audio_preprocessing (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libwebrtc_audio_preprocessing_intermediates/LINKED/libwebrtc_audio_preprocessing.so)
target SharedLib: libbundlewrapper (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so' failed
make: *** [/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
target SharedLib: libdownmix (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdownmix_intermediates/LINKED/libdownmix.so)
target SharedLib: libldnhncr (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libldnhncr_intermediates/LINKED/libldnhncr.so)
make: Leaving directory '/home/rob/cm/Tab'
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
[email protected]:~/cm/Tab$
Can you help
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
Not looking good, You get past this?
Sent from my BLU ENERGY X PLUS using Tapatalk
vampirefo said:
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
Not looking good, You get past this?
Sent from my BLU ENERGY X PLUS using Tapatalk
Click to expand...
Click to collapse
Well, I got a little bit farther than you, but it still didn't compile.
Code:
target SharedLib: libvisualizer (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libvisualizer_intermediates/LINKED/libvisualizer.so)
target Executable: busybox (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/EXECUTABLES/busybox_intermediates/LINKED/busybox)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
Install: /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/system/xbin/bash
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
frameworks/av/media/libeffects/lvm/wrapper/Reverb/EffectReverb.cpp:1960: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libreverbwrapper_intermediates/LINKED/libreverbwrapper.so] Error 1
make: Leaving directory `/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12'
Had to use google a lot, little cherry picking and got past this error, build is ongoing.
I don't have this device I have an Ares 8, So compiling this source as is, if I get a complete compile, I will then switch out Lenovo files for Ares.
vampirefo said:
Well, I got a little bit farther than you, but it still didn't compile.
Code:
target SharedLib: libvisualizer (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libvisualizer_intermediates/LINKED/libvisualizer.so)
target Executable: busybox (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/EXECUTABLES/busybox_intermediates/LINKED/busybox)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
Install: /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/system/xbin/bash
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
frameworks/av/media/libeffects/lvm/wrapper/Reverb/EffectReverb.cpp:1960: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libreverbwrapper_intermediates/LINKED/libreverbwrapper.so] Error 1
make: Leaving directory `/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12'
Had to use google a lot, little cherry picking and got past this error, build is ongoing.
I don't have this device I have an Ares 8, So compiling this source as is, if I get a complete compile, I will then switch out Lenovo files for Ares.
Click to expand...
Click to collapse
Could you share any links to cherrypicks?
pug1 said:
Could you share any links to cherrypicks?
Click to expand...
Click to collapse
Cherry Pick
http://review.cyanogenmod.org/#/c/135681/
@Olivier Source does compile, won't test for a few days, but it does build.
Code:
running: java -Xmx2048m -jar /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmp2LCO3m /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/cm_YT2-ota-459972c4ed.zip
done.
Package Complete: /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/cm-12.1-20160318-UNOFFICIAL-YT2.zip
make: Leaving directory `/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12'
@Olivier i've been working on cm-12.1 for a bit now, i have some build fixes for libmix, omx-components, and libva, i'll send you in the next few days because i already have a stable/cm-12.1-YOG7D base i'm using if you could provide a little detail on whats working / not working on your build so i can compare to the status of my build.
It's not up on git yet but i also have started a intel_base / baytrail_base device tree to hope make adding additional baytrail devices easier. look forward to contributing anything i can to bring cm builds to intel android baytrail devices.
andyroidking said:
Great to see development on these devices. Now that @surdu_petru worked hard to develop a boot-loader unlocker, TWRP and is working on CM13.1, maybe you guys can collaborate.
Click to expand...
Click to collapse
As stated in the OP; contributions are welcome.
pug1 said:
@Olivier thanks to you and @Grarak for your work
I know that the title says 830F but the 8" and 10.1" are basically the same, just different clock speeds and screen res.
Is the kernel the same?
I am leaving it to build while i go to work and will report back tonight
Cheers
Click to expand...
Click to collapse
I think the all 8" and 10.1" variants can share the same kernel image (except for the prc_lte variants). I'm pretty sure they share many blobs too, but for now I want to get the variant working I own (830F). You can still try to flash it and give feedback/contribute by adding support for your device.
pug1 said:
Got this error
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/logcat
target SharedLib: libsysutils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsysutils_intermediates/LINKED/libsysutils.so)
target SharedLib: libext4_utils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libext4_utils_intermediates/LINKED/libext4_utils.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libsparse.so
target SharedLib: libaudioresampler (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libaudioresampler_intermediates/LINKED/libaudioresampler.so)
target SharedLib: libeffects (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libeffects_intermediates/LINKED/libeffects.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libvorbisidec.so
target SharedLib: libstagefright_yuv (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libstagefright_yuv_intermediates/LINKED/libstagefright_yuv.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/mount.exfat
target Executable: mtpd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/mtpd_intermediates/LINKED/mtpd)
target Executable: ndc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ndc_intermediates/LINKED/ndc)
target SharedLib: liblogwrap (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/liblogwrap_intermediates/LINKED/liblogwrap.so)
target SharedLib: libmdnssd (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libmdnssd_intermediates/LINKED/libmdnssd.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/ping6
target Symbolic: pngtest (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/bin/pngtest)
target Executable: pppd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/pppd_intermediates/LINKED/pppd)
target Executable: racoon (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/racoon_intermediates/LINKED/racoon)
target Executable: radiooptions (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/radiooptions_intermediates/LINKED/radiooptions)
target Executable: reboot (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/reboot_intermediates/LINKED/reboot)
target Executable: resize2fs (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/resize2fs_intermediates/LINKED/resize2fs)
target Symbolic: libssh (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/lib/libssh.so)
target Executable: run-as (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/run-as_intermediates/LINKED/run-as)
target Executable: sdcard (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/sdcard_intermediates/LINKED/sdcard)
target Executable: servicemanager (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/servicemanager_intermediates/LINKED/servicemanager)
target Executable: vdc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/vdc_intermediates/LINKED/vdc)
target SharedLib: libdiskconfig (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdiskconfig_intermediates/LINKED/libdiskconfig.so)
target SharedLib: libf2fs_sparseblock (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libf2fs_sparseblock_intermediates/LINKED/libf2fs_sparseblock.so)
target Executable: wpa_cli (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/wpa_cli_intermediates/LINKED/wpa_cli)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.dex
target Executable: ip-up-vpn (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ip-up-vpn_intermediates/LINKED/ip-up-vpn)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.dex
target SharedLib: audio.a2dp.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/LINKED/audio.a2dp.default.so)
target SharedLib: audio.primary.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/LINKED/audio.primary.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/lights.baytrail.so
target SharedLib: gralloc.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/gralloc.default_intermediates/LINKED/gralloc.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/power.default.so
target SharedLib: local_time.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/local_time.default_intermediates/LINKED/local_time.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/vibrator.default.so
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libbacktrace_test.so
target SharedLib: libsuspend (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsuspend_intermediates/LINKED/libsuspend.so)
target Strip: libswresample (/home/rob/cm/Tab/out/target/product/YT2/obj/lib/libswresample.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libswscale.so
target SharedLib: libnfc_ndef (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libnfc_ndef_intermediates/LINKED/libnfc_ndef.so)
target SharedLib: libsurfaceflinger_ddmconnection (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsurfaceflinger_ddmconnection_intermediates/LINKED/libsurfaceflinger_ddmconnection.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libwsbm.so
target SharedLib: libwebrtc_audio_preprocessing (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libwebrtc_audio_preprocessing_intermediates/LINKED/libwebrtc_audio_preprocessing.so)
target SharedLib: libbundlewrapper (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so' failed
make: *** [/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
target SharedLib: libdownmix (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdownmix_intermediates/LINKED/libdownmix.so)
target SharedLib: libldnhncr (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libldnhncr_intermediates/LINKED/libldnhncr.so)
make: Leaving directory '/home/rob/cm/Tab'
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
[email protected]:~/cm/Tab$
Can you help
Click to expand...
Click to collapse
Please resync; some of our forked repos were out of sync with CM upstream. Should be fine now.
social-design-concepts said:
@Olivier i've been working on cm-12.1 for a bit now, i have some build fixes for libmix, omx-components, and libva, i'll send you in the next few days because i already have a stable/cm-12.1-YOG7D base i'm using if you could provide a little detail on whats working / not working on your build so i can compare to the status of my build.
It's not up on git yet but i also have started a intel_base / baytrail_base device tree to hope make adding additional baytrail devices easier. look forward to contributing anything i can to bring cm builds to intel android baytrail devices.
Click to expand...
Click to collapse
As of now, pretty much everything (including audio etc.) is broken. A common baytrail device tree would be great - also feel free to send pull requests (and join us on Freenode).
Olivier said:
As of now, pretty much everything (including audio etc.) is broken. A common baytrail device tree would be great - also feel free to send pull requests (and join us on Freenode).
Click to expand...
Click to collapse
yeah audio is killing me,
I can't use IRC at work but will be on the channel again this weekend. can you recommend a descent android client?
Olivier said:
I think the all 8" and 10.1" variants can share the same kernel image (except for the prc_lte variants). I'm pretty sure they share many blobs too, but for now I want to get the variant working I own (830F). You can still try to flash it and give feedback/contribute by adding support for your device.
Please resync; some of our forked repos were out of sync with CM upstream. Should be fine now.
Click to expand...
Click to collapse
You are right, a rep sync has fixed it
build successfull waiting for me tab to charge :silly: :silly: :silly:
Edit - It boots just fine on 1050F. Need to change resolution for bigger screen.
Took around 5 mins to boot.
Screen freezes after 1 min and have to hold the power button to reboot.
Great start. Will pull a few logs over the weekend
pug1 said:
You are right, a rep sync has fixed it
build successfull waiting for me tab to charge :silly: :silly: :silly:
Edit - It boots just fine on 1050F. Need to change resolution for bigger screen.
Took around 5 mins to boot.
Screen freezes after 1 min and have to hold the power button to reboot.
Great start. Will pull a few logs over the weekend
Click to expand...
Click to collapse
Okay, can you please provide me with a full system dump of the latest 1050F stock ROM (you can leave the /system/app and priv-app out) or point me to a system image?
social-design-concepts said:
yeah audio is killing me,
I can't use IRC at work but will be on the channel again this weekend. can you recommend a descent android client?
Click to expand...
Click to collapse
AndChat looks decent. I haven't tried it though, I just use Xchat on my computer to connect to freenode.
social-design-concepts said:
yeah audio is killing me,
I can't use IRC at work but will be on the channel again this weekend. can you recommend a descent android client?
Click to expand...
Click to collapse
HoloIRC, definitely.
This source isn't compatible with my Ares 8, I will be using a different source.
Best of luck to you all.
Sent from my CM 12.1 Ares 8 via taptalk
vampirefo said:
This source isn't compatible with my Ares 8, I will be using a different source.
Best of luck to you all.
Sent from my CM 12.1 Ares 8 via taptalk
Click to expand...
Click to collapse
Well, that doesn't surprise me to be honest. As @social-design-concepts pointed out, a common baytrail device tree would be the best solution on the long run.
Olivier said:
Well, that doesn't surprise me to be honest. As @social-design-concepts pointed out, a common baytrail device tree would be the best solution on the long run.
Click to expand...
Click to collapse
i have finished cleaning up my intel_base / baytrail_base device tree, i still have to clean up the device tree for my Lenovo Spark TAB S8-50F and move the parts that are common into the baytrail_base device tree hope to have everything up on git before morning.
social-design-concepts said:
i have finished cleaning up my intel_base / baytrail_base device tree, i still have to clean up the device tree for my Lenovo Spark TAB S8-50F and move the parts that are common into the baytrail_base device tree hope to have everything up on git before morning.
Click to expand...
Click to collapse
Thanks for your continued work on Intel devices
Would I be able to overlay these changes over my the synced tree from OP.
May have a little time this week to work on my PC [emoji12] [emoji12]
Sent from my SM-G930F using Tapatalk
pug1 said:
Thanks for your continued work on Intel devices
Would I be able to overlay these changes over my the synced tree from OP.
May have a little time this week to work on my PC [emoji12] [emoji12]
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
i'm not trying to jack this thread so after i get it uploaded i'll post the links in the irc channel. but the idea is to make bringing up and maintaining devices easier so adapting an existing device tree shouldn't be two difficult essentially you just be removing the parts of the config files that are common across baytrail devices and replacing them with two lines.
i have one more build to do later this evening after i sync against cm-12.1 instead of my current stable/cm-12.1-YOG7D base and apply my build fixes to a couple of repos. The only real thing left todo device tree wise is actually establish a common proprietary-files.txt file.

Categories

Resources