K here we go, hopefully I didnt miss anything
# download http://master.dl.sourceforge.net/pr...te-15.04-desktop-armhf-raspberry-pi-2.img.bz2
# install ddrescue
sudo apt-get install ddrescue
# extract downloaded file
bunzip2 ubuntu-mate-15.04-desktop-armhf-raspberry-pi-2.img.bz2
# write to microSD, mine mounts on /dev/sdb, yours may be different
sudo ddrescue -d -D --force ubuntu-mate-15.04-desktop-armhf-raspberry-pi-2.img /dev/sdb
# now resize the RPi2 image on the microSD using gparted
sudo apt-get install gparted
sudo gparted
# remove microSD from your linux computer and insert into RPi2 and boot it up, configure as you see fit
# once that is done, open mate terminal under system tools
# edit your /boot/config.txt if you want (optional) I add
arm_freq=1000
sdram_freq=500
core_freq=500
over_voltage=2
initial_turbo=30
# Also add any mpeg licences to your config.txt if you've bought them, like mpeg2 (recommended)
# udate your repository
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo reboot
# install some pre-req's
sudo apt-get install git build-essential linux-headers-generic ncurses-dev libproc-processtable-perl fakeroot subversion patchutils
sudo apt-get install libqwt-qt5-dev libgl1-mesa-dev mesa-common-dev qtcreator libqt5serialport5-dev
sudo apt-get install omxplayer chromium-browser
# if you use nomachine you can get the armv7 deb from https://www.nomachine.com/download/linux&id=1
# Download the RPi2 kernel from https://github.com/raspberrypi/linux/tree/rpi-4.0.y and unzip the download
cd linux-rpi-4.0.y
make menuconfig
# just exit out and save if it asks
make -j4
make -j4 modules
sudo make -j4 modules_install
sudo make -j4 install
sudo make headers_install INSTALL_HDR_PATH=/usr
sudo mv /boot/firmware/kernel7.img /boot/firmware/kernel7.img.old
sudo cp /boot/vmlinuz /boot/firmware/kernel7.img
sudo reboot
# Download V4L's media_build
git clone git://linuxtv.org/media_build.git
cd media_build
./build
# Download v4l-updatelee from https://bitbucket.org/updatelee/v4l-updatelee/downloads and unzip the download
# Now create the patch
cd linux
tar xf linux-media.tar.bz2
cd ../../
diff -ruP media_build/linux/include/uapi/linux/dvb/ updatelee-v4l-updatelee-402bf4f7412b/include/uapi/linux/dvb/ >> UDL_patch.diff
diff -ruP media_build/linux/drivers/media/ updatelee-v4l-updatelee-402bf4f7412b/drivers/media/ >> UDL_patch.diff
cd media_build
mv ../UDL_patch.diff backports/
nano -w backports/backports.txt
# Now change this
[9.255.255]
add api_version.patch
add pr_fmt.patch
add debug.patch
add drx39xxj.patch
# to this
[9.255.255]
add api_version.patch
add pr_fmt.patch
add debug.patch
add drx39xxj.patch
add UDL_patch.diff
# Compile and install dvb modules
./build
sudo make install
sudo cp -R linux/include/uapi/linux/dvb/* /usr/include/linux/dvb/
cd ..
sudo cp -R updatelee-v4l-updatelee-402bf4f7412b/src/updatelee-v4l-updatelee-402bf4f7412b/firmware/* /lib/firmware/
# There is a bug in one of the qwt headers installed from apt-get, so lets fix that
wget http://svn.code.sf.net/p/qwt/code/branches/qwt-6.1/src/qwt_transform.h
sudo cp qwt_transform.h /usr/include/qwt/qwt_transform.h
# Download updateDVB from https://bitbucket.org/updatelee/updatedvb/downloads
# open qtcreator
qtcreator -noload Welcome
# open updateDVB.pro
# click green triange (run) on the lower left
# download http://master.dl.sourceforge.net/pr...te-15.04-desktop-armhf-raspberry-pi-2.img.bz2
# install ddrescue
sudo apt-get install ddrescue
# extract downloaded file
bunzip2 ubuntu-mate-15.04-desktop-armhf-raspberry-pi-2.img.bz2
# write to microSD, mine mounts on /dev/sdb, yours may be different
sudo ddrescue -d -D --force ubuntu-mate-15.04-desktop-armhf-raspberry-pi-2.img /dev/sdb
# now resize the RPi2 image on the microSD using gparted
sudo apt-get install gparted
sudo gparted
# remove microSD from your linux computer and insert into RPi2 and boot it up, configure as you see fit
# once that is done, open mate terminal under system tools
# edit your /boot/config.txt if you want (optional) I add
arm_freq=1000
sdram_freq=500
core_freq=500
over_voltage=2
initial_turbo=30
# Also add any mpeg licences to your config.txt if you've bought them, like mpeg2 (recommended)
# udate your repository
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo reboot
# install some pre-req's
sudo apt-get install git build-essential linux-headers-generic ncurses-dev libproc-processtable-perl fakeroot subversion patchutils
sudo apt-get install libqwt-qt5-dev libgl1-mesa-dev mesa-common-dev qtcreator libqt5serialport5-dev
sudo apt-get install omxplayer chromium-browser
# if you use nomachine you can get the armv7 deb from https://www.nomachine.com/download/linux&id=1
# Download the RPi2 kernel from https://github.com/raspberrypi/linux/tree/rpi-4.0.y and unzip the download
cd linux-rpi-4.0.y
make menuconfig
# just exit out and save if it asks
make -j4
make -j4 modules
sudo make -j4 modules_install
sudo make -j4 install
sudo make headers_install INSTALL_HDR_PATH=/usr
sudo mv /boot/firmware/kernel7.img /boot/firmware/kernel7.img.old
sudo cp /boot/vmlinuz /boot/firmware/kernel7.img
sudo reboot
# Download V4L's media_build
git clone git://linuxtv.org/media_build.git
cd media_build
./build
# Download v4l-updatelee from https://bitbucket.org/updatelee/v4l-updatelee/downloads and unzip the download
# Now create the patch
cd linux
tar xf linux-media.tar.bz2
cd ../../
diff -ruP media_build/linux/include/uapi/linux/dvb/ updatelee-v4l-updatelee-402bf4f7412b/include/uapi/linux/dvb/ >> UDL_patch.diff
diff -ruP media_build/linux/drivers/media/ updatelee-v4l-updatelee-402bf4f7412b/drivers/media/ >> UDL_patch.diff
cd media_build
mv ../UDL_patch.diff backports/
nano -w backports/backports.txt
# Now change this
[9.255.255]
add api_version.patch
add pr_fmt.patch
add debug.patch
add drx39xxj.patch
# to this
[9.255.255]
add api_version.patch
add pr_fmt.patch
add debug.patch
add drx39xxj.patch
add UDL_patch.diff
# Compile and install dvb modules
./build
sudo make install
sudo cp -R linux/include/uapi/linux/dvb/* /usr/include/linux/dvb/
cd ..
sudo cp -R updatelee-v4l-updatelee-402bf4f7412b/src/updatelee-v4l-updatelee-402bf4f7412b/firmware/* /lib/firmware/
# There is a bug in one of the qwt headers installed from apt-get, so lets fix that
wget http://svn.code.sf.net/p/qwt/code/branches/qwt-6.1/src/qwt_transform.h
sudo cp qwt_transform.h /usr/include/qwt/qwt_transform.h
# Download updateDVB from https://bitbucket.org/updatelee/updatedvb/downloads
# open qtcreator
qtcreator -noload Welcome
# open updateDVB.pro
# click green triange (run) on the lower left