How to backport kernel to make bluetooth work
-
Many users want to know how backport kernel to make bluetooth work , in this guide i will try to show you the steps to do it:
1- First clone linux-next (don't download zip or tar file you must clone)
git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next -b v4.2-rc7 linux-kernel
2- Clone your kernel
3- Clone backport patch
https://github.com/ubuntu-phonedations/backports.git -b for-ubuntu backport-ubuntu
4- Under backport-ubuntu folder, run this command (you must put absolute path for kernel)
./gentree.py --copy-list ./copy-list --integrate --clean --git-revision v4.6 [path-to-kernel-next]/kernel-next [path-to-your-kernel]/your_kernel
If you try to compile kernel maybe you will get some error, to avoid it try first to apply this patch :
First check if patch is ok
git apply --check hid-generic.patchSecond if there is not any error apply it
git am --signoff < hid-generic.patch
Finaly replace backport folder (in your kernel )with this
Link to download hid-generic.patch
hid-generic.patchBR
-
Sounds great. But for me as a user seems too complicated.
Us this really solving all our Bluetooth problems? Maybe than this should be implemented in ota3?
But again. I am not at all a developer ...