@UniSuperBox work on it. He has many problem, hope he resolve it as soon as possible
Posts made by walidham
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.patch
Second 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
Also its important : remove all CONFIG_BT* in kernel config
RE: help porting moto g titan compilation
@horuxan I think you use wrong version of kernel incompatible with code source, wich repo and version of ubuntu touch did you use ? wich repo and versionof device tree and kernel did you use?
Because by default ub-5.1 compile fine after few errors can be easily fixed.
ub-6.0 its difficult to adopte with kernel and device tree.
If you use ub-5.1 from ubports (recommended) then just use cm-12.1 device tree and kernel