Skip to contentSkip to conversation

Lineage OS (Android) Support

DISCUSSION Paul 2 participants 3 messages Mar 11, 2018 – Mar 15, 2018

lore
Share & tools
lore

Paul

author
#0 lore raw

Hi all,

I'm new to the list and hope this wasn't discussed in length here before. If so, please give me a direction, I couldn't find anything related.

For the last days I tried to find a Lineage OS [1] compatible kernel with wireguard included, sadly there is none. Instead of installing a custom kernel, could Lineage include the < 4000 lines of code in their build root? Have there been any efforts on this?

Thank you very much for all further information.

Best regards,
Paul Spooren

[1] http://lineageos.org/

author
#1 lore raw
Quoted 9 lines · Paul

Hi all,
=20
I'm new to the list and hope this wasn't discussed in length here=20 before. If so, please give me a direction, I couldn't find anything=20 related.
=20
For the last days I tried to find a Lineage OS [1] compatible kernel=20 with wireguard included, sadly there is none. Instead of installing a=20 custom kernel, could Lineage include the < 4000 lines of code in=20

Quoted 8 lines

their build root? Have there been any efforts on this? =20
Thank you very much for all further information. =20
Best regards,
Paul Spooren
=20
[1] http://lineageos.org/

I asked the Lineage OS maintainer of my current phone and he responded=20 to use the native VPN interface of Android. Are there any plans on that?

Quoted 7 lines

https://developer.android.com/reference/android/net/VpnService.html
=20
That has many pros:
1. runs on any Android 4.0+ device (NO root required)
2. all VPN code (except network interface of course) is running in=20 userspace (in case of exploitation only VPN app is compromised)
3. decoupled from OS and easy to upgrade

Thanks for all further information!

Best,
Paul
=

#2 lore raw

Hello,

Quoted 13 lines · Paul
Quoted 12 lines · Paul

Hi all,

I'm new to the list and hope this wasn't discussed in length here before. If so, please give me a direction, I couldn't find anything related.

For the last days I tried to find a Lineage OS [1] compatible kernel with wireguard included, sadly there is none. Instead of installing a custom kernel, could Lineage include the < 4000 lines of code in their build root? Have there been any efforts on this?

Thank you very much for all further information.

Quoted 7 lines
Quoted 4 lines

Best regards,
Paul Spooren

[1] http://lineageos.org/

I asked the Lineage OS maintainer of my current phone and he responded to use the native VPN interface of Android. Are there any plans on that?

Yes, support for using the Go implementation[1] with VpnService is in the works. The same app will support both the native and userspace implementations. It will prefer the native implementation if root access and the kernel module are available, and fall back to using VpnService otherwise.

Quoted 7 lines
Quoted 7 lines

https://developer.android.com/reference/android/net/VpnService.html

That has many pros:
1. runs on any Android 4.0+ device (NO root required)
2. all VPN code (except network interface of course) is running in userspace (in case of exploitation only VPN app is compromised)
3. decoupled from OS and easy to upgrade

Using the native implementation has its own benefits. It will generally be faster and more battery-efficient, and it supports having multiple tunnels up simultaneously. VpnService only allows one VPN to be active at a time.

Quoted 4 lines

Thanks for all further information!

Best,
Paul

Regards,
Samuel

[1]: https://git.zx2c4.com/wireguard-go/