The Following 9 Users Say Thank You to juiceme For This Useful Post: | ||
|
2017-05-26
, 17:39
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#12
|
Well yes, but the point of these mobile devices is pretty often in these features enabled by the binary blobs.
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;
- graphical display
- touchscreen input (well if it has a physical keyboard then no problem)
- sound output
- microphone input
- WLAN connectivity
- Bluetooth connectivity
- 2G/3G/4G/5G connectivity
- USB connectivity
- any sensors (compass, acceleration, orientation, ...)
- NFC
- haptic feedback
- ...
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.
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?
The Following User Says Thank You to wicket For This Useful Post: | ||
|
2017-05-26
, 19:46
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#13
|
|
2017-05-26
, 22:20
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#14
|
|
2017-05-26
, 23:52
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#15
|
For interest
https://ollieparanoid.github.io/post/postmarketOS/
|
2017-05-27
, 09:45
|
Posts: 671 |
Thanked: 1,630 times |
Joined on Aug 2010
|
#16
|
For interest
https://ollieparanoid.github.io/post/postmarketOS/
Very relevant to this discussion. I read about postmaketOS earlier today and I think it sounds great. It's a good example of why Halium is not the answer to our prayers. The developer of postmaketOS shares several ideas with where I plan to take my OS. I find it very positive that he has chosen to base it on Alpine Linux which I am a huge fan of (grsecurity, musl libc, no systemd). I plan to do things the other way around though: mainline Linux is my immediate goal rather than my long term goal. I'll share more details on my OS later.
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.
|
2017-05-29
, 13:12
|
Posts: 1,163 |
Thanked: 1,873 times |
Joined on Feb 2011
@ The Netherlands
|
#17
|
It varies from device to device but you might be surprised to know that many of the features you've listed often do not require a binary driver or loadable firmware. They are often supported by the kernel which is of course open source. When I run Debian or Devuan on my N900, the only binary blob I need to use is the loadable firmware for wireless network connectivity. WiFi is a frequently problem on many devices but Replicant offers connectivity via an external Wi-Fi dongle as an alternative to binary blobs for certain devices. This could probably be done on the N900 too once USB host mode has been mainlined.
The Following User Says Thank You to mr_pingu For This Useful Post: | ||
|
2017-05-29
, 19:51
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#18
|
I have over the past years begun migrating everything I use
into VMs in order to have:and this is exquisitely nice.
- hardware portability
- easily cloned or backed up with zero drama
- security isolation (banking and work stuff)
- and other operational compartmentalization
(I have some very heavy lifting data processing projects
which have their own libs and daemons,
unwelcome in my desktop environments)
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.
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.
Are you sure? I thought the alternative WL1251 Driver was completely open.
see: https://david.gnedt.at/blog/wl1251/
Or am I missing something?
|
2017-05-30
, 03:21
|
Posts: 671 |
Thanked: 1,630 times |
Joined on Aug 2010
|
#19
|
That sounds like the perfect use case for Qubes OS. Unfortunately it's not suitable for mobile as it's x86-64 only and would probably be too heavyweight anyway.
System Requirements
Qubes Release 3.x
Minimum
64-bit Intel or AMD processor (x86_64 aka x64 aka AMD64)
4 GB RAM
32 GB disk space
Legacy boot mode (required for R3.0 and earlier; UEFI is supported beginning with R3.1)
|
2017-05-30
, 05:32
|
|
Posts: 172 |
Thanked: 628 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#20
|
I once suggested to the sfdroid guys that they containerise using namespaces but I don't know whether they implemented it in the end. I stumbled onto a promising alternative the other day called Anbox. It uses LXC so network namespaces should be fully configurable with firewall rules.
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?