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

Search This thread

Olivier

Recognized Developer / Retired Forum Moderator
Nov 6, 2011
2,657
6,886
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.
 

Attachments

  • Screenshot_2016-02-17-19-58-57.png
    Screenshot_2016-02-17-19-58-57.png
    128.2 KB · Views: 6,435
  • Screenshot_2016-02-17-19-58-43.jpg
    Screenshot_2016-02-17-19-58-43.jpg
    118.9 KB · Views: 6,338
Last edited:

pug1

Senior Member
Jun 16, 2012
647
192
Sheffield
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
 
  • Like
Reactions: doctorow

pug1

Senior Member
Jun 16, 2012
647
192
Sheffield
@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
 
Last edited:
  • Like
Reactions: vampirefo

vampirefo

Senior Member
Apr 3, 2010
3,241
1,632
#### 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

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.
 
Last edited:

pug1

Senior Member
Jun 16, 2012
647
192
Sheffield
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.

Could you share any links to cherrypicks?
 

vampirefo

Senior Member
Apr 3, 2010
3,241
1,632
Could you share any links to cherrypicks?

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'
 

social-design-concepts

Senior Member
Aug 30, 2012
2,392
1,839
Cincinnati
@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.
 

Olivier

Recognized Developer / Retired Forum Moderator
Nov 6, 2011
2,657
6,886
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.
As stated in the OP; contributions are welcome.

@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
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.

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
Please resync; some of our forked repos were out of sync with CM upstream. Should be fine now.

@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.
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).
 
Last edited:
  • Like
Reactions: pug1

social-design-concepts

Senior Member
Aug 30, 2012
2,392
1,839
Cincinnati
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).

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?
 
Last edited:

pug1

Senior Member
Jun 16, 2012
647
192
Sheffield
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.
You are right, a rep sync has fixed it :D
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
 
Last edited:

Olivier

Recognized Developer / Retired Forum Moderator
Nov 6, 2011
2,657
6,886
You are right, a rep sync has fixed it :D
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

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?
 
  • Like
Reactions: pug1

social-design-concepts

Senior Member
Aug 30, 2012
2,392
1,839
Cincinnati
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.

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.
 

pug1

Senior Member
Jun 16, 2012
647
192
Sheffield
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.
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
 

social-design-concepts

Senior Member
Aug 30, 2012
2,392
1,839
Cincinnati
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

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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    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.
    6
    Hello !

    Yep, great work here @Olivier :D, thank you very much for your work !

    I'm currently busy with my CM-13.0 for Huawei G8 & GX8 ... but as soon as I finish, was left only fingerprint sensor to enable, I'll try to help/collaborate on this great project !

    Btw I already added device tree for build TWRP, and also I managed to fix some bugs into stock Lenovo kernel 5.1.1 ! .


    Best regards !
    4
    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.

    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.
    4
    @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.
    4
    @Olivier thanks for the moral support, still a ways to go but now it boots :

    Screenshot_20161226-223958.png
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone