This is my kernel for Debain or Ubuntu.
I’m still working on it but it is working in the current state.
Bluetooth is turned off to get rid of the ldisk error.
Selinux is disabled cause ubuntu dont use it.
The display will work but is configured for 1920X1080. As long as Your monitor supports 1920X1080 it should work fine.
git clone https://github.com/Bigcountry907/linux.git -b hikey970-v4.9-Debain-Working
Make sure to use branch hikey970-v4.9-Debain-Working
I have an automated build script for putting together ubuntu bionic and building the kernel.
If your running Ubuntu Bionic you have to install a desktop.
If your running bionic you need to add sources to the /etc/apt/sources.list.
deb http://ports.ubuntu.com/ubuntu-ports bionic main universe multiverse restricted
deb-src http://ports.ubuntu.com bionic main universe multiverse restricted
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security main universe multiverse restricted
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main universe multiverse restricted
After that then do all of this.
sudo resize2fs /dev/sdd12
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install tasksel
sudo tasksel install standard
sudo apt-get install lxde
If you do all that everything should be working.