• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

How to backport kernel to make bluetooth work

Scheduled Pinned Locked Moved Porting
4 Posts 4 Posters 2.0k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      walidham
      last edited by walidham 26 Sept 2017, 11:24

      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

      backports.tar.xz

      Link to download hid-generic.patch
      hid-generic.patch

      Also its important : remove all CONFIG_BT* in kernel config
      BR

      V 1 Reply Last reply 15 Aug 2020, 08:58 Reply Quote 2
      • B Offline
        Bastos
        last edited by 27 Sept 2017, 19:29

        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 ...

        F 1 Reply Last reply 21 Jan 2018, 14:20 Reply Quote 2
        • F Offline
          flohack @Bastos
          last edited by 21 Jan 2018, 14:20

          @bastos No sorry, this will not help Bluetooth problems on the user/app end. This is driver updates for making a Bluetooth device visible at all. So all our kernels already have to have this patch inside πŸ™‚

          I was hoping to get more issues resolved with xenial but it seems that Bluetooth in 15.04 is already a backport of 16.04 - So we will see but unfortunately it can be that we will carry on those connection problems and crashes 😞

          BR Florian

          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

          1 Reply Last reply Reply Quote 0
          • V Offline
            Verevka @walidham
            last edited by 15 Aug 2020, 08:58

            @walidham Will this help with the msm4.4 kernel? Halium7.1

            1 Reply Last reply Reply Quote 0
            • First post
              Last post