![]() |
Halium Project
|
Re: Halium Project
The Hallium Project is a noble effort but it's not something I would ever consider using in DebiaN900 or its successor. A unified HAL that encourages the use of Android kernels (many of which are EOL and unmaintained), Android blobs and systemd is an absolute no-go in my book. I think there is market for alternate OSs to iOS and Android but they must be secure and open if they are to be taken seriously. Unfortunately Hallium inherits many of the problems present in Android. I'd sooner switch to Replicant than embrace an insecure, binary blobified GNU/Linux distro. Hallium was part of my inspiration for why I made a new thread to start documenting open mobile devices.
|
Re: Halium Project
If this actually takes off it could be a good idea. Creating a common base for libhybris derived projects to share some of the workload seems like a sensible route.
As far as using Android kernels etc. I would like to avoid it where possible as well. Unfortunately due to the lack of open source drivers for some componenets you sometimes have little choice. If you try to get a working version of Maemo on something like a Samsung Galaxy or Sony Xperia, I think Android drivers are going to be the only way to do it. I had been intending on getting a RPi 3 to work on an experimental version of hildon that would run on a stock distro/kernel. Unfortunately, due to some compatibility issues with my 3T, I've gone out and got a Moto G5, eating away at some funds. Trying to get a Maemo-like system running on that would probably require libhybris for the time being. |
Re: Halium Project
Quote:
The use of kernels with an expiry date has been a major show stopper that has prevented me from purchasing an Android or even a Jolla phone. There are millions of Android devices with unpatched kernels still in use. Halium devices with Android kernels have the same problem. I don't think it will be long before we see another WannaCry-type worm aimed at unpatched EOL Android kernels with known vulnerabilities. |
Re: Halium Project
Quote:
It uses all the same closed binary blobs as your stock android, or do you really believe it somehow magically manifests everything open?? |
Re: Halium Project
Quote:
|
Re: Halium Project
Quote:
I think this is juiceme's point: even though Replicant itself may be fully free, you still can't run it on anything without proprietary blobs, so it doesn't really solve anything. |
Re: Halium Project
Quote:
Quote:
We're getting a little bit off topic here. The intention of my initial rant was basically to highlight that Android is a horrible OS with many problems (not only binary blobs) and Halium does not help very much with resolving them. Instead, it facilitates in bringing the same problems to GNU/Linux distros. I don't really understand the purpose of running GNU/Linux on our phones if it comes with practically everything I hate about Android. If it's for the software catalogue, you'd probably be better off with just purchasing the Android phone you desire and running a Maru OS chroot. |
Re: Halium Project
Quote:
|
Re: Halium Project
Quote:
Yes, I can probably use it for many things, just as I can use just about any device that I can load a linux kernel and basic userland on; provided it has a serial port that I can connect to. However many people are not satisfied with a device that might be missing these features;
Almost all of these require some kind of binary driver or loadable firmaware blob that you need to rip off from Android to enable and make use of. |
Re: Halium Project
And besides, the point of Replicant is to be "Android without proprietary code" as I understood it.
But why would someone want to have an Android clone is something I don't understand; Android is bad in many ways; it is slow, unreliable, java-oriented, ugly, uncomprehensible, noncomplient, difficult and developer-unfriendly. If I have to choose between something that resembles Android and does not work and something that has binary blobs underneath but provides a real GNU userland, what do you think I will choose? |
Re: Halium Project
Quote:
Quote:
|
Re: Halium Project
The more work goes into Mali or freedreno and similar projects, the better the position will be. The work libhybris based systems are doing at the moment at least lets you make use of devices or features that otherwise be unavailable. Performance wise I doubt the open replacements are up their with what they are capable of, but then I imagine libhybris introduces a performance loss.
|
Re: Halium Project
|
Re: Halium Project
Quote:
P.S. Despite my views on binary blobs, I haven't ruled out using libhybris for certain devices that run on mainline Linux but it is not a priority. |
Re: Halium Project
Quote:
Just a reminder how impossible it is to remain up-to-date on everything that is happening now! Quote:
This actually raises a question I have been muddling over: Part One The one and only usecase I see for Android is a few applications which do not get ported to linux. I downloaded the latest RemixOs to examine whether I could lock Android inside a KVM-QEMU virtual machine, and it does appear doable. The idea would be to firewall any and all data emitted from the VM to remain secure, leaving only such data available as necessary to run individual applications. Imagine (for example) running the Uber application to get a ride with exactly whatever is necessary to arrange the trip and absolutely zero anything else getting sent. And that only when you actually need a ride, comms sending completely disabled at all other times. This is a solution, but rather heavy and clumsy. Part Two I have over the past years begun migrating everything I use into VMs in order to have:
Moving a webservers becomes simply a matter of which box to put it in, zero reconfiguration involved. [I dreaded rebuilding an old Drupal install knowing it would take weeks to get that and all the associated multiple databases hanging on yet another cluster of packages rebuilt. I simply imaged the machine for KVM and copied it onto a KVM host. Open a port and it was a done deal with zero sweat.] Same for my processing work images. We had been using VirtualBox for several years, but this year we have abandoned all that and gone to KVM and it is sweet. I have not worked with Docker or other such mechanisms intending to provide virtualized applications, but this seems like it might be part of a solution to providing an Android segment on top of a pure linux OS. Part Three Running linux apps atop a Hacked Android, ala Halium, seems upside-down, security wise. <Imagine carrying your groceries home in upside down bags> Turn it right-side up running Android apps on top of a linux OS might be an answer, but some uncomfortable thoughts linger. The problem with Halium is that vulnerabilities are cooked into the kernel and services before we even get to the part about running linux software. The flipped side of running Android applications on top of a linux modded to translate Android services sounds okay but what about those services? What might be a "Docker" type of implementation sounds like a solution - the Ubuntu Touch used AppArmor but the way it was implemented was to firewall everything And it fails in certain ways. That Uber App (there is nothing working like that for UT) if it ran in an apparmor containment might seem fine, but: the local boys with their stingray tower network can still track you and listen to your microphone, watch your camera etc. even though Uber is locked away from other apps. (Please understand I am not referring only to government surveillance: there are other far more dangerous types using fake cell towers these days and they are terrifying.) How could we firewall just that [Android] portion of a device that represents a threat to the system ? All the regular opensource software we run is not a worry, but that random Android Blob seeking your cc number is all it takes to ruin your day, much less some blob phoning home to Uncle Vladimir. This guy [ Thadeu Lima de Souza Cascardo ] has an amazing page: https://cascardo.eti.br/blog/GNU_on_...hones_part_II/ Cheers - please go back to being happy now :) :D |
Re: Halium Project
Quote:
see: https://david.gnedt.at/blog/wl1251/ Or am I missing something? |
Re: Halium Project
Quote:
Quote:
Quote:
|
Re: Halium Project
Quote:
I see this here: Quote:
KVM can be whittled down to a a very small footprint, particularly in something like ALPINE Wicket referred to earlier here. (I can squeeze everything of interest into about 4 GB, but 6 GB would leave ample room for whatever.) I may be tempted to give QUBES a spin and check it out, but as you point out, it seems a bit heavy. |
Re: Halium Project
Quote:
See: https://github.com/sfdroid/anbox and https://twitter.com/krnlyng/status/858992240408109057 |
Re: Halium Project
Quote:
Yes, fsck blobs, everybody hates em. But meh whatever, giving many more developers than only nexus device owners access to a linux phone stack is the best way to start improving the UI components (Plasma Mobile, Sailfish, Liri OS, coming multitude of wayland compositors .. .), while the clean method pursued by PostmarketOS would be perfect as an upgrade option to Halium once critical drivers have been implemented for each device. Quote:
|
All times are GMT. The time now is 13:53. |
vBulletin® Version 3.8.8