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

    Wireguard Kernel Support

    Scheduled Pinned Locked Moved Google Pixel 3a/3a XL
    15 Posts 6 Posters 1.8k Views 2 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.
      • N Offline
        nero355
        last edited by

        Wireguard is supported by default in the Linux Kernel these days IIRC so maybe it will be added when the 20.04 LTS upgrade is released ??

        My phones :

        • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
        • ZUK Z2 Pro - ZUI Android 8.x
        • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

        P.S. : I am NOT a developer! ;)

        arubislanderA 1 Reply Last reply Reply Quote 0
        • arubislanderA Offline
          arubislander @nero355
          last edited by

          @nero355 with the upgrade to 20.04 there is no guarantee that the kernel will also be upgraded, especially not for the Halium based devices. What with the closed source hardware drivers and all...

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (20.04 DEV)
          JingPad (24.04 preview)
          Meizu Pro 5 (16.04 DEV)

          N 1 Reply Last reply Reply Quote 2
          • N Offline
            nero355 @arubislander
            last edited by

            @arubislander
            Also no backporting of the features into the older Kernel ?!

            My phones :

            • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
            • ZUK Z2 Pro - ZUI Android 8.x
            • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

            P.S. : I am NOT a developer! ;)

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @nero355
              last edited by

              @nero355 If the kernels are not likely to change, then back-porting features is not dependent on the move to 20.04, but on someone stepping up and actually doing (or digging in and learning to do) the work.

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              Happily running Ubuntu Touch
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              N 1 Reply Last reply Reply Quote 1
              • N Offline
                nero355 @arubislander
                last edited by

                @arubislander
                Hmm... that's true... I totally forgot... my bad! πŸ™‚

                My phones :

                • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                • ZUK Z2 Pro - ZUI Android 8.x
                • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                P.S. : I am NOT a developer! ;)

                1 Reply Last reply Reply Quote 0
                • fredldotmeF Offline
                  fredldotme
                  last edited by

                  If you checked my GitHub repo recently (or watched one of the last Q&As) I did precisely that: backporting Wireguard.

                  It's just that the app in the OpenStore is completely dysfunctional for anyone with a sudo password.

                  F N 2 Replies Last reply Reply Quote 3
                  • F Offline
                    Fteacher @fredldotme
                    last edited by

                    @fredldotme Is there any straight forward way to use wireguard in UT now ? I've seen a tuto, but for openvpn. I have these .conf files that are waiting... whereas being in Australia, one of the five eyes, make me file the need for it more strongly than before.

                    1 Reply Last reply Reply Quote 1
                    • N Offline
                      nero355 @fredldotme
                      last edited by

                      @fredldotme said in Wireguard Kernel Support:

                      If you checked my GitHub repo recently (or watched one of the last Q&As) I did precisely that: backporting Wireguard.

                      I don't spend a lot of time on either of those, sorry! :$

                      Do you have a direct link ?

                      It's just that the app in the OpenStore is completely dysfunctional for anyone with a sudo password.

                      Not sure if I understand what you mean there... ??

                      My phones :

                      • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                      • ZUK Z2 Pro - ZUI Android 8.x
                      • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                      P.S. : I am NOT a developer! ;)

                      1 Reply Last reply Reply Quote 0
                      • fredldotmeF Offline
                        fredldotme
                        last edited by fredldotme

                        @Fteacher @nero355 to keep it short: The device itself is now very much capable of using Wireguard, but the app in the Open Store only works if you have no PIN set.

                        I have started work on making it work on pretty much every other configuration because, IMO, having a password/PIN set should be the default. I just haven't been able to complete it with limited time available.

                        So sadly there is no "straight forward" way to do it right now, but if you're capable of making a Wireguard configurator yourself, then please go ahead as I would very much like to see this completed. πŸ™‚

                        The kernel changes are listed here:
                        https://github.com/fredldotme/android_kernel_google_bonito/commit/e2adf79749e99a2ebf1f6867ef3bd51e45d52682
                        https://github.com/fredldotme/android_kernel_google_bonito/commit/6fcfbd867cf913d9e4d026e6beabb7ffe0655729

                        F J 3 Replies Last reply Reply Quote 2
                        • F Offline
                          Fteacher @fredldotme
                          last edited by

                          @fredldotme Yep, I've seen the Q&A about Wireguard, that's where I thought to myself, it should work it's just me being wrong about something obvious. When you say no PIN set, you mean, within our VPNs providers ? Right now I'm using Torguard (uses wireguard) and Protonvpn (other protocol) and I can't have any of these working because they both need a password (probably most vpn providers do)
                          I don't code and I'm infinitely grateful for those doing that job "for me" (and the whole community). So thanks fredldotme for the work already done.

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            joshndroid @fredldotme
                            last edited by joshndroid

                            @fredldotme Love your work on the device. Its great. Wireguard support is possibly the only major thing that is preventing my daily use as it is critical for a lot of my self hosted life. From a security standpoint I will wait until the device is functional with the password working as if i for whatever reason lost it, with no password i could be up a creek without a paddle

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              joshndroid @fredldotme
                              last edited by

                              @fredldotme any update on the app compatibility with 3a XL?
                              I really would like wireguard support with a pin

                              arubislanderA 1 Reply Last reply Reply Quote 0
                              • arubislanderA Offline
                                arubislander @joshndroid
                                last edited by

                                @joshndroid said in Wireguard Kernel Support:

                                I really would like wireguard support with a pin

                                How much would it be worth for you?

                                πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                Happily running Ubuntu Touch
                                Google Pixel 3a (20.04 DEV)
                                JingPad (24.04 preview)
                                Meizu Pro 5 (16.04 DEV)

                                1 Reply Last reply Reply Quote -1
                                • druk13D Offline
                                  druk13
                                  last edited by

                                  See also:
                                  UBports Forum / General / Tutorial - Wireguard Enable/Disable without an app using the launcher (including wifi toggle if you wish)

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