[Android Head-Units] VBlack:
Hi,

So as many of you already knew - I'm working on porting CM13 onto my NU3001.

I has it on my desk table, so I could work on it during my days. (I have another NR3001 installed in my car)

I already made some work for our unit SW. This is quick screenshots. Sources based on xdAuto and CM13. This is a very BETA and many things not working for now.on.

Why? : When I realize than CyanogenMod 13 (6.0.1) works on my Motorola XT1080 better than stock - I start thinking of porting CM13 to our device. And when I have spare set - I start porting.

How? : I took easiest way - try to do not modify kernel a lot, instead adopt bionic and other libraries for out 3.0.36+ kernel.

Currently working staff (it is very beginning):

1. Recovery TWRP 3.0.2

2. CM13 (LineAge OS) booting.

3. Graphics working (there is some blinking present).

4. Wifi working

5. Android audio working

6. Bonovo Radio working

4. Most of the rest is on the way (GPS, BT, rest of Bonovo apps)

UPDATE_1:

I decide to do not stuck with CM 13 and switch to AOSP N release (7.0) (mostly because on my daily job - we also going to Android N, so it should be more familiar to me now)

Currently working staff:

1. Recovery TWRP 3.0.2

2. SELinux needs to be carefully ported (kernel part), cause starting from 7.0 is can not be disabled (as I did for CM13 to easy port)

During this port I will try to minimize inpact to AOSP release, so any future updates should be much more easier.

For you to understanding of amount of needed work - kernel already has 100+ patches on top of xdauto release. Approximate left about 250-300 patches to revise/port.

Android 7.0 port abandoned because of bigger and bigger amount of work need to be done to port SELinux on top of our outdated kernel.

UPDATE2:

I setup review build environment, so who want to look at NOT-FULLY-WORKING CM13 could download sources and binaries. I do not provide instructions how to flash it, because who wants to look and contribute already know hot to flash, and who doesn't probably don't really want this NOT-FULLY-WORKING CM13

UPDATE3:

So I finally managed to get functional networking. So now Wifi working, internet working, display working.

I starting to port all necessary items. No more 'hard' showstoppers so far.

New build (I believe it is build number 5) should be ready in an our on build server, so I could test it more fully.

UPDATE4:

Cause CyanogenMod is no more maintained - switched to it's successor Lineage OS 13.0, starting from build 8

UPDATE5:

Build number 15 has working audio + radio

UPDATE6:

Most of Bonovo changes ported, new build 20 ready.

This build contains zip file which should be flashable via twrp, but I not test it this way.

Issues remaining so far(most noticeable to me):

1. Display flickering (my suspect is to vsync/fence mechanism slightly changed in Android 6.0, need to investigate)

2. HW Volume buttons not working on device

3. No audio In

UPDATE 7:

Starting from build 23 following images available:

cm_rk3188-ota-XX.zip - update to use via TWRP

nu3001-la-cm13-XX-userdebug.tar.gz - build image for flash via command line rkflashtool under linux (full or partial flash)

rkflash_nu3001-la-cm13-XX-userdebug.zip - Full image to be flashed via PC GUI RK Batch Tool.

kernel_nu3001-la-cm13-XX-userdebug.tar.gz - just kernel with debug symbols for debugging purposes.

To just download sources:

repo init -u https://gerrit.nc.org.ua/manifest -b nu3001_cm13

If you plan to contribute - login to Gerrit with GMail, push your SSH public key, choose login name and then do:

repo init -u ssh://<user>@gerrit.nc.org.ua:29418/manifest -b nu3001_cm13

Builds will be available on Jenkins build server (login also via GMail, PM for access grant on current project stage):

https://jenkins.nc.org.ua/

1.5 GB folder on MEGA

4 files

mega.nz

Please do not spoof this thread with questions like "When?", I will try to post updates regularly in this message.

This thread created is mostly to exchange experience with this build once it is published (issues, TODOs, etc)