Is Ubuntu Touch OTA-2 Focal incompatible with the Fairphone 2?
-
@arubislander said in Is Ubuntu Touch OTA-2 Focal incompatible with the Fairphone 2?:
But not an insurmountable one, as has been shown in the effort to bring Focal the OP1
Yes, like said in the link I gave in a previous post here, it is possible to bring focal to android 9 devices with a huge work.
By the way, kernel is 3.4.113 on both OPO and FP2.Anyway, with the "good" kernel, it's simpler.
Let's hope someone step on for doing this huge amount of work for the sake of FP2 UT users.
Also, as I understood what makes Pinephones hard to port is because their ports are not built on halium, unlike any android device mainlined kernel or not.
-
@Keneda said in Is Ubuntu Touch OTA-2 Focal incompatible with the Fairphone 2?:
Also, as I understood what makes Pinephones hard to port is because their ports are not built on halium, unlike any android device mainlined or not.
The whole point of a mainlined Android device would be exactly that Halium would no longer be needed, presenting it with the similar challenges as the Pine64 devices and RPi's, which are mainline devices.
-
@arubislander
Correct me if I'm wrong but mainlining and android device like FP4 is including vendor blobs drivers in a mainline branch of linux kernel, so that it's not needed to depend on vendor custom kernel right ?Does that necessarily also mean you can't no longer use the halium way if Fairphone release some FPOS including this mainlined linux kernel ?
-
@Keneda It probably doesn't mean you can't use Halium, but I am not sure what advantage it brings to continue using Halium, it being a hardware abstraction layer between the OS and the hardware drivers, if all the relevant drivers would already be supported by kernel itself.
Some relevant posts from the FP Forums:
https://forum.fairphone.com/t/official-mainline-kernel-support-for-fp4-planned/76741/10
https://forum.fairphone.com/t/official-mainline-kernel-support-for-fp4-planned/76741/19Also note that mainlining drivers for the latest FP device is a multi year effort, and is being done part-time. Chances are good that it will not be completed before a new device is released, and then attention might shift to that device instead (as you see, another game of catch-up).
-
@arubislander said in Is Ubuntu Touch OTA-2 Focal incompatible with the Fairphone 2?:
but I am not sure what advantage it brings to continue using Halium
Like you said yourself, porting UT to pinephone is an uncharted challenge, still ongoing for years, whereas porting in the halium way is a known territory.
Some relevant posts from the FP Forums
Yes, I gave link to this topic in my previous post ^^
And as you can read from the FF employee that work on mainlining FP4, it'll help to maintain android rom on it also, so as one Fairphone goal is to make their device last the longer possible, we can hope the soon to be released Fairphone 5 not to kill mainlining effort for the 4.
Anyway, let's hope the port for Pinephone reach a 100% state and then it can be adapted quickly for any mainlined kernel android device, making halium irrelevant for those.
-
@Keneda said in Is Ubuntu Touch OTA-2 Focal incompatible with the Fairphone 2?:
what makes Pinephones hard to port is because their ports are not built on halium
What makes the Pinephones hard to port was mostly the lack of drivers for the hardware. As the hardware becomes better supported, then the port works better, see Focal on RPi 4, for instance. If drivers would be mainlined, then it would not be necessary to use Halium to communicate with them.
My point however, is that even such support is not 'free'. If a piece of hardware is not widely used, maintenance for it could potentially still fall on the shoulder of a team of one. And unless support is financed by the hardware vendor, that one could become none at any time unexpectedly.
-
I started work on FP2 kernel for focal, multiple times, but never got it to a usable state. Iirc, I got it booting one time, but in this state, it was missing lots of needed configs, for getting UT up with UI and other needed stuff.
-
@Luksus
Did you see @peat_psuwit post where he says he patched kernel to run plasma mobile, wich needs systemd, on a FP2 ? -
y'all need focal for FP2?
there -
You mean you are actually doing the port ?
This image is... You adapting the kernel ?
-
@Keneda yes and yes
-
@TheVancedGamer
Maybe you could get in touch with @Luksus and @peat_psuwit ?
The more the crazies, the more the funny -
Am I correct to I presume my 16.04 version of UT is supported until Apr-2026? By then my FP2 will be about obsolete anyway and I'll likely need a newer smartphone.
-
@Opolork no, 16.04 has already gone out of support. The ESR offering of Canonical sadly did not cover the ARM architecture for 16.04. It does for 20.04 on the other hand.
-
-
@Opolork said in Is Ubuntu Touch OTA-2 Focal incompatible with the Fairphone 2?:
So effectively, I'm using an unsecure OS on my FP2?
No, you are using an unsupported OS. That does not mean it is insecure. It does mean it will not get any more security updates.
But not all vulnerabilities are equally exploitable. Also, UT's read-only file system and confined application runtime environment go a long way into protecting you additionally. Add to that fact that there are no services running on the device out-of-the box that can be connected to remotely (if you are concerned with security, you should disable ssh on your device, even if on a supported OS), then I would say, realistically, you are probably as safe as you would be on 20.04.The main reason to stop using 16.04 would be lack of support for newer apps. But we haven't quite gotten there as yet.
-
@arubislander said in Is Ubuntu Touch OTA-2 Focal incompatible with the Fairphone 2?:
disable ssh on your device
Thanks for the advice/info.
How would I disable SSH?
-
@Opolork You can use UT TT : System / SSH parameters.
It seems for me SSH is reactivated at every start of my Volla. To be checked. -
@Opolork said in Is Ubuntu Touch OTA-2 Focal incompatible with the Fairphone 2?:
How would I disable SSH?
That depends. On most devices, if not all, it should be disabled by default. Certain devices have it enabled when you enable Developer Mode in the settings. So disabling developer mode should see ssh disabled on the next reboot.
One way to check if ssh is enabled on your device is to open the terminal app and type:
ssh localhost
If you get a result saying
ssh: connect to host localhost port 22: Connection refused
, then the service is disabled. -
-
@domubpkm said in Is Ubuntu Touch OTA-2 Focal incompatible with the Fairphone 2?:
@Opolork You can use UT TT : System / SSH parameters.
It seems for me SSH is reactivated at every start of my Volla. To be checked.Cheers. It was already off,