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

        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

        VerevkaV 1 Reply Last reply Reply Quote 2
        • BastosB Offline
          Bastos
          last edited by

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

          flohackF 1 Reply Last reply Reply Quote 2
          • flohackF Offline
            flohack @Bastos
            last edited by

            @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
            • VerevkaV Offline
              Verevka @walidham
              last edited by

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

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better πŸ’—

              Register Login
              • First post
                Last post