This repository is for My Ubuntu 19.10 environment :) Please do this at your own risk.
- Uncomment the following lines in /etc/apt/source.list.
deb-src http://archive.ubuntu.com/ubuntu bionic main restricted #Added by software-properties
deb-src http://security.ubuntu.com/ubuntu bionic-security restricted main multiverse universe
- Install packages.
$ sudo apt install kernel-package
$ sudo apt install git ccache fakeroot libncurses5-dev
$ sudo apt build-dep linux
- Download a source code.
$ git clone https://github.com/marevol/linux-5.3-xps_13_2in1.git
$ cd linux-5.3-xps_13_2in1
- Build a linux kernel.
$ sudo -s
# make-kpkg -j `nproc` --rootcmd fakeroot --initrd --append_to_version=-xps --revision=001 kernel_image kernel_headers
- Install deb packages.
# cd ..
# dpkg -i linux-headers-5.3*.deb linux-image-5.3*.deb
- Reboot